VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
environmentEntityEncoder.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 DtEnvironmentEntityEncoder_H_
8 #define DtEnvironmentEntityEncoder_H_
9 
10 #if DtHLA
11 
12 #include "baseEntityEncoder.h"
13 #include "entityStateRepository.h"
14 
18 
24 
26 {
27 public:
28 
31  DtExerciseConn* exConn,
32  DtObjClassDesc* classDesc);
33 
35  virtual ~DtEnvironmentEntityEncoder();
36 
39 
42  const DtEnvironmentEntityEncoder& orig);
43 
44 public:
45 
48  static DtHlaStateEncoder* create(
49  DtExerciseConn* exConn,
50  DtObjClassDesc* classDesc);
51 
52 protected:
53 
58  DtDECLARE_ENTITY_ATTR_CHECKER(OpacityCode);
59 
64  DtDECLARE_ENTITY_ATTR_ENCODER(OpacityCode);
65 };
66 
72 #define DtDEFINE_SIMPLE_ENVENT_ATTR_ENCODER( \
73  attrName, netType, inspector) \
74  DtDEFINE_SIMPLE_ATTR_ENCODER(DtEnvironmentEntityEncoder, \
75  DtEntityStateRepository, \
76  attrName, netType, inspector)
77 
83 #define DtDEFINE_SIMPLE_ENVENT_ATTR_CHECKER( \
84  attrName, inspector) \
85  DtDEFINE_SIMPLE_ATTR_CHECKER(DtEnvironmentEntityEncoder, \
86  DtEntityStateRepository, \
87  attrName, inspector)
88 
89 #endif
90 #endif
91 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#define DtDECLARE_ENTITY_ATTR_ENCODER(attrName)
This is used to declare attribute encoding functions which are members of the class.
Definition: baseEntityEncoder.h:29
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
class DtBaseEntityEncoder:
Definition: baseEntityEncoder.h:58
DtHlaStateEncoder is used to provide encoding of a state repository into a state message in an HLA (a...
Definition: hlaStateEncoder.h:30
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc13.h:41
DtBaseEntityEncoder & operator=(const DtBaseEntityEncoder &orig)
assignment operator
This file provides a declaration of the class DtBaseEntityEncoder.
Contains the DtEntityStateRepository class declaration.
class DtEnvironmentEntityEncoder:
Definition: environmentEntityEncoder.h:25
static DtHlaStateEncoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Create a DtBaseEntityEncoder. Caller is responsible for deletion.
#define DtDECLARE_ENTITY_ATTR_CHECKER(attrName)
This is used to declare static member functions for determining whether or not an attribute needs to ...
Definition: baseEntityEncoder.h:24

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)