Utopia
2
Framework for studying models of complex & adaptive systems.
|
State Container specialization for async states. More...
#include <state.hh>
Public Types | |
using | State = StateType |
Type of state. More... | |
Public Member Functions | |
StateContainer (const State state) | |
Construct state container with specific state. More... | |
State & | state () |
Return reference to state. More... | |
const State & | state () const |
Return const reference to state. More... | |
Static Public Member Functions | |
static constexpr bool | is_sync () |
Export implementation type. More... | |
Private Attributes | |
State | _state |
State Container specialization for async states.
using Utopia::StateContainer< StateType, Update::async >::State = StateType |
Type of state.
|
inline |
Construct state container with specific state.
|
inlinestaticconstexpr |
Export implementation type.
|
inline |
Return reference to state.
|
inline |
Return const reference to state.
|
private |