$treeview $search $mathjax
00001 #ifndef __SIMCRS_FAC_FACSIMCRSSERVICECONTEXT_HPP 00002 #define __SIMCRS_FAC_FACSIMCRSSERVICECONTEXT_HPP 00003 00004 // ////////////////////////////////////////////////////////////////////// 00005 // Import section 00006 // ////////////////////////////////////////////////////////////////////// 00007 // STL 00008 #include <string> 00009 // Simcrs 00010 #include <simcrs/factory/FacServiceAbstract.hpp> 00011 00012 namespace SIMCRS { 00013 00015 class SIMCRS_ServiceContext; 00016 00018 class FacSimcrsServiceContext : public FacServiceAbstract { 00019 public: 00020 00024 static FacSimcrsServiceContext& instance(); 00025 00030 ~FacSimcrsServiceContext(); 00031 00035 SIMCRS_ServiceContext& create (const std::string& iTravelDatabaseName); 00036 00037 00038 protected: 00042 FacSimcrsServiceContext () {} 00043 00044 private: 00046 static FacSimcrsServiceContext* _instance; 00047 }; 00048 00049 } 00050 #endif // __SIMCRS_FAC_FACSIMCRSSERVICECONTEXT_HPP