Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

CResumeCommand Class Reference

#include <CResumeCommand.h>

Inheritance diagram for CResumeCommand:

CStateTransitionCommand List of all members.

Public Methods

 CResumeCommand ()
 Default constructor.

 ~CResumeCommand ()
 Destructor.


Protected Methods

virtual int operator() (CTCLInterpreter &rInterp, CTCLResult &rResult, int argc, char **argv)
virtual int ExecutePreFunction ()
virtual int ExecutePostFunction ()

Private Methods

 CResumeCommand (const CResumeCommand &rhs)
 Copy constructor.

CResumeCommand & operator= (const CResumeCommand &rhs)
 Assignment.

int operator== (const CResumeCommand &rhs) const
 Comparison for equality.

int operator!= (const CResumeCommand &rhs) const
void Usage (CTCLResult &rResult)

Constructor & Destructor Documentation

CResumeCommand::CResumeCommand  
 

Default constructor.

Default constructor. This is called when declarations of the form e.g.:

  • CResumeCommand object; are performed.

Definition at line 294 of file CResumeCommand.cpp.

CResumeCommand::~CResumeCommand   [inline]
 

Destructor.

Definition at line 303 of file CResumeCommand.h.

CResumeCommand::CResumeCommand const CResumeCommand &    rhs [private]
 

Copy constructor.


Member Function Documentation

int CResumeCommand::ExecutePostFunction   [protected, virtual]
 

Invokes the Post Resume script.

Parameters:

Implements CStateTransitionCommand.

Definition at line 370 of file CResumeCommand.cpp.

int CResumeCommand::ExecutePreFunction   [protected, virtual]
 

Invokes the pre resume script.

Parameters:

Implements CStateTransitionCommand.

Definition at line 358 of file CResumeCommand.cpp.

int CResumeCommand::operator!= const CResumeCommand &    rhs const [private]
 

int CResumeCommand::operator() CTCLInterpreter &    rInterp,
CTCLResult &    rResult,
int    argc,
char **    argv
[protected, virtual]
 

Resumes a run. The run must already be paused. two threads are relevant the Interpreter thread , and the trigger thread not active now..

  • In this thread context, the PreResume script is invoked. Errors from this script abort the resume.
In this thread, the Resume buffer is emitted.
  • In this thread, the C++ electronics setup functions are called.
  • In this thread, the PostResume script is invoked.
  • In this thread, the trigger thread is activated.
Parameters:
CTCLInterpreter&  rInterp, CTCLResult& rResult, int argc, char** argv

Definition at line 322 of file CResumeCommand.cpp.

References CReadoutMain::getExperiment(), CReadoutMain::getInstance(), CReadoutMain::getRunState(), CRunState::Resume(), CExperiment::Start(), and Usage().

CResumeCommand& CResumeCommand::operator= const CResumeCommand &    rhs [private]
 

Assignment.

int CResumeCommand::operator== const CResumeCommand &    rhs const [private]
 

Comparison for equality.

void CResumeCommand::Usage CTCLResult &    rResult [private]
 

Displays command usage:

Parameters:
rResult  - CTCLResult& [in] Reference to the result string.

Definition at line 381 of file CResumeCommand.cpp.

Referenced by operator()().


The documentation for this class was generated from the following files:
Generated on Fri Nov 8 13:37:21 2002 for Event Readout system. by doxygen1.2.16