#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 | |
|
|
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.
|
|
|
Casting operator to that evaluates to the event id
|
|
|
Compare two TimerEvents, by expirations time and id.
|
|
|
Copy an exisitng TimerEvent
|
|
|
Compare two TimerEvents for equality, based on expiration time and id.
|
|
|
Compare two TimerEvents, by expirations time and id.
|
1.2.15