00001 //------------------------------------------------------------- 00002 // Go4 Release Package v3.04-01 (build 30401) 00003 // 28-November-2008 00004 //--------------------------------------------------------------- 00005 // The GSI Online Offline Object Oriented (Go4) Project 00006 // Experiment Data Processing at EE 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 #ifndef TGO4OBJECTSTATUS_H 00017 #define TGO4OBJECTSTATUS_H 00018 00019 #include "TGo4Status.h" 00020 #include "TString.h" 00021 00030 class TGo4ObjectStatus : public TGo4Status { 00031 public: 00032 00034 TGo4ObjectStatus(); 00035 00039 TGo4ObjectStatus(TObject* object, Bool_t withtime=kTRUE); 00040 00041 virtual ~TGo4ObjectStatus(); 00042 00044 const char* GetObjectClass() const { return fxObjectClass.Data(); } 00045 00047 Int_t GetObjectSize() const { return fiObjectSize; } 00048 00050 Bool_t IsResetProtect() const { return fbResetProtect; } 00051 00053 Bool_t IsDeleteProtect() const { return fbDeleteProtect; } 00054 00056 const char* GetTimeString() const { return fxStatusTime.Data(); } 00057 00058 virtual Int_t PrintStatus(Text_t* buffer=0, Int_t buflen=0); 00059 00060 protected: 00062 UInt_t fiObjectSize; 00063 00065 Bool_t fbResetProtect; 00066 00068 Bool_t fbDeleteProtect; 00069 00071 TString fxObjectClass; 00072 00074 TString fxStatusTime; 00075 00076 ClassDef(TGo4ObjectStatus,1) 00077 }; 00078 00079 #endif //TGO4OBJECTSTATUS_H 00080 00081 //----------------------------END OF GO4 SOURCE FILE ---------------------