Base class for Factory layer. More...
#include <stdair/factory/FacBom.hpp>
Public Member Functions | |
BOM & | create () |
BOM & | create (const Key_T &) |
~FacBom () | |
void | clean () |
Static Public Member Functions | |
static FacBom & | instance () |
Protected Member Functions | |
FacBom () |
Base class for Factory layer.
stdair::FacBom::FacBom | ( | ) | [inline, protected] |
Default Constructor.
Definition at line 49 of file FacBom.hpp.
stdair::FacBom::~FacBom | ( | ) | [inline] |
FacBom< BOM > & stdair::FacBom::instance | ( | ) | [static] |
Provide the unique instance.
The singleton is instantiated when first used.
Definition at line 83 of file FacBom.hpp.
References stdair::FacSupervisor::instance(), and stdair::FacSupervisor::registerBomFactory().
BOM & stdair::FacBom::create | ( | ) |
Create a BOM object, given a key or not.
Definition at line 111 of file FacBom.hpp.
Referenced by stdair::FacBomManager::addBomHolder().
BOM & stdair::FacBom::create | ( | const Key_T & | iKey | ) |
Definition at line 117 of file FacBom.hpp.
void stdair::FacBom::clean | ( | ) |
Destroyed all the object instantiated by this factory.
Definition at line 94 of file FacBom.hpp.
Referenced by ~FacBom().