12 #ifndef ROOT_TSysEvtHandler 13 #define ROOT_TSysEvtHandler 47 virtual void Add() = 0;
79 enum { kRead = 1, kWrite = 2 };
83 int GetFd()
const {
return fFileNum; }
84 void SetFd(
int fd) { fFileNum = fd; }
86 virtual Bool_t ReadNotify();
87 virtual Bool_t WriteNotify();
88 virtual Bool_t HasReadInterest();
89 virtual Bool_t HasWriteInterest();
90 virtual void SetInterest(
Int_t mask);
143 void HandleDelayedSignal();
173 namespace std {
class exception; }
187 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)
void Emit(const char *signal)
Acitvate signal without args.
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()
virtual Bool_t Notify()=0
This method must be overridden to handle object notification.