Brand new GUI application for online display/reco by Matevz.
[u/mrichter/AliRoot.git] / MONITOR / AliChildReaper.h
1 // @(#)root/eve:$Id$
2 // Author: Matevz Tadel 2007
3
4 /**************************************************************************
5  * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6  * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
7  * full copyright notice.                                                 *
8  **************************************************************************/
9
10 #ifndef AliChildReaper_H
11 #define AliChildReaper_H
12
13 #include "TObject.h"
14 #include "TQObject.h"
15
16 //______________________________________________________________________________
17 // Short description of AliChildReaper
18 //
19
20 class AliChildReaper : public TObject,
21                        public TQObject
22 {
23 public:
24   void ChildDeath(Int_t pid, Int_t status); // *SIGNAL*
25
26   static AliChildReaper* Instance();
27
28 private:
29   AliChildReaper();
30   virtual ~AliChildReaper() {}
31
32   AliChildReaper(const AliChildReaper&);            // Not implemented
33   AliChildReaper& operator=(const AliChildReaper&); // Not implemented
34
35   static void sig_handler(int sig);
36
37   static AliChildReaper* fgTheOne;
38
39   ClassDef(AliChildReaper, 0);
40 };
41
42 #endif