AirRAC Logo  0.2.3
C++ Simulated Revenue Accounting (RAC) System Library
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines
FacAirracServiceContext.hpp
Go to the documentation of this file.
00001 #ifndef __AIRRAC_FAC_FACAIRRACSERVICECONTEXT_HPP
00002 #define __AIRRAC_FAC_FACAIRRACSERVICECONTEXT_HPP
00003 // //////////////////////////////////////////////////////////////////////
00004 // Import section
00005 // //////////////////////////////////////////////////////////////////////
00006 // STL
00007 #include <string>
00008 // StdAir
00009 #include <stdair/stdair_basic_types.hpp>
00010 #include <stdair/service/FacServiceAbstract.hpp>
00011 
00012 namespace AIRRAC {
00013 
00015   class AIRRAC_ServiceContext;
00016 
00017 
00021   class FacAirracServiceContext : public stdair::FacServiceAbstract {
00022   public:
00023 
00030     static FacAirracServiceContext& instance();
00031 
00038     ~FacAirracServiceContext();
00039 
00047     AIRRAC_ServiceContext& create();
00048     
00049 
00050   protected:
00056     FacAirracServiceContext() {}
00057 
00058 
00059   private:
00063     static FacAirracServiceContext* _instance;
00064   };
00065 
00066 }
00067 #endif // __AIRRAC_FAC_FACAIRRACSERVICECONTEXT_HPP