Checking Storage Manager state added to ED. Now GUI reacts depending on status of SM.
[u/mrichter/AliRoot.git] / MONITOR / AliChildProcTerminator.h
CommitLineData
c6d78c69 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
93624d6b 10#ifndef AliChildProcTerminator_H
11#define AliChildProcTerminator_H
c6d78c69 12
13#include "TObject.h"
14#include "TQObject.h"
15
16//______________________________________________________________________________
93624d6b 17// Short description of AliChildProcTerminator
c6d78c69 18//
19
93624d6b 20class AliChildProcTerminator : public TObject,
c6d78c69 21 public TQObject
22{
23public:
93624d6b 24 void ChildProcTerm(Int_t pid, Int_t status); // *SIGNAL*
c6d78c69 25
93624d6b 26 static AliChildProcTerminator* Instance();
c6d78c69 27
28private:
93624d6b 29 AliChildProcTerminator();
30 virtual ~AliChildProcTerminator() {}
c6d78c69 31
93624d6b 32 AliChildProcTerminator(const AliChildProcTerminator&); // Not implemented
33 AliChildProcTerminator& operator=(const AliChildProcTerminator&); // Not implemented
c6d78c69 34
35 static void sig_handler(int sig);
36
93624d6b 37 static AliChildProcTerminator* fgTheOne;
c6d78c69 38
93624d6b 39 ClassDef(AliChildProcTerminator, 0);
c6d78c69 40};
41
42#endif