SctCalibrationController::RunControl Class Reference

Collaboration diagram for SctCalibrationController::RunControl:

Collaboration graph
[legend]

Public Types

enum  ErrorState { SCTAPI_ACCESS_FAILURE }

Public Member Functions

virtual bool resetAction ()
virtual bool loadAction ()
 Get hold of SctApi and pass it to the CalibrationController.
virtual bool prepareAction ()
 AJB was startAction.
virtual bool stopEFAction ()
 was exitRunning
virtual bool unloadAction ()
virtual bool configureAction ()
void sctApiError (const string &reason)
 Call this to indicate an error accessing the api.

Static Public Member Functions

static RunControlinstance ()

Static Public Attributes

static const int defaultRunNumber

Private Member Functions

int getRunNumber ()
std::string getRunType () const
bool sendRunTypeToSctApi () const
 RunControl ()

Private Attributes

CalibrationControllerImplcc
Sct_SctApi::SctApiIPC_var api
boost::shared_ptr< ISInfoDictionary > m_isInfoDictionary

Detailed Description

Definition at line 20 of file CalibrationController/src/RunController.h.


Member Function Documentation

bool SctCalibrationController::RunControl::loadAction  )  [virtual]
 

Get hold of SctApi and pass it to the CalibrationController.

Definition at line 171 of file RunController.cpp.

References api, cc, SctConfiguration::ConfigIPC::loadConfiguration(), m_isInfoDictionary, Sct::Throwable::sendToMrs(), SctCalibrationController::CalibrationControllerImpl::setApi(), and Sct::StringStreamer.

Here is the call graph for this function:

bool SctCalibrationController::RunControl::prepareAction  )  [virtual]
 

AJB was startAction.

Definition at line 294 of file RunController.cpp.

References cc, sendRunTypeToSctApi(), Sct::AbstractThrowable::sendToMrs(), and SctCalibrationController::CalibrationControllerImpl::takeControl().

Here is the call graph for this function:

void SctCalibrationController::RunControl::sctApiError const string &  reason  ) 
 

Call this to indicate an error accessing the api.

Definition at line 353 of file RunController.cpp.

References cc, and SctCalibrationController::CalibrationControllerImpl::giveupControl().

Referenced by SctCalibrationController::CalibrationControllerImpl::sctApiError().

Here is the call graph for this function:

bool SctCalibrationController::RunControl::stopEFAction  )  [virtual]
 

was exitRunning

Definition at line 327 of file RunController.cpp.

References cc, and SctCalibrationController::CalibrationControllerImpl::giveupControl().

Here is the call graph for this function:


The documentation for this class was generated from the following files:
Generated on Mon Feb 6 14:05:34 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6