#include <rmol/factory/FacDemand.hpp>
Public Types | |
typedef std::vector < BomAbstract * > | BomPool_T |
Public Member Functions | |
virtual | ~FacDemand () |
Demand & | create (const FldDistributionParameters &, const FldYieldRange &) |
void | clean () |
Static Public Member Functions | |
static FacDemand & | instance () |
Protected Member Functions | |
FacDemand () | |
Protected Attributes | |
BomPool_T | _pool |
Definition at line 18 of file FacDemand.hpp.
typedef std::vector<BomAbstract*> RMOL::FacBomAbstract::BomPool_T [inherited] |
Define the list (pool) of Bom objects.
Definition at line 20 of file FacBomAbstract.hpp.
RMOL::FacDemand::~FacDemand | ( | ) | [virtual] |
Destructor.
The Destruction put the _instance to NULL in order to be clean for the next FacDemand::instance()
Definition at line 16 of file FacDemand.cpp.
RMOL::FacDemand::FacDemand | ( | ) | [inline, protected] |
Default Constructor.
This constructor is protected in order to ensure the singleton pattern.
Definition at line 40 of file FacDemand.hpp.
Referenced by instance().
FacDemand & RMOL::FacDemand::instance | ( | ) | [static] |
Provide the unique instance.
The singleton is instantiated when first used
Definition at line 21 of file FacDemand.cpp.
References FacDemand().
Referenced by RMOL::Optimiser::heuristicOptimisationByEmsrB(), and RMOL::FileMgr::readAndProcessInputFile().
Demand & RMOL::FacDemand::create | ( | const FldDistributionParameters & | iDistributionParameters, | |
const FldYieldRange & | iYieldRange | |||
) |
Create a new Demand object.
This new object is added to the list of instantiated objects.
Definition at line 34 of file FacDemand.cpp.
References RMOL::FacBomAbstract::_pool.
Referenced by RMOL::Optimiser::heuristicOptimisationByEmsrB(), and RMOL::FileMgr::readAndProcessInputFile().
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().
BomPool_T RMOL::FacBomAbstract::_pool [protected, inherited] |
List of instantiated Business Objects
Definition at line 34 of file FacBomAbstract.hpp.
Referenced by RMOL::FacBomAbstract::clean(), RMOL::FacStudyStatManager::create(), RMOL::FacPartialSumHolderHolder::create(), RMOL::FacPartialSumHolder::create(), RMOL::FacOverbooking::create(), create(), RMOL::FacBucketHolder::create(), and RMOL::FacBucket::create().
Generated on Sat Jun 6 13:49:07 2009 for RMOL by Doxygen 1.5.7.1