Helper for marking a substate of composite state.
More...
#include <state.hpp>
Helper for marking a substate of composite state.
- Since
- v.5.5.15
Usage example:
{
state_t
active{ *
this,
"active" };
state_t wait_input{ initial_substate_of{
active },
"wait_input" };
...
};
- Note
- A composite state can have any number of substates but only one of them must be marked as initial substate.
◆ substate_of()
so_5::substate_of::substate_of |
( |
state_t & |
parent_state | ) |
|
|
inline |
◆ m_parent_state
state_t* so_5::substate_of::m_parent_state |
The documentation for this struct was generated from the following file: