Derecho  0.9
Distributed systems toolkit for RDMA
Public Member Functions | Protected Member Functions | List of all members
derecho::GroupProjection< ReplicatedType > Class Template Referenceabstract

#include <group.hpp>

Inheritance diagram for derecho::GroupProjection< ReplicatedType >:
Inheritance graph
[legend]
Collaboration diagram for derecho::GroupProjection< ReplicatedType >:
Collaboration graph
[legend]

Public Member Functions

Replicated< ReplicatedType > & get_subgroup (uint32_t subgroup_num=0)
 
ExternalCaller< ReplicatedType > & get_nonmember_subgroup (uint32_t subgroup_index=0)
 
std::vector< std::vector< node_id_t > > get_subgroup_members (uint32_t subgroup_index=0)
 
std::size_t get_number_of_shards (uint32_t subgroup_index=0)
 
- Public Member Functions inherited from derecho::_Group
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 void set_replicated_pointer (std::type_index, uint32_t, void **)=0
 
virtual void set_external_caller_pointer (std::type_index, uint32_t, void **)=0
 
virtual ViewManagerget_view_manager ()=0
 
- Protected Member Functions inherited from derecho::_Group
virtual uint32_t get_index_of_type (const std::type_info &)=0
 

Detailed Description

template<typename ReplicatedType>
class derecho::GroupProjection< ReplicatedType >

Definition at line 91 of file group.hpp.

Member Function Documentation

◆ get_nonmember_subgroup()

template<typename ReplicatedType >
ExternalCaller< ReplicatedType > & derecho::GroupProjection< ReplicatedType >::get_nonmember_subgroup ( uint32_t  subgroup_index = 0)

Definition at line 63 of file group_impl.hpp.

◆ get_number_of_shards()

template<typename ReplicatedType >
std::size_t derecho::GroupProjection< ReplicatedType >::get_number_of_shards ( uint32_t  subgroup_index = 0)

Definition at line 78 of file group_impl.hpp.

◆ get_subgroup()

template<typename ReplicatedType >
Replicated< ReplicatedType > & derecho::GroupProjection< ReplicatedType >::get_subgroup ( uint32_t  subgroup_num = 0)

Definition at line 54 of file group_impl.hpp.

◆ get_subgroup_members()

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

Definition at line 72 of file group_impl.hpp.

◆ get_view_manager()

template<typename ReplicatedType>
virtual ViewManager& derecho::GroupProjection< ReplicatedType >::get_view_manager ( )
protectedpure virtual

◆ set_external_caller_pointer()

template<typename ReplicatedType>
virtual void derecho::GroupProjection< ReplicatedType >::set_external_caller_pointer ( std::type_index  ,
uint32_t  ,
void **   
)
protectedpure virtual

◆ set_replicated_pointer()

template<typename ReplicatedType>
virtual void derecho::GroupProjection< ReplicatedType >::set_replicated_pointer ( std::type_index  ,
uint32_t  ,
void **   
)
protectedpure virtual

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