GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4Status.h
Go to the documentation of this file.
1 // $Id: TGo4Status.h 2627 2019-10-01 08:02:45Z 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 
35  virtual Int_t PrintStatus(Text_t* buffer=0, Int_t buflen=0);
36 
37  virtual void Print(Option_t * dummy="") const;
38 
45  static Text_t* PrintIndent(Text_t* buffer, Int_t& buflen);
46 
54  static Text_t* PrintBuffer(char* buffer, Int_t& buflen, const char* text,...);
55 
56 
59  enum {
60  kGo4NoReset = BIT(20), // don't reset this object
61  kGo4CanDelete = BIT(21), // may delete this object
62  kGo4BackStoreReset = BIT(22) // set for tree that belongs to backstore
63  };
64 
65  ClassDef(TGo4Status,2)
66 };
67 
68 #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