GSI Object Oriented Online Offline (Go4) GO4-6.4.0
Loading...
Searching...
No Matches
TGo4DynamicEntry.h
Go to the documentation of this file.
1// $Id$
2//-----------------------------------------------------------------------
3// The GSI Online Offline Object Oriented (Go4) Project
4// Experiment Data Processing at EE department, GSI
5//-----------------------------------------------------------------------
6// Copyright (C) 2000- GSI Helmholtzzentrum fuer Schwerionenforschung GmbH
7// Planckstr. 1, 64291 Darmstadt, Germany
8// Contact: http://go4.gsi.de
9//-----------------------------------------------------------------------
10// This software can be used under the license agreements as stated
11// in Go4License.txt file which is part of the distribution.
12//-----------------------------------------------------------------------
13
14#ifndef TGO4DYNAMICENTRY_H
15#define TGO4DYNAMICENTRY_H
16
17#include "TNamed.h"
18
26
27class TGo4DynamicEntry : public TNamed {
28
29 public:
30
33
34 TGo4DynamicEntry(const char *name, const char *title = "This is a Go4 dynamic entry");
35
36 virtual ~TGo4DynamicEntry();
37
39 void EnableProcessing(Bool_t on = kTRUE) { fbProcessEntry = on; }
40 Bool_t IsEnabledProcessing() const { return fbProcessEntry; }
41
43 virtual void Reset() {}
44
45 protected:
46
49 Bool_t fbProcessEntry{kFALSE};
50
51 ClassDefOverride(TGo4DynamicEntry,3)
52};
53
54#endif //TGO4DYNAMICENTRY_H
ABC for all entries that can be kept in a dynamic list.
virtual void Reset()
Resets this entry to an initial status.
Bool_t fbProcessEntry
True if object shall be processed by main event loop automatically.
void EnableProcessing(Bool_t on=kTRUE)
Switch the autoprocessing state of this entry.
TGo4DynamicEntry()
default ctor for streamer.
Bool_t IsEnabledProcessing() const