![]() |
VR-Link API Documentation for HLA 1.3
|
00001 /********************************************************************* 00002 ** Copyright (c) 2006 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: rprLromMapper.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 *********************************************************************/ 00008 #ifndef rprLromMapper_H_ 00009 #define rprLromMapper_H_ 00010 00011 #if DtTENA 00012 00013 #include "makLromMapExport.h" 00014 #include <vlutil/vlMachineTypes.h> 00015 #include <vl/lromMapper.h> 00016 #include <coLromMapper/tEntityInterface.h> 00017 #include <map> 00018 00019 #include <MAK/ClockTime/Includes.h> 00020 #include <vlutil/vlTime.h> 00021 00022 class DtString; 00023 class DtExerciseConn; 00024 class DtRadioReceiverInterface; 00025 00027 class DT_DLL_MAKLROM DtRprLromMapper : public DtLromMapper 00028 { 00029 public: 00030 00032 DtRprLromMapper(); 00033 00035 virtual ~DtRprLromMapper(); 00036 00037 private: 00039 DtRprLromMapper(const DtRprLromMapper& orig); 00040 00042 DtRprLromMapper& operator=(const DtRprLromMapper& orig); 00043 00044 public: 00045 00046 virtual void init(DtExerciseConn* exConn); 00047 virtual DtMessageInterface* messageInterface(const DtString& ifName); 00048 virtual DtObjectInterface* objectInterface(const DtString& ifName); 00049 00050 static DtTime setRealTimeFromClockTime( 00051 const MAK::ClockTime::Pointer clockTime); 00052 00053 static MAK::ClockTime::Pointer setClockTimeFromRealTime( 00054 const DtTime realTime); 00055 00056 virtual void initInterfaceClassesToChoose(); 00057 00058 protected: 00059 00060 typedef std::map<DtString, DtMessageInterface *> StringMessageInterfaceMap; 00061 typedef std::map<DtString, DtObjectInterface*> StringObjectInterfaceMap; 00062 StringMessageInterfaceMap myStringToMessageInterfaceMap; 00063 StringObjectInterfaceMap myStringToObjectInterfaceMap; 00064 }; 00065 00066 00067 #endif 00068 #endif 00069 00070 00071