VR-Link API Documentation for DIS
hBurstPtObjDec.h
Go to the documentation of this file.
00001 /*********************************************************************
00002 ** Copyright (c) 1992-2010 VT MAK
00003 ** All rights reserved.
00004 *********************************************************************/
00005 
00006 
00007 #if DtHLA 
00008 
00009 #ifndef hBurstPtObjDec_H_
00010 #define hBurstPtObjDec_H_
00011 
00012 
00013 #include "hPointObjDec.h"
00014 
00018 
00019 class DT_DLL_VL DtPointObjectRepository;
00020 
00023 #define DtDECLARE_BURST_POINT_OBJ_ATTR_DECODER(attrName) \
00024    DtDECLARE_ATTR_DECODER(DtPointObjectRepository, attrName) 
00025 
00029 class DT_DLL_VL DtBurstPointObjectDecoder : public DtPointObjectDecoder
00030 {
00031 public:
00032 
00034    DtBurstPointObjectDecoder(
00035       DtExerciseConn* exConn,
00036       DtObjClassDesc* classDesc);
00037 
00039    virtual ~DtBurstPointObjectDecoder();
00040 
00042    DtBurstPointObjectDecoder(const DtBurstPointObjectDecoder& orig);
00043 
00045    DtBurstPointObjectDecoder& operator=
00046       (const DtBurstPointObjectDecoder& orig);
00047 
00048 public:
00049 
00051    static DtHlaStateDecoder* create(
00052       DtExerciseConn* exConn,
00053       DtObjClassDesc* classDesc);
00054 
00055 protected:
00058    DtDECLARE_BURST_POINT_OBJ_ATTR_DECODER(PercentOpacity);
00059    DtDECLARE_BURST_POINT_OBJ_ATTR_DECODER(CylinderSize);
00060    DtDECLARE_BURST_POINT_OBJ_ATTR_DECODER(CylinderHeight);
00061    DtDECLARE_BURST_POINT_OBJ_ATTR_DECODER(NumberOfBursts);
00062    DtDECLARE_BURST_POINT_OBJ_ATTR_DECODER(ChemicalContent);
00063 };
00064 
00070 #define DtDEFINE_SIMPLE_BURST_POINT_OBJ_ATTR_DECODER_WITH_CAST( \
00071    attrName, netType, mutator, castExpr) \
00072    DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
00073       DtBurstPointObjectDecoder, DtPointObjectRepository, \
00074       attrName, netType, mutator, castExpr)
00075 
00076 #define DtDEFINE_SIMPLE_BURST_POINT_OBJ_ATTR_DECODER( \
00077    attrName, netType, inspector) \
00078    DtDEFINE_SIMPLE_BURST_POINT_OBJ_ATTR_DECODER_WITH_CAST( \
00079       attrName, netType, inspector, (netType))
00080 
00081 #endif   //hBurstPtObjDec_H_
00082 
00083 #endif   //DtHLA
00084 

Document ID: Generated on Mon May 14 08:06:18 EDT 2012 from SVN revision 114750
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)