12 #ifndef ROOT_TSysEvtHandler 13 #define ROOT_TSysEvtHandler 43 virtual void Add() = 0;
75 enum { kRead = 1, kWrite = 2 };
79 int GetFd()
const {
return fFileNum; }
80 void SetFd(
int fd) { fFileNum = fd; }
82 virtual Bool_t ReadNotify();
83 virtual Bool_t WriteNotify();
84 virtual Bool_t HasReadInterest();
85 virtual Bool_t HasWriteInterest();
86 virtual void SetInterest(
Int_t mask);
139 void HandleDelayedSignal();
169 namespace std {
class exception; }
183 virtual EStatus Handle(std::exception& exc) = 0;
virtual void SetWriteReady()
virtual ~TSignalHandler()
virtual ~TStdExceptionHandler()
virtual void DeActivated()
void Activate()
Activate a system event handler.
This is the ROOT implementation of the Qt object communication mechanism (see also http://www...
virtual void ResetReadyMask()
void SetSignal(ESignals sig)
void DeActivate()
De-activate a system event handler.
virtual Bool_t IsWriteReady() const
static const double x2[5]
virtual Bool_t IsReadReady() const
#define ClassDef(name, id)
virtual void SetReadReady()
Abstract base class for handling system events.
ESignals GetSignal() const
void HandleDelayedSignal()
static const double x1[5]
Mother of all ROOT objects.
virtual ~TSysEvtHandler()
void Emit(const char *signal, const T &arg)
Activate signal with single parameter.
virtual Bool_t Notify()=0
This method must be overridden to handle object notification.