Kanzi 3.9.14
kanzi::ActivityHostConcept::ActivityInfo Struct Reference

Stores information that identifies an Activity node. More...

#include <kanzi/ui/node/concept/activity/activity_host_concept.hpp>

Inheritance diagram for kanzi::ActivityHostConcept::ActivityInfo:
[legend]

Public Member Functions

 ActivityInfo (string_view activityName, string_view activityPrefabPath)
 Constructor.
 
 ActivityInfo (string_view activityName, string_view activityPrefabPath, bool activityOptimizeMemory)
 Constructor.
 

Public Attributes

string name
 The name of the Activity node.
 
bool optimizeMemory
 Whether the Activity releases acquired resources when deactivated.
 
string prefabPath
 The path to the prefab of the Activity node.
 

Detailed Description

Stores information that identifies an Activity node.

Since
Kanzi 3.9.0

Constructor & Destructor Documentation

◆ ActivityInfo() [1/2]

kanzi::ActivityHostConcept::ActivityInfo::ActivityInfo ( string_view activityName,
string_view activityPrefabPath )
inlineexplicit

Constructor.

Parameters
activityNameThe name of the Activity node.
activityPrefabPathThe path to the prefab of the Activity node.

◆ ActivityInfo() [2/2]

kanzi::ActivityHostConcept::ActivityInfo::ActivityInfo ( string_view activityName,
string_view activityPrefabPath,
bool activityOptimizeMemory )
inlineexplicit

Constructor.

Parameters
activityNameThe name of the Activity node.
activityPrefabPathThe path to the prefab of the Activity node.
activityOptimizeMemoryWhether the Activity releases acquired resources when deactivated.
Since
Kanzi 3.9.14

Member Data Documentation

◆ name

string kanzi::ActivityHostConcept::ActivityInfo::name

The name of the Activity node.

◆ prefabPath

string kanzi::ActivityHostConcept::ActivityInfo::prefabPath

The path to the prefab of the Activity node.

◆ optimizeMemory

bool kanzi::ActivityHostConcept::ActivityInfo::optimizeMemory

Whether the Activity releases acquired resources when deactivated.

Since
Kanzi 3.9.14

The documentation for this struct was generated from the following file: