#include <audio/component/outputcomponent.h>
Public Member Functions | |
OutputComponentInstance (EntityInstance &entity, Component &resource) | |
bool | init (utility::ErrorState &errorState) override |
void | setInput (AudioComponentBaseInstance &input) |
![]() | |
ComponentInstance (EntityInstance &entity, Component &resource) | |
virtual void | update (double deltaTime) |
nap::EntityInstance * | getEntityInstance () const |
nap::Component * | getComponent () const |
template<typename T > | |
T * | getComponent () const |
![]() | |
Object () | |
virtual | ~Object () |
virtual void | onDestroy () |
Object (Object &)=delete | |
Object & | operator= (const Object &)=delete |
Object (Object &&)=delete | |
Object & | operator= (Object &&)=delete |
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... | |
Instance part of an audio output component. Routs the output from an audio component to the audio interface
OutputComponentInstance | ( | EntityInstance & | entity, |
Component & | resource | ||
) |
|
overridevirtual |
Initializes this component based on it's resource.
errorState | contains the error when initialization fails. |
Reimplemented from ComponentInstance.
void setInput | ( | AudioComponentBaseInstance & | input | ) |
Connects a different audio component as input to be sent to the audio interface.