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 
79  DtDECLARE_AGGREGATE_ATTR_DECODER(EntityIdentifiers_RPR20);
80  DtDECLARE_AGGREGATE_ATTR_DECODER(SubAggregateIdentifiers_RPR20);
81 };
82 
88 #define DtDEFINE_SIMPLE_AGGREGATE_ATTR_DECODER_WITH_CAST_SET( \
89  attrName, netType, castExpr) \
90  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST_SET( \
91  DtAggregateEntityDecoder, DtAggregateStateRepository, \
92  attrName, netType, castExpr)
93 
94 #define DtDEFINE_SIMPLE_AGGREGATE_ATTR_DECODER_SET( \
95  attrName, netType) \
96  DtDEFINE_SIMPLE_ATTR_DECODER_SET( \
97  DtAggregateEntityDecoder, DtAggregateStateRepository, \
98  attrName, netType)
99 
100 #endif
101 #endif
102 

Document ID: Generated on Fri May 15 06:36:13 EDT 2015 from SVN revision 153263
Copyright © 2005-2014 VT MÄK. All Rights Reserved (www.mak.com)