diff options
Diffstat (limited to 'comm/TimeOut.cc')
-rw-r--r-- | comm/TimeOut.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/comm/TimeOut.cc b/comm/TimeOut.cc index 617004c..9f70636 100644 --- a/comm/TimeOut.cc +++ b/comm/TimeOut.cc @@ -3,7 +3,7 @@ * * by Michel Beaudouin-Lafon and Stephane Chatty * - * Copyright 1990-1993 + * Copyright 1990-1997 * Laboratoire de Recherche en Informatique (LRI) * Centre d'Etudes de la Navigation Aerienne * @@ -33,8 +33,8 @@ If \var{pulses} is negative, the timer will send signals forever. Timers are activated at creation time. They are disactivated, but not destroyed, after their last pulse. ?*/ -UchBaseTimeOut :: UchBaseTimeOut (UchBaseMultiplexer& m, Millisecond period, int pulses) -: CcuCoreTimer (period, pulses, m.GetTimerSet ()), +UchBaseTimeOut :: UchBaseTimeOut (Millisecond period, int pulses, UchBaseMultiplexer* m) +: CcuCoreTimer (period, pulses, m->GetTimerSet ()), MyMpx (m) { CcuSignalBlocker b (SigAlrm); @@ -55,14 +55,14 @@ UchBaseTimeOut :: ~UchBaseTimeOut () void UchBaseTimeOut :: StopAlarm () { - MyMpx.SuppressTimeOut (); + MyMpx->SuppressTimeOut (); } /*?hidden?*/ void UchBaseTimeOut :: SetAlarm (Millisecond delay) { - MyMpx.SetTimeOut (delay); + MyMpx->SetTimeOut (delay); } @@ -81,8 +81,8 @@ Create a timer associated to the multiplexer \var{m}, that will expire every \var{period} milliseconds and call the function \var{handler}. ?*/ -UchTimeOut :: UchTimeOut (UchBaseMultiplexer& m, Millisecond period, void (*handler) (Millisecond), int pulses) -: UchBaseTimeOut (m, period, pulses), +UchTimeOut :: UchTimeOut (Millisecond period, void (*handler) (Millisecond), int pulses, UchBaseMultiplexer* m) +: UchBaseTimeOut (period, pulses, m), Handler (handler) { } |