#include <rmol/factory/FacPartialSumHolder.hpp>
Public Types | |
typedef std::vector < BomAbstract * > | BomPool_T |
Public Member Functions | |
virtual | ~FacPartialSumHolder () |
PartialSumHolder & | create () |
void | clean () |
Static Public Member Functions | |
static FacPartialSumHolder & | instance () |
Protected Member Functions | |
FacPartialSumHolder () | |
Protected Attributes | |
BomPool_T | _pool |
Factory for PartialSum.
Definition at line 16 of file FacPartialSumHolder.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::FacPartialSumHolder::~FacPartialSumHolder | ( | ) | [virtual] |
Destructor.
The Destruction put the _instance to NULL in order to be clean for the next FacPartialSumHolder::instance()
Definition at line 16 of file FacPartialSumHolder.cpp.
RMOL::FacPartialSumHolder::FacPartialSumHolder | ( | ) | [inline, protected] |
Default Constructor.
This constructor is protected in order to ensure the singleton pattern.
Definition at line 39 of file FacPartialSumHolder.hpp.
Referenced by instance().
FacPartialSumHolder & RMOL::FacPartialSumHolder::instance | ( | ) | [static] |
Provide the unique instance.
The singleton is instantiated when first used
Definition at line 21 of file FacPartialSumHolder.cpp.
References FacPartialSumHolder().
Referenced by RMOL::Optimiser::optimalOptimisationByMCIntegration().
PartialSumHolder & RMOL::FacPartialSumHolder::create | ( | ) |
Create a new PartialSumHolder object.
This new object is added to the list of instantiated objects.
Definition at line 33 of file FacPartialSumHolder.cpp.
References RMOL::FacBomAbstract::_pool.
Referenced by RMOL::Optimiser::optimalOptimisationByMCIntegration().
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(), create(), RMOL::FacOverbooking::create(), RMOL::FacDemand::create(), RMOL::FacBucketHolder::create(), and RMOL::FacBucket::create().
Generated on Thu Jan 21 22:01:06 2010 for RMOL by Doxygen 1.6.2