#include <FitStrategy.h>
Collaboration diagram for SctFitter::FitStrategyFactory:
Public Member Functions | |
FitStrategy * | getStrategy (string name) throw (LogicError) |
Get a FitStrategy by name. | |
bool | addToMap (const string &className, FitStrategy &s) throw () |
Concrete strategies should add themselves to the map, using the same name as they give in getName();. | |
std::list< std::string > | listStrategies () const |
make a list of all strategies | |
Static Public Member Functions | |
static FitStrategyFactory & | instance () throw () |
Private Member Functions | |
~FitStrategyFactory () throw () | |
singleton | |
Private Attributes | |
std::map< string, FitStrategy * > | strategyMap |
a map of the sub-classes and their names | |
Static Private Attributes | |
static FitStrategyFactory * | bertha |
pointer to the singleton. |
Definition at line 75 of file FitStrategy.h.
|
singleton
Definition at line 94 of file FitStrategy.h. |
|
Concrete strategies should add themselves to the map, using the same name as they give in getName();.
Definition at line 39 of file FitStrategy.cpp. |
|
Get a FitStrategy by name.
Definition at line 30 of file FitStrategy.cpp. Referenced by SctFitter::Fitter::internal_setFitStrategy(). |
|
Definition at line 25 of file FitStrategy.cpp. References bertha. Referenced by SctFitter::Fitter::internal_setFitStrategy(), SctFitter::Fitter::listFitStrategies(), and SctAnalysis::AnalysisService::setFitStrategy(). |
|
make a list of all strategies
Definition at line 47 of file FitStrategy.cpp. References strategyMap. Referenced by SctFitter::Fitter::listFitStrategies(). |
|
pointer to the singleton.
Definition at line 95 of file FitStrategy.h. Referenced by instance(). |
|
a map of the sub-classes and their names
Definition at line 93 of file FitStrategy.h. Referenced by listStrategies(). |