VR-Link API Documentation for DIS
 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 
31 class DT_DLL_VL DtEnvironmentObjectDecoder : public DtHlaStateDecoder
32 {
33 public:
34 
36  DtEnvironmentObjectDecoder(
37  DtExerciseConn* exConn,
38  DtObjClassDesc* classDesc);
39 
41  virtual ~DtEnvironmentObjectDecoder();
42 
44  DtEnvironmentObjectDecoder(const DtEnvironmentObjectDecoder& orig);
45 
47  DtEnvironmentObjectDecoder& operator=
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);
62  DtDECLARE_ENVIRONMENTOBJ_ATTR_DECODER(ForceIdentifier);
63  DtDECLARE_ENVIRONMENTOBJ_ATTR_DECODER(ObjectType);
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 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnDIS.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Instances of DtEnvironmentObjectRepository are used to maintain state information needed by environme...
Definition: environmentObjectRepository.h:24

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)