#include <AnalysisWorkerGroup.h>
Inheritance diagram for SctAnalysis::AnalysisWorkerGroup:
Public Member Functions | |
AnalysisWorkerGroup () | |
constructor | |
~AnalysisWorkerGroup () | |
destructor | |
bool | debug () |
debug checking method. | |
void | addTest (shared_ptr< const TestData > testdata) |
Add a new TestData to the list of tests. | |
void | replaceTest (shared_ptr< const TestData > testdata) |
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. | |
std::ostream & | printStatus (std::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 (shared_ptr< Sct::IOName > name) 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 | |
bool | m_debug |
Data Structures | |
class | TestAlgs |
keeps a test and its results together. More... |
Does the book-keeping of where to funnel incoming ScanResult objects.
Definition at line 27 of file AnalysisWorkerGroup.h.
|
constructor
Definition at line 147 of file AnalysisWorkerGroup.cpp. |
|
destructor
Definition at line 150 of file AnalysisWorkerGroup.cpp. |
|
Add a new TestData to the list of tests.
Definition at line 187 of file AnalysisWorkerGroup.cpp. References findTest(), m_tests, m_tests_access, and replaceTest(). Referenced by replaceTest(), and SctAnalysis::AnalysisService::testDataCallback(). Here is the call graph for this function: ![]() |
|
debug checking method.
Definition at line 153 of file AnalysisWorkerGroup.cpp. References m_debug. |
|
Look for a TestAlgs which matches a given run number and scan number.
Definition at line 220 of file AnalysisWorkerGroup.cpp. |
|
Look for a TestAlgs which matches a given run number and scan number.
Definition at line 237 of file AnalysisWorkerGroup.cpp. Referenced by addTest(), and replaceTest(). |
|
Prints the internal contents of its known tests to an output stream, and returns it.
Referenced by SctAnalysis::AnalysisService::status(). |
|
Call this to free all memory, delete references to Tests in progress, and clear the queue.
Definition at line 258 of file AnalysisWorkerGroup.cpp. References m_tests, m_tests_access, SctService::WorkerGroup< shared_ptr< Sct::IOName > >::nWorkers(), SctService::WorkerGroup< shared_ptr< Sct::IOName > >::paused(), SctService::WorkerGroup< shared_ptr< Sct::IOName > >::pop(), and SctService::WorkerGroup< shared_ptr< Sct::IOName > >::setPaused(). Referenced by SctAnalysis::AnalysisService::purge(). Here is the call graph for this function: ![]() |
|
Remove a TestData object, and all older TestData's.
Definition at line 199 of file AnalysisWorkerGroup.cpp. References m_tests, and m_tests_access. Referenced by SctAnalysis::AnalysisService::testDataCallback(). |
|
|
|
List of the tests, and associated analysis algorithms.
Definition at line 144 of file AnalysisWorkerGroup.h. Referenced by addTest(), purge(), and removeTestsUpTo(). |
|
access to the list of algorithms
Definition at line 145 of file AnalysisWorkerGroup.h. Referenced by addTest(), purge(), removeTestsUpTo(), and replaceTest(). |