0.45.1
C++ Standard Airline IT Object Library
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
FacSupervisor.hpp
Go to the documentation of this file.
1
#ifndef __STDAIR_SVC_FACSUPERVISOR_HPP
2
#define __STDAIR_SVC_FACSUPERVISOR_HPP
3
4
// //////////////////////////////////////////////////////////////////////
5
// Import section
6
// //////////////////////////////////////////////////////////////////////
7
// STL
8
#include <iosfwd>
9
#include <list>
10
11
namespace
stdair {
12
14
class
FacAbstract;
15
class
FacServiceAbstract;
16
20
class
FacSupervisor
{
21
public
:
25
typedef
std::list<FacAbstract*>
BomFactoryPool_T
;
26
typedef
std::list<FacServiceAbstract*>
ServiceFactoryPool_T
;
27
34
static
FacSupervisor
&
instance
();
35
43
void
registerBomFactory
(
FacAbstract
*);
44
52
void
registerServiceFactory
(
FacServiceAbstract
*);
53
60
void
cleanBomLayer
();
61
68
void
cleanServiceLayer
();
69
73
static
void
cleanLoggerService
();
74
78
static
void
cleanDBSessionManager
();
79
85
static
void
cleanAll
();
86
93
~FacSupervisor
();
94
95
96
protected
:
102
FacSupervisor
() {}
103
FacSupervisor
(
const
FacSupervisor
&) {}
104
105
private
:
109
static
FacSupervisor
* _instance;
110
114
BomFactoryPool_T
_bomPool;
115
119
ServiceFactoryPool_T
_svcPool;
120
};
121
}
122
#endif // __STDAIR_SVC_FACSUPERVISOR_HPP
Generated on Sun Aug 12 2012 18:33:55 for StdAir by
1.8.1.2