VR-Link API Documentation for DIS
hRibBridgeDec.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 hRibBridgeDec_H_
00010 #define hRibBridgeDec_H_
00011 
00012 
00013 #include "hPointObjDec.h"
00014 
00018 
00019 class DT_DLL_VL DtPointObjectRepository;
00020 
00023 #define DtDECLARE_RIBBON_BRIDGE_ATTR_DECODER(attrName) \
00024    DtDECLARE_ATTR_DECODER(DtPointObjectRepository, attrName) 
00025 
00030 
00031 class DT_DLL_VL DtRibbonBridgeDecoder : public DtPointObjectDecoder
00032 {
00033 public:
00034 
00036    DtRibbonBridgeDecoder(
00037       DtExerciseConn* exConn,
00038       DtObjClassDesc* classDesc);
00039 
00041    virtual ~DtRibbonBridgeDecoder();
00042 
00044    DtRibbonBridgeDecoder(const DtRibbonBridgeDecoder& orig);
00045 
00047    DtRibbonBridgeDecoder& operator=
00048       (const DtRibbonBridgeDecoder& orig);
00049 
00050 public:
00051 
00053    static DtHlaStateDecoder* create(
00054       DtExerciseConn* exConn,
00055       DtObjClassDesc* classDesc);
00056 
00057 protected:
00060    DtDECLARE_RIBBON_BRIDGE_ATTR_DECODER(NumberOfSegments);
00061 };
00062 
00068 #define DtDEFINE_SIMPLE_RIBBON_BRIDGE_ATTR_DECODER_WITH_CAST( \
00069    attrName, netType, mutator, castExpr) \
00070    DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
00071       DtRibbonBridgeDecoder, DtPointObjectRepository, \
00072       attrName, netType, mutator, castExpr)
00073 
00074 #define DtDEFINE_SIMPLE_RIBBON_BRIDGE_ATTR_DECODER( \
00075    attrName, netType, inspector) \
00076    DtDEFINE_SIMPLE_RIBBON_BRIDGE_ATTR_DECODER_WITH_CAST( \
00077       attrName, netType, inspector, (netType))
00078 
00079 #endif   //hRibBridgeDec_H_
00080 
00081 #endif   //DtHLA
00082 

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)