70 static FXReactor*
volatile sigmanager[64];
75 static void CDECL signalhandler(FXint sig);
76 static void CDECL signalhandlerasync(FXint sig);
89 DispatchAll = 0xffffffff,
90 DispatchSignals = 0x00000001,
91 DispatchTimers = 0x00000002,
92 DispatchIdle = 0x00000004,
93 DispatchEvents = 0x00000008,
94 DispatchOther = 0x00000010
106 virtual FXbool init();
114 virtual FXbool dispatch(FXTime blocking=forever,FXuint flags=DispatchAll);
117 virtual FXbool addHandle(FXInputHandle hnd,FXuint mode=InputRead);
120 virtual FXbool remHandle(FXInputHandle hnd);
124 virtual FXbool dispatchHandle(FXInputHandle hnd,FXuint mode,FXuint flags);
127 virtual FXbool addSignal(FXint sig,FXbool=
false);
130 virtual FXbool remSignal(FXint sig);
133 virtual FXbool hasSignal(FXint sig)
const;
136 virtual FXbool dispatchSignal(FXint sig);
140 virtual FXTime nextTimeout();
143 virtual FXbool dispatchTimeout(FXTime due);
146 virtual FXbool dispatchIdle();
149 virtual FXbool exit();
FXbool isInitialized() const
Is reactor initialized.
Definition: FXReactor.h:109
Definition: FX4Splitter.h:28
A FXEventDispatcher extends FXDispatcher, adding graphical user interface handling and other display-...
Definition: FXEventDispatcher.h:22
FXReactor implements the reactor pattern.
Definition: FXReactor.h:58
static const FXTime maxwait
Sleep no longer than this.
Definition: FXReactor.h:98