VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
environmentObjectDecoder.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 environmentObjectDecoder_H_
10 #define environmentObjectDecoder_H_
11 
12 
14 
18 
20 
23 #define DtDECLARE_ENVIRONMENTOBJ_ATTR_DECODER(attrName) \
24  DtDECLARE_ATTR_DECODER(DtEnvironmentObjectRepository, attrName)
25 
30 
32 {
33 public:
34 
37  DtExerciseConn* exConn,
38  DtObjClassDesc* classDesc);
39 
41  virtual ~DtEnvironmentObjectDecoder();
42 
45 
48  (const DtEnvironmentObjectDecoder& orig);
49 
50 public:
51 
53  static DtHlaStateDecoder* create(
54  DtExerciseConn* exConn,
55  DtObjClassDesc* classDesc);
56 
57 protected:
60  DtDECLARE_ENVIRONMENTOBJ_ATTR_DECODER(ObjectIdentifier);
61  DtDECLARE_ENVIRONMENTOBJ_ATTR_DECODER(ReferencedObjectIdentifier);
64 };
65 
71 #define DtDEFINE_SIMPLE_ENVIRONMENTOBJ_ATTR_DECODER_WITH_CAST( \
72  attrName, netType, mutator, castExpr) \
73  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
74  DtEnvironmentObjectDecoder, DtEnvironmentObjectRepository, \
75  attrName, netType, mutator, castExpr)
76 
77 #define DtDEFINE_SIMPLE_ENVIRONMENTOBJ_ATTR_DECODER( \
78  attrName, netType, inspector) \
79  DtDEFINE_SIMPLE_ENVIRONMENTOBJ_ATTR_DECODER_WITH_CAST( \
80  attrName, netType, inspector, (netType))
81 
82 #endif //hEnvObjDec_H_
83 
84 #endif //DtHLA
85 

Document ID: Generated on Tue Mar 1 02:56:17 EST 2016 from SVN revision 162687
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)