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
◆ ~DataDrivenExclusiveActivityHostConcept()
virtual kanzi::DataDrivenExclusiveActivityHostConcept::~DataDrivenExclusiveActivityHostConcept |
( |
| ) |
|
|
virtualdefault |
◆ makeEditorInfo()
◆ getNode() [1/2]
virtual Node* kanzi::DataDrivenExclusiveActivityHostConcept::getNode |
( |
| ) |
|
|
pure virtual |
◆ getNode() [2/2]
virtual const Node* kanzi::DataDrivenExclusiveActivityHostConcept::getNode |
( |
| ) |
const |
|
pure virtual |
◆ getActivitySource()
ResourceSharedPtr kanzi::DataDrivenExclusiveActivityHostConcept::getActivitySource |
( |
| ) |
const |
◆ setActivitySource()
void kanzi::DataDrivenExclusiveActivityHostConcept::setActivitySource |
( |
ResourceSharedPtr |
value | ) |
|
◆ getActivityTemplate()
string kanzi::DataDrivenExclusiveActivityHostConcept::getActivityTemplate |
( |
| ) |
const |
◆ setActivityTemplate()
void kanzi::DataDrivenExclusiveActivityHostConcept::setActivityTemplate |
( |
string_view |
prefabUrl | ) |
|
◆ getActiveActivityIndex()
int kanzi::DataDrivenExclusiveActivityHostConcept::getActiveActivityIndex |
( |
| ) |
const |
◆ setActiveActivityIndex()
void kanzi::DataDrivenExclusiveActivityHostConcept::setActiveActivityIndex |
( |
int |
value | ) |
|
◆ getNameForIndex()
static string kanzi::DataDrivenExclusiveActivityHostConcept::getNameForIndex |
( |
int |
index | ) |
|
|
static |
Returns a unique name for the data Activity at the given index in the Data Source List.
- Parameters
-
index | Index of the data Activity in the Data Source List. |
- Returns
- Unique name for data Activity at the given index.
◆ ActivitySourceProperty
◆ ActivityTemplateProperty
PropertyType<string> kanzi::DataDrivenExclusiveActivityHostConcept::ActivityTemplateProperty |
|
static |
◆ ActiveActivityIndexProperty
PropertyType<int> kanzi::DataDrivenExclusiveActivityHostConcept::ActiveActivityIndexProperty |
|
static |
The index of the active Activity in the Data-Driven Exclusive Activity Host.
After instantiating all Activities from a Data Source, this property refers to the only currently active Activity in the Data-Driven Exclusive Activity Host. To deactivate all the Activities in an Activity Host, set this property to -1. By default the value of this index is -1 and all Activities are inactive.
- See also
- setActiveActivityIndex(), getActiveActivityIndex()
- Since
- Kanzi 3.9.1. Renamed ActiveItemIndexProperty to ActiveActivityIndexProperty.
◆ s_activeDataActivityName
constexpr const char* kanzi::DataDrivenExclusiveActivityHostConcept::s_activeDataActivityName |
|
static |
Public name which Kanzi uses to refer to the currently and exclusively active data Activity of a Data-Driven Exclusive Activity Host.
The Activity with this name internally holds the data of the currently active Activity from the Data Source List.
◆ s_defaultActiveActivityIndex
constexpr int kanzi::DataDrivenExclusiveActivityHostConcept::s_defaultActiveActivityIndex |
|
static |
The documentation for this class was generated from the following file: