Derecho  0.9
Distributed systems toolkit for RDMA
Public Member Functions | Protected Member Functions | List of all members
derecho::_Group Class Referenceabstract

#include <group.hpp>

Inheritance diagram for derecho::_Group:
Inheritance graph
[legend]

Public Member Functions

virtual ~_Group ()=default
 
template<typename SubgroupType >
auto & get_subgroup (uint32_t subgroup_num=0)
 
template<typename SubgroupType >
auto & get_nonmember_subgroup (uint32_t subgroup_num=0)
 
template<typename SubgroupType >
std::size_t get_number_of_shards (uint32_t subgroup_index=0)
 
template<typename SubgroupType >
std::vector< std::vector< node_id_t > > get_subgroup_members (uint32_t subgroup_index=0)
 

Protected Member Functions

virtual uint32_t get_index_of_type (const std::type_info &)=0
 

Detailed Description

Definition at line 69 of file group.hpp.

Constructor & Destructor Documentation

◆ ~_Group()

virtual derecho::_Group::~_Group ( )
virtualdefault

Member Function Documentation

◆ get_index_of_type()

virtual uint32_t derecho::_Group::get_index_of_type ( const std::type_info &  )
protectedpure virtual

◆ get_nonmember_subgroup()

template<typename SubgroupType >
auto & derecho::_Group::get_nonmember_subgroup ( uint32_t  subgroup_num = 0)

Definition at line 29 of file group_impl.hpp.

◆ get_number_of_shards()

template<typename SubgroupType >
std::size_t derecho::_Group::get_number_of_shards ( uint32_t  subgroup_index = 0)

Definition at line 45 of file group_impl.hpp.

◆ get_subgroup()

template<typename SubgroupType >
auto & derecho::_Group::get_subgroup ( uint32_t  subgroup_num = 0)

Definition at line 21 of file group_impl.hpp.

◆ get_subgroup_members()

template<typename SubgroupType >
std::vector< std::vector< node_id_t > > derecho::_Group::get_subgroup_members ( uint32_t  subgroup_index = 0)

Definition at line 37 of file group_impl.hpp.


The documentation for this class was generated from the following files: