This kind of timeline group will play its children in sequence, possibly with specified offsets (delays) inbetween.
Child timelines can be added to the group at the beginning, at the end, or inserted after another child.
Offsets are be specified as preceding a timeline (or following if the group is played in reverse). If a timeline at the beginning of the group has an offset, the offset is skipped and the first timeline starts playing immediately. The offset of this timeline is not lost, and will be used if another timeline is added preceding it.
#include <animation/YiSerialTimelineGroup.h>

Additional Inherited Members | |
Public Types inherited from CYIAbstractTimeline | |
| enum | YI_FRAME_MODE { YI_ABSOLUTE, YI_RELATIVE } |
| enum | STATUS { STOPPED, PLAYING } |
| enum | DIRECTION { FORWARD, REVERSE } |
Public Attributes inherited from CYITimelineGroup | |
| CYISignal< CYIAbstractTimeline * > | ChildTimelineCompleted |
| called whenever execution of one of the contained timelines completes normally More... | |
Public Attributes inherited from CYIAbstractTimeline | |
| CYISignal | Playing |
| called whenever the timeline starts playing (from any position) More... | |
| CYISignal | Paused |
| called whenever the timeline stops playing, including if the timeline execution completes normally More... | |
| CYISignal | Aborted |
| called when the timeline execution is aborted by the Abort() function More... | |
| CYISignal | Started |
| called when playback of the timeline is initiated by one of the Start() functions More... | |
| CYISignal | Completed |
| called when playback of the timeline completes normally (or when the Finish() function is called) More... | |
| CYISignal | PlayingForward |
| same as Playing, but triggered only when direction is forward More... | |
| CYISignal | PlayingReverse |
| same as Playing, but triggered only when direction is reverse More... | |
| CYISignal | PausedForward |
| same as Paused, but triggered only when direction is forward More... | |
| CYISignal | PausedReverse |
| same as Paused, but triggered only when direction is reverse More... | |
| CYISignal | StartedForward |
| same as Started, but triggered only when direction is forward More... | |
| CYISignal | StartedReverse |
| same as Started, but triggered only when direction is reverse More... | |
| CYISignal | CompletedForward |
| same as Completed, but triggered only when direction is forward More... | |
| CYISignal | CompletedReverse |
| same as Completed, but triggered only when direction is reverse More... | |
Protected Member Functions inherited from CYITimelineGroup | |
| CYITimelineGroup (CYITimelineGroupPriv *pPriv) | |
Protected Member Functions inherited from CYIAbstractTimeline | |
| CYIAbstractTimeline (CYIAbstractTimelinePriv *pPriv) | |
Protected Member Functions inherited from CYIScriptableRTTIObject | |
| virtual std::pair< const CYIRuntimeTypeInfo *, const void * > | GetRuntimeTypeInfoWithObject () const =0 |
Protected Attributes inherited from CYIAbstractTimeline | |
| CYIAbstractTimelinePriv * | m_pPriv |
| CYISerialTimelineGroup::CYISerialTimelineGroup | ( | ) |
|
virtual |
| void CYISerialTimelineGroup::AddTimelineAfter | ( | CYIAbstractTimeline * | pTimeline, |
| const CYIAbstractTimeline * | pPrevTimeline | ||
| ) |
Finds pPrevTimeline in this group, and inserts pTimeline in the group after pPrevTimeline with no offset.
If pPrevTimeline is not found, pTimeline is not added.
| void CYISerialTimelineGroup::AddTimelineAfterWithOffset | ( | CYIAbstractTimeline * | pTimeline, |
| const CYIAbstractTimeline * | pPrevTimeline, | ||
| uint64_t | uMillis | ||
| ) |
Finds pPrevTimeline in this group, and inserts pTimeline in the group after pPrevTimeline with an offset of uMillis.
If pPrevTimeline is not found, pTimeline is not added to this group.
| void CYISerialTimelineGroup::AddTimelineToEnd | ( | CYIAbstractTimeline * | pTimeline | ) |
Adds pTimeline to the end of the group with no offset.
| void CYISerialTimelineGroup::AddTimelineToEndWithOffset | ( | CYIAbstractTimeline * | pTimeline, |
| uint64_t | uMillis | ||
| ) |
Adds pTimeline to the end of the group with an offset of uMillis.
| void CYISerialTimelineGroup::AddTimelineToStart | ( | CYIAbstractTimeline * | pTimeline | ) |
Adds pTimeline to the beginning of the group with no offset.