QDriver Class Reference

Inheritance diagram for QDriver:

QBaseModule MGuiDriver MTestDriver MWPSlowController List of all members.

Detailed Description

Pure abstract class that every Diana driver should inherit from.

Author:
M. Pallavicini, M. Vignati


Public Member Functions

 QDriver (const std::string &, QSequence *s)
bool StopRun ()
void SetModulesList (const std::vector< QBaseModule * > &modList)
const std::vector< QBaseModule * > & GetModulesList () const

Protected Types

enum  ActionId {
  ACT_NONE, ACT_NEXTEV, ACT_PREVEV, ACT_GOTOEV,
  ACT_RERUN, ACT_QUIT
}

Protected Member Functions

std::map< std::string, QVdt * > GetModuleParameters (const std::string &mod, int occ)
const QErrorJumpToEvent (unsigned int event)
 next iteration diana will jump to event
virtual Action Init ()=0
 Init method is called before event loop.
virtual Action Do (QEvent *ev)=0
 Doit method is called for each event, getting the event as argument.
virtual Action Done ()=0
 Done method is called after event loop.

Private Member Functions

void Begin ()
 Begin method is called before event loop.
QEventProcess (QEvent *ev)
 Process method is called for each event, getting the event as argument.
void End ()
 End method is called after event loop.
void HandleAction (Action action)

Private Attributes

Action fLastAction
bool fStopRun
int fCurrentEventNumber
std::vector< QBaseModule * > fModules

Classes

class  Action


The documentation for this class was generated from the following files:
Generated on Fri Mar 6 13:40:42 2009 for CUORE Software by  doxygen 1.5.1