#include <AnalysisWorkerGroup.h>
Inheritance diagram for SctAnalysis::AnalysisWorkerGroup:
Public Member Functions | |
void | addTest (shared_ptr< const TestData > testdata) |
Add a new TestData to the list of tests. | |
void | removeTestsUpTo (shared_ptr< const TestData > testdata) |
Remove a TestData object, and all older TestData's. | |
shared_ptr< TestAlgs > | findTest (const unsigned long runno, const unsigned long scanno) const throw () |
Look for a TestAlgs which matches a given run number and scan number. | |
shared_ptr< TestAlgs > | findTest (const TestData &testdata) const throw () |
Look for a TestAlgs which matches a given run number and scan number. | |
ostream & | printStatus (ostream &os) const throw () |
Prints the internal contents of its known tests to an output stream, and returns it. | |
void | purge () throw () |
Call this to free all memory, delete references to Tests in progress, and clear the queue. | |
virtual void | work (const std::string) throw () |
Private Attributes | |
list< shared_ptr< TestAlgs > > | m_tests |
List of the tests, and associated analysis algorithms. | |
boost::recursive_mutex | m_tests_access |
access to the list of algorithms |
Does the book-keeping of where to funnel incoming ScanResult objects.
Definition at line 22 of file AnalysisWorkerGroup.h.
|
Add a new TestData to the list of tests.
Definition at line 98 of file AnalysisWorkerGroup.cpp. References m_tests. Referenced by SctAnalysis::AnalysisService::testDataCallback(). |
|
Look for a TestAlgs which matches a given run number and scan number.
Definition at line 122 of file AnalysisWorkerGroup.cpp. |
|
Look for a TestAlgs which matches a given run number and scan number.
Definition at line 126 of file AnalysisWorkerGroup.cpp. References TestData::nScans, TestData::runNumber, and TestData::startScanNumber. Referenced by SctAnalysis::AnalysisService::testDataCallback(). |
|
Prints the internal contents of its known tests to an output stream, and returns it.
Definition at line 80 of file AnalysisWorkerGroup.cpp. References m_tests. |
|
Call this to free all memory, delete references to Tests in progress, and clear the queue.
Definition at line 146 of file AnalysisWorkerGroup.cpp. |
|
Remove a TestData object, and all older TestData's.
Definition at line 103 of file AnalysisWorkerGroup.cpp. References m_tests. Referenced by SctAnalysis::AnalysisService::testDataCallback(). |
|
Definition at line 163 of file AnalysisWorkerGroup.cpp. References Sct::IS::IONameIS::getClassName(), Sct::IS::IONameIS::getModuleName(), Sct::IS::IONameIS::getRunNumber(), and Sct::IS::IONameIS::getScanNumber(). |
|
List of the tests, and associated analysis algorithms.
Definition at line 113 of file AnalysisWorkerGroup.h. Referenced by addTest(), printStatus(), and removeTestsUpTo(). |
|
access to the list of algorithms
Definition at line 114 of file AnalysisWorkerGroup.h. |