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
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::FacServiceAbstract
Definition
FacServiceAbstract.hpp:16
SIMCRS::FacSimcrsServiceContext
Definition
FacSimcrsServiceContext.hpp:18
SIMCRS::FacSimcrsServiceContext::~FacSimcrsServiceContext
~FacSimcrsServiceContext()
Definition
FacSimcrsServiceContext.cpp:16
SIMCRS::FacSimcrsServiceContext::FacSimcrsServiceContext
FacSimcrsServiceContext()
Definition
FacSimcrsServiceContext.hpp:42
SIMCRS::FacSimcrsServiceContext::create
SIMCRS_ServiceContext & create(const std::string &iTravelDatabaseName)
Definition
FacSimcrsServiceContext.cpp:34
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
SIMCRS
Definition
BasConst.cpp:7
Generated on Sat Jul 22 2023 00:00:00 for SimCRS by
1.9.7