VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
environmentEntityDecoder.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2025 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #ifndef DtEnvironmentEntityDecoder_H_
8 #define DtEnvironmentEntityDecoder_H_
9 
10 #if DtHLA
11 
12 #include "baseEntityDecoder.h"
13 
17 
19 
25 
27 {
28 public:
29 
32  DtExerciseConn* exConn,
33  DtObjClassDesc* classDesc);
34 
36  virtual ~DtEnvironmentEntityDecoder();
37 
40 
43  const DtEnvironmentEntityDecoder& orig);
44 
45 public:
46 
49  static DtHlaStateDecoder* create(
50  DtExerciseConn* exConn,
51  DtObjClassDesc* classDesc);
52 
53 protected:
54 
58  void addMyDecoders();
59 
64  DtDECLARE_ENTITY_ATTR_DECODER(OpacityCode);
65 };
66 
72 #define DtDEFINE_SIMPLE_ENVENT_ATTR_DECODER_WITH_CAST( \
73  attrName, netType, mutator, castExpr) \
74  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
75  DtEnvironmentEntityDecoder, DtEntityStateRepository, \
76  attrName, netType, mutator, castExpr)
77 
78 #define DtDEFINE_SIMPLE_ENVENT_ATTR_DECODER( \
79  attrName, netType, inspector) \
80  DtDEFINE_SIMPLE_ENVENT_ATTR_DECODER_WITH_CAST( \
81  attrName, netType, inspector, (netType))
82 
83 #endif
84 #endif
85 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Instances of DtBaseEntityDecoder are used to decode a base entity state message into a state reposito...
Definition: baseEntityDecoder.h:41
void addMyDecoders()
Add decoding functions for the attributes.
class DtEnvironmentEntityDecoder:
Definition: environmentEntityDecoder.h:26
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc13.h:41
Instances of DtEntityStateRepository are used to maintain attributes and state of entity objects in a...
Definition: entityStateRepository.h:42
DtHlaStateDecoder is used to provide decoding of a state message into a state repository in an HLA (a...
Definition: hlaStateDecoder.h:34
This file provides a declaration of the class DtBaseEntityDecoder.
static DtHlaStateDecoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Create a DtBaseEntityDecoder. Caller is responsible for deletion.
DtBaseEntityDecoder & operator=(const DtBaseEntityDecoder &orig)
assignment operator
#define DtDECLARE_ENTITY_ATTR_DECODER(attrName)
This is used to declare attribute decoding functions which are members of the class.
Definition: baseEntityDecoder.h:23

Document ID: Generated on Thu Oct 16 00:12:25 EDT 2025 from SVN revision 280738
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)