VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
radioReceiverDecoderHLA.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #if DtHLA
8 
9 #ifndef DtRadioReceiverDecoder_H_
10 #define DtRadioReceiverDecoder_H_
11 
12 
14 
18 
20 
23 #define DtDECLARE_RADIORECVR_ATTR_DECODER(attrName) \
24  DtDECLARE_ATTR_DECODER(DtRadioReceiverRepository, attrName)
25 
30 
32 {
33 public:
34 
37  DtExerciseConn* exConn,
38  DtObjClassDesc* classDesc);
39 
41  virtual ~DtRadioReceiverDecoder();
42 
45 
48 
49 public:
50 
52  static DtHlaStateDecoder* create(
53  DtExerciseConn* exConn,
54  DtObjClassDesc* classDesc);
55 
56 protected:
57 
61  void addMyDecoders();
62 
64 
65  DtDECLARE_RADIORECVR_ATTR_DECODER(ReceivedPower);
66 
69  DtDECLARE_RADIORECVR_ATTR_DECODER(ReceivedTransmitter);
70  DtDECLARE_RADIORECVR_ATTR_DECODER(ReceiverState);
71 
74  DtDECLARE_RADIORECVR_ATTR_DECODER(ReceivedTransmitterIdentifier);
75  DtDECLARE_RADIORECVR_ATTR_DECODER(ReceiverOperationalStatus);
76 };
77 
83 #define DtDEFINE_SIMPLE_RADIORECVR_ATTR_DECODER_WITH_CAST( \
84  attrName, netType, mutator, castExpr) \
85  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
86  DtRadioReceiverDecoder, DtRadioReceiverRepository, \
87  attrName, netType, mutator, castExpr)
88 
89 #define DtDEFINE_SIMPLE_RADIORECVR_ATTR_DECODER( \
90  attrName, netType, inspector) \
91  DtDEFINE_SIMPLE_RADIORECVR_ATTR_DECODER_WITH_CAST( \
92  attrName, netType, inspector, (netType))
93 
94 #endif //DtRadioReceiverDecoder_H_
95 
96 #endif //DtHLA
97 
DtBaseEmbeddedSystemDecoder & operator=(const DtBaseEmbeddedSystemDecoder &orig)
assignment operator
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#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: objClassDesc13.h:41
DtHlaStateDecoder is used to provide decoding of a state message into a state repository in an HLA (a...
Definition: hlaStateDecoder.h:34
class DtRadioReceiverDecoder:
Definition: radioReceiverDecoderHLA.h:31
Instances of DtRadioReceiverRepository are used to store state information for radio receiver objects...
Definition: radioReceiverRepository.h:19
#define DtDECLARE_RADIORECVR_ATTR_DECODER(attrName)
This is used to declare attribute decoding functions which are members of the class.
Definition: radioReceiverDecoderHLA.h:23
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 Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)