00001 #ifndef __RMOL_FAC_FACRMOLSERVICECONTEXT_HPP 00002 #define __RMOL_FAC_FACRMOLSERVICECONTEXT_HPP 00003 00004 // ////////////////////////////////////////////////////////////////////// 00005 // Import section 00006 // ////////////////////////////////////////////////////////////////////// 00007 // STL 00008 #include <string> 00009 // StdAir 00010 #include <stdair/stdair_basic_types.hpp> 00011 #include <stdair/service/FacServiceAbstract.hpp> 00012 00013 namespace RMOL { 00014 00016 class RMOL_ServiceContext; 00017 00018 00022 class FacRmolServiceContext : public stdair::FacServiceAbstract { 00023 public: 00024 00031 static FacRmolServiceContext& instance(); 00032 00039 ~FacRmolServiceContext(); 00040 00048 RMOL_ServiceContext& create(); 00049 00050 00051 protected: 00057 FacRmolServiceContext() {} 00058 00059 00060 private: 00064 static FacRmolServiceContext* _instance; 00065 }; 00066 00067 } 00068 #endif // __RMOL_FAC_FACRMOLSERVICECONTEXT_HPP