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

SctCalibrationController::SequenceRequestWorker Class Reference

object created by CalibrationControllerImpl when a new sequence is requested. More...

#include <SequenceRequestWorker.h>

Collaboration diagram for SctCalibrationController::SequenceRequestWorker:

Collaboration graph
[legend]

Public Member Functions

 SequenceRequestWorker (CalibrationControllerImpl &c, shared_ptr< Ipc::SequenceRequest > r)
 constructor takes reference to its CalibrationControllerImpl parent and the SequenceRequest it is to follow.

void operator() ()
 Called by new thread. does not throw.

 ~SequenceRequestWorker ()
 does nothing.


Private Attributes

CalibrationControllerImplm_cc
 reference to it's `parent' CalibrationControllerImpl

shared_ptr< Ipc::SequenceRequestm_sr
 reference to the Sequence.


Detailed Description

object created by CalibrationControllerImpl when a new sequence is requested.

thread calls operator() () which

Definition at line 14 of file SequenceRequestWorker.h.


Constructor & Destructor Documentation

SctCalibrationController::SequenceRequestWorker::SequenceRequestWorker CalibrationControllerImpl c,
shared_ptr< Ipc::SequenceRequest r
[inline]
 

constructor takes reference to its CalibrationControllerImpl parent and the SequenceRequest it is to follow.

Definition at line 17 of file SequenceRequestWorker.h.

References m_cc, and m_sr.

SctCalibrationController::SequenceRequestWorker::~SequenceRequestWorker  )  [inline]
 

does nothing.

Definition at line 23 of file SequenceRequestWorker.h.


Member Function Documentation

void SctCalibrationController::SequenceRequestWorker::operator()  ) 
 

Called by new thread. does not throw.

Definition at line 7 of file SequenceRequestWorker.cpp.

References SctCalibrationController::CalibrationControllerImpl::executeSequence(), CalibrationControllerStatus::INCONTROL, m_cc, m_sr, Sct::Throwable::sendToMrs(), CalibrationControllerStatus::status, SctCalibrationController::CalibrationControllerImpl::status, and SctCalibrationController::CalibrationControllerImpl::updateStatus().

Here is the call graph for this function:


Field Documentation

CalibrationControllerImpl& SctCalibrationController::SequenceRequestWorker::m_cc [private]
 

reference to it's `parent' CalibrationControllerImpl

Definition at line 27 of file SequenceRequestWorker.h.

Referenced by operator()(), and SequenceRequestWorker().

shared_ptr<Ipc::SequenceRequest> SctCalibrationController::SequenceRequestWorker::m_sr [private]
 

reference to the Sequence.

Definition at line 29 of file SequenceRequestWorker.h.

Referenced by operator()(), and SequenceRequestWorker().


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