]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - STEER/AliSysInfo.h
Wrong versiion was committed before, this is the correct one
[u/mrichter/AliRoot.git] / STEER / AliSysInfo.h
index bc28a74456e65cc546a733f78236507aeace90a4..a57ebe86c8285be2ed963916ff65e5127fe7dcc1 100644 (file)
@@ -27,6 +27,12 @@ public:
   static void OpenMemStat();
   static void CloseMemStat();
   static Bool_t Contain(const char * str1, const char * str2);
+  typedef void (*StampCallback_t)(const Char_t * desription);
+  static  void AddCallBack(StampCallback_t callback);
+  //
+  // Object size function
+  static Double_t EstimateObjectSize(TObject* object);
+  static  TTree* Test();
 private:
   AliSysInfo(const AliSysInfo& source);
   AliSysInfo& operator= (const AliSysInfo& rec);
@@ -35,6 +41,8 @@ private:
   TStopwatch      *fTimer;          // timer
   TMemStatManager *fMemStat;      
   static AliSysInfo *   fInstance; //instance pointer
+  StampCallback_t *fCallBackFunc; // call back functions
+  Int_t           fNCallBack;        // number of call back functions
   ClassDef(AliSysInfo,0)
 };