#include <AnalysisAlgorithmMap.h>
Public Member Functions | |
shared_ptr< AnalysisAlgorithm > | getAlgorithm (shared_ptr< const TestData > testData, const string &moduleName) const throw (Sct::InvalidArgument) |
bool | setAlgorithm (const string testName, auto_ptr< AnalysisAlgorithm > alg) throw () |
Sets the algorithm for a given Test name. | |
string | getStatus (string testName) |
Gets a status string for a given type of test. | |
string | getAllStatus () |
Gets the status for all test types. | |
std::list< std::string > | listAlgorithms () |
get a list of the names of all algorithms. | |
Static Public Member Functions | |
static AnalysisAlgorithmMap & | instance () |
Get the singleton instance. | |
Private Member Functions | |
AnalysisAlgorithmMap () | |
Private Attributes | |
map< string, shared_ptr< AnalysisAlgorithm > > | algMap |
The map. |
It is currently done using the Test name.
Definition at line 27 of file AnalysisAlgorithmMap.h.
|
Definition at line 17 of file AnalysisAlgorithmMap.cpp. Referenced by SctAnalysis::AnalysisWorkerGroup::TestAlgs::addAlgorithm(). |
|
Gets the status for all test types.
Definition at line 51 of file AnalysisAlgorithmMap.cpp. References algMap. Referenced by SctAnalysis::AnalysisService::status(). |
|
Gets a status string for a given type of test.
Definition at line 44 of file AnalysisAlgorithmMap.cpp. References algMap. |
|
Get the singleton instance.
Definition at line 12 of file AnalysisAlgorithmMap.cpp. References AnalysisAlgorithmMap(). Referenced by SctAnalysis::AnalysisWorkerGroup::TestAlgs::addAlgorithm(), SctAnalysis::AnalysisService::listAlgorithms(), and SctAnalysis::AnalysisService::status(). Here is the call graph for this function: ![]() |
|
get a list of the names of all algorithms. These can be used in TestRequest s. Definition at line 59 of file AnalysisAlgorithmMap.cpp. References algMap. Referenced by SctAnalysis::AnalysisService::listAlgorithms(). |
|
Sets the algorithm for a given Test name. May only be called prior to multi-threading! I.e. at static initialization time.
Definition at line 38 of file AnalysisAlgorithmMap.cpp. |
|
The map.
Definition at line 70 of file AnalysisAlgorithmMap.h. Referenced by getAllStatus(), getStatus(), and listAlgorithms(). |