You.i Engine
YiParallelTimelineGroup.h
Go to the documentation of this file.
1 // © You i Labs Inc. 2000-2020. All rights reserved.
2 #ifndef _YI_PARALELL_TIMELINE_GROUP_H_
3 #define _YI_PARALELL_TIMELINE_GROUP_H_
4 
6 
7 class CYIParallelTimelineGroupPriv;
8 
22 {
23 public:
25  virtual ~CYIParallelTimelineGroup();
26 
36  void AddTimelineWithRelativeOffset(CYIAbstractTimeline *pTimeline, const CYIAbstractTimeline *pRelativeTimeline, uint64_t millis);
37 
42  void AddTimelineWithRelativePercentage(CYIAbstractTimeline *pTimeline, const CYIAbstractTimeline *pRelativeTimeline, float percentage);
43 
53  void UpdateRelativeOffsetOfTimeline(const CYIAbstractTimeline *pTimeline, const CYIAbstractTimeline *pRelativeTimeline, uint64_t millis);
54 
59  void UpdateRelativePercentageOfTimeline(const CYIAbstractTimeline *pTimeline, const CYIAbstractTimeline *pRelativeTimeline, float percentage);
60 
61 protected:
62  CYIParallelTimelineGroup(std::unique_ptr<CYIParallelTimelineGroupPriv> pPriv);
63 
64 private:
67 
68  CYIParallelTimelineGroupPriv *GetPriv();
69 
71 };
72 
77 #endif /* _YI_PARALELL_TIMELINE_GROUP_H_ */
The base class for the timeline framework.
Definition: YiAbstractTimeline.h:29
void AddTimelineWithRelativeOffset(CYIAbstractTimeline *pTimeline, const CYIAbstractTimeline *pRelativeTimeline, uint64_t millis)
virtual ~CYIParallelTimelineGroup()
void UpdateRelativeOffsetOfTimeline(const CYIAbstractTimeline *pTimeline, const CYIAbstractTimeline *pRelativeTimeline, uint64_t millis)
void AddTimelineWithRelativePercentage(CYIAbstractTimeline *pTimeline, const CYIAbstractTimeline *pRelativeTimeline, float percentage)
The base class for types of timeline groups.
Definition: YiTimelineGroup.h:25
void UpdateRelativePercentageOfTimeline(const CYIAbstractTimeline *pTimeline, const CYIAbstractTimeline *pRelativeTimeline, float percentage)
This kind of timeline group will play its children in parallel, possibly with specified offsets (dela...
Definition: YiParallelTimelineGroup.h:21
#define YI_TYPE_BASES(CLASS, BASES...)
Definition: YiRtti.h:257