VR-Link API Documentation for HLA Evolved
 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

Document ID: Generated on Mon Feb 6 18:36:34 EST 2017 from SVN revision 173107
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)