TravelCCM Logo  0.5.3
C++ Travel Customer Choice Model Library
FacTRAVELCCMServiceContext.hpp
Go to the documentation of this file.
00001 #ifndef __TRAVELCCM_FAC_FACTRAVELCCMSERVICECONTEXT_HPP
00002 #define __TRAVELCCM_FAC_FACTRAVELCCMSERVICECONTEXT_HPP
00003 
00004 // //////////////////////////////////////////////////////////////////////
00005 // Import section
00006 // //////////////////////////////////////////////////////////////////////
00007 // StdAir
00008 #include <stdair/service/FacServiceAbstract.hpp>
00009 // TravelCCM
00010 #include <travelccm/TRAVELCCM_Types.hpp>
00011 
00012 namespace TRAVELCCM {
00013 
00015   class TRAVELCCM_ServiceContext;
00016 
00018   class FacTRAVELCCMServiceContext : public stdair::FacServiceAbstract {
00019   public:
00020 
00024     static FacTRAVELCCMServiceContext& instance();
00025 
00030     ~FacTRAVELCCMServiceContext();
00031 
00035     TRAVELCCM_ServiceContext& create ();
00036 
00037     
00038   protected:
00042     FacTRAVELCCMServiceContext () {}
00043 
00044   private:
00046     static FacTRAVELCCMServiceContext* _instance;
00047   };
00048 
00049 }
00050 #endif // __TRAVELCCM_FAC_FACTRAVELCCMSERVICECONTEXT_HPP
 All Classes Namespaces Files Functions Variables Typedefs Friends Defines