| Line | |
|---|
| 1 | #ifndef MTASKLIST_H
|
|---|
| 2 | #define MTASKLIST_H
|
|---|
| 3 |
|
|---|
| 4 | ///////////////////////////////////////////////////////////////////////
|
|---|
| 5 | // //
|
|---|
| 6 | // MTaskList //
|
|---|
| 7 | // //
|
|---|
| 8 | // Collection of tasks to be processed in the eventloop //
|
|---|
| 9 | // //
|
|---|
| 10 | ///////////////////////////////////////////////////////////////////////
|
|---|
| 11 |
|
|---|
| 12 | #ifndef ROOT_TOrdCollection
|
|---|
| 13 | #include <TOrdCollection.h>
|
|---|
| 14 | #endif
|
|---|
| 15 | #ifndef MTASK_H
|
|---|
| 16 | #include "MTask.h"
|
|---|
| 17 | #endif
|
|---|
| 18 |
|
|---|
| 19 | class MLog;
|
|---|
| 20 | class MParList;
|
|---|
| 21 | class MInputStreamID;
|
|---|
| 22 |
|
|---|
| 23 | class MTaskList : public MTask
|
|---|
| 24 | {
|
|---|
| 25 | private:
|
|---|
| 26 | TOrdCollection fTasks; // Container for the ordered list of different tasks
|
|---|
| 27 | MParList *fParList;
|
|---|
| 28 |
|
|---|
| 29 | public:
|
|---|
| 30 | MTaskList(const char *name=NULL, const char *title=NULL);
|
|---|
| 31 |
|
|---|
| 32 | MTaskList(MTaskList &ts);
|
|---|
| 33 |
|
|---|
| 34 | void SetLogStream(MLog *log);
|
|---|
| 35 |
|
|---|
| 36 | Bool_t AddToList(MTask *task, const char *tType="All", MTask *where = NULL);
|
|---|
| 37 |
|
|---|
| 38 | Bool_t PreProcess(MParList *pList);
|
|---|
| 39 | Bool_t Process();
|
|---|
| 40 | Bool_t PostProcess();
|
|---|
| 41 |
|
|---|
| 42 | void Print(Option_t *opt = "");
|
|---|
| 43 |
|
|---|
| 44 | ClassDef(MTaskList, 0) //collection of tasks to be performed in the eventloop
|
|---|
| 45 | };
|
|---|
| 46 |
|
|---|
| 47 | #endif
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.