Sleeping Wombat GUI  0.100
swGUI
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RelativeTimeline Class Reference

#include <RelativeTimeline.h>

Inheritance diagram for RelativeTimeline:
TimelineBase EngineObject

Public Member Functions

 RelativeTimeline ()
 
 RelativeTimeline (TimelineBasePtr parent)
 
virtual ~RelativeTimeline ()=default
 
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 ()=default
 
 TimelineBase (TimelineBasePtr parent)
 
virtual ~TimelineBase ()=default
 
TimeType GetTime ()
 Current time. More...
 
- Public Member Functions inherited from EngineObject
TypeID GetType () const
 
std::string GetTypeName () const
 
virtual void Serialize (ISerializer *ser) const
 Implements default serialization. Serializes only declared properties. More...
 
virtual void Deserialize (IDeserializer *deser)
 Implements default deserialization. More...
 
virtual Size MemorySize ()
 
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. More...
 
TimeType m_duration
 Time after which timeline will be wrapped. More...
 
float m_factor
 Enables slow motion. More...
 
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. More...
 
TimelineBaseWPtr m_parent
 

Constructor & Destructor Documentation

RelativeTimeline::RelativeTimeline ( )
explicit
RelativeTimeline::RelativeTimeline ( TimelineBasePtr  parent)
explicit
virtual RelativeTimeline::~RelativeTimeline ( )
virtualdefault

Member Function Documentation

TimeType RelativeTimeline::EvalElapsedTime ( TimeType  parentTime)
protected
TimeType RelativeTimeline::EvalTime ( TimeType  parentTime)
protected
TimeType RelativeTimeline::GetDuration ( )
inline
WrapMode RelativeTimeline::GetPostWrap ( )
inline
WrapMode RelativeTimeline::GetPreWrap ( )
inline
bool RelativeTimeline::IsPaused ( )
overridevirtual

Implements TimelineBase.

void RelativeTimeline::Pause ( )
overridevirtual

Implements TimelineBase.

void RelativeTimeline::SetDuration ( TimeType  duration)
void RelativeTimeline::SetPostWrap ( WrapMode  mode)
void RelativeTimeline::SetPreWrap ( WrapMode  mode)
void RelativeTimeline::SetTimeline ( TimelineBasePtr &  parent)
overridevirtual

Implements TimelineBase.

void RelativeTimeline::Start ( )
overridevirtual

Implements TimelineBase.

void RelativeTimeline::Stop ( )
overridevirtual

Implements TimelineBase.

void RelativeTimeline::Update ( )
overridevirtual

Implements TimelineBase.

Member Data Documentation

TimeType RelativeTimeline::m_duration
protected

Time after which timeline will be wrapped.

float RelativeTimeline::m_factor
protected

Enables slow motion.

bool RelativeTimeline::m_isPaused
protected
bool RelativeTimeline::m_isStarted
protected
TimeType RelativeTimeline::m_offset
protected

Offset relative to parent.

WrapMode RelativeTimeline::m_postWrap
protected
WrapMode RelativeTimeline::m_preWrap
protected

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