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