VR-Link API Documentation for DIS
hBreachObjDec.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 hBreachObjDec_H_
00010 #define hBreachObjDec_H_
00011 
00012 
00013 #include "hEnvObjDec.h"
00014 
00018 
00019 class DT_DLL_VL DtLinearObjectRepository;
00020 
00023 #define DtDECLARE_BREACH_OBJ_ATTR_DECODER(attrName) \
00024    DtDECLARE_ATTR_DECODER(DtLinearObjectRepository, attrName) 
00025 
00026 
00031 class DT_DLL_VL DtBreachObjectDecoder : public DtEnvironmentObjectDecoder
00032 {
00033 public:
00034 
00036    DtBreachObjectDecoder(
00037       DtExerciseConn* exConn,
00038       DtObjClassDesc* classDesc);
00039 
00041    virtual ~DtBreachObjectDecoder();
00042 
00044    DtBreachObjectDecoder(const DtBreachObjectDecoder& orig);
00045 
00047    DtBreachObjectDecoder& operator=
00048       (const DtBreachObjectDecoder& orig);
00049 
00050 public:
00051 
00053    static DtHlaStateDecoder* create(
00054       DtExerciseConn* exConn,
00055       DtObjClassDesc* classDesc);
00056 
00057 protected:
00060    DtDECLARE_BREACH_OBJ_ATTR_DECODER(SegmentRecords);
00061 };
00062 
00068 #define DtDEFINE_SIMPLE_BREACH_OBJ_ATTR_DECODER_WITH_CAST( \
00069    attrName, netType, mutator, castExpr) \
00070    DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
00071       DtBreachObjectDecoder, DtLinearObjectRepository, \
00072       attrName, netType, mutator, castExpr)
00073 
00074 #define DtDEFINE_SIMPLE_BREACH_OBJ_ATTR_DECODER( \
00075    attrName, netType, inspector) \
00076    DtDEFINE_SIMPLE_BREACH_OBJ_ATTR_DECODER_WITH_CAST( \
00077       attrName, netType, inspector, (netType))
00078 
00079 #endif   //hBreachObjDec_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)