#include <sequenceplayereventoutput.h>
Public Member Functions | |
| SequencePlayerEventOutput (SequenceService &service) | |
Public Member Functions inherited from SequencePlayerOutput | |
| SequencePlayerOutput (SequenceService &service) | |
| ~SequencePlayerOutput () override=default | |
| bool | init (utility::ErrorState &errorState) override |
| void | onDestroy () override |
Public Member Functions inherited from Resource | |
| Resource () | |
Public Member Functions inherited from Object | |
| 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 |
Public Attributes inherited from Object | |
| 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 Public Member Functions inherited from Object | |
| static bool | isIDProperty (rtti::Instance &object, const rtti::Property &property) |
Protected Attributes inherited from SequencePlayerOutput | |
| 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