#ifndef ROOT_TTask
#define ROOT_TTask
#ifndef ROOT_TNamed
#include "TNamed.h"
#endif
#ifndef ROOT_TList
#include "TList.h"
#endif
class TBrowser;
class TTask : public TNamed {
protected:
TList *fTasks;
TString fOption;
Int_t fBreakin;
Int_t fBreakout;
Bool_t fHasExecuted;
Bool_t fActive;
static TTask *fgBeginTask;
static TTask *fgBreakPoint;
TTask& operator=(const TTask& tt);
public:
TTask();
TTask(const char* name, const char *title);
TTask(const TTask &task);
virtual ~TTask();
virtual void Abort();
virtual void Add(TTask *task) {fTasks->Add(task);}
virtual void Browse(TBrowser *b);
virtual void CleanTasks();
virtual void Clear(Option_t *option="");
virtual void Continue();
virtual void Exec(Option_t *option);
virtual void ExecuteTask(Option_t *option="0");
virtual void ExecuteTasks(Option_t *option);
Int_t GetBreakin() const { return fBreakin; }
Int_t GetBreakout() const { return fBreakout; }
Bool_t IsActive() const { return fActive; }
Bool_t IsFolder() const { return kTRUE; }
virtual void ls(Option_t *option="*") const;
void SetActive(Bool_t active=kTRUE) { fActive = active; }
void SetBreakin(Int_t breakin=1) { fBreakin = breakin; }
void SetBreakout(Int_t breakout=1) { fBreakout = breakout; }
TList *GetListOfTasks() const { return fTasks; }
ClassDef(TTask,1)
};
#endif
Last change: Wed Jun 25 08:54:11 2008
Last generated: 2008-06-25 08:54
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.