NAP
Public Member Functions | Protected Member Functions | List of all members
AudioComponentBaseInstance Class Reference

#include <audio/component/audiocomponentbase.h>

Public Member Functions

 AudioComponentBaseInstance (EntityInstance &entity, Component &resource)
 
- Public Member Functions inherited from ComponentInstance
 ComponentInstance (EntityInstance &entity, Component &resource)
 
virtual void update (double deltaTime)
 
nap::EntityInstancegetEntityInstance () const
 
nap::ComponentgetComponent () const
 
template<typename T >
T * getComponent () const
 
virtual bool init (utility::ErrorState &errorState)
 
virtual bool init (utility::ErrorState &errorState)
 
- Public Member Functions inherited from Object
 Object ()
 
virtual ~Object ()
 
virtual void onDestroy ()
 
 Object (Object &)=delete
 
Objectoperator= (const Object &)=delete
 
 Object (Object &&)=delete
 
Objectoperator= (Object &&)=delete
 
- Public Member Functions inherited from IMultiChannelOutput
virtual ~IMultiChannelOutput ()=default
 
virtual int getChannelCount () const =0
 
virtual OutputPingetOutputForChannel (int channel)=0
 
OutputPintryGetOutputForChannel (unsigned int)
 

Protected Member Functions

NodeManagergetNodeManager ()
 
AudioServicegetAudioService ()
 

Additional Inherited Members

- Static Public Member Functions inherited from Object
static bool isIDProperty (rtti::Instance &object, const rtti::Property &property)
 
- Public Attributes inherited from Object
std::string mID
 Property: 'mID' unique name of the object. Used as an identifier by the system. More...
 

Description

Instance of a component that generates audio output for one or more channels.

Inheritance diagram for AudioComponentBaseInstance:
[legend]
Collaboration diagram for AudioComponentBaseInstance:
[legend]

Constructor & Destructor Documentation

◆ AudioComponentBaseInstance()

AudioComponentBaseInstance ( EntityInstance entity,
Component resource 
)

Member Function Documentation

◆ getAudioService()

AudioService& getAudioService ( )
protected

Returns the audio service

◆ getNodeManager()

NodeManager& getNodeManager ( )
protected
Returns
the node system's node manager that the audio runs on