VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
aggregateEntityDecoder.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 aggregateEntityDecoder_H_
9 #define aggregateEntityDecoder_H_
10 
11 #if DtHLA
12 
13 #include "baseEntityDecoder.h"
14 
16 
22 
23 class DT_DLL_VL DtAggregateEntityDecoder : public DtBaseEntityDecoder
24 {
25 public:
26 
28  DtAggregateEntityDecoder(
29  DtExerciseConn* exConn,
30  DtObjClassDesc* classDesc);
31 
33  virtual ~DtAggregateEntityDecoder();
34 
36  DtAggregateEntityDecoder(const DtAggregateEntityDecoder& orig);
37 
39  DtAggregateEntityDecoder& operator=(const DtAggregateEntityDecoder& orig);
40 
41 public:
42 
45  static DtHlaStateDecoder* create(
46  DtExerciseConn* exConn,
47  DtObjClassDesc* classDesc);
48 
49 protected:
50 
54  void addMyDecoders(DtObjClassDesc* classDesc);
55 
56 protected:
57 
59  DtDECLARE_AGGREGATE_ATTR_DECODER(AggregateMarking);
60  DtDECLARE_AGGREGATE_ATTR_DECODER(AggregateState);
61  DtDECLARE_AGGREGATE_ATTR_DECODER(Dimensions);
62  DtDECLARE_AGGREGATE_ATTR_DECODER(EntityIdentifiers);
63  DtDECLARE_AGGREGATE_ATTR_DECODER(EntityIDs);
64  DtDECLARE_AGGREGATE_ATTR_DECODER(ForceIdentifier);
65  DtDECLARE_AGGREGATE_ATTR_DECODER(ForceID);
66  DtDECLARE_AGGREGATE_ATTR_DECODER(Formation);
67  DtDECLARE_AGGREGATE_ATTR_DECODER(NumberOfSilentEntities);
68  DtDECLARE_AGGREGATE_ATTR_DECODER(NumberOfVariableDatums);
69  DtDECLARE_AGGREGATE_ATTR_DECODER(NumberOfEntities);
70  DtDECLARE_AGGREGATE_ATTR_DECODER(SilentAggregates);
71  DtDECLARE_AGGREGATE_ATTR_DECODER(SilentEntities);
72  DtDECLARE_AGGREGATE_ATTR_DECODER(SilentEntitiesRPR_20beta);
73  DtDECLARE_AGGREGATE_ATTR_DECODER(SilentEntitiesRPR_20);
74  DtDECLARE_AGGREGATE_ATTR_DECODER(SubAggregateIdentifiers);
75  DtDECLARE_AGGREGATE_ATTR_DECODER(SubAggregateIDs);
76  DtDECLARE_AGGREGATE_ATTR_DECODER(VariableDatums);
77 
78  // for all rpr2 not just 2.0
79  DtDECLARE_AGGREGATE_ATTR_DECODER(VariableDatums_RPR2);
80 
82  DtDECLARE_AGGREGATE_ATTR_DECODER(EntityIdentifiers_RPR20);
83  DtDECLARE_AGGREGATE_ATTR_DECODER(SubAggregateIdentifiers_RPR20);
84 
86  DtDECLARE_AGGREGATE_ATTR_DECODER(Status);
87  DtDECLARE_AGGREGATE_ATTR_DECODER(UniqueId);
88  DtDECLARE_AGGREGATE_ATTR_DECODER(Callsign);
89  DtDECLARE_AGGREGATE_ATTR_DECODER(Activity);
90  DtDECLARE_AGGREGATE_ATTR_DECODER(EmbeddedUnitList);
91  DtDECLARE_AGGREGATE_ATTR_DECODER(SymbolId);
92  DtDECLARE_AGGREGATE_ATTR_DECODER(Destination);
93  DtDECLARE_AGGREGATE_ATTR_DECODER(Route);
94 };
95 
101 #define DtDEFINE_SIMPLE_AGGREGATE_ATTR_DECODER_WITH_CAST_SET( \
102  attrName, netType, castExpr) \
103  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST_SET( \
104  DtAggregateEntityDecoder, DtAggregateStateRepository, \
105  attrName, netType, castExpr)
106 
107 #define DtDEFINE_SIMPLE_AGGREGATE_ATTR_DECODER_SET( \
108  attrName, netType) \
109  DtDEFINE_SIMPLE_ATTR_DECODER_SET( \
110  DtAggregateEntityDecoder, DtAggregateStateRepository, \
111  attrName, netType)
112 
113 #endif
114 #endif
115 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnDIS.h:63
#define DT_DLL_VL
Definition: vlMachineTypes.h:120
A protocol independent representation of an aggregate.
Definition: aggregateStateRepository.h:37

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)