VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSoundInteractionAudializer.h
Go to the documentation of this file.
1 /******************************************************************************
2 ** Copyright (c) 2026 MAK Technologies, Inc.
3 ** All rights reserved.
4 ******************************************************************************/
5 
9 
10 #pragma once
11 
12 #include <vrvAudio/vrvAudio.h>
14 
15 namespace makVrv
16 {
17  class DtSoundInteractionStateListener;
18  class DtSoundComponentAgent;
19 
32  {
33  public:
37  static const DtStateVisualizer::TypeInfo& theTypeInfo();
38 
39  public:
40 
48  DtStateListener& listener,
49  DtSceneObjectAgent* sceneObject,
50  DtModelSetId modelSet);
51 
54 
61 
62  public:
63 
70  virtual void initialize() override;
71 
76  virtual void createModelAgents() override;
77 
81  virtual void destroyModelAgents() override;
82 
88  virtual const TypeInfo& typeInfo() const;
89 
97  virtual void setModelDefinitionForAgents();
98 
99  protected:
108  virtual void setInitialValuesFromVisualizerDefinition() override;
109 
113  virtual void connectToListenerSignals() override;
114 
116  virtual void slot_elementIdSet();
117 
119  virtual void slot_locationSet();
120 
122  virtual void slot_relativeLocationSet();
123 
125  virtual void slot_decibelLevelSet();
126 
127  protected:
130 
136  DtSoundComponentAgent* mySoundComponentAgent;
137 
140  bool myIs3d = false;
141  };
142 
147 }
Contains makVrv::DtInteractionAudializer class.
DtSoundComponentAgent * mySoundComponentAgent
Sound component agent that performs the actual one-shot playback.
Definition: DtSoundInteractionAudializer.h:136
DtSoundInteractionStateListener * mySoundInteractionStateListener
Typed pointer to the sound interaction listener; not owned.
Definition: DtSoundInteractionAudializer.h:129
DtStateVisualizerCreatorTemplate< DtSoundInteractionAudializer > DtSoundInteractionAudializerCreator
Creator that will be registered with the state visualizer factory to create this class.
Definition: DtSoundInteractionAudializer.h:146
Definition: DtStateVisualizer.h:277
Contains the DLL export macro for vrvAudio classes.
The DtBaseConnection is an abstract class.
Definition: DtBaseConnection.h:35
DtInteractionAudializer manages the sound for an interaction. The sound will only play one time...
Definition: DtInteractionAudializer.h:26
Audializer that plays a one-shot sound for a sound interaction event.
Definition: DtSoundInteractionAudializer.h:31
#define DT_DLL_VRVAUDIO
Definition: vrvAudio.h:20
DtModelSetId
Definition: DtModelSetEnums.h:19
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
Listener that holds the state for a sound interaction event.
Definition: DtSoundInteractionStateListener.h:25

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)