Template Struct Cell¶
Defined in File Cell.hpp
Struct Documentation¶
-
template<typename
Spec>
structdish2::Cell¶ Public Types
-
using
genome_node_t= netuit::MeshNode<genome_mesh_spec_t>¶
-
using
intra_message_node_t= netuit::MeshNode<intra_message_mesh_spec_t>¶
-
using
message_node_t= netuit::MeshNode<message_mesh_spec_t>¶
-
using
push_node_t= netuit::MeshNode<push_mesh_spec_t>¶
-
using
quorum_node_t= netuit::MeshNode<quorum_mesh_spec_t>¶
-
using
resource_node_t= netuit::MeshNode<resource_mesh_spec_t>¶
-
using
state_node_t= netuit::MeshNode<state_mesh_spec_t>¶
Public Functions
-
void
DeathRoutine(const dish2::CauseOfDeath)¶
-
void
FragmentationRoutine()¶
-
void
HeirPayoutRoutine()¶
-
void
MakeAliveRoutine()¶
-
Cell(const genome_node_t &genome_node, const message_node_t &message_node, const push_node_t &push_node, const quorum_node_t &quorum_node, const resource_node_t &resource_node, const state_node_t &state_node)¶
-
void
Clear()¶
-
template<typename
T= dish2::IdentityWrapper<Spec>, typename ...Args>
Tbegin(Args&&... args)¶
-
template<typename
T= dish2::IdentityWrapper<Spec>, typename ...Args>
Tbegin(Args&&... args) const¶
-
template<typename
T= dish2::IdentityWrapper<Spec>>
Tend()¶
-
template<typename
T= dish2::IdentityWrapper<Spec>>
Tend() const¶
-
bool
IsAlive() const¶
-
size_t
GetPeripherality(const size_t lev) const¶
-
auto
GetPeripherality() const¶
-
size_t
GetNumCardinals() const¶
-
void
Update(const size_t update)¶
Public Members
-
dish2::RunningLogs<Spec>
running_logs¶
-
dish2::PushCellState
cell_push_state¶
-
dish2::CellQuorumState<Spec>
cell_quorum_state¶
-
using