openvideo::TimerACE Class Reference
[Core Classes]
Implemtents a Timer, based on the timer implementations the ACE_Reactor provides.
More...
#include <TimerACE.h>
Inherits openvideo::TimerBase.
Public Member Functions | |
| TimerACE () | |
| virtual | ~TimerACE () |
| virtual void | schedule (void(*timerCB)(void *), void *data, double interval) |
| virtual void | runEventLoop () |
Static Public Attributes | |
| static bool | isEventLoopRunning |
Private Attributes | |
| TimerHandlerACE * | htimer |
Detailed Description
Implemtents a Timer, based on the timer implementations the ACE_Reactor provides.It uses an instance of TimerHandler to schedule the timer.
Definition at line 46 of file TimerACE.h.
Constructor & Destructor Documentation
|
|
Constructor.
Definition at line 40 of file TimerACE.cxx. References htimer. |
|
|
Destructor.
Definition at line 47 of file TimerACE.cxx. References htimer. |
Member Function Documentation
|
|
Start event loop. (calls ACE_Reactor::run_event_loop()) Implements openvideo::TimerBase. Definition at line 71 of file TimerACE.cxx. Referenced by openvideo::SchedulerPC::scheduleTimer(). |
|
||||||||||||||||
|
Schedule the timer.
Implements openvideo::TimerBase. Definition at line 55 of file TimerACE.cxx. References openvideo::TimerHandlerACE::data, htimer, and openvideo::TimerHandlerACE::timerCB. Referenced by openvideo::SchedulerPC::scheduleTimer(). |
Member Data Documentation
|
|
The timer handler .
Definition at line 82 of file TimerACE.h. Referenced by schedule(), TimerACE(), and ~TimerACE(). |
|
|
Boolean to prevent multiple calls to ACE_Reactor::run_event_loop();.
Definition at line 76 of file TimerACE.h. |
The documentation for this class was generated from the following files:
