![]() |
VR-Link API Documentation for DIS
|
00001 /********************************************************************* 00002 ** Copyright (c) 2006 MaK Technologies, Inc. 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 /********************************************************************* 00006 ** $RCSfile: coLromMapper.h,v $ $Revision: 1.1 $ $State: Exp $ 00007 *********************************************************************/ 00008 #ifndef coLromMapper_H_ 00009 #define coLromMapper_H_ 00010 00014 00015 #if DtTENA 00016 00017 #include "coLromMapExport.h" 00018 #include <vlutil/vlMachineTypes.h> 00019 #include <vl/lromMapper.h> 00020 #include <map> 00021 00022 #include <vlutil/vlTime.h> 00023 00024 class DtString; 00025 class DtExerciseConn; 00026 00030 class DT_DLL_COMMONLROM DtCommonObjectLromMapper : public DtLromMapper 00031 { 00032 public: 00033 00035 DtCommonObjectLromMapper(); 00036 00038 virtual ~DtCommonObjectLromMapper(); 00039 00040 private: 00042 DtCommonObjectLromMapper(const DtCommonObjectLromMapper& orig); 00043 00045 DtCommonObjectLromMapper& operator=(const DtCommonObjectLromMapper& orig); 00046 00047 public: 00048 00049 virtual void init(DtExerciseConn* exConn); 00050 virtual DtMessageInterface* messageInterface(const DtString& ifName); 00051 virtual DtObjectInterface* objectInterface(const DtString& ifName); 00052 00053 protected: 00054 void initInterfaceClassesToChoose(); 00055 00056 protected: 00057 typedef std::map<DtString, DtMessageInterface *> StringMessageInterfaceMap; 00058 typedef std::map<DtString, DtObjectInterface*> StringObjectInterfaceMap; 00059 StringMessageInterfaceMap myStringToMessageInterfaceMap; 00060 StringObjectInterfaceMap myStringToObjectInterfaceMap; 00061 }; 00062 00063 00064 #endif 00065 #endif 00066 00067 00068