GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Gw::LoopOnTasks Class Reference

To start a loop on tasks. More...

#include <Watchers.h>

Inherits TTask.

Public Member Functions

virtual void Abort ()
 Abort looping if started. More...
 
virtual void Continue ()
 to remove them from the menu More...
 
virtual void Exec (Option_t *option)
 the main loop More...
 
virtual void ExecuteTask (Option_t *option="l")
 
 LoopOnTasks (TDirectory *dir_watchers, TDirectory *dir_tag)
 
virtual void SetActive (Bool_t active=kTRUE)
 To set this active/inactive. More...
 
virtual void SetBreakin (Int_t=1)
 
virtual void SetBreakout (Int_t=1)
 
virtual ~LoopOnTasks ()
 

Detailed Description

To start a loop on tasks.

By default in root TTask are executed once when ExecuteTask is called. This task starts an infinite loop if the option l is given. The infinit loop can be stopped by calling Abort

To know if the loop is running, just pass in the browser on it and in the tooltip you will see [ON] or [OFF] depending on the status.

Author
Olivier Stezowski

Definition at line 551 of file Watchers.h.


The documentation for this class was generated from the following files: