diff options
author | chatty | 1993-07-26 07:52:54 +0000 |
---|---|---|
committer | chatty | 1993-07-26 07:52:54 +0000 |
commit | 4068e7bb6e42d94f2f2b14c1667e77b9d19ce9b6 (patch) | |
tree | d25f9b5a20d199e1a2a84471f5bc5fd0f0d41b67 /comm/Multiplexer.h | |
parent | 97d910ab97da81e64c036e2096e82dbfa662a122 (diff) | |
download | ivy-league-4068e7bb6e42d94f2f2b14c1667e77b9d19ce9b6.zip ivy-league-4068e7bb6e42d94f2f2b14c1667e77b9d19ce9b6.tar.gz ivy-league-4068e7bb6e42d94f2f2b14c1667e77b9d19ce9b6.tar.bz2 ivy-league-4068e7bb6e42d94f2f2b14c1667e77b9d19ce9b6.tar.xz |
Added functions for UchSignalHandlers
Diffstat (limited to 'comm/Multiplexer.h')
-rw-r--r-- | comm/Multiplexer.h | 6 |
1 files changed, 6 insertions, 0 deletions
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 (); |