VR-Link API Documentation for DIS
hMinefldMarkEnc.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 hMinefldMarkEnc_H_
00010 #define hMinefldMarkEnc_H_
00011 
00012 
00013 #include "hEnvObjEnc.h"
00014 
00018 
00019 class DT_DLL_VL DtLinearObjectRepository;
00020 
00023 #define DtDECLARE_MINEFLD_LANE_MARK_OBJ_ATTR_CHECKER(attrName) \
00024    DtDECLARE_ATTR_CHECKER(DtLinearObjectRepository, attrName) 
00025 
00028 #define DtDECLARE_MINEFLD_LANE_MARK_OBJ_ATTR_ENCODER(attrName) \
00029    DtDECLARE_ATTR_ENCODER(DtLinearObjectRepository, attrName) 
00030 
00035 
00036 class DT_DLL_VL DtMinefieldLaneMarkerEncoder : public DtEnvironmentObjectEncoder
00037 {
00038 public:
00039 
00041    DtMinefieldLaneMarkerEncoder(
00042       DtExerciseConn* exConn,
00043       DtObjClassDesc* classDesc);
00044 
00046    virtual ~DtMinefieldLaneMarkerEncoder();
00047 
00049    DtMinefieldLaneMarkerEncoder(const DtMinefieldLaneMarkerEncoder& orig);
00050 
00052    DtMinefieldLaneMarkerEncoder& operator=(const DtMinefieldLaneMarkerEncoder& orig);
00053 
00054 public:
00055    
00057    static DtHlaStateEncoder* create(
00058       DtExerciseConn* exConn,
00059       DtObjClassDesc* classDesc);
00060 
00061 protected:
00062    
00063    DtDECLARE_MINEFLD_LANE_MARK_OBJ_ATTR_CHECKER(SegmentRecords);
00064 
00065    DtDECLARE_MINEFLD_LANE_MARK_OBJ_ATTR_ENCODER(SegmentRecords);
00066 };
00067 
00073 #define DtDEFINE_SIMPLE_MINEFLD_LANE_MARK_OBJ_ATTR_ENCODER( \
00074    attrName, netType, inspector) \
00075    DtDEFINE_SIMPLE_ATTR_ENCODER(DtLinearObjectEncoder, \
00076       DtLinearObjectRepository, \
00077       attrName, netType, inspector)
00078 
00084 #define DtDEFINE_SIMPLE_MINEFLD_LANE_MARK_OBJ_ATTR_CHECKER( \
00085    attrName, inspector) \
00086    DtDEFINE_SIMPLE_ATTR_CHECKER(DtLinearObjectEncoder, \
00087       DtLinearObjectRepository, \
00088       attrName, inspector)
00089 
00090 #endif   //hMinefldMarkEnc_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)