VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
radioReceiverEncoderHLA.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 DtRadioReceiverEncoder_H_
10 #define DtRadioReceiverEncoder_H_
11 
12 
14 
18 
20 
23 #define DtDECLARE_RADIORECVR_ATTR_CHECKER(attrName) \
24  DtDECLARE_ATTR_CHECKER(DtRadioReceiverRepository, attrName)
25 
28 #define DtDECLARE_RADIORECVR_ATTR_ENCODER(attrName) \
29  DtDECLARE_ATTR_ENCODER(DtRadioReceiverRepository, attrName)
30 
35 
37 {
38 public:
39 
42  DtExerciseConn* exConn,
43  DtObjClassDesc* classDesc);
44 
46  virtual ~DtRadioReceiverEncoder();
47 
50 
53 
54 public:
55 
57  static DtHlaStateEncoder* create(
58  DtExerciseConn* exConn,
59  DtObjClassDesc* classDesc);
60 
61 protected:
62 
63  DtDECLARE_RADIORECVR_ATTR_CHECKER(ReceivedPower);
66  DtDECLARE_RADIORECVR_ATTR_CHECKER(ReceivedTransmitter);
67  DtDECLARE_RADIORECVR_ATTR_CHECKER(ReceiverState);
70  DtDECLARE_RADIORECVR_ATTR_CHECKER(ReceivedTransmitterIdentifier);
71  DtDECLARE_RADIORECVR_ATTR_CHECKER(ReceiverOperationalStatus);
72 
73  DtDECLARE_RADIORECVR_ATTR_ENCODER(ReceivedPower);
76  DtDECLARE_RADIORECVR_ATTR_ENCODER(ReceivedTransmitter);
77  DtDECLARE_RADIORECVR_ATTR_ENCODER(ReceiverState);
80  DtDECLARE_RADIORECVR_ATTR_ENCODER(ReceivedTransmitterIdentifier);
81  DtDECLARE_RADIORECVR_ATTR_ENCODER(ReceiverOperationalStatus);
82 };
83 
89 #define DtDEFINE_SIMPLE_RADIORECVR_ATTR_ENCODER( \
90  attrName, netType, inspector) \
91  DtDEFINE_SIMPLE_ATTR_ENCODER(DtRadioReceiverEncoder, \
92  DtRadioReceiverRepository, \
93  attrName, netType, inspector)
94 
100 #define DtDEFINE_SIMPLE_RADIORECVR_ATTR_CHECKER( \
101  attrName, inspector) \
102  DtDEFINE_SIMPLE_ATTR_CHECKER(DtRadioReceiverEncoder, \
103  DtRadioReceiverRepository, \
104  attrName, inspector)
105 
106 #endif //DtRadioReceiverEncoder_H_
107 
108 #endif //DtHLA
109 
DtBaseEmbeddedSystemEncoder & operator=(const DtBaseEmbeddedSystemEncoder &orig)
assignment operator
class DtRadioReceiverEncoder:
Definition: radioReceiverEncoderHLA.h:36
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:58
Instances of DtBaseEmbeddedSystemEncoder are used to encode a base embedded system state repository i...
Definition: baseEmbeddedSystemEncoder.h:35
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
DtHlaStateEncoder is used to provide encoding of a state repository into a state message in an HLA (a...
Definition: hlaStateEncoder.h:30
This file provides a declaration of the class DtBaseEmbeddedSystemEncoder.
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc13.h:41
Instances of DtRadioReceiverRepository are used to store state information for radio receiver objects...
Definition: radioReceiverRepository.h:19
static DtHlaStateEncoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Create a DtBaseEntityEncoder. Caller is responsible for deletion.
#define DtDECLARE_RADIORECVR_ATTR_CHECKER(attrName)
This is used to declare static member functions for determining whether or not an attribute needs to ...
Definition: radioReceiverEncoderHLA.h:23
#define DtDECLARE_RADIORECVR_ATTR_ENCODER(attrName)
This is used to declare attribute encoding functions which are members of the class.
Definition: radioReceiverEncoderHLA.h:28

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)