#include <sequenceplayerclock.h>
Public Member Functions | |
SequencePlayerClock ()=default | |
~SequencePlayerClock ()=default | |
SequencePlayerClock (const SequencePlayerClock &)=delete | |
SequencePlayerClock & | operator= (const SequencePlayerClock &)=delete |
virtual void | start (Slot< double > &updateSlot)=0 |
virtual void | stop ()=0 |
![]() | |
Resource () | |
![]() | |
Object () | |
virtual | ~Object () |
virtual bool | init (utility::ErrorState &errorState) |
virtual void | onDestroy () |
Object (Object &)=delete | |
Object & | operator= (const Object &)=delete |
Object (Object &&)=delete | |
Object & | operator= (Object &&)=delete |
Protected Attributes | |
Slot< double > | mSlot |
Additional Inherited Members | |
![]() | |
static bool | isIDProperty (rtti::Instance &object, const rtti::Property &property) |
![]() | |
std::string | mID |
Property: 'mID' unique name of the object. Used as an identifier by the system. More... | |
The SequencePlayerClock is used by the sequence player to get its update calls The idea behind this is that we can synchronize the SequencePlayer to any threads, external sources or clocks
|
default |
|
default |
|
delete |
|
delete |
|
pure virtual |
Start needs to be overloaded. The update slot is the slot that needs to be called on update with a delta time DeltaTime needs to be in seconds
updateSlot | the update slot from the SequencePlayer that needs to be called |
Implemented in SequencePlayerIndependentClock, SequencePlayerStandardClock, and SequencePlayerAudioClock.
|
pure virtual |
Called by the SequencePlayer when player is deconstructed
Implemented in SequencePlayerIndependentClock, SequencePlayerStandardClock, and SequencePlayerAudioClock.
|
protected |