AirInv Logo  0.1.2
C++ Simulated Airline Inventory Management System library
FacAirinvServiceContext.hpp
Go to the documentation of this file.
00001 #ifndef __AIRINV_FAC_FACAIRINVSERVICECONTEXT_HPP
00002 #define __AIRINV_FAC_FACAIRINVSERVICECONTEXT_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // STL
00008 #include <string>
00009 // StdAir
00010 #include <stdair/service/FacServiceAbstract.hpp>
00011 
00012 namespace AIRINV {
00013 
00015   class AIRINV_ServiceContext;
00016 
00018   class FacAirinvServiceContext : public stdair::FacServiceAbstract {
00019   public:
00020 
00024     static FacAirinvServiceContext& instance();
00025 
00030     ~FacAirinvServiceContext();
00031 
00035     AIRINV_ServiceContext& create();
00036 
00037     
00038   protected:
00042     FacAirinvServiceContext() {}
00043 
00044   private:
00046     static FacAirinvServiceContext* _instance;
00047   };
00048 
00049 }
00050 #endif // __AIRINV_FAC_FACAIRINVSERVICECONTEXT_HPP