Hybrid Query Processing Engine for Coprocessing in Database Systems
HyPE
|
#include <factory.hpp>
Public Member Functions | |
Factory () | |
~Factory () | |
bool | Register (const IdentifierType &id, ProductCreator creator) |
bool | Unregister (const IdentifierType &id) |
AbstractProduct * | CreateObject (const IdentifierType &id) |
Private Types | |
typedef std::map < IdentifierType, ProductCreator > | AssocMap |
Private Attributes | |
AssocMap | associations_ |
Definition at line 15 of file factory.hpp.
typedef std::map<IdentifierType, ProductCreator> hype::core::Factory< AbstractProduct, IdentifierType, ProductCreator >::AssocMap [private] |
Definition at line 17 of file factory.hpp.
hype::core::Factory< AbstractProduct, IdentifierType, ProductCreator >::Factory | ( | ) | [inline] |
Definition at line 22 of file factory.hpp.
hype::core::Factory< AbstractProduct, IdentifierType, ProductCreator >::~Factory | ( | ) | [inline] |
Definition at line 23 of file factory.hpp.
References hype::core::Factory< AbstractProduct, IdentifierType, ProductCreator >::associations_.
AbstractProduct* hype::core::Factory< AbstractProduct, IdentifierType, ProductCreator >::CreateObject | ( | const IdentifierType & | id | ) | [inline] |
Definition at line 34 of file factory.hpp.
References hype::core::Factory< AbstractProduct, IdentifierType, ProductCreator >::associations_.
Referenced by hype::core::getNewOptimizationCriterionbyName(), hype::core::getNewRecomputationHeuristicbyName(), and hype::core::getNewStatisticalMethodbyName().
bool hype::core::Factory< AbstractProduct, IdentifierType, ProductCreator >::Register | ( | const IdentifierType & | id, |
ProductCreator | creator | ||
) | [inline] |
Definition at line 27 of file factory.hpp.
References hype::core::Factory< AbstractProduct, IdentifierType, ProductCreator >::associations_.
Referenced by hype::core::PluginLoader::loadPlugins(), hype::core::PeriodicRecomputation::PeriodicRecomputation(), and hype::core::RelativeErrorBasedRecomputation::RelativeErrorBasedRecomputation().
bool hype::core::Factory< AbstractProduct, IdentifierType, ProductCreator >::Unregister | ( | const IdentifierType & | id | ) | [inline] |
Definition at line 31 of file factory.hpp.
References hype::core::Factory< AbstractProduct, IdentifierType, ProductCreator >::associations_.
AssocMap hype::core::Factory< AbstractProduct, IdentifierType, ProductCreator >::associations_ [private] |
Definition at line 18 of file factory.hpp.
Referenced by hype::core::Factory< AbstractProduct, IdentifierType, ProductCreator >::CreateObject(), hype::core::Factory< AbstractProduct, IdentifierType, ProductCreator >::Register(), hype::core::Factory< AbstractProduct, IdentifierType, ProductCreator >::Unregister(), and hype::core::Factory< AbstractProduct, IdentifierType, ProductCreator >::~Factory().