26 #include "copyright.h" 32 Timer(VoidFunctionPtr timerHandler,
int callArg,
bool doRandom);
47 VoidFunctionPtr handler;
The following class defines a hardware timer.
Definition: timer.h:30
int TimeOfNextInterrupt()
Timer::TimeOfNextInterrupt.
Definition: timer.cc:82
void TimerExpired()
Timer::TimerExpired Routine to simulate the interrupt generated by the hardware timer device...
Definition: timer.cc:65
Miscellaneous useful definitions, including debugging routines.
Timer(VoidFunctionPtr timerHandler, int callArg, bool doRandom)
Timer::Timer Initialize a hardware timer device. Save the place to call on each interrupt, and then arrange for the timer to start generating interrupts.
Definition: timer.cc:47