GSI Object Oriented Online Offline (Go4)  GO4-6.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4Status.h
Go to the documentation of this file.
1 // $Id: TGo4Status.h 3431 2022-01-10 12:00:52Z linev $
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 TGO4STATUS_H
15 #define TGO4STATUS_H
16 
17 #include "TNamed.h"
18 
19 class TGo4Status : public TNamed {
20  public:
21 
22  TGo4Status();
23 
24  TGo4Status(const char* name);
25 
26  TGo4Status(const char* name, const char* title);
27 
28  virtual ~TGo4Status();
29 
33  virtual Int_t PrintStatus(Text_t* buffer=0, Int_t buflen=0);
34 
35  virtual void Print(Option_t * dummy="") const;
36 
42  static Text_t* PrintIndent(Text_t* buffer, Int_t& buflen);
43 
50  static Text_t* PrintBuffer(char* buffer, Int_t& buflen, const char* text,...);
51 
54  enum {
55  kGo4NoReset = BIT(20), // don't reset this object
56  kGo4CanDelete = BIT(21), // may delete this object
57  kGo4BackStoreReset = BIT(22) // set for tree that belongs to backstore
58  };
59 
60  ClassDef(TGo4Status,2)
61 };
62 
63 #endif //TGO4STATUS_H
virtual void Print(Option_t *dummy="") const
Definition: TGo4Status.cxx:46
virtual Int_t PrintStatus(Text_t *buffer=0, Int_t buflen=0)
Definition: TGo4Status.cxx:53
static Text_t * PrintIndent(Text_t *buffer, Int_t &buflen)
Definition: TGo4Status.cxx:72
static Text_t * PrintBuffer(char *buffer, Int_t &buflen, const char *text,...)
Definition: TGo4Status.cxx:84
virtual ~TGo4Status()
Definition: TGo4Status.cxx:41