Main Page   Modules   Namespace List   Class Hierarchy   Data Structures   File List   Namespace Members   Data Fields   Globals   Related Pages  

SctFitter::FitterWorkerGroup Class Reference

Represents a Worker thread which does the fitting. More...

#include <FitterWorkerGroup.h>

Inheritance diagram for SctFitter::FitterWorkerGroup:

SctService::WorkerGroup< T > noncopyable

Public Member Functions

 FitterWorkerGroup ()
 initialise the number of calls and waits to 0;

virtual ~FitterWorkerGroup ()
 destructor


Private Member Functions

virtual void work (shared_ptr< const RawScanResult >) throw ()
 Does the fitting.


Private Attributes

int m_calls
 number of times this worker has been called to work.


Detailed Description

Represents a Worker thread which does the fitting.

The fitting is done in the work() method.

Definition at line 19 of file FitterWorkerGroup.h.


Constructor & Destructor Documentation

SctFitter::FitterWorkerGroup::FitterWorkerGroup   [inline]
 

initialise the number of calls and waits to 0;

Definition at line 22 of file FitterWorkerGroup.h.

References m_calls.

virtual SctFitter::FitterWorkerGroup::~FitterWorkerGroup   [inline, virtual]
 

destructor

Definition at line 25 of file FitterWorkerGroup.h.


Member Function Documentation

void SctFitter::FitterWorkerGroup::work shared_ptr< const RawScanResult >    throw () [private, virtual]
 

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 23 of file FitterWorkerGroup.cpp.

References SctFitter::FitAlgorithm::doFit(), Sct::ISProxy::IOManagerISProxy::instance(), and Sct::timer().


Field Documentation

int SctFitter::FitterWorkerGroup::m_calls [private]
 

number of times this worker has been called to work.

Definition at line 34 of file FitterWorkerGroup.h.

Referenced by FitterWorkerGroup().


The documentation for this class was generated from the following files:
Generated on Mon Dec 15 19:38:03 2003 for SCT DAQ/DCS Software by doxygen1.3-rc3