![]() |
VR-Link API Documentation for DIS
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 00006 00007 #if DtHLA 00008 00009 #ifndef DtBurstPointObjectEncoder_H_ 00010 #define DtBurstPointObjectEncoder_H_ 00011 00012 00013 #include "hPointObjEnc.h" 00014 00018 00019 class DT_DLL_VL DtPointObjectRepository; 00020 00023 #define DtDECLARE_BURST_POINT_OBJ_ATTR_CHECKER(attrName) \ 00024 DtDECLARE_ATTR_CHECKER(DtPointObjectRepository, attrName) 00025 00028 #define DtDECLARE_BURST_POINT_OBJ_ATTR_ENCODER(attrName) \ 00029 DtDECLARE_ATTR_ENCODER(DtPointObjectRepository, attrName) 00030 00034 class DT_DLL_VL DtBurstPointObjectEncoder : public DtPointObjectEncoder 00035 { 00036 public: 00037 00039 DtBurstPointObjectEncoder( 00040 DtExerciseConn* exConn, 00041 DtObjClassDesc* classDesc); 00042 00044 virtual ~DtBurstPointObjectEncoder(); 00045 00047 DtBurstPointObjectEncoder(const DtBurstPointObjectEncoder& orig); 00048 00050 DtBurstPointObjectEncoder& operator=(const DtBurstPointObjectEncoder& orig); 00051 00052 public: 00053 00055 static DtHlaStateEncoder* create( 00056 DtExerciseConn* exConn, 00057 DtObjClassDesc* classDesc); 00058 00059 protected: 00060 00061 DtDECLARE_BURST_POINT_OBJ_ATTR_CHECKER(PercentOpacity); 00062 DtDECLARE_BURST_POINT_OBJ_ATTR_CHECKER(CylinderSize); 00063 DtDECLARE_BURST_POINT_OBJ_ATTR_CHECKER(CylinderHeight); 00064 DtDECLARE_BURST_POINT_OBJ_ATTR_CHECKER(NumberOfBursts); 00065 DtDECLARE_BURST_POINT_OBJ_ATTR_CHECKER(ChemicalContent); 00066 00067 DtDECLARE_BURST_POINT_OBJ_ATTR_ENCODER(PercentOpacity); 00068 DtDECLARE_BURST_POINT_OBJ_ATTR_ENCODER(CylinderSize); 00069 DtDECLARE_BURST_POINT_OBJ_ATTR_ENCODER(CylinderHeight); 00070 DtDECLARE_BURST_POINT_OBJ_ATTR_ENCODER(NumberOfBursts); 00071 DtDECLARE_BURST_POINT_OBJ_ATTR_ENCODER(ChemicalContent); 00072 }; 00073 00079 #define DtDEFINE_SIMPLE_BURST_POINT_OBJ_ATTR_ENCODER( \ 00080 attrName, netType, inspector) \ 00081 DtDEFINE_SIMPLE_ATTR_ENCODER(DtBurstPointObjectEncoder, \ 00082 DtPointObjectRepository, \ 00083 attrName, netType, inspector) 00084 00090 #define DtDEFINE_SIMPLE_BURST_POINT_OBJ_ATTR_CHECKER( \ 00091 attrName, inspector) \ 00092 DtDEFINE_SIMPLE_ATTR_CHECKER(DtBurstPointObjectEncoder, \ 00093 DtPointObjectRepository, \ 00094 attrName, inspector) 00095 00096 #endif //hBurstPtObjDec_H_ 00097 00098 #endif //DtHLA 00099