State object runtime.
More...
#include <kanzi/core.ui/state_manager/state_manager.hpp>
◆ ApplyTargetType
Enumerator |
---|
NotApplied | Not applied.
|
AppliedToNode | Applied to target node.
|
AppliedToClone | Applied to clone.
|
◆ ~StateObjectRuntime()
kanzi::StateManager::StateObjectRuntime::~StateObjectRuntime |
( |
| ) |
|
◆ create()
Create new state object runtime.
◆ getStateObject()
StateObject* kanzi::StateManager::StateObjectRuntime::getStateObject |
( |
| ) |
const |
◆ getTarget()
Object* kanzi::StateManager::StateObjectRuntime::getTarget |
( |
| ) |
const |
Gets target, or null pointer if target is not acquired.
◆ getAppliedTarget()
Object* kanzi::StateManager::StateObjectRuntime::getAppliedTarget |
( |
| ) |
|
Gets the object that has the style entry applied.
- Returns
- Pointer to cloned or base object, depending on which has the style entry applied.
◆ assignTargetObject()
Assigns target object.
- Parameters
-
runtime | Shared pointer to this state object runtime. |
targetObject | Target object to track the target. |
◆ apply()
void kanzi::StateManager::StateObjectRuntime::apply |
( |
| ) |
|
Applies state style to its target.
◆ unapply()
void kanzi::StateManager::StateObjectRuntime::unapply |
( |
| ) |
|
Unapplies state style from its target.
◆ onTargetAcquired()
void kanzi::StateManager::StateObjectRuntime::onTargetAcquired |
( |
| ) |
|
Notification callback which is called by TargetObject when target is acquired.
◆ onBeforeTargetLost()
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: