Template Struct IntrospectiveState¶
Defined in File IntrospectiveState.hpp
Struct Documentation¶
-
template<typename
Spec>
structdish2::IntrospectiveState: public internal::introspective_state_parent_t<Spec>¶ Introspective state refers to the collection of simulation-generated sensor values that evolving programs running within each cardinal can access via read-only operations.
Each cardinal has an independent copy of each piece of introspective state state. (However, some introspective states representing cell state are set to identical values across cardinals within the same cell.)
Each cardinal’s introspective state regularly copied and dispatched to that cardinal’s neighbor cell, where it serves as read-only extrospective state.
Public Types
-
using
parent_t= internal::introspective_state_parent_t<Spec>¶
Public Functions
-
void
Assign(const size_t idx, const IntrospectiveState &other)¶
-
void
Swap(const size_t idx, IntrospectiveState &other)¶
Public Static Functions
-
std::string
GetLeafTypeName(const size_t idx)¶
-
using