State group runtime.
More...
#include <kanzi/core.ui/state_manager/state_manager.hpp>
|
| StateGroupRuntime (const StateManagerRuntimeSharedPtr &stateManagerRuntime, StateGroup &stateGroup) |
|
void | onTransitionFinished (TimelinePlayback &) |
| Transition finished message handler. More...
|
|
void | createAnimation (Object *stateObject, string_view stateObjectPath, AbstractPropertyType propertyType, AbstractPropertyTypeDescriptor::ValueSource *valueSource, chrono::milliseconds start, chrono::milliseconds duration, AnimationMode animationMode, const EasingArguments &easingArguments, AnimationEasingMode easingMode, ParallelTimeline &timeline, bool longerPath) |
| Create an animation for a state group. More...
|
|
void kanzi::StateManager::StateGroupRuntime::stopTransition |
( |
| ) |
|
void kanzi::StateManager::StateGroupRuntime::goToInitialState |
( |
| ) |
|
Set initial state.
Should be called after creating the state group runtime, after it has been added to group runtimes.
void kanzi::StateManager::StateGroupRuntime::goToState |
( |
const StateRuntimeSharedPtr & |
newStateRuntime, |
|
|
bool |
immediate |
|
) |
| |
Go to a state in a state group.
void kanzi::StateManager::StateGroupRuntime::syncState |
( |
bool |
immediate | ) |
|
Sync the state in the state group.
template<typename T >
void kanzi::StateManager::StateGroupRuntime::toggleControlPropertyNotificationHandler |
( |
Node * |
node, |
|
|
AbstractPropertyType |
propertyType, |
|
|
bool |
add |
|
) |
| |
void kanzi::StateManager::StateGroupRuntime::toggleControlPropertyNotificationHandler |
( |
Node * |
node, |
|
|
AbstractPropertyType |
propertyType, |
|
|
bool |
add |
|
) |
| |
void kanzi::StateManager::StateGroupRuntime::onTransitionFinished |
( |
TimelinePlayback & |
| ) |
|
|
protected |
Transition finished message handler.
void kanzi::StateManager::StateGroupRuntime::createAnimation |
( |
Object * |
stateObject, |
|
|
string_view |
stateObjectPath, |
|
|
AbstractPropertyType |
propertyType, |
|
|
AbstractPropertyTypeDescriptor::ValueSource * |
valueSource, |
|
|
chrono::milliseconds |
start, |
|
|
chrono::milliseconds |
duration, |
|
|
AnimationMode |
animationMode, |
|
|
const EasingArguments & |
easingArguments, |
|
|
AnimationEasingMode |
easingMode, |
|
|
ParallelTimeline & |
timeline, |
|
|
bool |
longerPath |
|
) |
| |
|
protected |
Create an animation for a state group.
StateGroup* kanzi::StateManager::StateGroupRuntime::m_group |
State* kanzi::StateManager::StateGroupRuntime::m_previousState |
Transition timeline playback.
bool kanzi::StateManager::StateGroupRuntime::m_inTransition |
chrono::milliseconds kanzi::StateManager::StateGroupRuntime::m_transitionBaseTime |
Base transition time in ms.
The documentation for this class was generated from the following file: