#include <Timer.h>
Public Methods | |
TimerEvent (const TimerEvent &) | |
TimerEvent (unsigned long, unsigned long, bool periodic=false) | |
unsigned long | getId () const |
unsigned long | getExpiration () const |
unsigned long | getInterval () const |
bool | isExpired () const |
bool | isPeriodic () const |
TimerEvent& | operator= (const TimerEvent &) |
bool | operator== (const TimerEvent &e) const |
bool | operator< (const TimerEvent &e) const |
bool | operator> (const TimerEvent &e) const |
operator unsigned long () const | |
Static Protected Methods | |
unsigned long | now () throw () |
|
Create a TimerEvent by copying another
|
|
Create a new event
|
|
Get the time left until this event should occur
|
|
Get the event id
|
|
Get the interval for the event
|
|
Check if the event has expired
|
|
Check if this is a periodic/repeating event.
|
|
Get the current time in milliseconds |
|
Casting operator to that evaluates to the event id |
|
Check if the TimerEvent expired before another
|
|
Copy an exisitng TimerEvent
|
|
Check if the time two events expire is the same
|
|
Check if the TimerEvent expired after another
|