Sleeping Wombat Common Library  0.50.0
swCommonLibrary
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RelativeTimeline Class Reference
Inheritance diagram for RelativeTimeline:
TimelineBase Object

Public Member Functions

 RelativeTimeline (TimelineBasePtr parent)
 
void SetPreWrap (WrapMode mode)
 
void SetPostWrap (WrapMode mode)
 
void SetDuration (TimeType duration)
 
WrapMode GetPreWrap ()
 
WrapMode GetPostWrap ()
 
TimeType GetDuration ()
 
virtual void Update () override
 
virtual void Start () override
 
virtual void Stop () override
 
virtual void Pause () override
 
virtual void SetTimeline (TimelineBasePtr &parent) override
 
virtual bool IsPaused () override
 
- Public Member Functions inherited from TimelineBase
 TimelineBase (TimelineBasePtr parent)
 
TimeType GetTime ()
 Current time. More...
 
- Public Member Functions inherited from Object
TypeID GetType () const
 
std::string GetTypeName () const
 
virtual Size MemorySize () const
 Returns memory size possesed by this class and all it's nested objects. Result shoulb be computed recursivly.
 
template<typename TargetType >
TargetType * DynamicCast ()
 

Protected Member Functions

TimeType EvalTime (TimeType parentTime)
 
TimeType EvalElapsedTime (TimeType parentTime)
 

Protected Attributes

TimeType m_offset
 Offset relative to parent.
 
TimeType m_duration
 Time after which timeline will be wrapped.
 
float m_factor
 Enables slow motion.
 
WrapMode m_preWrap
 
WrapMode m_postWrap
 
bool m_isStarted
 
bool m_isPaused
 
- Protected Attributes inherited from TimelineBase
TimeType m_currentTime
 Evaluated timeline time. Time is evaluated once.
 
TimelineBaseWPtr m_parent
 

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