source: trunk/MagicSoft/Mars/mbase/MContinue.h@ 2041

Last change on this file since 2041 was 1938, checked in by tbretz, 22 years ago
*** empty log message ***
File size: 1.3 KB
Line 
1#ifndef MARS_MContinue
2#define MARS_MContinue
3
4/////////////////////////////////////////////////////////////////////////////
5// //
6// MContinue //
7// //
8// Does nothing than return kCONTINUE in the Process-fucntion //
9// (use with filters) //
10// //
11/////////////////////////////////////////////////////////////////////////////
12
13#ifndef MARS_MTask
14#include "MTask.h"
15#endif
16
17class MFilter;
18class MTaskList;
19
20class MContinue : public MTask
21{
22private:
23 MTaskList *fTaskList; //! pointer to the present tasklist
24
25 Bool_t PreProcess(MParList *list);
26 Bool_t Process() { return kCONTINUE; }
27 Bool_t PostProcess();
28
29 enum { kIsOwner = BIT(14), kFilterIsPrivate = BIT(15) };
30
31public:
32 MContinue(const TString rule="", const char *name=NULL, const char *title=NULL);
33 MContinue(MFilter *f, const char *name=NULL, const char *title=NULL);
34 ~MContinue();
35
36 void SetInverted(Bool_t i=kTRUE);
37 Bool_t IsInverted() const;
38
39 ClassDef(MContinue, 1) //Task returning kCONTINUE
40};
41
42#endif
Note: See TracBrowser for help on using the repository browser.