VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
soundDecoder.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2026 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #ifndef DtSoundDecoder_H_
8 #define DtSoundDecoder_H_
9 
10 #if DtHLA
11 
12 #include "interactionDecoder.h"
13 
14 
15 
19 
21 
24 
25 #define DtDECLARE_SOUND_PARAM_DECODER(paramName) \
26  DtDECLARE_PARAM_DECODER(DtSoundInteraction, paramName)
27 
28 #define DtDEFINE_SIMPLE_SOUND_PARAM_DECODER(paramName, netType, mutator) \
29  DtDEFINE_SIMPLE_PARAM_DECODER(DtSoundDecoder, DtSoundInteraction, \
30  paramName, netType, mutator)
31 
32 #define DtDEFINE_SIMPLE_SOUND_PARAM_DECODER_WITH_CAST( \
33  paramName, netType, mutator, castExpr) \
34  DtDEFINE_SIMPLE_PARAM_DECODER_WITH_CAST( \
35  DtSoundDecoder, DtSoundInteraction, \
36  paramName, netType, mutator, castExpr)
37 
38 
39 
43 class DT_DLL_VL DtSoundDecoder : public DtInteractionDecoder
44 {
45 public:
46 
49  DtSoundDecoder(DtExerciseConn* exConn,
50  DtInterClassDesc* classDesc);
51 
53  virtual ~DtSoundDecoder();
54 
56  DtSoundDecoder(const DtSoundDecoder& orig);
57 
59  DtSoundDecoder& operator=(const DtSoundDecoder& orig);
60 
61 protected:
62 
63  DtDECLARE_SOUND_PARAM_DECODER(SourceObjectIdentifier);
64  DtDECLARE_SOUND_PARAM_DECODER(SoundType);
65  DtDECLARE_SOUND_PARAM_DECODER(Location);
66  DtDECLARE_SOUND_PARAM_DECODER(RelativePosition);
67  DtDECLARE_SOUND_PARAM_DECODER(DecibelLevel);
68 };
69 
70 #endif
71 #endif
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnDIS.h:63
Instances of DtSoundInteraction are used to represent acoustic emissions.
Definition: soundPdu.h:28
#define DT_DLL_VL
Definition: vlMachineTypes.h:120
This file contains the declaration of DtInteractionDecoder.

Document ID: Generated on Mon Sep 28 00:09:32 EDT 2026 from SVN revision 295353
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)