GSI Object Oriented Online Offline (Go4)  GO4-6.1.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4ObjectStatus.h
Go to the documentation of this file.
1 // $Id: TGo4ObjectStatus.h 2738 2020-04-15 20:35:25Z 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 TGO4OBJECTSTATUS_H
15 #define TGO4OBJECTSTATUS_H
16 
17 #include "TGo4Status.h"
18 
27 class TGo4ObjectStatus : public TGo4Status {
28  public:
29 
32 
36  TGo4ObjectStatus(TObject* object, Bool_t withtime=kTRUE);
37 
38  virtual ~TGo4ObjectStatus();
39 
41  const char* GetObjectClass() const { return fxObjectClass.Data(); }
42 
44  Int_t GetObjectSize() const { return fiObjectSize; }
45 
47  Bool_t IsResetProtect() const { return fbResetProtect; }
48 
50  Bool_t IsDeleteProtect() const { return fbDeleteProtect; }
51 
53  const char* GetTimeString() const { return fxStatusTime.Data(); }
54 
55  virtual Int_t PrintStatus(Text_t* buffer=0, Int_t buflen=0);
56 
57  protected:
59  UInt_t fiObjectSize;
60 
63 
66 
68  TString fxObjectClass;
69 
71  TString fxStatusTime;
72 
73  ClassDef(TGo4ObjectStatus,1)
74 };
75 
76 #endif //TGO4OBJECTSTATUS_H
Bool_t IsDeleteProtect() const
Bool_t IsResetProtect() const
const char * GetTimeString() const
const char * GetObjectClass() const
virtual Int_t PrintStatus(Text_t *buffer=0, Int_t buflen=0)
Int_t GetObjectSize() const
virtual ~TGo4ObjectStatus()