|
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. | |
Public Member Functions | |
| StateContainer (const State state) | |
| Construct state container with specific state. | |
| State & | state () |
| Return reference to state. | |
| const State & | state () const |
| Return const reference to state. | |
Static Public Member Functions | |
| static constexpr bool | is_sync () |
| Export implementation type. | |
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 |