VR-Link API Documentation for DIS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
burstPointObjectDecoder.h
Go to the documentation of this file.
1 /*********************************************************************
2 ** Copyright (c) 1992-2010 MAK Technologies, Inc
3 ** All rights reserved.
4 *********************************************************************/
5 
6 
7 #if DtHLA
8 
9 #ifndef burstPointObjectDecoder_H_
10 #define burstPointObjectDecoder_H_
11 
12 
13 #include "pointObjectDecoder.h"
14 
18 
20 
23 #define DtDECLARE_BURST_POINT_OBJ_ATTR_DECODER(attrName) \
24  DtDECLARE_ATTR_DECODER(DtPointObjectRepository, attrName)
25 
29 class DT_DLL_VL DtBurstPointObjectDecoder : public DtPointObjectDecoder
30 {
31 public:
32 
34  DtBurstPointObjectDecoder(
35  DtExerciseConn* exConn,
36  DtObjClassDesc* classDesc);
37 
39  virtual ~DtBurstPointObjectDecoder();
40 
42  DtBurstPointObjectDecoder(const DtBurstPointObjectDecoder& orig);
43 
45  DtBurstPointObjectDecoder& operator=
46  (const DtBurstPointObjectDecoder& orig);
47 
48 public:
49 
51  static DtHlaStateDecoder* create(
52  DtExerciseConn* exConn,
53  DtObjClassDesc* classDesc);
54 
55 protected:
58  DtDECLARE_BURST_POINT_OBJ_ATTR_DECODER(PercentOpacity);
59  DtDECLARE_BURST_POINT_OBJ_ATTR_DECODER(CylinderSize);
60  DtDECLARE_BURST_POINT_OBJ_ATTR_DECODER(CylinderHeight);
61  DtDECLARE_BURST_POINT_OBJ_ATTR_DECODER(NumberOfBursts);
62  DtDECLARE_BURST_POINT_OBJ_ATTR_DECODER(ChemicalContent);
63 };
64 
70 #define DtDEFINE_SIMPLE_BURST_POINT_OBJ_ATTR_DECODER_WITH_CAST( \
71  attrName, netType, mutator, castExpr) \
72  DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
73  DtBurstPointObjectDecoder, DtPointObjectRepository, \
74  attrName, netType, mutator, castExpr)
75 
76 #define DtDEFINE_SIMPLE_BURST_POINT_OBJ_ATTR_DECODER( \
77  attrName, netType, inspector) \
78  DtDEFINE_SIMPLE_BURST_POINT_OBJ_ATTR_DECODER_WITH_CAST( \
79  attrName, netType, inspector, (netType))
80 
81 #endif //hBurstPtObjDec_H_
82 
83 #endif //DtHLA
84 
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnDIS.h:62
#define DT_DLL_VL
Definition: vlMachineTypes.h:108
This file provides protocol independence for point object decoder includes.
Instances of DtPointObjectRepository are used to maintain state information needed by point environme...
Definition: pointObjectRepository.h:31
Provides decoding logic for the DtPointObjectStatePdu class.
Definition: pointObjectDecoderDIS.h:20

Document ID: Generated on Thu Sep 19 02:12:35 EDT 2024 from SVN revision 269601
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)