1.00.0
C++ Simulated Travel-Oriented Distribution System Library
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Macros
Pages
FacSupervisor.hpp
Go to the documentation of this file.
1
#ifndef __SIMCRS_FAC_FACSUPERVISOR_HPP
2
#define __SIMCRS_FAC_FACSUPERVISOR_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// STL
8
#include <vector>
9
10
namespace
SIMCRS {
11
12
// Forward declarations
13
class
FacBomAbstract;
14
class
FacServiceAbstract;
15
17
class
FacSupervisor
{
18
public
:
19
21
typedef
std::vector<FacBomAbstract*>
BomFactoryPool_T
;
22
typedef
std::vector<FacServiceAbstract*>
ServiceFactoryPool_T
;
23
27
static
FacSupervisor
&
instance
();
28
33
void
registerBomFactory
(
FacBomAbstract
*);
34
39
void
registerServiceFactory
(
FacServiceAbstract
*);
40
44
void
cleanBomLayer
();
45
49
void
cleanServiceLayer
();
50
53
static
void
cleanFactory
();
54
58
~FacSupervisor
();
59
60
61
protected
:
65
FacSupervisor
();
66
FacSupervisor
(
const
FacSupervisor
&) {}
67
68
69
private
:
71
static
FacSupervisor
* _instance;
72
74
BomFactoryPool_T
_bomPool;
75
77
ServiceFactoryPool_T
_svcPool;
78
};
79
}
80
#endif // __SIMCRS_FAC_FACSUPERVISOR_HPP
Generated on Wed Dec 26 2012 00:31:10 for SimCRS by
1.8.1.1