#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();. | |
Static Public Member Functions | |
FitStrategyFactory & | instance () throw () |
a reference to the singleton | |
Data Fields | |
std::map< string, FitStrategy * > | strategyMap |
a map of the sub-classes and their names | |
Private Member Functions | |
~FitStrategyFactory () throw () | |
singleton | |
Static Private Attributes | |
FitStrategyFactory * | bertha |
pointer to the singleton. |
Definition at line 68 of file FitStrategy.h.
|
singleton
Definition at line 83 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. |
|
a reference to the singleton
Definition at line 25 of file FitStrategy.cpp. |
|
pointer to the singleton.
Definition at line 47 of file FitStrategy.cpp. |
|
a map of the sub-classes and their names
Definition at line 81 of file FitStrategy.h. |