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

Base class for timelines. More...

#include <TimelineBase.h>

Inheritance diagram for TimelineBase:
EngineObject FakeTimeline RelativeTimeline

Public Member Functions

 TimelineBase ()=default
 
 TimelineBase (TimelineBasePtr parent)
 
virtual ~TimelineBase ()=default
 
virtual void Update ()=0
 
virtual void Start ()=0
 
virtual void Stop ()=0
 
virtual void Pause ()=0
 
virtual void SetTimeline (TimelineBasePtr &parent)=0
 
virtual bool IsPaused ()=0
 
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 Attributes

TimeType m_currentTime
 Evaluated timeline time. Time is evaluated once. More...
 
TimelineBaseWPtr m_parent
 

Detailed Description

Base class for timelines.

Constructor & Destructor Documentation

TimelineBase::TimelineBase ( )
explicitdefault
TimelineBase::TimelineBase ( TimelineBasePtr  parent)
explicit
virtual TimelineBase::~TimelineBase ( )
virtualdefault

Member Function Documentation

TimeType TimelineBase::GetTime ( )
inline

Current time.

Returns
Returns current time evaluated by this timeline.
virtual bool TimelineBase::IsPaused ( )
pure virtual

Implemented in RelativeTimeline, and FakeTimeline.

virtual void TimelineBase::Pause ( )
pure virtual

Implemented in RelativeTimeline, and FakeTimeline.

virtual void TimelineBase::SetTimeline ( TimelineBasePtr &  parent)
pure virtual

Implemented in RelativeTimeline, and FakeTimeline.

virtual void TimelineBase::Start ( )
pure virtual

Implemented in RelativeTimeline, and FakeTimeline.

virtual void TimelineBase::Stop ( )
pure virtual

Implemented in RelativeTimeline, and FakeTimeline.

virtual void TimelineBase::Update ( )
pure virtual

Implemented in RelativeTimeline, and FakeTimeline.

Member Data Documentation

TimeType TimelineBase::m_currentTime
protected

Evaluated timeline time. Time is evaluated once.

TimelineBaseWPtr TimelineBase::m_parent
protected

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