library: libCore #include "TSysEvtHandler.h"

# TSignalHandler

class description - source file - inheritance tree (.pdf)

## class TSignalHandler : public TSysEvtHandler

| Inheritance Chart:
`TObject`
`TQObject`
| <- | `TSysEvtHandler`
| <- | `TSignalHandler` |

        protected:

                         TSignalHandler()

        public:

                          TSignalHandler(ESignals sig, Bool_t sync = kTRUE)
                          TSignalHandler(const TSignalHandler&)
                  virtual ~TSignalHandler()
             virtual void Add()
           static TClass* Class()
                     void Delay()
                 ESignals GetSignal() const
                     void HandleDelayedSignal()
          virtual TClass* IsA() const
                   Bool_t IsAsync() const
                   Bool_t IsSync() const
           virtual Bool_t Notify()
          TSignalHandler& operator=(const TSignalHandler&)
             virtual void Remove()
                     void SetSignal(ESignals sig)
             virtual void ShowMembers(TMemberInspector& insp, char* parent)
             virtual void Streamer(TBuffer& b)
                     void StreamerNVirtual(TBuffer& b)

### Data Members

        protected:

          ESignals fSignal  Signal to be handled
            Bool_t fSync    Synchronous or a-synchronous signal
             Int_t fDelay   Delay handling of signal (use fDelay in Notify())

## Class Description

     TSysEvtHandler

     Abstract base class for handling system events.

TSignalHandler(ESignals sig, Bool_t sync)

     Create signal event handler.

Bool_t Notify()

     Notify when signal occurs.

void Add()

     Add signal handler to system signal handler list.

void Remove()

     Remove signal handler from system signal handler list.

### Inline Functions

                       void ~TSignalHandler()
             TSignalHandler TSignalHandler(ESignals sig, Bool_t sync = kTRUE)
                       void Delay()
                       void HandleDelayedSignal()
                   ESignals GetSignal() const
                       void SetSignal(ESignals sig)
                     Bool_t IsSync() const
                     Bool_t IsAsync() const
                    TClass* Class()
                    TClass* IsA() const
                       void ShowMembers(TMemberInspector& insp, char* parent)
                       void Streamer(TBuffer& b)
                       void StreamerNVirtual(TBuffer& b)
             TSignalHandler TSignalHandler(const TSignalHandler&)
            TSignalHandler& operator=(const TSignalHandler&)

Author: Fons Rademakers 16/09/95
Last update: root/base:$Name: $:$Id: TSysEvtHandler.cxx,v 1.5 2004/12/15 16:04:57 rdm Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *