VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
arealObjectDecoderHLA.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2014 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #if DtHLA
11 
12 #pragma once
13 
15 
17 
20 #define DtDECLARE_AREAL_OBJ_ATTR_DECODER( attrName ) \
21  DtDECLARE_ATTR_DECODER( DtArealObjectRepository, attrName )
22 
27 {
28 public:
29 
31  static DtHlaStateDecoder* create( DtExerciseConn* exConn,
32  DtObjClassDesc* classDesc );
33 
35  DtArealObjectDecoder( DtExerciseConn* exConn, DtObjClassDesc* classDesc );
36 
39 
41  virtual ~DtArealObjectDecoder();
42 
45 
46 protected:
47 
50 
52  DtDECLARE_AREAL_OBJ_ATTR_DECODER( PercentComplete );
53  DtDECLARE_AREAL_OBJ_ATTR_DECODER( DamagedAppearance );
54  DtDECLARE_AREAL_OBJ_ATTR_DECODER( ObjectPreDistributed );
55  DtDECLARE_AREAL_OBJ_ATTR_DECODER( Deactivated );
58 
60 
61 };
62 
63 
69 #define DtDEFINE_SIMPLE_AREAL_OBJ_ATTR_DECODER_WITH_CAST( \
70  attrName, netType, mutator, castExpr ) \
71  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
72  DtArealObjectDecoder, DtArealObjectRepository, \
73  attrName, netType, mutator, castExpr )
74 
75 #define DtDEFINE_SIMPLE_AREAL_OBJ_ATTR_DECODER( \
76  attrName, netType, inspector ) \
77  DtDEFINE_SIMPLE_AREAL_OBJ_ATTR_DECODER_WITH_CAST( \
78  attrName, netType, inspector, (netType) )
79 
80 #endif //DtHLA
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:58
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
Instances of DtArealObjectDecoder are used to decode areal object state messages for a state reposito...
Definition: arealObjectDecoderHLA.h:26
class DtEnvironmentObjectDecoder:
Definition: environmentObjectDecoder.h:31
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc13.h:41
This file provides a declaration of the class DtEnvironmentObjectDecoder.
DtHlaStateDecoder is used to provide decoding of a state message into a state repository in an HLA (a...
Definition: hlaStateDecoder.h:32
DtEnvironmentObjectDecoder & operator=(const DtEnvironmentObjectDecoder &orig)
assignment operator
#define DtDECLARE_AREAL_OBJ_ATTR_DECODER(attrName)
This is used to declare attribute decoding functions which are members of the class.
Definition: arealObjectDecoderHLA.h:20
Instances of DtArealObjectRepository are used to maintain state information needed by areal object en...
Definition: arealObjectRepository.h:30
static DtHlaStateDecoder * create(DtExerciseConn *exConn, DtObjClassDesc *classDesc)
Create a DtBaseEntityDecoder. Caller is responsible for deletion.

Document ID: Generated on Tue Feb 2 21:02:17 EST 2021 from SVN revision 223668
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)