#include <AnalysisAlgorithmMap.h>
Public Member Functions | |
shared_ptr< AnalysisAlgorithm > | getAlgorithm (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. | |
Static Public Member Functions | |
AnalysisAlgorithmMap & | instance () |
Get the singleton instance. | |
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. References Sct::AbstractThrowable::clone(), Sct::InvalidArgument, and Sct::AbstractThrowable::setSeverity(). |
Here is the call graph for this function:
|
Gets the status for all test types.
Definition at line 38 of file AnalysisAlgorithmMap.cpp. References algMap. |
|
Gets a status string for a given type of test.
Definition at line 31 of file AnalysisAlgorithmMap.cpp. References algMap. |
|
Get the singleton instance.
Definition at line 12 of file AnalysisAlgorithmMap.cpp. References instance(). Referenced by instance(). |
Here is the call graph for this function:
|
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 26 of file AnalysisAlgorithmMap.cpp. |
|
The map.
Definition at line 67 of file AnalysisAlgorithmMap.h. Referenced by getAllStatus(), and getStatus(). |