VR-Link API Documentation for HLA 1516
 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-2010 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 
71  DtDECLARE_AGGREGATE_ATTR_ENCODER(AggregateMarking);
72  DtDECLARE_AGGREGATE_ATTR_ENCODER(AggregateState);
74  DtDECLARE_AGGREGATE_ATTR_ENCODER(EntityIdentifiers); //2.0D3
76  DtDECLARE_AGGREGATE_ATTR_ENCODER(ForceIdentifier); //2.0D3
79  DtDECLARE_AGGREGATE_ATTR_ENCODER(NumberOfSilentEntities);
80  DtDECLARE_AGGREGATE_ATTR_ENCODER(NumberOfVariableDatums);
81  DtDECLARE_AGGREGATE_ATTR_ENCODER(NumberOfEntities);
82  DtDECLARE_AGGREGATE_ATTR_ENCODER(SilentAggregates);
83  DtDECLARE_AGGREGATE_ATTR_ENCODER(SilentEntities);
84  DtDECLARE_AGGREGATE_ATTR_ENCODER(SilentEntitiesRPR_20beta);
85  DtDECLARE_AGGREGATE_ATTR_ENCODER(SilentEntitiesRPR_20);
86  DtDECLARE_AGGREGATE_ATTR_ENCODER(SubAggregateIdentifiers); //2.0D3
87  DtDECLARE_AGGREGATE_ATTR_ENCODER(SubAggregateIDs);
88  DtDECLARE_AGGREGATE_ATTR_ENCODER(VariableDatums);
89  DtDECLARE_AGGREGATE_ATTR_ENCODER(VariableDatums_RPR2); // all rpr2 not just 2.0
90 
91  DtDECLARE_AGGREGATE_ATTR_ENCODER(EntityIdentifiers_RPR20);
92  DtDECLARE_AGGREGATE_ATTR_ENCODER(SubAggregateIdentifiers_RPR20);
93 };
94 
100 #define DtDEFINE_SIMPLE_AGG_ENTITY_ATTR_ENCODER( \
101  attrName, netType, inspector) \
102  DtDEFINE_SIMPLE_ATTR_ENCODER(DtAggregateEntityEncoder, \
103  DtAggregateStateRepository, \
104  attrName, netType, inspector)
105 
111 #define DtDEFINE_SIMPLE_AGG_ENTITY_ATTR_CHECKER( \
112  attrName, inspector) \
113  DtDEFINE_SIMPLE_ATTR_CHECKER(DtAggregateEntityEncoder, \
114  DtAggregateStateRepository, \
115  attrName, inspector)
116 
117 #endif
118 #endif
119 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:61
#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: objClassDesc1516.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 Wed Mar 27 02:04:30 EDT 2024 from SVN revision 264570
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)