Kanzi  3.9.5
Kanzi Engine API
kanzi::ActivityHostConcept::ActiveActivity Struct Reference

Class to manage storing and switching of Activity nodes. More...

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

Public Member Functions

 ActiveActivity (NodeWeakPtr activeActivityNode, string_view prefabPath)
 Constructor. More...
 

Public Attributes

NodeWeakPtr activity
 The active Activity node. More...
 
string prefabPath
 The path to the prefab of the active Activity node. More...
 

Detailed Description

Class to manage storing and switching of Activity nodes.

Holds the record of an active Activity node.

Since
Kanzi 3.9.0

Constructor & Destructor Documentation

◆ ActiveActivity()

kanzi::ActivityHostConcept::ActiveActivity::ActiveActivity ( NodeWeakPtr  activeActivityNode,
string_view  prefabPath 
)
inlineexplicit

Constructor.

Parameters
activeActivityNodeThe active Activity node.
prefabPathThe path to the prefab of an active Activity node.

Member Data Documentation

◆ activity

NodeWeakPtr kanzi::ActivityHostConcept::ActiveActivity::activity

The active Activity node.

◆ prefabPath

string kanzi::ActivityHostConcept::ActiveActivity::prefabPath

The path to the prefab of the active Activity node.


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