VR-Link API Documentation for HLA 1.3
hDesignatorEnc.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 DtDesignatorEncoder_H_
10 #define DtDesignatorEncoder_H_
11 
12 
13 #include "hBaseEmbedEnc.h"
14 
18 
20 
23 #define DtDECLARE_DESIGNATOR_ATTR_CHECKER(attrName) \
24  DtDECLARE_ATTR_CHECKER(DtDesignatorRepository, attrName)
25 
28 #define DtDECLARE_DESIGNATOR_ATTR_ENCODER(attrName) \
29  DtDECLARE_ATTR_ENCODER(DtDesignatorRepository, attrName)
30 
35 
37 {
38 public:
39 
42  DtExerciseConn* exConn,
43  DtObjClassDesc* classDesc);
44 
46  virtual ~DtDesignatorEncoder();
47 
50 
53 
54 public:
55 
57  static DtHlaStateEncoder* create(
58  DtExerciseConn* exConn,
59  DtObjClassDesc* classDesc);
60 
61 protected:
62 
64  DtDECLARE_DESIGNATOR_ATTR_CHECKER(DesignatorCode);
66  DtDECLARE_DESIGNATOR_ATTR_CHECKER(DesignatorSpotLocation);
67  DtDECLARE_DESIGNATOR_ATTR_CHECKER(RelativeSpotLocation);
69  DtDECLARE_DESIGNATOR_ATTR_CHECKER(DesignatedObject);
70  DtDECLARE_DESIGNATOR_ATTR_CHECKER(DesignatorWavelength);
71  DtDECLARE_DESIGNATOR_ATTR_CHECKER(DesignatorPower);
73  DtDECLARE_DESIGNATOR_ATTR_CHECKER(SpotLinearAcceleration);
75  DtDECLARE_DESIGNATOR_ATTR_CHECKER(DesignatedObjectIdentifier);
76  DtDECLARE_DESIGNATOR_ATTR_CHECKER(DesignatorEmissionWavelength);
77  DtDECLARE_DESIGNATOR_ATTR_CHECKER(DesignatorOutputPower);
78  DtDECLARE_DESIGNATOR_ATTR_CHECKER(DeadReckoningAlgorithm);
79  DtDECLARE_DESIGNATOR_ATTR_CHECKER(SpotLinearAccelerationVector);
80 
82  DtDECLARE_DESIGNATOR_ATTR_ENCODER(DesignatorCode);
84  DtDECLARE_DESIGNATOR_ATTR_ENCODER(DesignatorSpotLocation);
85  DtDECLARE_DESIGNATOR_ATTR_ENCODER(RelativeSpotLocation);
87  DtDECLARE_DESIGNATOR_ATTR_ENCODER(DesignatedObject);
88  DtDECLARE_DESIGNATOR_ATTR_ENCODER(DesignatorPower);
89  DtDECLARE_DESIGNATOR_ATTR_ENCODER(DesignatorWavelength);
91  DtDECLARE_DESIGNATOR_ATTR_ENCODER(SpotLinearAcceleration);
93  DtDECLARE_DESIGNATOR_ATTR_ENCODER(DesignatedObjectIdentifier);
94  DtDECLARE_DESIGNATOR_ATTR_ENCODER(DesignatorOutputPower);
95  DtDECLARE_DESIGNATOR_ATTR_ENCODER(DesignatorEmissionWavelength);
96  DtDECLARE_DESIGNATOR_ATTR_ENCODER(DeadReckoningAlgorithm);
97  DtDECLARE_DESIGNATOR_ATTR_ENCODER(SpotLinearAccelerationVector);
98 };
99 
100 
106 #define DtDEFINE_SIMPLE_DESIGNATOR_ATTR_ENCODER( \
107  attrName, netType, inspector) \
108  DtDEFINE_SIMPLE_ATTR_ENCODER(DtDesignatorEncoder, \
109  DtDesignatorRepository, \
110  attrName, netType, inspector)
111 
117 #define DtDEFINE_SIMPLE_DESIGNATOR_ATTR_CHECKER( \
118  attrName, inspector) \
119  DtDEFINE_SIMPLE_ATTR_CHECKER(DtDesignatorEncoder, \
120  DtDesignatorRepository, \
121  attrName, inspector)
122 
123 #endif //DtDesignatorEncoder_H_
124 
125 #endif //DtHLA
126 

Document ID: Generated on Wed Aug 14 15:35:11 EDT 2013 from SVN revision 130445
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)