oasys::QueuingTimer Class Reference

#include <Timer.h>

Inheritance diagram for oasys::QueuingTimer:

oasys::Timer List of all members.

Detailed Description

A Timer class that's useful in cases when a separate thread (i.e.

not the main TimerSystem thread) needs to process the timer event. Note that multiple QueuingTimer instances can safely share the same event queue.

Definition at line 290 of file Timer.h.

Public Member Functions

 QueuingTimer (TimerEventQueue *queue)
virtual void timeout (struct timeval *now)

Protected Attributes

TimerEventQueuequeue_


Constructor & Destructor Documentation

oasys::QueuingTimer::QueuingTimer ( TimerEventQueue queue  )  [inline]

Definition at line 292 of file Timer.h.


Member Function Documentation

virtual void oasys::QueuingTimer::timeout ( struct timeval *  now  )  [inline, virtual]

Definition at line 294 of file Timer.h.

References oasys::MsgQueue< _elt_t >::push(), and queue_.


Member Data Documentation

TimerEventQueue* oasys::QueuingTimer::queue_ [protected]

Definition at line 300 of file Timer.h.

Referenced by timeout().


The documentation for this class was generated from the following file:
Generated on Fri Dec 22 14:48:07 2006 for DTN Reference Implementation by  doxygen 1.5.1