VR-Link API Documentation for HLA 1.3
hRRBIffDec.h
Go to the documentation of this file.
00001 #if DtHLA
00002 
00003 #ifndef DtRRBIffDecoder_H_
00004 #define DtRRBIffDecoder_H_
00005 
00006 #include "hIffDec.h"
00007 
00011 
00014 
00018 #define DtDECLARE_RRB_IFF_ATTR_DECODER(attrName) \
00019    DtDECLARE_ATTR_DECODER(DtIffStateRepository, attrName)
00020 
00028 #define DtDEFINE_SIMPLE_RRB_IFF_ATTR_DECODER( \
00029    attrName, netType, inspector) \
00030    DtDEFINE_SIMPLE_RRB_IFF_ATTR_DECODER_WITH_CAST( \
00031       attrName, netType, inspector, (netType))
00032 
00038 #define DtDEFINE_SIMPLE_RRB_IFF_ATTR_DECODER_WITH_CAST( \
00039    attrName, netType, mutator, castExpr) \
00040    DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
00041       DtRRBIffDecoder, DtIffStateRepository, \
00042       attrName, netType, mutator, castExpr)
00043 
00044 
00045 class DT_DLL_VL DtRRBIffDecoder : public DtIffDecoder
00046 {
00047 public:
00049    DtRRBIffDecoder(
00050       DtExerciseConn* exConn,
00051       DtObjClassDesc* classDesc);
00052 
00054    virtual ~DtRRBIffDecoder();
00055 
00057    DtRRBIffDecoder(const DtRRBIffDecoder& orig);
00058 
00060    DtRRBIffDecoder& operator=(const DtRRBIffDecoder& orig);
00061 
00062 public:
00063 
00064   static DtHlaStateDecoder* create(
00065       DtExerciseConn* exConn,
00066       DtObjClassDesc* classDesc);
00067 
00068 protected:
00069 
00070    DtDECLARE_RRB_IFF_ATTR_DECODER(Code);
00071    DtDECLARE_RRB_IFF_ATTR_DECODER(PowerReduction);
00072    DtDECLARE_RRB_IFF_ATTR_DECODER(IsDamaged);
00073    DtDECLARE_RRB_IFF_ATTR_DECODER(IsMalfunctioning);
00074    DtDECLARE_RRB_IFF_ATTR_DECODER(IsOn);
00075    DtDECLARE_RRB_IFF_ATTR_DECODER(RadarEnhancement);
00076 };
00077 
00078 #endif
00079 #endif
00080 

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)