VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
environmentProcessEncoderHLA.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 DtEnvironmentProcessEncoder_H_
10 #define DtEnvironmentProcessEncoder_H_
11 
12 #include "hlaStateEncoder.h"
13 #include "hostStructs.h"
14 
16 #include "exerciseConn.h"
17 #include <matrix/LibMatrix.h>
18 
22 
24 
27 
28 #define DtDECLARE_ENVPROC_ATTR_CHECKER(attrName) \
29  DtDECLARE_ATTR_CHECKER(DtEnvironmentProcessRepository, attrName)
30 
32 
33 #define DtDECLARE_ENVPROC_ATTR_ENCODER(attrName) \
34  DtDECLARE_ATTR_ENCODER(DtEnvironmentProcessRepository, attrName)
35 
40 
41 class DT_DLL_VL DtEnvironmentProcessEncoder : public DtHlaStateEncoder
42 {
43 public:
44 
45  //default constructor
47  DtExerciseConn* exConn,
48  DtObjClassDesc* classDesc);
49 
51  virtual ~DtEnvironmentProcessEncoder();
52 
53  //copy constructor
55 
56 public:
57 
59  static DtHlaStateEncoder* create(
60  DtExerciseConn* exConn, DtObjClassDesc* classDesc);
61 
63  static int recordSize_RPR_20014(unsigned long theType) ;
64 protected:
65 
66  DtDECLARE_ENVPROC_ATTR_CHECKER(ProcessIdentifier);
67  DtDECLARE_ENVPROC_ATTR_CHECKER(Type);
68  DtDECLARE_ENVPROC_ATTR_CHECKER(ModelType);
69  DtDECLARE_ENVPROC_ATTR_CHECKER(EnvironmentProcessActive);
70  DtDECLARE_ENVPROC_ATTR_CHECKER(SequenceNumber);
71  DtDECLARE_ENVPROC_ATTR_CHECKER(EnvironmentRecData);
72 
73  DtDECLARE_ENVPROC_ATTR_ENCODER(ProcessIdentifier);
74  DtDECLARE_ENVPROC_ATTR_ENCODER(Type);
75  DtDECLARE_ENVPROC_ATTR_ENCODER(ModelType);
76  DtDECLARE_ENVPROC_ATTR_ENCODER(EnvironmentProcessActive);
77  DtDECLARE_ENVPROC_ATTR_ENCODER(SequenceNumber);
78  DtDECLARE_ENVPROC_ATTR_ENCODER(EnvironmentRecData);
79  DtDECLARE_ENVPROC_ATTR_ENCODER(EnvironmentRecData_RPR_20014);
80  DtDECLARE_ENVPROC_ATTR_ENCODER(EnvironmentRecData_RPR_20017);
81  DtDECLARE_ENVPROC_ATTR_ENCODER(EnvironmentRecData_RPR_20017_Rev4);
82 
83 };
84 
89 
90 #define DtDEFINE_SIMPLE_ENVPROC_ATTR_ENCODER( \
91  attrName, netType, inspector) \
92  DtDEFINE_SIMPLE_ATTR_ENCODER( \
93  DtEnvironmentProcessEncoder, \
94  DtEnvironmentProcessRepository, \
95  attrName, netType, inspector)
96 
101 
102 #define DtDEFINE_SIMPLE_ENVPROC_ATTR_CHECKER( \
103  attrName, inspector) \
104  DtDEFINE_SIMPLE_ATTR_CHECKER( \
105  DtEnvironmentProcessEncoder, \
106  DtEnvironmentProcessRepository, \
107  attrName, inspector)
108 
109 #endif
110 #endif
111 

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)