RMOL Logo Get Revenue Management Optimisation Library at SourceForge.net. Fast, secure and Free Open Source software downloads

RMOL::FacOverbooking Class Reference

#include <rmol/factory/FacOverbooking.hpp>

Inheritance diagram for RMOL::FacOverbooking:
RMOL::FacBomAbstract

List of all members.

Public Types

typedef std::vector
< BomAbstract * > 
BomPool_T

Public Member Functions

virtual ~FacOverbooking ()
Overbookingcreate (const FldOverbookingPolicy &)
void clean ()

Static Public Member Functions

static FacOverbookinginstance ()

Protected Member Functions

 FacOverbooking ()

Protected Attributes

BomPool_T _pool

Detailed Description

Factory for Overbooking.

Definition at line 17 of file FacOverbooking.hpp.


Member Typedef Documentation

typedef std::vector<BomAbstract*> RMOL::FacBomAbstract::BomPool_T [inherited]

Define the list (pool) of Bom objects.

Definition at line 20 of file FacBomAbstract.hpp.


Constructor & Destructor Documentation

RMOL::FacOverbooking::~FacOverbooking (  )  [virtual]

Destructor.
The Destruction put the _instance to NULL in order to be clean for the next FacOverbooking::instance()

Definition at line 16 of file FacOverbooking.cpp.

RMOL::FacOverbooking::FacOverbooking (  )  [inline, protected]

Default Constructor.
This constructor is protected in order to ensure the singleton pattern.

Definition at line 39 of file FacOverbooking.hpp.

Referenced by instance().


Member Function Documentation

FacOverbooking & RMOL::FacOverbooking::instance (  )  [static]

Provide the unique instance.
The singleton is instantiated when first used

Returns:
FacOverbooking&

Definition at line 21 of file FacOverbooking.cpp.

References FacOverbooking().

Overbooking & RMOL::FacOverbooking::create ( const FldOverbookingPolicy iPolicy  ) 

Create a new Overbooking object.
This new object is added to the list of instantiated objects.

Returns:
Overbooking& The newly created object.

Definition at line 33 of file FacOverbooking.cpp.

References RMOL::FacBomAbstract::_pool.

void RMOL::FacBomAbstract::clean (  )  [inherited]

Destroyed all the object instantiated by this factory.

Definition at line 18 of file FacBomAbstract.cpp.

References RMOL::FacBomAbstract::_pool.

Referenced by RMOL::FacBomAbstract::~FacBomAbstract().


Member Data Documentation

BomPool_T RMOL::FacBomAbstract::_pool [protected, inherited]

The documentation for this class was generated from the following files:
SourceForge Logo

Generated on Sat Sep 26 13:13:11 2009 for RMOL by Doxygen 1.6.1