VR-Link API Documentation for HLA 1.3
 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-2010 VT MAK
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 
24 {
25 public:
26 
29  DtExerciseConn* exConn,
30  DtObjClassDesc* classDesc);
31 
33  virtual ~DtAggregateEntityDecoder();
34 
37 
40 
41 public:
42 
45  static DtHlaStateDecoder* create(
46  DtExerciseConn* exConn,
47  DtObjClassDesc* classDesc);
48 
49 protected:
50 
54  void addMyDecoders();
55 
56 protected:
57 
59  DtDECLARE_AGGREGATE_ATTR_DECODER(AggregateMarking);
60  DtDECLARE_AGGREGATE_ATTR_DECODER(AggregateState);
62  DtDECLARE_AGGREGATE_ATTR_DECODER(EntityIdentifiers);
64  DtDECLARE_AGGREGATE_ATTR_DECODER(ForceIdentifier);
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 };
85 
91 #define DtDEFINE_SIMPLE_AGGREGATE_ATTR_DECODER_WITH_CAST_SET( \
92  attrName, netType, castExpr) \
93  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST_SET( \
94  DtAggregateEntityDecoder, DtAggregateStateRepository, \
95  attrName, netType, castExpr)
96 
97 #define DtDEFINE_SIMPLE_AGGREGATE_ATTR_DECODER_SET( \
98  attrName, netType) \
99  DtDEFINE_SIMPLE_ATTR_DECODER_SET( \
100  DtAggregateEntityDecoder, DtAggregateStateRepository, \
101  attrName, netType)
102 
103 #endif
104 #endif
105 

Document ID: Generated on Mon Jun 22 21:18:40 EDT 2020 from SVN revision 213785
Copyright © 2005-2018 MAK Technologies. All Rights Reserved (www.mak.com)