Timeline playback context that resolves paths relative to a plain Object rather than a scene graph node. More...
#include <kanzi/core.ui/animation/object_timeline_playback_context.hpp>
Public Member Functions | |
| ObjectTimelinePlaybackContext (ObjectTimelinePlaybackContext &&) noexcept=default | |
| ObjectTimelinePlaybackContext (shared_ptr< Object > object) | |
| Constructor. | |
| ObjectTimelinePlaybackContext & | operator= (ObjectTimelinePlaybackContext &&)=default |
| ~ObjectTimelinePlaybackContext () override=default | |
Public Member Functions inherited from kanzi::TimelinePlaybackContext | |
| const optional< RuntimeEnvironment > & | getRuntimeEnvironment () const |
| Returns the runtime environment of the playback context, if set. | |
| bool | isRelativePlayback () |
| Returns the state of the playback. | |
| virtual shared_ptr< Object > | lookupObject (string_view path) |
| Looks up for an object from a node's path. | |
| void | setRelativePlayback (bool isRelative) |
| Sets the state of the playback. | |
| void | setRuntimeEnvironment (RuntimeEnvironment environment) |
| Sets the runtime environment for the playback context. | |
| TimelinePlaybackContext () | |
| Constructor. | |
| virtual | ~TimelinePlaybackContext () |
| Destructor. | |
Protected Member Functions | |
| shared_ptr< Object > | lookupObjectOverride (string_view path) override |
| TimelinePlaybackContext::lookupObjectOverride() implementation. | |
Timeline playback context that resolves paths relative to a plain Object rather than a scene graph node.
Supports only the self-path ".", which resolves to the provided object.
|
inlineexplicit |
Constructor.
| object | Object this context refers to. |
|
defaultnoexcept |
|
overridedefault |
|
default |
|
overrideprotectedvirtual |
TimelinePlaybackContext::lookupObjectOverride() implementation.
Returns the context object for path ".", empty otherwise.
Implements kanzi::TimelinePlaybackContext.