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 

Document ID: Generated on Fri May 15 06:36:13 EDT 2015 from SVN revision 153263
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)