#include <FitterWorkerGroup.h>
Inheritance diagram for SctFitter::FitterWorkerGroup:
Public Member Functions | |
FitterWorkerGroup () | |
initialise the number of calls and waits to 0; | |
virtual | ~FitterWorkerGroup () |
destructor | |
void | printTests (std::ostream &os) const |
print list of tests | |
void | setDebug (bool value) |
set debug flag | |
bool | debug () const |
get debug flag | |
Private Member Functions | |
virtual void | work (string name) throw () |
Does the fitting. | |
virtual shared_ptr< const TestData > | findTestData (unsigned long run, unsigned long scan) |
virtual void | addTestData (boost::shared_ptr< const TestData > td) |
Private Attributes | |
volatile int | m_calls |
number of times this worker has been called to work. | |
std::list< boost::shared_ptr< const TestData > > | m_tests |
list of tests | |
boost::recursive_mutex | m_testAccess |
bool | m_debug |
The fitting is done in the work() method.
Definition at line 21 of file FitterWorkerGroup.h.
|
initialise the number of calls and waits to 0;
Definition at line 34 of file FitterWorkerGroup.cpp. |
|
destructor
Definition at line 36 of file FitterWorkerGroup.cpp. |
|
get debug flag
Definition at line 141 of file FitterWorkerGroup.cpp. Referenced by SctFitter::Fitter::debug(). |
|
print list of tests
Definition at line 163 of file FitterWorkerGroup.cpp. References m_tests. |
|
set debug flag
Definition at line 136 of file FitterWorkerGroup.cpp. Referenced by SctFitter::Fitter::setDebug(). |
|
Does the fitting. First gets the appropriate FitAlgorithm, then does the fit, then publishes the result. Handles its own exceptions, sending messages to MRS. Definition at line 38 of file FitterWorkerGroup.cpp. References SctFitter::FitAlgorithm::doFit(), Sct::SctNames::getISDictionary(), and Sct::AbstractThrowable::sendToMrs(). |
Here is the call graph for this function:
|
number of times this worker has been called to work.
Definition at line 44 of file FitterWorkerGroup.h. |
|
list of tests
Definition at line 54 of file FitterWorkerGroup.h. Referenced by printTests(). |