From 4068e7bb6e42d94f2f2b14c1667e77b9d19ce9b6 Mon Sep 17 00:00:00 2001 From: chatty Date: Mon, 26 Jul 1993 07:52:54 +0000 Subject: Added functions for UchSignalHandlers --- comm/Multiplexer.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'comm/Multiplexer.h') diff --git a/comm/Multiplexer.h b/comm/Multiplexer.h index 0c30bfd..7024463 100644 --- a/comm/Multiplexer.h +++ b/comm/Multiplexer.h @@ -32,6 +32,7 @@ extern char* StrReprBuf; // class UchMultiplexer : public CcuSmartData { friend class UchBaseTimeOut; +friend class UchBaseSignalHandler; protected: pUchChannel* Channels; @@ -44,6 +45,9 @@ protected: short SelectCount; bool Looping; Millisecond TimeOut; + bool SigFired; + UchBaseSignalHandler** Handlers; + int* NbSignals; int fd0; // used by HandleSelect and LoopScan void SetMasks (int, IOMODE); @@ -51,6 +55,8 @@ inline CcuTimerSet* GetTimerSet () { return &Timers; } inline void SetTimeOut (Millisecond t) { TimeOut = t; } inline void SuppressTimeOut () {TimeOut = -1; } + void RegisterSignal (UchBaseSignalHandler&); + public: UchMultiplexer (); ~UchMultiplexer (); -- cgit v1.1