15 #include <matrix/vlVector.h>
19 class DtSoundComponentAgent;
20 class DtEntitySoundUpdaterAgent;
21 class DtEntityStateListener;
23 namespace EntityStateListener
59 virtual void initialize()
override;
62 virtual void createModelAgents();
65 virtual void destroyModelAgents();
78 virtual void setModelDefinitionForAgents();
83 virtual void setPowerPlantOn(
bool on);
92 virtual bool destroyed()
const;
96 virtual void setEngineRunning(
bool running);
107 virtual void setIs3d(
bool is3d);
115 virtual void setDecibel(
float decibel);
119 virtual float decibel();
125 virtual void setOffset(
const DtVector&
offset);
129 virtual const DtVector&
offset()
const;
140 virtual void setInitialValuesFromVisualizerDefinition()
override;
144 virtual void connectToListenerSignals()
override;
bool myIs3d
Whether the sound is played spatialized in 3D.
Definition: DtEntityAudializer.h:147
DamageState
Definition: DtEntityStateListener.h:65
Definition: DtStateVisualizer.h:277
DtEntityStateListener * myEntityListener
Same as myListener, but cast to DtEntityStateListener for convenience.
Definition: DtEntityAudializer.h:154
Contains the DLL export macro for vrvAudio classes.
The DtBaseConnection is an abstract class.
Definition: DtBaseConnection.h:35
EntityStateListener::DamageState myDamageState
Last damage state reported for the entity.
Definition: DtEntityAudializer.h:150
DtSoundComponentAgent * mySoundComponentAgent
Owned agent that performs the actual sound playback.
Definition: DtEntityAudializer.h:146
DtEntityAudializer manages the sound for an entity. The sound will update itself according to the ent...
Definition: DtEntityAudializer.h:32
Contains makVrv:DtStateVisualizer class.
bool myPowerPlantOn
Whether the entity's power plant is currently on.
Definition: DtEntityAudializer.h:151
DtStateVisualizerCreatorTemplate< DtEntityAudializer > DtEntityAudializerCreator
Creator registered with the state visualizer factory to construct DtEntityAudializer instances...
Definition: DtEntityAudializer.h:160
float myDecibel
Playback level in decibels; default is 80.
Definition: DtEntityAudializer.h:148
The DtStateVisualizer is an abstract class. Developers derive from this to create logic that "directs...
Definition: DtStateVisualizer.h:30
DtVector myOffset
Body-frame offset (forward, right, down) in metres.
Definition: DtEntityAudializer.h:149
#define DT_DLL_VRVAUDIO
Definition: vrvAudio.h:20
DtModelSetId
Definition: DtModelSetEnums.h:19
voidpf uLong offset
Definition: ioapi.h:42
The DtStateListener is an abstract class. Subclasses implement functionality that will allow data to ...
Definition: DtStateListener.h:26
Struct to hold metadata about each functional visualizer type This allows users of the factory to get...
Definition: DtStateVisualizer.h:55
DtEntityStateListener.
Definition: DtEntityStateListener.h:138