VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DtSoundElementProcessor.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 <vrvVrl/vrvVrl.h>
13 
15 
18 #include <vrvUtil/DtUnicode.h>
19 
20 #if DtHLA
21 # include <vl/soundInteractionHLA.h>
22 #elif DtDIS
23 # include <vl/soundPdu.h>
24 #else
25 # error "Please Choose a Protocol!"
26 #endif
27 
28 #ifndef DT_PROTOCOL_NAMESPACE
29 #error Namespace Protocol Macro DT_PROTOCOL_NAMESPACE not defined.
30 #endif
31 
32 namespace makVrv
33 {
34  class DtSoundInteractionStateListener;
35 
36  namespace DT_PROTOCOL_NAMESPACE
37  {
38  class DtVrlinkConnection;
39 
51  {
52  public:
53 
56  static void registerInstance(DtVrlinkConnection& conn,
57  DtSoundElementProcessor* instance);
58 
60  static DtSoundElementProcessor* findInstance(DtVrlinkConnection& conn);
61 
62  public:
65 
67  virtual ~DtSoundElementProcessor();
68 
70  DtSoundElementProcessor() = delete;
71 
74 
76  DtSoundElementProcessor& operator=(const DtSoundElementProcessor&) = delete;
77 
78  public:
80  virtual void processInteraction(const DtSoundInteraction& replyInteraction);
81 
82  protected:
90  virtual void realizeSoundForModelSet(DtModelSetId modelSet,
92 
93  protected:
96  };
97  }
98 }
Virtual base class. Allows for RTTI and proper virtual destruction. Used by Creators, Factories, Providers, Assemblers and User Interfaces.
Definition: DtVirtualBaseClass.h:19
A unicode string. DtUnicode stores a UTF-16 encoded unicode string. Code Point, a Unicode character...
Definition: DtUnicode.h:33
#define DT_PROTOCOL_NAMESPACE
Contains defines and includes header files for protocols.
Definition: vrfProtocol.h:13
#define DL_DLL_IGCONVRLINK
Definition: dllExport.h:26
DtSignalConnectionManager myConnections
Definition: DtSoundElementProcessor.h:95
Contains makVrv::DtVirtualBaseClass class.
Class to manage disconnection of boost connections on deletion.
Definition: DtSignalConnectionManager.h:20
An element processor for Sound interactions. This element processor makes use of the DtVrlinkSoundInt...
Definition: DtSoundElementProcessor.h:50
DtVrlinkConnection & myVrlinkConnection
Definition: DtSoundElementProcessor.h:94
Base class to provide boost signal/slot management.
DtModelSetId
Definition: DtModelSetEnums.h:19
Contains DLL export macros.
Listener that holds the state for a sound interaction event.
Definition: DtSoundInteractionStateListener.h:25
Contains various enum classes relating to model sets.

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)