| 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 |  | 
|---|
| 17 | class MLog; | 
|---|
| 18 | class MFilter; | 
|---|
| 19 | class MTaskList; | 
|---|
| 20 | class MStatusDisplay; | 
|---|
| 21 |  | 
|---|
| 22 | class MContinue : public MTask | 
|---|
| 23 | { | 
|---|
| 24 | private: | 
|---|
| 25 | MTaskList *fTaskList;  //! pointer to the present tasklist | 
|---|
| 26 |  | 
|---|
| 27 | Int_t PreProcess(MParList *list); | 
|---|
| 28 | Int_t Process() { return kCONTINUE; } | 
|---|
| 29 | Int_t PostProcess(); | 
|---|
| 30 |  | 
|---|
| 31 | enum { kIsOwner = BIT(14), kFilterIsPrivate = BIT(15) }; | 
|---|
| 32 |  | 
|---|
| 33 | public: | 
|---|
| 34 | MContinue(const TString rule="", const char *name=NULL, const char *title=NULL); | 
|---|
| 35 | MContinue(MFilter *f, const char *name=NULL, const char *title=NULL); | 
|---|
| 36 | ~MContinue(); | 
|---|
| 37 |  | 
|---|
| 38 | void SetInverted(Bool_t i=kTRUE); | 
|---|
| 39 | Bool_t IsInverted() const; | 
|---|
| 40 |  | 
|---|
| 41 | void SetDisplay(MStatusDisplay *d); | 
|---|
| 42 | void SetLogStream(MLog *lg); | 
|---|
| 43 |  | 
|---|
| 44 | ClassDef(MContinue, 1) //Task returning kCONTINUE | 
|---|
| 45 | }; | 
|---|
| 46 |  | 
|---|
| 47 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.