kanzi::StateManager::StateObjectRuntime Class Reference

State object runtime. More...

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

Public Member Functions

 ~StateObjectRuntime ()
 Destructor. More...
 
StateObjectgetStateObject () const
 Gets state object. More...
 
ObjectgetTarget () const
 Gets target, or null pointer if target is not acquired. More...
 
void assignTargetObject (TargetObject &targetObject)
 Assigns target object. More...
 
void apply ()
 Applies state style to its target. More...
 
void unapply ()
 Unapplies state style from its target. More...
 
void onTargetAcquired ()
 Notification callback which is called by TargetObject when target is acquired. More...
 
void onBeforeTargetLost ()
 Notification callback which is called by TargetObject just before target is lost. More...
 

Static Public Member Functions

static StateObjectRuntimeSharedPtr create (const StateObjectPtr &stateObject)
 Create new state object runtime. More...
 

Detailed Description

State object runtime.

Constructor & Destructor Documentation

kanzi::StateManager::StateObjectRuntime::~StateObjectRuntime ( )

Destructor.

Member Function Documentation

static StateObjectRuntimeSharedPtr kanzi::StateManager::StateObjectRuntime::create ( const StateObjectPtr stateObject)
static

Create new state object runtime.

StateObject* kanzi::StateManager::StateObjectRuntime::getStateObject ( ) const

Gets state object.

Object* kanzi::StateManager::StateObjectRuntime::getTarget ( ) const

Gets target, or null pointer if target is not acquired.

void kanzi::StateManager::StateObjectRuntime::assignTargetObject ( TargetObject targetObject)

Assigns target object.

void kanzi::StateManager::StateObjectRuntime::apply ( )

Applies state style to its target.

void kanzi::StateManager::StateObjectRuntime::unapply ( )

Unapplies state style from its target.

void kanzi::StateManager::StateObjectRuntime::onTargetAcquired ( )

Notification callback which is called by TargetObject when target is acquired.

void kanzi::StateManager::StateObjectRuntime::onBeforeTargetLost ( )

Notification callback which is called by TargetObject just before target is lost.


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