VR-Link API Documentation for HLA 1.3
hBrLinObjDec.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 hBrLinObjDec_H_
00010 #define hBrLinObjDec_H_
00011 
00012 
00013 #include "hEnvObjDec.h"
00014 
00018 
00019 class DT_DLL_VL DtLinearObjectRepository;
00020 
00023 #define DtDECLARE_BREACH_LINEAR_OBJ_ATTR_DECODER(attrName) \
00024    DtDECLARE_ATTR_DECODER(DtLinearObjectRepository, attrName) 
00025 
00030 class DT_DLL_VL DtBreachableLinearObjectDecoder : public DtEnvironmentObjectDecoder
00031 {
00032 public:
00033 
00035    DtBreachableLinearObjectDecoder(
00036       DtExerciseConn* exConn,
00037       DtObjClassDesc* classDesc);
00038 
00040    virtual ~DtBreachableLinearObjectDecoder();
00041 
00043    DtBreachableLinearObjectDecoder(const DtBreachableLinearObjectDecoder& orig);
00044 
00046    DtBreachableLinearObjectDecoder& operator=
00047       (const DtBreachableLinearObjectDecoder& orig);
00048 
00049 public:
00050 
00052    static DtHlaStateDecoder* create(
00053       DtExerciseConn* exConn,
00054       DtObjClassDesc* classDesc);
00055 
00056 protected:
00059    DtDECLARE_BREACH_LINEAR_OBJ_ATTR_DECODER(SegmentRecords);
00060 };
00061 
00067 #define DtDEFINE_SIMPLE_BREACH_LINEAR_OBJ_ATTR_DECODER_WITH_CAST( \
00068    attrName, netType, mutator, castExpr) \
00069    DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \
00070       DtBreachableLinearObjectDecoder, DtLinearObjectRepository, \
00071       attrName, netType, mutator, castExpr)
00072 
00073 #define DtDEFINE_SIMPLE_BREACH_LINEAR_OBJ_ATTR_DECODER( \
00074    attrName, netType, inspector) \
00075    DtDEFINE_SIMPLE_BREACH_LINEAR_OBJ_ATTR_DECODER_WITH_CAST( \
00076       attrName, netType, inspector, (netType))
00077 
00078 #endif   //hBrLinObjDec_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)