source:
trunk/MagicSoft/MarsOctober/mbase/MTaskList.h@
8462
| Last change on this file since 8462 was 447, checked in by , 25 years ago | |
|---|---|
|
|
| File size: 657 bytes | |
| Line | |
|---|---|
| 1 | #ifndef MTASKLIST_H |
| 2 | #define MTASKLIST_H |
| 3 | |
| 4 | #include "Magic.h" |
| 5 | |
| 6 | #include <TOrdCollection.h> |
| 7 | |
| 8 | #include "MTask.h" |
| 9 | |
| 10 | class MParList; |
| 11 | class MInputStreamID; |
| 12 | |
| 13 | class MTaskList : public MTask |
| 14 | { |
| 15 | private: |
| 16 | TOrdCollection fTasks; // Container for the ordered list of different tasks |
| 17 | |
| 18 | MInputStreamID *fID; |
| 19 | |
| 20 | public: |
| 21 | MTaskList(); |
| 22 | |
| 23 | MTaskList(MTaskList &ts); |
| 24 | |
| 25 | Bool_t AddToList(MTask *task, const char *tType="All", MTask *where = NULL); |
| 26 | |
| 27 | Bool_t PreProcess(MParList *pList); |
| 28 | Bool_t Process(); |
| 29 | Bool_t PostProcess(); |
| 30 | |
| 31 | void Print(Option_t *t = NULL); |
| 32 | |
| 33 | ClassDef(MTaskList, 1) // Collection of tasks to be performed in the eventloop |
| 34 | }; |
| 35 | |
| 36 | #endif |
Note:
See TracBrowser
for help on using the repository browser.
