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