Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

EventRouter::TimerEntry Struct Reference

#include <EventRouter.h>

List of all members.


Detailed Description

Contains all the information needed to maintain a timer by the EventRouter.

Definition at line 352 of file EventRouter.h.

Public Member Functions

 TimerEntry (unsigned int nxt)
 constructs an entry using the given value for next - useful for with TimerEntryPtrCmp
 TimerEntry (EventListener *e, unsigned int s, unsigned int d, bool r)
 constructs with the given values, sets next field automatically; see next
 TimerEntry (const TimerEntry &t)
 just does the default, i'm just being explicit since there's a pointer (no deep copy!)
TimerEntryoperator= (const TimerEntry &t)
 just does the default, i'm just being explicit since there's a pointer (no deep copy!)
void Set (unsigned int d, bool r)
 will reset timer

Public Attributes

EventListenerel
 the listener to fire at
unsigned int sid
 the source id to fire with
unsigned int delay
 the delay until firing
unsigned int next
 the time at which this timer will go off next
bool repeat
 if true, will reset after firing, else will be deleted


Member Function Documentation

void EventRouter::TimerEntry::Set ( unsigned int  d,
bool  r 
) [inline]

will reset timer

Parameters:
d the time from now when the timer should go off (in milliseconds)
r true if the timer should automatically repeat

Definition at line 364 of file EventRouter.h.


The documentation for this struct was generated from the following file:

Tekkotsu v3.0
Generated Fri May 11 20:08:06 2007 by Doxygen 1.4.7