State object runtime.
More...
#include <kanzi/core.ui/state_manager/state_manager.hpp>
| Enumerator |
|---|
| NotApplied |
Not applied.
|
| AppliedToNode |
Applied to target node.
|
| AppliedToClone |
Applied to clone.
|
| kanzi::StateManager::StateObjectRuntime::~StateObjectRuntime |
( |
| ) |
|
Create new state object runtime.
| StateObject* kanzi::StateManager::StateObjectRuntime::getStateObject |
( |
| ) |
const |
| Object* kanzi::StateManager::StateObjectRuntime::getTarget |
( |
| ) |
const |
Gets target, or null pointer if target is not acquired.
| 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.
Assigns target object.
- Parameters
-
| runtime | Shared pointer to this state object runtime. |
| targetObject | Target object to track the target. |
| 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: