1.01.1
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
10
#include <
simcrs/factory/FacServiceAbstract.hpp
>
11
12
namespace
SIMCRS
{
13
15
class
SIMCRS_ServiceContext;
16
18
class
FacSimcrsServiceContext
:
public
FacServiceAbstract
{
19
public
:
20
24
static
FacSimcrsServiceContext
&
instance
();
25
30
~FacSimcrsServiceContext
();
31
35
SIMCRS_ServiceContext
&
create
(
const
std::string& iTravelDatabaseName);
36
37
38
protected
:
42
FacSimcrsServiceContext
() {}
43
44
private
:
46
static
FacSimcrsServiceContext
* _instance;
47
};
48
49
}
50
#endif // __SIMCRS_FAC_FACSIMCRSSERVICECONTEXT_HPP
FacServiceAbstract.hpp
SIMCRS::SIMCRS_ServiceContext
Class holding the context of the Simcrs services.
Definition:
SIMCRS_ServiceContext.hpp:32
SIMCRS::FacSimcrsServiceContext::instance
static FacSimcrsServiceContext & instance()
Definition:
FacSimcrsServiceContext.cpp:21
SIMCRS::FacSimcrsServiceContext::create
SIMCRS_ServiceContext & create(const std::string &iTravelDatabaseName)
Definition:
FacSimcrsServiceContext.cpp:34
SIMCRS::FacSimcrsServiceContext
Definition:
FacSimcrsServiceContext.hpp:18
SIMCRS::FacSimcrsServiceContext::~FacSimcrsServiceContext
~FacSimcrsServiceContext()
Definition:
FacSimcrsServiceContext.cpp:16
SIMCRS::FacServiceAbstract
Definition:
FacServiceAbstract.hpp:16
SIMCRS
Definition:
BasConst.cpp:7
SIMCRS::FacSimcrsServiceContext::FacSimcrsServiceContext
FacSimcrsServiceContext()
Definition:
FacSimcrsServiceContext.hpp:42
Generated on Sun Jul 15 2018 10:48:58 for SimCRS by
1.8.14