Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

/Go4StatusBase/TGo4ObjectStatus.h

Go to the documentation of this file.
00001 //---------------------------------------------------------------
00002 //        Go4 Release Package v2.10-5 (build 21005) 
00003 //                      03-Nov-2005
00004 //---------------------------------------------------------------
00005 //       The GSI Online Offline Object Oriented (Go4) Project
00006 //       Experiment Data Processing at DVEE department, GSI
00007 //---------------------------------------------------------------
00008 //
00009 //Copyright (C) 2000- Gesellschaft f. Schwerionenforschung, GSI
00010 //                    Planckstr. 1, 64291 Darmstadt, Germany
00011 //Contact:            http://go4.gsi.de
00012 //----------------------------------------------------------------
00013 //This software can be used under the license agreements as stated
00014 //in Go4License.txt file which is part of the distribution.
00015 //----------------------------------------------------------------
00016 
00017 
00018 #ifndef TGO4OBJECTSTATUS_H
00019 #define TGO4OBJECTSTATUS_H
00020 
00021 #include "Go4StatusBase/TGo4Status.h"
00022 #include "TString.h"
00030 class TGo4ObjectStatus : public TGo4Status {
00031   public:
00032 
00036    TGo4ObjectStatus() {}
00037 
00043    TGo4ObjectStatus(TObject* object, Bool_t withtime=kTRUE);
00044 
00045    virtual ~TGo4ObjectStatus();
00046 
00048    const char* GetObjectClass() const { return fxObjectClass.Data(); }
00049 
00051    Int_t GetObjectSize() const { return fiObjectSize; }
00052 
00054    Bool_t IsResetProtect() const { return fbResetProtect; }
00055    
00057    Bool_t IsDeleteProtect() const { return fbDeleteProtect; }
00058 
00060    const char* GetTimeString() const { return fxStatusTime.Data(); }
00061    
00067    virtual Int_t PrintStatus(Text_t* buffer=0, Int_t buflen=0);
00068 
00069   private:
00070 
00071 protected:
00073    UInt_t fiObjectSize;
00074 
00078    Bool_t fbResetProtect;
00079 
00083    Bool_t fbDeleteProtect;
00084 
00088    TString fxObjectClass;
00089 
00091    TString fxStatusTime;
00092 
00093    ClassDef(TGo4ObjectStatus,1)
00094 };
00095 
00096 #endif //TGO4OBJECTSTATUS_H
00097 
00098 //----------------------------END OF GO4 SOURCE FILE ---------------------

Generated on Tue Nov 8 10:56:05 2005 for Go4-v2.10-5 by doxygen1.2.15