VR-Link API Documentation for HLA 1516
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
pointObjectDecoderHLA.h
Go to the documentation of this file.
1 /****************************************************************************
2  * Copyright (c) 2013 VT MAK
3  * All rights reserved.
4  ****************************************************************************/
5 
9 
10 #pragma once
11 
12 #if DtHLA
13 
15 
17 
20 #define DtDECLARE_POINT_OBJ_ATTR_DECODER(attrName) \
21  DtDECLARE_ATTR_DECODER(DtPointObjectRepository, attrName)
22 
27 {
28 public:
29 
31  static DtHlaStateDecoder* create( DtExerciseConn* exConn,
32  DtObjClassDesc* classDesc );
33 
35  DtPointObjectDecoder( DtExerciseConn* exConn, DtObjClassDesc* classDesc );
36 
39 
41  virtual ~DtPointObjectDecoder();
42 
45 
46 protected:
47 
51  void addMyDecoders();
52 
56  DtDECLARE_POINT_OBJ_ATTR_DECODER( Orientation );
57  DtDECLARE_POINT_OBJ_ATTR_DECODER( PercentComplete );
58  DtDECLARE_POINT_OBJ_ATTR_DECODER( DamagedAppearance );
59  DtDECLARE_POINT_OBJ_ATTR_DECODER( ObjectPreDistributed );
60  DtDECLARE_POINT_OBJ_ATTR_DECODER( Deactivated );
63 
64 };
65 
71 #define DtDEFINE_SIMPLE_POINT_OBJ_ATTR_DECODER_WITH_CAST( \
72  attrName, netType, mutator, castExpr) \
73  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
74  DtPointObjectDecoder, DtPointObjectRepository, \
75  attrName, netType, mutator, castExpr)
76 
77 #define DtDEFINE_SIMPLE_POINT_OBJ_ATTR_DECODER( \
78  attrName, netType, inspector) \
79  DtDEFINE_SIMPLE_POINT_OBJ_ATTR_DECODER_WITH_CAST( \
80  attrName, netType, inspector, (netType))
81 
82 #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
class DtEnvironmentObjectDecoder:
Definition: environmentObjectDecoder.h:31
An instance of DtObjClassDesc is a "class descriptor" for an HLA Object class.
Definition: objClassDesc1516.h:41
This file provides a declaration of the class DtEnvironmentObjectDecoder.
#define DtDECLARE_POINT_OBJ_ATTR_DECODER(attrName)
This is used to declare attribute decoding functions which are members of the class.
Definition: pointObjectDecoderHLA.h:20
DtHlaStateDecoder is used to provide decoding of a state message into a state repository in an HLA (a...
Definition: hlaStateDecoder.h:32
Instances of DtPointObjectRepository are used to maintain state information needed by point environme...
Definition: pointObjectRepository.h:31
DtEnvironmentObjectDecoder & operator=(const DtEnvironmentObjectDecoder &orig)
assignment operator
Instances of DtPointObjectDecoder are used to decode point object state messages for a state reposito...
Definition: pointObjectDecoderHLA.h:26
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)