GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TGo4ObjectStatus.h
Go to the documentation of this file.
1 // $Id: TGo4ObjectStatus.h 478 2009-10-29 12:26:09Z 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 für 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 #include "TString.h"
19 
28 class TGo4ObjectStatus : public TGo4Status {
29  public:
30 
33 
37  TGo4ObjectStatus(TObject* object, Bool_t withtime=kTRUE);
38 
39  virtual ~TGo4ObjectStatus();
40 
42  const char* GetObjectClass() const { return fxObjectClass.Data(); }
43 
45  Int_t GetObjectSize() const { return fiObjectSize; }
46 
48  Bool_t IsResetProtect() const { return fbResetProtect; }
49 
51  Bool_t IsDeleteProtect() const { return fbDeleteProtect; }
52 
54  const char* GetTimeString() const { return fxStatusTime.Data(); }
55 
56  virtual Int_t PrintStatus(Text_t* buffer=0, Int_t buflen=0);
57 
58  protected:
60  UInt_t fiObjectSize;
61 
64 
67 
69  TString fxObjectClass;
70 
72  TString fxStatusTime;
73 
74  ClassDef(TGo4ObjectStatus,1)
75 };
76 
77 #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()