improved internal class hierarchy

This commit is contained in:
Jeff Hill
2001-07-12 16:02:54 +00:00
parent 41a2ba5a9b
commit 1042e657c8
6 changed files with 28 additions and 32 deletions

View File

@@ -51,34 +51,34 @@ epicsTimerQueuePassive &epicsTimerQueuePassive::create ( epicsTimerQueueNotify &
}
timerQueuePassive::timerQueuePassive ( epicsTimerQueueNotify &notifyIn ) :
timerQueue ( notifyIn ) {}
queue ( notifyIn ) {}
timerQueuePassive::~timerQueuePassive () {}
epicsTimer & timerQueuePassive::createTimer ()
{
return this->timerQueue::createTimer ();
return this->queue.createTimer ();
}
void timerQueuePassive::destroyTimer ( epicsTimer & et )
{
timer & tmr = dynamic_cast < timer & > ( et );
this->timerQueue::destroyTimer ( tmr );
this->queue.destroyTimer ( tmr );
}
epicsTimerForC & timerQueuePassive::createTimerForC ( epicsTimerCallback pCB, void *pPrivateIn )
{
return this->timerQueue::createTimerForC ( pCB, pPrivateIn );
return this->queue.createTimerForC ( pCB, pPrivateIn );
}
void timerQueuePassive::destroyTimerForC ( epicsTimerForC &tmr )
{
this->timerQueue::destroyTimerForC ( tmr );
this->queue.destroyTimerForC ( tmr );
}
double timerQueuePassive::process ( const epicsTime & currentTime )
{
return this->timerQueue::process ( currentTime );
return this->queue.process ( currentTime );
}
void timerQueuePassive::show ( unsigned int level ) const
@@ -86,7 +86,7 @@ void timerQueuePassive::show ( unsigned int level ) const
printf ( "EPICS non-threaded timer queue at %p\n",
static_cast <const void *> ( this ) );
if ( level >=1u ) {
this->timerQueue::show ( level - 1u );
this->queue.show ( level - 1u );
}
}