kanzi::StateManager::StateManagerRuntime Class Reference

#include <kanzi/core.ui/state_manager/state_manager_runtime.hpp>

Public Member Functions

virtual ~StateManagerRuntime ()
 
void removeHandlers ()
 Remove handlers from state manager runtime. More...
 
void unapplyStyles ()
 Unapply and delete styles recursively. More...
 
void stopTransitions ()
 Stop transitions recursively. More...
 
void releaseTargetObjects ()
 Stops tracking target objects. More...
 

Static Public Member Functions

static StateManagerRuntimeSharedPtr create (StateManager *stateManager, Domain *domain, const StateGroupContainer &groups, Node *objectNode)
 

Public Attributes

Domainm_domain
 
Nodem_objectNode
 
StateGroupRuntimeContainer m_groupRuntimes
 
StateManagerm_stateManager
 

Protected Types

typedef unique_ptr< TargetObjectTargetObjectPtr
 
typedef vector< TargetObjectPtrTargetObjectVector
 

Protected Member Functions

void captureTargetObjects ()
 Starts tracking target objects. More...
 

Protected Attributes

TargetObjectVector m_targetObjects
 Collection of target objects. More...
 
Node::MessageSubscriptionToken m_goToStateMessageSubscription
 Subscription to StateManagerGoToState messages. More...
 
Node::MessageSubscriptionToken m_goToNextDefinedStateMessageSubscription
 Subscription to StateManagerGoToNextDefinedState messages. More...
 
Node::MessageSubscriptionToken m_goToPreviousDefinedStateMessageSubscription
 Subscription to StateManagerGoToPreviousDefinedState messages. More...
 

Member Typedef Documentation

Constructor & Destructor Documentation

virtual kanzi::StateManager::StateManagerRuntime::~StateManagerRuntime ( )
virtual

Member Function Documentation

static StateManagerRuntimeSharedPtr kanzi::StateManager::StateManagerRuntime::create ( StateManager stateManager,
Domain domain,
const StateGroupContainer groups,
Node objectNode 
)
static
void kanzi::StateManager::StateManagerRuntime::removeHandlers ( )

Remove handlers from state manager runtime.

void kanzi::StateManager::StateManagerRuntime::unapplyStyles ( )

Unapply and delete styles recursively.

void kanzi::StateManager::StateManagerRuntime::stopTransitions ( )

Stop transitions recursively.

void kanzi::StateManager::StateManagerRuntime::releaseTargetObjects ( )

Stops tracking target objects.

void kanzi::StateManager::StateManagerRuntime::captureTargetObjects ( )
protected

Starts tracking target objects.

Member Data Documentation

Domain* kanzi::StateManager::StateManagerRuntime::m_domain
Node* kanzi::StateManager::StateManagerRuntime::m_objectNode
StateGroupRuntimeContainer kanzi::StateManager::StateManagerRuntime::m_groupRuntimes
StateManager* kanzi::StateManager::StateManagerRuntime::m_stateManager
TargetObjectVector kanzi::StateManager::StateManagerRuntime::m_targetObjects
protected

Collection of target objects.

Node::MessageSubscriptionToken kanzi::StateManager::StateManagerRuntime::m_goToStateMessageSubscription
protected

Subscription to StateManagerGoToState messages.

Node::MessageSubscriptionToken kanzi::StateManager::StateManagerRuntime::m_goToNextDefinedStateMessageSubscription
protected

Subscription to StateManagerGoToNextDefinedState messages.

Node::MessageSubscriptionToken kanzi::StateManager::StateManagerRuntime::m_goToPreviousDefinedStateMessageSubscription
protected

Subscription to StateManagerGoToPreviousDefinedState messages.


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