Helper class used to modify the ParallelActivityHostContent of a ParallelActivityHost.
More...
#include <kanzi/ui/node/concept/activity/parallel_activity_host_content_handler.hpp>
Helper class used to modify the ParallelActivityHostContent of a ParallelActivityHost.
- Since
- Kanzi 3.9.0
Adds an Activity node to the given ParallelActivityHost by modifying its ParallelActivityHostContentProperty.
- Parameters
-
hostNode | The ParallelActivityHost node whose ParallelActivityHostContentProperty you want to modify. |
name | The name of the Activity node to add as a child node of the given ParallelActivityHost node. |
prefabPath | The path to the prefab of the Activity node. |
isInitiallyActive | Flag that indicates whether the Activity node is active when the ParallelActivityHost is activated:
- When set to true, the Activity node is activated when the ParallelActivityHost is activated.
- When set to false, the Activity node is not activated when the ParallelActivityHost is activated.
|
priorityLayer | The priority layer value of the Activity node. |
- See also
- ParallelActivityHostContentProperty for more information regarding priority layer value.
- Returns
- The structure that describes the Activity nodes after this modification.
Adds an Activity node to the given ParallelActivityHost by modifying its ParallelActivityHostContentProperty.
- Parameters
-
hostNode | The ParallelActivityHost node whose ParallelActivityHostContentProperty you want to modify. |
name | The name of the Activity node to add as a child node of the given ParallelActivityHost node. |
prefabPath | The path to the prefab of the Activity node. |
isInitiallyActive | Flag that indicates whether the Activity node is active when the ParallelActivityHost is activated:
- When set to true, the Activity node is activated when the ParallelActivityHost is activated.
- When set to false, the Activity node is not activated when the ParallelActivityHost is activated.
|
- Returns
- The structure that describes the Activity nodes after this modification.
Removes an Activity node from the given ParallelActivityHost by modifying its ParallelActivityHostContentProperty.
- Parameters
-
hostNode | The ParallelActivityHost node whose ParallelActivityHostContentProperty you want to modify. |
name | The name of the Activity node that you want to remove from the ParallelActivityHost node. |
- Returns
- The structure that describes the Activity nodes after this modification.
Converts a Parallel Activity Host Content from a string to a ParallelActivityHostContent object.
- Parameters
-
value | Content description as a string. |
- Returns
- The Parallel Activity Host Content as a ParallelActivityHostContent object.
Converts a Parallel Activity Host Content from a ParallelActivityHostContent object to a string.
- Parameters
-
content | Structure that describes the Activity nodes. |
- Returns
- The Parallel Activity Host Content as a string.
The documentation for this struct was generated from the following file: