changed the api for creating timers to match new timer API

This commit is contained in:
Jeff Hill
2001-06-12 17:14:16 +00:00
parent 403c377de8
commit 452ead8a9f

View File

@@ -104,7 +104,7 @@ public:
// returns NULL if the fd is unknown
epicsShareFunc class fdReg *lookUpFD (const SOCKET fd, const fdRegType type);
epicsTimerQueue & timerQueueRef ();
epicsTimer & createTimer ();
private:
tsDLList<fdReg> regList;
@@ -204,10 +204,10 @@ inline void fdManager::lazyInitTimerQueue ()
}
}
inline epicsTimerQueue & fdManager::timerQueueRef ()
inline epicsTimer & fdManager::createTimer ()
{
this->lazyInitTimerQueue ();
return * this->pTimerQueue;
return this->pTimerQueue->createTimer ();
}
#endif // fdManagerH_included