Derecho  0.9
Distributed systems toolkit for RDMA
Classes | Namespaces | Typedefs | Functions | Variables
group.hpp File Reference
#include <chrono>
#include <cstdint>
#include <ctime>
#include <exception>
#include <iostream>
#include <list>
#include <map>
#include <mutex>
#include <queue>
#include <string>
#include <type_traits>
#include <typeindex>
#include <utility>
#include <vector>
#include <derecho/tcp/tcp.hpp>
#include "derecho_exception.hpp"
#include "detail/derecho_internal.hpp"
#include "detail/persistence_manager.hpp"
#include "detail/rpc_manager.hpp"
#include "detail/view_manager.hpp"
#include "replicated.hpp"
#include "subgroup_info.hpp"
#include <derecho/conf/conf.hpp>
#include <mutils-containers/KindMap.hpp>
#include <mutils-containers/TypeMap2.hpp>
#include "detail/group_impl.hpp"
Include dependency graph for group.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  derecho::_Group
 
class  derecho::GroupProjection< ReplicatedType >
 
class  derecho::GroupReference
 
class  derecho::Group< ReplicatedTypes >
 The top-level object for creating a Derecho group. More...
 

Namespaces

 derecho
 

Typedefs

template<typename TargetType , typename... TypePack>
using derecho::contains = std::integral_constant< bool,(std::is_same< TargetType, TypePack >::value||...)>
 A type-trait-like template that provides a True member "value" if TargetType matches some type in TypePack (according to std::is_same), or provides a False member "value" if TargetType does not match anything in TypePack. More...
 
template<typename T >
using derecho::replicated_index_map = std::map< uint32_t, Replicated< T > >
 

Functions

template<uint32_t counter, typename TargetType , typename FirstType , typename... RestTypes>
constexpr uint32_t derecho::index_of_type_impl ()
 The function that implements index_of_type, which is separate to hide the "counter" template parameter (an implementation detail only used to maintain state across recursive calls). More...
 

Variables

template<typename TargetType , typename... TypePack>
constexpr uint32_t derecho::index_of_type = index_of_type_impl<0, TargetType, TypePack...>()
 A compile-time "function" that computes the index of a type within a template parameter pack of types. More...