VR-Link API Documentation for DIS
hCraterObjDec.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 hCraterObjDec_H_
00010 #define hCraterObjDec_H_
00011 
00012 
00013 #include "hPointObjDec.h"
00014 
00018 
00019 class DT_DLL_VL DtPointObjectRepository;
00020 
00023 #define DtDECLARE_CRATER_OBJ_ATTR_DECODER(attrName) \
00024    DtDECLARE_ATTR_DECODER(DtPointObjectRepository, attrName) 
00025 
00026 
00030 class DT_DLL_VL DtCraterObjectDecoder : public DtPointObjectDecoder
00031 {
00032 public:
00033 
00035    DtCraterObjectDecoder(
00036       DtExerciseConn* exConn,
00037       DtObjClassDesc* classDesc);
00038 
00040    virtual ~DtCraterObjectDecoder();
00041 
00043    DtCraterObjectDecoder(const DtCraterObjectDecoder& orig);
00044 
00046    DtCraterObjectDecoder& operator=
00047       (const DtCraterObjectDecoder& orig);
00048 
00049 public:
00050 
00052    static DtHlaStateDecoder* create(
00053       DtExerciseConn* exConn,
00054       DtObjClassDesc* classDesc);
00055 
00056 protected:
00059    DtDECLARE_CRATER_OBJ_ATTR_DECODER(CraterSize);
00060 };
00061 
00067 #define DtDEFINE_SIMPLE_CRATER_OBJ_ATTR_DECODER_WITH_CAST( \
00068    attrName, netType, mutator, castExpr) \
00069    DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
00070       DtCraterObjectDecoder, DtPointObjectRepository, \
00071       attrName, netType, mutator, castExpr)
00072 
00073 #define DtDEFINE_SIMPLE_CRATER_OBJ_ATTR_DECODER( \
00074    attrName, netType, inspector) \
00075    DtDEFINE_SIMPLE_CRATER_OBJ_ATTR_DECODER_WITH_CAST( \
00076       attrName, netType, inspector, (netType))
00077 
00078 #endif   //hCraterObjDec_H_
00079 
00080 #endif   //DtHLA
00081 

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)