VR-Link API Documentation for HLA Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
aggregateEntityEncoder.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2026 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
8 #ifndef aggregateEntityEncoder_H_
9 #define aggregateEntityEncoder_H_
10 
11 #if DtHLA
12 
13 #include "baseEntityEncoder.h"
15 
21 
23 {
24 public:
25 
28  DtExerciseConn* exConn,
29  DtObjClassDesc* classDesc);
30 
32  virtual ~DtAggregateEntityEncoder();
33 
36 
39 
40 public:
41 
44  static DtHlaStateEncoder* create(
45  DtExerciseConn* exConn,
46  DtObjClassDesc* classDesc);
47 
48 protected:
49 
51  DtDECLARE_AGGREGATE_ATTR_CHECKER(AggregateMarking);
52  DtDECLARE_AGGREGATE_ATTR_CHECKER(AggregateState);
54  DtDECLARE_AGGREGATE_ATTR_CHECKER(EntityIdentifiers);
56  DtDECLARE_AGGREGATE_ATTR_CHECKER(ForceIdentifier);
59  DtDECLARE_AGGREGATE_ATTR_CHECKER(NumberOfSilentEntities);
60  DtDECLARE_AGGREGATE_ATTR_CHECKER(NumberOfVariableDatums);
61  DtDECLARE_AGGREGATE_ATTR_CHECKER(NumberOfEntities);
62  DtDECLARE_AGGREGATE_ATTR_CHECKER(SilentAggregates);
63  DtDECLARE_AGGREGATE_ATTR_CHECKER(SilentEntities);
64  DtDECLARE_AGGREGATE_ATTR_CHECKER(SilentEntitiesRPR_20beta);
65  DtDECLARE_AGGREGATE_ATTR_CHECKER(SilentEntitiesRPR_20);
66  DtDECLARE_AGGREGATE_ATTR_CHECKER(SubAggregateIdentifiers);
67  DtDECLARE_AGGREGATE_ATTR_CHECKER(SubAggregateIDs);
68  DtDECLARE_AGGREGATE_ATTR_CHECKER(VariableDatums);
69 
75  DtDECLARE_AGGREGATE_ATTR_CHECKER(EmbeddedUnitList);
79 
81  DtDECLARE_AGGREGATE_ATTR_ENCODER(AggregateMarking);
82  DtDECLARE_AGGREGATE_ATTR_ENCODER(AggregateState);
84  DtDECLARE_AGGREGATE_ATTR_ENCODER(EntityIdentifiers); //2.0D3
86  DtDECLARE_AGGREGATE_ATTR_ENCODER(ForceIdentifier); //2.0D3
89  DtDECLARE_AGGREGATE_ATTR_ENCODER(NumberOfSilentEntities);
90  DtDECLARE_AGGREGATE_ATTR_ENCODER(NumberOfVariableDatums);
91  DtDECLARE_AGGREGATE_ATTR_ENCODER(NumberOfEntities);
92  DtDECLARE_AGGREGATE_ATTR_ENCODER(SilentAggregates);
93  DtDECLARE_AGGREGATE_ATTR_ENCODER(SilentEntities);
94  DtDECLARE_AGGREGATE_ATTR_ENCODER(SilentEntitiesRPR_20beta);
95  DtDECLARE_AGGREGATE_ATTR_ENCODER(SilentEntitiesRPR_20);
96  DtDECLARE_AGGREGATE_ATTR_ENCODER(SubAggregateIdentifiers); //2.0D3
97  DtDECLARE_AGGREGATE_ATTR_ENCODER(SubAggregateIDs);
98  DtDECLARE_AGGREGATE_ATTR_ENCODER(VariableDatums);
99  DtDECLARE_AGGREGATE_ATTR_ENCODER(VariableDatums_RPR2); // all rpr2 not just 2.0
100 
106  DtDECLARE_AGGREGATE_ATTR_ENCODER(EmbeddedUnitList);
110 
111  DtDECLARE_AGGREGATE_ATTR_ENCODER(EntityIdentifiers_RPR20);
112  DtDECLARE_AGGREGATE_ATTR_ENCODER(SubAggregateIdentifiers_RPR20);
113 };
114 
120 #define DtDEFINE_SIMPLE_AGG_ENTITY_ATTR_ENCODER( \
121  attrName, netType, inspector) \
122  DtDEFINE_SIMPLE_ATTR_ENCODER(DtAggregateEntityEncoder, \
123  DtAggregateStateRepository, \
124  attrName, netType, inspector)
125 
131 #define DtDEFINE_SIMPLE_AGG_ENTITY_ATTR_CHECKER( \
132  attrName, inspector) \
133  DtDEFINE_SIMPLE_ATTR_CHECKER(DtAggregateEntityEncoder, \
134  DtAggregateStateRepository, \
135  attrName, inspector)
136 
137 #endif
138 #endif
139 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:62
#define DT_DLL_VL
Definition: vlMachineTypes.h:120
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.
#define DtDECLARE_AGGREGATE_ATTR_CHECKER(attrName)
This is used to declare static member functions for determining whether or not an attribute needs to ...
Definition: baseEntityEncoder.h:34
class DtAggregateEntityEncoder:
Definition: aggregateEntityEncoder.h:22
This file provides a declaration of the class DtAggregateStateRepository.
#define DtDECLARE_AGGREGATE_ATTR_ENCODER(attrName)
This is used to declare attribute encoding functions which are members of the class.
Definition: baseEntityEncoder.h:39
static DtHlaStateEncoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Create a DtBaseEntityEncoder. Caller is responsible for deletion.

Document ID: Generated on Mon Sep 28 00:09:32 EDT 2026 from SVN revision 295353
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)