SimCRS Logo  1.01.8
C++ Simulated Travel-Oriented Distribution System Library
Loading...
Searching...
No Matches
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
12namespace 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_ServiceContext & create(const std::string &iTravelDatabaseName)
static FacSimcrsServiceContext & instance()
Class holding the context of the Simcrs services.