VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
radioTransmitterDecoderHLA.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 VT MAK
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #if DtHLA
8 
9 #ifndef DtRadioTransmitterDecoder_H_
10 #define DtRadioTransmitterDecoder_H_
11 
12 
14 
18 
20 
23 #define DtDECLARE_RADIOXMIT_ATTR_DECODER(attrName) \
24  DtDECLARE_ATTR_DECODER(DtRadioTransmitterRepository, attrName)
25 
30 
32 {
33 public:
34 
37  DtExerciseConn* exConn,
38  DtObjClassDesc* classDesc);
39 
41  virtual ~DtRadioTransmitterDecoder();
42 
45 
47  DtRadioTransmitterDecoder& operator=
48  (const DtRadioTransmitterDecoder& orig);
49 
50 public:
51 
53  static DtHlaStateDecoder* create(
54  DtExerciseConn* exConn,
55  DtObjClassDesc* classDesc);
56 
57 protected:
58 
62  void addMyDecoders();
63 
66  DtDECLARE_RADIOXMIT_ATTR_DECODER(FrequencyBandwidth);
67  DtDECLARE_RADIOXMIT_ATTR_DECODER(FrequencyHopInUse);
68  DtDECLARE_RADIOXMIT_ATTR_DECODER(ModulationParameters);
69  DtDECLARE_RADIOXMIT_ATTR_DECODER(PsuedoNoiseSpectrumInUse);
71  DtDECLARE_RADIOXMIT_ATTR_DECODER(WorldLocation);
73 
76  DtDECLARE_RADIOXMIT_ATTR_DECODER(AntennaPatternType);
77  DtDECLARE_RADIOXMIT_ATTR_DECODER(AntennaPattern);
79  DtDECLARE_RADIOXMIT_ATTR_DECODER(DetailedModulationType);
81  DtDECLARE_RADIOXMIT_ATTR_DECODER(MajorModulationType);
82  DtDECLARE_RADIOXMIT_ATTR_DECODER(ModulationSystemType);
86  DtDECLARE_RADIOXMIT_ATTR_DECODER(TransmitState);
87 
89  DtDECLARE_RADIOXMIT_ATTR_DECODER(AntennaPatternData);
90  DtDECLARE_RADIOXMIT_ATTR_DECODER(CryptographicMode);
91  DtDECLARE_RADIOXMIT_ATTR_DECODER(EncryptionKeyIdentifier);
92  DtDECLARE_RADIOXMIT_ATTR_DECODER(RadioInputSource);
93  DtDECLARE_RADIOXMIT_ATTR_DECODER(RFModulationType);
94  DtDECLARE_RADIOXMIT_ATTR_DECODER(RFModulationSystemType);
95  DtDECLARE_RADIOXMIT_ATTR_DECODER(TransmittedPower);
97  DtDECLARE_RADIOXMIT_ATTR_DECODER(RadioSystemType);
98  DtDECLARE_RADIOXMIT_ATTR_DECODER(TransmitterOperationalStatus);
99 
102  DtDECLARE_RADIOXMIT_ATTR_DECODER(SpreadSpectrum);
103 };
104 
110 #define DtDEFINE_SIMPLE_RADIOXMIT_ATTR_DECODER_WITH_CAST( \
111  attrName, netType, mutator, castExpr) \
112  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
113  DtRadioTransmitterDecoder, DtRadioTransmitterRepository, \
114  attrName, netType, mutator, castExpr)
115 
116 #define DtDEFINE_SIMPLE_RADIOXMIT_ATTR_DECODER( \
117  attrName, netType, inspector) \
118  DtDEFINE_SIMPLE_RADIOXMIT_ATTR_DECODER_WITH_CAST( \
119  attrName, netType, inspector, (netType))
120 
121 #endif //DtRadioTransmitterDecoder_H_
122 
123 #endif //DtHLA
124 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:58
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This file provides a declaration of the class DtBaseEmbeddedSystemDecoder.
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc1516.h:41
class DtRadioTransmitterDecoder:
Definition: radioTransmitterDecoderHLA.h:31
#define DtDECLARE_RADIOXMIT_ATTR_DECODER(attrName)
This is used to declare attribute decoding functions which are members of the class.
Definition: radioTransmitterDecoderHLA.h:23
DtHlaStateDecoder is used to provide decoding of a state message into a state repository in an HLA (a...
Definition: hlaStateDecoder.h:32
Instances of DtRadioTransmitterRepository are used to store state information for objects which are r...
Definition: radioTransmitterRepository.h:29
void addMyDecoders()
Add decoding functions for the attributes.
static DtHlaStateDecoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Create a DtBaseEntityDecoder. Caller is responsible for deletion.
class DtBaseEmbeddedSystemDecoder:
Definition: baseEmbeddedSystemDecoder.h:32

Document ID: Generated on Tue Feb 2 21:02:17 EST 2021 from SVN revision 223668
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)