#include <sequenceplayereventoutput.h>
Public Member Functions | |
SequencePlayerEventOutput (SequenceService &service) | |
![]() | |
SequencePlayerOutput (SequenceService &service) | |
~SequencePlayerOutput () override=default | |
bool | init (utility::ErrorState &errorState) override |
void | onDestroy () override |
![]() | |
Resource () | |
![]() | |
Object () | |
virtual | ~Object () |
Object (Object &)=delete | |
Object & | operator= (const Object &)=delete |
Object (Object &&)=delete | |
Object & | operator= (Object &&)=delete |
Public Attributes | |
nap::Signal< const SequenceEventBase & > | mSignal |
![]() | |
std::string | mID |
Property: 'mID' unique name of the object. Used as an identifier by the system. More... | |
Protected Member Functions | |
void | update (double deltaTime) override |
void | addEvent (SequenceEventPtr event) |
Additional Inherited Members | |
![]() | |
static bool | isIDProperty (rtti::Instance &object, const rtti::Property &property) |
![]() | |
SequenceService * | mService = nullptr |
SequencePlayerEventOutput dispatches an event from the sequencer on the main thread. The EventOutput receives its update call from the SequenceService
SequencePlayerEventOutput | ( | SequenceService & | service | ) |
Constructor
service | reference to SequenceService |
|
protected |
called from sequence player thread, adds event to queue.
event | the event ptr that needs to be dispatched. Receiver takes ownership of the event |
|
overrideprotectedvirtual |
called from sequence service main thread
deltaTime | time since last update |
Reimplemented from SequencePlayerOutput.
nap::Signal<const SequenceEventBase&> mSignal |
Signal will be triggered from main thread