Base class for the Data-Driven Exclusive Activity Host classes.
More...
#include <kanzi/ui/node/concept/activity/data_driven_exclusive_activity_host_concept.hpp>
Base class for the Data-Driven Exclusive Activity Host classes.
This class defines the common types, functionality, and properties for the Data-Driven Exclusive Activity Host classes.
- See also
- DataDrivenExclusiveActivityHost2D, DataDrivenExclusiveActivityHost3D
- Since
- Kanzi 3.9.0
| virtual kanzi::DataDrivenExclusiveActivityHostConcept::~DataDrivenExclusiveActivityHostConcept |
( |
| ) |
|
|
virtualdefault |
Returns PropertyType editor info of exclusive activity concept.
| virtual Node* kanzi::DataDrivenExclusiveActivityHostConcept::getNode |
( |
| ) |
|
|
pure virtual |
| virtual const Node* kanzi::DataDrivenExclusiveActivityHostConcept::getNode |
( |
| ) |
const |
|
pure virtual |
| ResourceSharedPtr kanzi::DataDrivenExclusiveActivityHostConcept::getActivitySource |
( |
| ) |
const |
| void kanzi::DataDrivenExclusiveActivityHostConcept::setActivitySource |
( |
ResourceSharedPtr |
value | ) |
|
| string kanzi::DataDrivenExclusiveActivityHostConcept::getActivityTemplate |
( |
| ) |
const |
| void kanzi::DataDrivenExclusiveActivityHostConcept::setActivityTemplate |
( |
string |
prefabUrl | ) |
|
| int kanzi::DataDrivenExclusiveActivityHostConcept::getActiveItemIndex |
( |
| ) |
const |
| void kanzi::DataDrivenExclusiveActivityHostConcept::setActiveItemIndex |
( |
int |
value | ) |
|
| static string kanzi::DataDrivenExclusiveActivityHostConcept::getNameForIndex |
( |
int |
index | ) |
|
|
static |
Returns a unique name for the data Activity node at the given index in the Data Source List.
- Parameters
-
| index | Index of the data Activity node in the Data Source List. |
- Returns
- Unique name for data Activity node at the given index.
| PropertyType<string> kanzi::DataDrivenExclusiveActivityHostConcept::ActivityTemplateProperty |
|
static |
| PropertyType<int> kanzi::DataDrivenExclusiveActivityHostConcept::ActiveItemIndexProperty |
|
static |
The index of the active Activity in the Data Driven Exclusive Activity Host node.
After instantiating all Activity nodes from a Data Source, this property refers to the only currently active Activity in the Data Driven Exclusive Activity Host node. To deactivate all the Activities in an Activity Host node, set this property to -1. By default none of the Activity nodes are active, and the value of this index is -1.
- See also
- setActiveItemIndex(), getActiveItemIndex()
| constexpr const char* kanzi::DataDrivenExclusiveActivityHostConcept::s_activeDataActivityName |
|
static |
Public name which Kanzi uses to refer to the currently and exclusively active data Activity node of a Data-Driven Exclusive Activity Host.
The Activity node with this name internally holds the data of the currently active item from the Data Source List.
The documentation for this class was generated from the following file: