Kanzi  3.9.9
Kanzi Engine C++ API
kanzi::ActivityStatusManager Class Reference

Covers the management of the StatusProperty in the State Manager that the prefab of an Activity node uses for transition animations. More...

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

Public Member Functions

 ActivityStatusManager (ActivityElement &activityElement)
 Constructor. More...
 
 ~ActivityStatusManager ()
 Destructor. More...
 

Static Public Member Functions

static bool hasStateForStatus (StateManager::StateGroup &stateGroup, ActivityConcept::Status status)
 Returns whether a State Group in a State Manager contains a specific state for transition animation. More...
 

Detailed Description

Covers the management of the StatusProperty in the State Manager that the prefab of an Activity node uses for transition animations.

This is a helper class for Activity classes.

Constructor & Destructor Documentation

kanzi::ActivityStatusManager::ActivityStatusManager ( ActivityElement activityElement)
explicit

Constructor.

Parameters
activityElementThe activity this status manager handles.
kanzi::ActivityStatusManager::~ActivityStatusManager ( )

Destructor.

Member Function Documentation

static bool kanzi::ActivityStatusManager::hasStateForStatus ( StateManager::StateGroup stateGroup,
ActivityConcept::Status  status 
)
static

Returns whether a State Group in a State Manager contains a specific state for transition animation.

Parameters
stateGroupState Group for which you want to check whether it contains a specific state.
statusValue for which to check whether a state exists.
Returns
If a state controlled by the given status exists, true, otherwise false.

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