VR-Link API Documentation for HLA 1.3
hRibBridgeEnc.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 hRibBridgeEnc_H_
00010 #define hRibBridgeEnc_H_
00011 
00012 
00013 #include "hPointObjEnc.h"
00014 
00018 
00019 class DT_DLL_VL DtPointObjectRepository;
00020 
00023 #define DtDECLARE_RIBBON_BRIDGE_ATTR_CHECKER(attrName) \
00024    DtDECLARE_ATTR_CHECKER(DtPointObjectRepository, attrName) 
00025 
00028 #define DtDECLARE_RIBBON_BRIDGE_ATTR_ENCODER(attrName) \
00029    DtDECLARE_ATTR_ENCODER(DtPointObjectRepository, attrName) 
00030 
00035 
00036 class DT_DLL_VL DtRibbonBridgeEncoder : public DtPointObjectEncoder
00037 {
00038 public:
00039 
00041    DtRibbonBridgeEncoder(
00042       DtExerciseConn* exConn,
00043       DtObjClassDesc* classDesc);
00044 
00046    virtual ~DtRibbonBridgeEncoder();
00047 
00049    DtRibbonBridgeEncoder(const DtRibbonBridgeEncoder& orig);
00050 
00052    DtRibbonBridgeEncoder& operator=(const DtRibbonBridgeEncoder& orig);
00053 
00054 public:
00055    
00057    static DtHlaStateEncoder* create(
00058       DtExerciseConn* exConn,
00059       DtObjClassDesc* classDesc);
00060 
00061 protected:
00062    
00063    DtDECLARE_RIBBON_BRIDGE_ATTR_CHECKER(NumberOfSegments);
00064    
00065    DtDECLARE_RIBBON_BRIDGE_ATTR_ENCODER(NumberOfSegments);
00066 };
00067 
00073 #define DtDEFINE_SIMPLE_RIBBON_BRIDGE_ATTR_ENCODER( \
00074    attrName, netType, inspector) \
00075    DtDEFINE_SIMPLE_ATTR_ENCODER(DtRibbonBridgeEncoder, \
00076       DtPointObjectRepository, \
00077       attrName, netType, inspector)
00078 
00084 #define DtDEFINE_SIMPLE_RIBBON_BRIDGE_ATTR_CHECKER( \
00085    attrName, inspector) \
00086    DtDEFINE_SIMPLE_ATTR_CHECKER(DtRibbonBridgeEncoder, \
00087       DtPointObjectRepository, \
00088       attrName, inspector)
00089 
00090 #endif   //hRibBridgeEnc_H_
00091 
00092 #endif   //DtHLA
00093 

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)