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

SctFitter::FitterWorkerGroup Class Reference

Represents a group of worker threads which does the fitting. More...

#include <FitterWorkerGroup.h>

Inheritance diagram for SctFitter::FitterWorkerGroup:

Inheritance graph
[legend]
Collaboration diagram for SctFitter::FitterWorkerGroup:

Collaboration graph
[legend]

Public Member Functions

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

virtual ~FitterWorkerGroup ()
 destructor


Private Member Functions

virtual void work (string name) throw ()
 Does the fitting.


Private Attributes

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


Detailed Description

Represents a group of worker threads which does the fitting.

The fitting is done in the work() method.

Definition at line 17 of file FitterWorkerGroup.h.


Constructor & Destructor Documentation

SctFitter::FitterWorkerGroup::FitterWorkerGroup  )  [inline]
 

initialise the number of calls and waits to 0;

Definition at line 20 of file FitterWorkerGroup.h.

References m_calls.

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

destructor

Definition at line 23 of file FitterWorkerGroup.h.


Member Function Documentation

void SctFitter::FitterWorkerGroup::work string  name  )  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 27 of file FitterWorkerGroup.cpp.

References SctFitter::FitAlgorithm::doFit(), and Sct::AbstractThrowable::sendToMrs().

Here is the call graph for this function:


Field Documentation

int SctFitter::FitterWorkerGroup::m_calls [private]
 

number of times this worker has been called to work.

Definition at line 32 of file FitterWorkerGroup.h.

Referenced by FitterWorkerGroup().


The documentation for this class was generated from the following files:
Generated on Thu Jul 15 09:53:59 2004 for SCT DAQ/DCS Software - C++ by doxygen 1.3.5