VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
environmentProcessDecoderHLA.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 "hlaStateDecoder.h"
16 #include "exerciseConn.h"
17 
21 
23 
26 
27 #define DtDECLARE_ENVPROC_ATTR_DECODER(attrName) \
28  DtDECLARE_ATTR_DECODER(DtEnvironmentProcessRepository, attrName)
29 
35 
36 class DT_DLL_VL DtEnvironmentProcessDecoder : public DtHlaStateDecoder
37 {
38 public:
39 
40  //constructor
42  DtExerciseConn* exConn,
43  DtObjClassDesc* classDesc);
44 
46  virtual ~DtEnvironmentProcessDecoder();
47 
50 
51  //asignment operator
52  DtEnvironmentProcessDecoder& 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);
66  DtDECLARE_ENVPROC_ATTR_DECODER(Type);
67  DtDECLARE_ENVPROC_ATTR_DECODER(ModelType);
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 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnDIS.h:61
Contains the DtEnvironmentProcessRepository class declaration.
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This file provides protocol to independence DtExerciseConn.
Instances of DtEnvironmentProcessRepository are used to store state information for environmental pro...
Definition: environmentProcessRepository.h:27
This file is deprecated - Please see simulationAddress.h, entityIdentifier.h, entityType.h, burstDescriptor.h, and NetStructs.h.
This file contains the declaration of DtHlaStateDecoder.
Instances of DtEnvironmentProcessDecoder process Environment Process PDU's into DtEnvironmentProcessR...
Definition: environmentProcessDecoderDIS.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)