![]() |
VR-Link API Documentation for HLA 1.3
|
00001 /********************************************************************* 00002 ** Copyright (c) 1992-2010 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 00006 00007 #if DtHLA 00008 00009 #ifndef hMinefldMarkDec_H_ 00010 #define hMinefldMarkDec_H_ 00011 00012 00013 #include "hEnvObjDec.h" 00014 00018 00019 class DT_DLL_VL DtLinearObjectRepository; 00020 00023 #define DtDECLARE_MINEFLD_LANE_MARK_OBJ_ATTR_DECODER(attrName) \ 00024 DtDECLARE_ATTR_DECODER(DtLinearObjectRepository, attrName) 00025 00031 00032 class DT_DLL_VL DtMinefieldLaneMarkerDecoder : public DtEnvironmentObjectDecoder 00033 { 00034 public: 00035 00037 DtMinefieldLaneMarkerDecoder( 00038 DtExerciseConn* exConn, 00039 DtObjClassDesc* classDesc); 00040 00042 virtual ~DtMinefieldLaneMarkerDecoder(); 00043 00045 DtMinefieldLaneMarkerDecoder(const DtMinefieldLaneMarkerDecoder& orig); 00046 00048 DtMinefieldLaneMarkerDecoder& operator= 00049 (const DtMinefieldLaneMarkerDecoder& orig); 00050 00051 public: 00052 00054 static DtHlaStateDecoder* create( 00055 DtExerciseConn* exConn, 00056 DtObjClassDesc* classDesc); 00057 00058 protected: 00061 DtDECLARE_MINEFLD_LANE_MARK_OBJ_ATTR_DECODER(SegmentRecords); 00062 }; 00063 00069 #define DtDEFINE_SIMPLE_MINEFLD_LANE_MARK_OBJ_ATTR_DECODER_WITH_CAST( \ 00070 attrName, netType, mutator, castExpr) \ 00071 DtDEFINE_SIMPLE_ATTR_DECODER_WITH_CAST( \ 00072 DtMinefieldLaneMarkerDecoder, DtLinearObjectRepository, \ 00073 attrName, netType, mutator, castExpr) 00074 00075 #define DtDEFINE_SIMPLE_MINEFLD_LANE_MARK_OBJ_ATTR_DECODER( \ 00076 attrName, netType, inspector) \ 00077 DtDEFINE_SIMPLE_MINEFLD_LANE_MARK_OBJ_ATTR_DECODER_WITH_CAST( \ 00078 attrName, netType, inspector, (netType)) 00079 00080 #endif //hMinefldMarkDec_H_ 00081 00082 #endif //DtHLA 00083