#include <AnalysisWorkerGroup.h>
Public Member Functions | |
TestAlgs (shared_ptr< const TestData > testdata) | |
constructor takes a Test object. | |
const TestData & | getTest () const |
Get the TestData object. | |
shared_ptr< AnalysisAlgorithm > | findAlgorithm (const string &modulename) |
Get the AnalysisAlgorithm for a particular module name. | |
shared_ptr< AnalysisAlgorithm > | addAlgorithm (const string &modulename) |
Add a test result for a new module name. | |
void | removeAlgorithm (shared_ptr< AnalysisAlgorithm > alg) |
Removes an algorithm from the map. | |
~TestAlgs () | |
Destructor gets the lock before destroying the internals. | |
ostream & | printStatus (ostream &os) const throw () |
Print the contents of this testalgs. | |
Private Attributes | |
shared_ptr< const TestData > | m_testdata |
the TestData itself. | |
list< shared_ptr< AnalysisAlgorithm > > | m_algorithms |
the AnalysisAlgorithms for each of the modules in the test. | |
boost::recursive_mutex | m_access |
lock results |
Associates these with a lockable mutex.
Definition at line 74 of file AnalysisWorkerGroup.h.
|
constructor takes a Test object. Also works out what sort of test it is and Definition at line 77 of file AnalysisWorkerGroup.h. References m_testdata. |
|
Destructor gets the lock before destroying the internals.
Definition at line 17 of file AnalysisWorkerGroup.cpp. References m_algorithms. |
|
Add a test result for a new module name.
Definition at line 68 of file AnalysisWorkerGroup.cpp. References getTest(), and m_algorithms. Referenced by findAlgorithm(). |
|
Get the AnalysisAlgorithm for a particular module name.
Definition at line 51 of file AnalysisWorkerGroup.cpp. References addAlgorithm(), and m_algorithms. |
|
Get the TestData object.
Definition at line 79 of file AnalysisWorkerGroup.h. References m_testdata. Referenced by addAlgorithm(). |
|
Print the contents of this testalgs.
Definition at line 35 of file AnalysisWorkerGroup.cpp. |
|
Removes an algorithm from the map.
Definition at line 26 of file AnalysisWorkerGroup.cpp. References m_algorithms. |
|
lock results
Definition at line 109 of file AnalysisWorkerGroup.h. |
|
the AnalysisAlgorithms for each of the modules in the test.
Definition at line 108 of file AnalysisWorkerGroup.h. Referenced by addAlgorithm(), findAlgorithm(), removeAlgorithm(), and ~TestAlgs(). |
|
the TestData itself.
Definition at line 107 of file AnalysisWorkerGroup.h. Referenced by getTest(), and TestAlgs(). |