85 TTask *TTask::fgBeginTask = 0;
86 TTask *TTask::fgBreakPoint = 0;
174 printf(
" Nothing to abort: No task currently running\n");
229 printf(
" No task to continue\n");
314 std::cout<<
"Execute task:"<<task->
GetName()<<
" : "<<task->
GetTitle()<<std::endl;
347 while ((obj = (
TObject *) nextobj())) {
virtual const char * GetTitle() const
Returns title of object.
static Int_t DecreaseDirLevel()
Decrease the indentation level for ls().
virtual void Delete(Option_t *option="")
Remove all objects from the list AND delete all heap based objects.
TTask & operator=(const TTask &tt)
Assignment operator.
virtual void ExecuteTask(Option_t *option="0")
Execute main task and its subtasks.
ClassImp(TSeqCollection) Int_t TSeqCollection TIter next(this)
Return index of object in collection.
virtual void Clear(Option_t *option="")
Recursively call the Clear function of this task and its subtasks.
TTask is a base class that can be used to build a complex tree of Tasks.
static TTask * fgBeginTask
Regular expression class.
ClassImp(TTask) TTask
Default constructor invoked when reading a TTask object from a file.
const char * Data() const
virtual void ls(Option_t *option="") const
The ls function lists the contents of a class on stdout.
The TNamed class is the base class for all named ROOT classes.
virtual void Error(const char *method, const char *msgfmt,...) const
Issue error message.
virtual void Exec(Option_t *option)
Dummy Execute.
Using a TBrowser one can browse all ROOT objects.
TNamed & operator=(const TNamed &rhs)
TNamed assignment operator.
virtual void Continue()
Resume execution at the current break point.
virtual const char * GetName() const
Returns name of object.
TSubString Strip(EStripType s=kTrailing, char c= ' ') const
Return a substring of self stripped at beginning and/or end.
virtual void ls(Option_t *option="*") const
List the tree of tasks.
virtual const char * GetName() const
Returns name of object.
virtual ~TTask()
Delete a task and its subtasks.
ClassImp(TMCParticle) void TMCParticle printf(": p=(%7.3f,%7.3f,%9.3f) ;", fPx, fPy, fPz)
virtual void Browse(TBrowser *b)
Browse the list of tasks.
void Browse(TBrowser *b)
Browse this collection (called by TBrowser).
virtual void Abort()
Abort current tree of tasks.
virtual void ExecuteTasks(Option_t *option)
Execute all the subtasks of a task.
Mother of all ROOT objects.
static Int_t IncreaseDirLevel()
Increase the indentation level for ls().
virtual void Add(TObject *obj)
virtual void CleanTasks()
Reset tasks state: breakpoints and execute flags also invokes the Clear function of each task to clea...
static TTask * fgBreakPoint
static void IndentLevel()
Functions used by ls() to indent an object hierarchy.
Ssiz_t Index(const char *pat, Ssiz_t i=0, ECaseCompare cmp=kExact) const