VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
soundEncoder.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 DtSoundEncoder_H_
8 #define DtSoundEncoder_H_
9 
10 #if DtHLA
11 
12 #include "interactionEncoder.h"
13 
17 
19 
20 #define DtDECLARE_SOUND_PARAM_ENCODER(paramName) \
21  DtDECLARE_PARAM_ENCODER(DtSoundInteraction, paramName)
22 
23 #define DtDEFINE_SIMPLE_SOUND_PARAM_ENCODER(paramName, netType, inspector) \
24  DtDEFINE_SIMPLE_PARAM_ENCODER(DtSoundEncoder, DtSoundInteraction, \
25  paramName, netType, \
26  inspector)
27 
28 
32 class DT_DLL_VL DtSoundEncoder : public DtInteractionEncoder
33 {
34 public:
35 
36  DtSoundEncoder(DtExerciseConn* exConn,
37  DtInterClassDesc* classDesc);
38 
40  virtual ~DtSoundEncoder();
41 
43  DtSoundEncoder(const DtSoundEncoder& orig);
44 
46  DtSoundEncoder& operator=(const DtSoundEncoder& orig);
47 
48 protected:
49 
50  DtDECLARE_SOUND_PARAM_ENCODER(SourceObjectIdentifier);
51  DtDECLARE_SOUND_PARAM_ENCODER(SoundType);
52  DtDECLARE_SOUND_PARAM_ENCODER(Location);
53  DtDECLARE_SOUND_PARAM_ENCODER(RelativePosition);
54  DtDECLARE_SOUND_PARAM_ENCODER(DecibelLevel);
55 };
56 
57 #endif
58 #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

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)