00001 #ifndef __AIRSCHED_FAC_FACAIRSCHEDSERVICECONTEXT_HPP 00002 #define __AIRSCHED_FAC_FACAIRSCHEDSERVICECONTEXT_HPP 00003 00004 // ////////////////////////////////////////////////////////////////////// 00005 // Import section 00006 // ////////////////////////////////////////////////////////////////////// 00007 // StdAir 00008 #include <stdair/stdair_basic_types.hpp> 00009 #include <stdair/service/FacServiceAbstract.hpp> 00010 00011 namespace AIRSCHED { 00012 00014 class AIRSCHED_ServiceContext; 00015 00019 class FacAIRSCHEDServiceContext : public stdair::FacServiceAbstract { 00020 public: 00021 00028 static FacAIRSCHEDServiceContext& instance(); 00029 00036 ~FacAIRSCHEDServiceContext(); 00037 00045 AIRSCHED_ServiceContext& create(); 00046 00047 00048 protected: 00054 FacAIRSCHEDServiceContext() {} 00055 00056 private: 00060 static FacAIRSCHEDServiceContext* _instance; 00061 00062 }; 00063 } 00064 #endif // __AIRSCHED_FAC_FACAIRSCHEDSERVICECONTEXT_HPP