VR-Link API Documentation for HLA 1.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
arealObjectEncoderHLA.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_CHECKER( attrName ) \
21  DtDECLARE_ATTR_CHECKER( DtArealObjectRepository, attrName )
22 
25 #define DtDECLARE_AREAL_OBJ_ATTR_ENCODER( attrName ) \
26  DtDECLARE_ATTR_ENCODER( DtArealObjectRepository, attrName )
27 
32 {
33 public:
34 
36  static DtHlaStateEncoder* create( DtExerciseConn* exConn, DtObjClassDesc* classDesc );
37 
39  DtArealObjectEncoder( DtExerciseConn* exConn, DtObjClassDesc* classDesc );
40 
43 
45  virtual ~DtArealObjectEncoder();
46 
49 
50 protected:
51 
53  DtDECLARE_AREAL_OBJ_ATTR_CHECKER( PercentComplete );
54  DtDECLARE_AREAL_OBJ_ATTR_CHECKER( DamagedAppearance );
55  DtDECLARE_AREAL_OBJ_ATTR_CHECKER( ObjectPreDistributed );
56  DtDECLARE_AREAL_OBJ_ATTR_CHECKER( Deactivated );
59 
61  DtDECLARE_AREAL_OBJ_ATTR_ENCODER( PercentComplete );
62  DtDECLARE_AREAL_OBJ_ATTR_ENCODER( DamagedAppearance );
63  DtDECLARE_AREAL_OBJ_ATTR_ENCODER( ObjectPreDistributed );
64  DtDECLARE_AREAL_OBJ_ATTR_ENCODER( Deactivated );
67 
68 };
69 
75 #define DtDEFINE_SIMPLE_AREAL_OBJ_ATTR_ENCODER( \
76  attrName, netType, inspector ) \
77  DtDEFINE_SIMPLE_ATTR_ENCODER( DtArealObjectEncoder, \
78  DtArealObjectRepository, attrName, netType, inspector )
79 
85 #define DtDEFINE_SIMPLE_AREAL_OBJ_ATTR_CHECKER( \
86  attrName, inspector ) \
87  DtDEFINE_SIMPLE_ATTR_CHECKER( DtArealObjectEncoder, \
88  DtArealObjectRepository, attrName, inspector )
89 
90 #endif // DtHLA

Document ID: Generated on Thu Feb 22 04:26:36 EST 2018 from SVN revision 186468
Copyright © 2005-2016 VT MÄK. All Rights Reserved (www.mak.com)