Base class for Factory layer. More...
#include <stdair/factory/FacBom.hpp>
Public Member Functions | |
BOM & | create () |
BOM & | create (const Key_T &) |
BOM & | create (const BOM &) |
~FacBom () | |
void | clean () |
Static Public Member Functions | |
static FacBom & | instance () |
Protected Member Functions | |
FacBom () |
Base class for Factory layer.
Definition at line 22 of file FacBom.hpp.
|
inlineprotected |
Default Constructor.
Definition at line 50 of file FacBom.hpp.
|
inline |
|
static |
Provide the unique instance.
The singleton is instantiated when first used.
Definition at line 84 of file FacBom.hpp.
References stdair::FacSupervisor::instance(), and stdair::FacSupervisor::registerPersistentBomFactory().
BOM & stdair::FacBom< BOM >::create | ( | ) |
Create a BOM object, given a key or not.
Definition at line 112 of file FacBom.hpp.
Referenced by stdair::FacBomManager::addBomHolder().
BOM & stdair::FacBom< BOM >::create | ( | const Key_T & | iKey | ) |
Definition at line 118 of file FacBom.hpp.
BOM & stdair::FacBom< BOM >::create | ( | const BOM & | iBom | ) |
Definition at line 126 of file FacBom.hpp.
void stdair::FacBom< BOM >::clean | ( | ) |
Destroyed all the object instantiated by this factory.
Definition at line 95 of file FacBom.hpp.
Referenced by stdair::FacBom< BOM >::~FacBom().