made compatible with timer library API changes

This commit is contained in:
Jeff Hill
2001-05-22 01:46:13 +00:00
parent 13212ddfea
commit 63c2a025d3
10 changed files with 174 additions and 1123 deletions

View File

@@ -50,23 +50,18 @@ timerQueuePassive::timerQueuePassive ( epicsTimerQueueNotify &notifyIn ) :
timerQueuePassive::~timerQueuePassive () {}
epicsTimer & timerQueuePassive::createTimer ( epicsTimerNotify & notifyIn )
epicsTimer & timerQueuePassive::createTimer ()
{
timer *pTmr = new timer ( notifyIn, this->queue );
timer *pTmr = new timer ( this->queue );
if ( ! pTmr ) {
throwWithLocation ( timer::noMemory () );
}
return *pTmr;
}
void timerQueuePassive::process ()
double timerQueuePassive::process ( const epicsTime & currentTime )
{
this->queue.process ();
}
double timerQueuePassive::getNextExpireDelay () const
{
return this->queue.delayToFirstExpire ();
return this->queue.process ( currentTime );
}
void timerQueuePassive::show ( unsigned int level ) const