source: trunk/MagicSoft/Mars/mbase/MTask.h@ 861

Last change on this file since 861 was 858, checked in by tbretz, 23 years ago
*** empty log message ***
File size: 1.1 KB
Line 
1#ifndef MTASK_H
2#define MTASK_H
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MTask //
7// //
8// Abstract base class for a task //
9// //
10/////////////////////////////////////////////////////////////////////////////
11
12#ifndef MINPUTSTREAMID_H
13#include "MInputStreamID.h"
14#endif
15
16class MFilter;
17class MParList;
18
19class MTask : public MInputStreamID
20{
21private:
22 const MFilter *fFilter;
23
24public:
25 MTask() : fFilter(NULL) {}
26 ~MTask()
27 {
28 }
29
30 const MFilter *GetFilter() const { return fFilter; }
31 void SetFilter(const MFilter *filter) { fFilter=filter; }
32
33 virtual Bool_t PreProcess(MParList *pList);
34 virtual Bool_t Process();
35 virtual Bool_t PostProcess();
36
37 ClassDef(MTask, 0) //Abstract base class for a task
38};
39
40#endif
Note: See TracBrowser for help on using the repository browser.