Derecho  0.9
Distributed systems toolkit for RDMA
Classes | Namespaces | Typedefs
subgroup_info.hpp File Reference
#include <cstdint>
#include <functional>
#include <list>
#include <map>
#include <memory>
#include <typeindex>
#include <vector>
#include "derecho_exception.hpp"
Include dependency graph for subgroup_info.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  derecho::subgroup_provisioning_exception
 An exception that indicates that a subgroup membership function was unable to finish executing because its enclosing Group was not in a valid state. More...
 
struct  derecho::SubgroupInfo
 Container for whatever information is needed to describe a Group's subgroups and shards. More...
 

Namespaces

 derecho
 

Typedefs

using derecho::subgroup_shard_layout_t = std::vector< std::vector< SubView > >
 The data structure used to store a subgroups-and-shards layout for a single subgroup type (i.e. More...
 
using derecho::subgroup_allocation_map_t = std::map< std::type_index, subgroup_shard_layout_t >
 The data structure used to store the subgroups-and-shards layouts for all subgroup types in a Group (at least during the subgroup allocation process). More...
 
using derecho::shard_view_generator_t = std::function< subgroup_allocation_map_t(const std::vector< std::type_index > &, const std::unique_ptr< View > &, View &)>
 The type of a lambda function that generates subgroup and shard views for a Derecho group. More...