VR-Link API Documentation for HLA 1516
 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 
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 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:58
Contains the DtEnvironmentProcessRepository class declaration.
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc1516.h:41
DtHlaStateDecoder is used to provide decoding of a state message into a state repository in an HLA (a...
Definition: hlaStateDecoder.h:32
This file provides protocol to independence DtExerciseConn.
DtHlaStateDecoder & operator=(const DtHlaStateDecoder &orig)
assignment operator
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.
#define DtDECLARE_ENVPROC_ATTR_DECODER(attrName)
Macro for declaring attribute decoding fns which are members of the class.
Definition: environmentProcessDecoderHLA.h:27
This file contains the declaration of DtHlaStateDecoder.
class DtEnvironmentProcessDecoder:
Definition: environmentProcessDecoderHLA.h:36

Document ID: Generated on Tue Aug 10 00:12:31 EDT 2021 from SVN revision 232765
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)