VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
environmentObjectEncoder.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #if DtHLA
8 
9 #ifndef environmentObjectEncoder_H_
10 #define environmentObjectEncoder_H_
11 
12 
13 #include "hlaStateEncoder.h"
14 
18 
20 
23 #define DtDECLARE_ENVIRONMENTOBJ_ATTR_CHECKER(attrName) \
24  DtDECLARE_ATTR_CHECKER(DtEnvironmentObjectRepository, attrName)
25 
28 #define DtDECLARE_ENVIRONMENTOBJ_ATTR_ENCODER(attrName) \
29  DtDECLARE_ATTR_ENCODER(DtEnvironmentObjectRepository, attrName)
30 
35 
36 class DT_DLL_VL DtEnvironmentObjectEncoder : public DtHlaStateEncoder
37 {
38 public:
39 
41  DtEnvironmentObjectEncoder(
42  DtExerciseConn* exConn,
43  DtObjClassDesc* classDesc);
44 
46  virtual ~DtEnvironmentObjectEncoder();
47 
49  DtEnvironmentObjectEncoder(const DtEnvironmentObjectEncoder& orig);
50 
52  DtEnvironmentObjectEncoder& operator=(const DtEnvironmentObjectEncoder& orig);
53 
54 public:
55 
57  static DtHlaStateEncoder* create(
58  DtExerciseConn* exConn,
59  DtObjClassDesc* classDesc);
60 
61 protected:
62 
64  DtDECLARE_ENVIRONMENTOBJ_ATTR_CHECKER(ObjectIdentifier);
65  DtDECLARE_ENVIRONMENTOBJ_ATTR_CHECKER(ReferencedObjectIdentifier);
66  DtDECLARE_ENVIRONMENTOBJ_ATTR_CHECKER(ForceIdentifier);
67  DtDECLARE_ENVIRONMENTOBJ_ATTR_CHECKER(ObjectType);
68 
69  DtDECLARE_ENVIRONMENTOBJ_ATTR_ENCODER(ObjectIdentifier);
70  DtDECLARE_ENVIRONMENTOBJ_ATTR_ENCODER(ReferencedObjectIdentifier);
71  DtDECLARE_ENVIRONMENTOBJ_ATTR_ENCODER(ForceIdentifier);
72  DtDECLARE_ENVIRONMENTOBJ_ATTR_ENCODER(ObjectType);
73 };
74 
80 #define DtDEFINE_SIMPLE_ENVIRONMENTOBJ_ATTR_ENCODER( \
81  attrName, netType, inspector) \
82  DtDEFINE_SIMPLE_ATTR_ENCODER(DtEnvironmentObjectEncoder, \
83  DtEnvironmentObjectRepository, \
84  attrName, netType, inspector)
85 
91 #define DtDEFINE_SIMPLE_ENVIRONMENTOBJ_ATTR_CHECKER( \
92  attrName, inspector) \
93  DtDEFINE_SIMPLE_ATTR_CHECKER(DtEnvironmentObjectEncoder, \
94  DtEnvironmentObjectRepository, \
95  attrName, inspector)
96 
97 #endif //hEnvObjEnc_H_
98 
99 #endif //DtHLA
100 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnDIS.h:62
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This file contains the declaration of DtHlaStateEncoder.
Instances of DtEnvironmentObjectRepository are used to maintain state information needed by environme...
Definition: environmentObjectRepository.h:24

Document ID: Generated on Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)