#include <kanzi/core.ui/state_manager/state_manager.hpp>
Public Member Functions | |
void | addState (StatePtr state) |
void | addTransition (StateTransitionPtr transition) |
StateIterator | beginStates () const |
StateTransitionIterator | beginTransitions () const |
StateIterator | endStates () const |
StateTransitionIterator | endTransitions () const |
bool | equalInitialState (const State &state) const |
bool | equalName (string_view name) const |
AbstractPropertyType | getControlType () const |
string | getName () const |
void | goToState (Node *objectNode, string_view stateName, bool immediate) |
Post go to state message with this state group. More... | |
bool | hasInitialState () const |
StateGroup & | operator= (StateGroup &&other) |
Move operator. More... | |
void | setControlType (AbstractPropertyType type) |
void | setInitialStateName (string_view name) |
void | setName (string_view name) |
StateGroup (StateGroup &&other) | |
Move constructor. More... | |
~StateGroup () | |
Destructor. More... | |
Static Public Member Functions | |
static StateGroupPtr | create () |
|
inline |
Move constructor.
other | Source state group. |
kanzi::StateManager::StateGroup::~StateGroup | ( | ) |
Destructor.
|
static |
|
inline |
Move operator.
other | Source state group. |
void kanzi::StateManager::StateGroup::goToState | ( | Node * | objectNode, |
string_view | stateName, | ||
bool | immediate | ||
) |
Post go to state message with this state group.
void kanzi::StateManager::StateGroup::setControlType | ( | AbstractPropertyType | type | ) |
AbstractPropertyType kanzi::StateManager::StateGroup::getControlType | ( | ) | const |
string kanzi::StateManager::StateGroup::getName | ( | ) | const |
void kanzi::StateManager::StateGroup::setName | ( | string_view | name | ) |
bool kanzi::StateManager::StateGroup::equalName | ( | string_view | name | ) | const |
void kanzi::StateManager::StateGroup::setInitialStateName | ( | string_view | name | ) |
bool kanzi::StateManager::StateGroup::hasInitialState | ( | ) | const |
bool kanzi::StateManager::StateGroup::equalInitialState | ( | const State & | state | ) | const |
void kanzi::StateManager::StateGroup::addState | ( | StatePtr | state | ) |
StateIterator kanzi::StateManager::StateGroup::beginStates | ( | ) | const |
StateIterator kanzi::StateManager::StateGroup::endStates | ( | ) | const |
void kanzi::StateManager::StateGroup::addTransition | ( | StateTransitionPtr | transition | ) |
StateTransitionIterator kanzi::StateManager::StateGroup::beginTransitions | ( | ) | const |
StateTransitionIterator kanzi::StateManager::StateGroup::endTransitions | ( | ) | const |