SimCRS Logo  1.01.5
C++ Simulated Travel-Oriented Distribution System Library
FacSimcrsServiceContext.hpp
Go to the documentation of this file.
1 #ifndef __SIMCRS_FAC_FACSIMCRSSERVICECONTEXT_HPP
2 #define __SIMCRS_FAC_FACSIMCRSSERVICECONTEXT_HPP
3 
4 // //////////////////////////////////////////////////////////////////////
5 // Import section
6 // //////////////////////////////////////////////////////////////////////
7 // STL
8 #include <string>
9 // Simcrs
11 
12 namespace SIMCRS {
13 
15  class SIMCRS_ServiceContext;
16 
19  public:
20 
25 
31 
35  SIMCRS_ServiceContext& create (const std::string& iTravelDatabaseName);
36 
37 
38  protected:
43 
44  private:
46  static FacSimcrsServiceContext* _instance;
47  };
48 
49 }
50 #endif // __SIMCRS_FAC_FACSIMCRSSERVICECONTEXT_HPP
SIMCRS
Definition: BasConst.cpp:7
SIMCRS::FacSimcrsServiceContext::~FacSimcrsServiceContext
~FacSimcrsServiceContext()
Definition: FacSimcrsServiceContext.cpp:16
SIMCRS::FacSimcrsServiceContext
Definition: FacSimcrsServiceContext.hpp:18
SIMCRS::FacSimcrsServiceContext::instance
static FacSimcrsServiceContext & instance()
Definition: FacSimcrsServiceContext.cpp:21
SIMCRS::SIMCRS_ServiceContext
Class holding the context of the Simcrs services.
Definition: SIMCRS_ServiceContext.hpp:32
FacServiceAbstract.hpp
SIMCRS::FacServiceAbstract
Definition: FacServiceAbstract.hpp:16
SIMCRS::FacSimcrsServiceContext::create
SIMCRS_ServiceContext & create(const std::string &iTravelDatabaseName)
Definition: FacSimcrsServiceContext.cpp:34
SIMCRS::FacSimcrsServiceContext::FacSimcrsServiceContext
FacSimcrsServiceContext()
Definition: FacSimcrsServiceContext.hpp:42