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 QError & | JumpToEvent (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. | |
QEvent * | Process (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 |