81 const std::vector<std::type_index>&,
82 const std::unique_ptr<View>&,
96 : subgroup_membership_function(subgroup_membership_function) {}
subgroup_provisioning_exception(const std::string &message="")
SubgroupInfo(const shard_view_generator_t &subgroup_membership_function)
std::vector< std::vector< SubView > > subgroup_shard_layout_t
The data structure used to store a subgroups-and-shards layout for a single subgroup type (i...
const shard_view_generator_t subgroup_membership_function
The function that generates all the SubViews for a View.
std::function< subgroup_allocation_map_t(const std::vector< std::type_index > &, const std::unique_ptr< View > &, View &)> shard_view_generator_t
The type of a lambda function that generates subgroup and shard views for a Derecho group...
An exception that indicates that a subgroup membership function was unable to finish executing becaus...
std::map< std::type_index, subgroup_shard_layout_t > subgroup_allocation_map_t
The data structure used to store the subgroups-and-shards layouts for all subgroup types in a Group (...
const std::string message
Container for whatever information is needed to describe a Group's subgroups and shards.
Base exception class for all exceptions raised by Derecho.