VR-Link API Documentation for HLA Evolved
hEnvProcDec.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 DtEnvironmentProcessDecoder_H_
10 #define DtEnvironmentProcessDecoder_H_
11 
12 #include "hostStructs.h"
13 
14 #include "hStateDecoder.h"
15 #include "envProcessSR.h"
16 #include "exerciseConn.h"
17 
21 
23 
26 
27 #define DtDECLARE_ENVPROC_ATTR_DECODER(attrName) \
28  DtDECLARE_ATTR_DECODER(DtEnvironmentProcessRepository, attrName)
29 
35 
37 {
38 public:
39 
40  //constructor
42  DtExerciseConn* exConn,
43  DtObjClassDesc* classDesc);
44 
46  virtual ~DtEnvironmentProcessDecoder();
47 
50 
51  //asignment operator
53  const DtEnvironmentProcessDecoder& orig);
54 
55 public:
56 
58  static DtHlaStateDecoder* create(
59  DtExerciseConn* exConn,
60  DtObjClassDesc* classDesc);
61 
62 protected:
63 
65  DtDECLARE_ENVPROC_ATTR_DECODER(ProcessIdentifier);
68  DtDECLARE_ENVPROC_ATTR_DECODER(EnvironmentProcessActive);
69  DtDECLARE_ENVPROC_ATTR_DECODER(SequenceNumber);
70  DtDECLARE_ENVPROC_ATTR_DECODER(EnvironmentRecData);
71  DtDECLARE_ENVPROC_ATTR_DECODER(EnvironmentRecData_RPR_20014);
72  DtDECLARE_ENVPROC_ATTR_DECODER(EnvironmentRecData_RPR_20017);
73  DtDECLARE_ENVPROC_ATTR_DECODER(EnvironmentRecData_RPR_20017_Rev4);
74 };
75 
81 
82 #define DtDEFINE_SIMPLE_ENVPROC_ATTR_DECODER( \
83  attrName, netType, mutator) \
84  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
85  DtEnvironmentProcessDecoder, \
86  DtEnvironmentProcessRepository, \
87  attrName, netType, mutator, (netType))
88 
89 #define DtDEFINE_SIMPLE_ENVPROC_ATTR_DECODER_WITH_CAST( \
90  attrName, netType, mutator, castExpr) \
91  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
92  DtEnvironmentProcessDecoder, \
93  DtEnvironmentProcessRepository, \
94  attrName, netType, mutator, castExpr)
95 
96 #endif
97 #endif
98 

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)