Kanzi 3.9.10
kanzi::StateManager::StateGroup Class Reference

#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.
 
bool hasInitialState () const
 
StateGroupoperator= (StateGroup &&other)
 Move operator.
 
void setControlType (AbstractPropertyType type)
 
void setInitialStateName (string_view name)
 
void setName (string_view name)
 
 StateGroup (StateGroup &&other)
 Move constructor.
 
 ~StateGroup ()
 Destructor.
 

Static Public Member Functions

static StateGroupPtr create ()
 

Constructor & Destructor Documentation

◆ StateGroup()

kanzi::StateManager::StateGroup::StateGroup ( StateGroup && other)
inline

Move constructor.

Parameters
otherSource state group.

◆ ~StateGroup()

kanzi::StateManager::StateGroup::~StateGroup ( )

Destructor.

Member Function Documentation

◆ create()

static StateGroupPtr kanzi::StateManager::StateGroup::create ( )
static

◆ operator=()

StateGroup & kanzi::StateManager::StateGroup::operator= ( StateGroup && other)
inline

Move operator.

Parameters
otherSource state group.
Returns
This state group after move.

◆ goToState()

void kanzi::StateManager::StateGroup::goToState ( Node * objectNode,
string_view stateName,
bool immediate )

Post go to state message with this state group.

◆ setControlType()

void kanzi::StateManager::StateGroup::setControlType ( AbstractPropertyType type)

◆ getControlType()

AbstractPropertyType kanzi::StateManager::StateGroup::getControlType ( ) const

◆ getName()

string kanzi::StateManager::StateGroup::getName ( ) const

◆ setName()

void kanzi::StateManager::StateGroup::setName ( string_view name)

◆ equalName()

bool kanzi::StateManager::StateGroup::equalName ( string_view name) const

◆ setInitialStateName()

void kanzi::StateManager::StateGroup::setInitialStateName ( string_view name)

◆ hasInitialState()

bool kanzi::StateManager::StateGroup::hasInitialState ( ) const

◆ equalInitialState()

bool kanzi::StateManager::StateGroup::equalInitialState ( const State & state) const

◆ addState()

void kanzi::StateManager::StateGroup::addState ( StatePtr state)

◆ beginStates()

StateIterator kanzi::StateManager::StateGroup::beginStates ( ) const

◆ endStates()

StateIterator kanzi::StateManager::StateGroup::endStates ( ) const

◆ addTransition()

void kanzi::StateManager::StateGroup::addTransition ( StateTransitionPtr transition)

◆ beginTransitions()

StateTransitionIterator kanzi::StateManager::StateGroup::beginTransitions ( ) const

◆ endTransitions()

StateTransitionIterator kanzi::StateManager::StateGroup::endTransitions ( ) const

The documentation for this class was generated from the following file: