#include <kanzi/core.ui/state_manager/state_manager.hpp>
Public Member Functions | |
| ~StateObjectRuntime () | |
| Destructor. More... | |
| void | acquireLocalCopy (Resource &resourceObject) |
| Acquire a local copy of a resource object. More... | |
| void | applyStyle (Node &objectNode) |
| Apply style for this state object runtime. More... | |
| void | unapplyStyle (Node &objectNode) |
| Unapply style applied from this state object runtime. More... | |
Static Public Member Functions | |
| static StateObjectRuntimeSharedPtr | create (const StateObjectPtr &stateObject) |
| Create new state object runtime. More... | |
| static void | modifierCallback (PropertyObject &object, PropertyDataTypeTraits< ResourceSharedPtr >::StorageType &storage, PropertyNotificationReason reason, void *owner) |
| Callback for modifier value storage. More... | |
Public Attributes | |
| StateObject * | m_object |
| State object. More... | |
| Object * | m_clonedObjectParent |
| Node this state object runtime has installed a callback for. More... | |
| ResourceSharedPtr | m_clonedObjectStorage |
| Storage for cloned resource. More... | |
| AbstractPropertyType | m_clonedObjectProperty |
| Property type for the cloned object. More... | |
| AppliedStyleEntry * | m_appliedStateStyle |
| Applied state style entry. More... | |
| weak_ptr< Node > | m_appliedStyleNode |
| Pointer to node the applied state style has been applied to, if it's a node. More... | |
State object runtime.
| kanzi::StateManager::StateObjectRuntime::~StateObjectRuntime | ( | ) |
Destructor.
|
static |
Create new state object runtime.
|
static |
Callback for modifier value storage.
Acquire a local copy of a resource object.
Store the copy within this #StateObjectRuntime.
Apply style for this state object runtime.
Unapply style applied from this state object runtime.
| StateObject* kanzi::StateManager::StateObjectRuntime::m_object |
State object.
| Object* kanzi::StateManager::StateObjectRuntime::m_clonedObjectParent |
Node this state object runtime has installed a callback for.
| ResourceSharedPtr kanzi::StateManager::StateObjectRuntime::m_clonedObjectStorage |
Storage for cloned resource.
Made when properties of resources within a node are modified. Instead of modifying properties of the resource, a copy is made and modifications applied there.
| AbstractPropertyType kanzi::StateManager::StateObjectRuntime::m_clonedObjectProperty |
Property type for the cloned object.
| AppliedStyleEntry* kanzi::StateManager::StateObjectRuntime::m_appliedStateStyle |
Applied state style entry.
| weak_ptr<Node> kanzi::StateManager::StateObjectRuntime::m_appliedStyleNode |
Pointer to node the applied state style has been applied to, if it's a node.