oasys::TimerThread Class Reference

#include <Timer.h>

Inheritance diagram for oasys::TimerThread:

oasys::Thread List of all members.

Detailed Description

A simple thread class that drives the TimerSystem implementation.

Definition at line 169 of file Timer.h.

Static Public Member Functions

static void init ()

Private Member Functions

 TimerThread ()
void run ()
 Derived classes should implement this function which will get called in the new Thread context.

Static Private Attributes

static TimerThreadinstance_ = NULL


Constructor & Destructor Documentation

oasys::TimerThread::TimerThread (  )  [inline, private]

Definition at line 174 of file Timer.h.

Referenced by init().


Member Function Documentation

void oasys::TimerThread::init (  )  [static]

Definition at line 275 of file Timer.cc.

References ASSERT, instance_, oasys::Thread::start(), and TimerThread().

void oasys::TimerThread::run (  )  [private, virtual]

Derived classes should implement this function which will get called in the new Thread context.

Implements oasys::Thread.

Definition at line 261 of file Timer.cc.

References oasys::TimerSystem::notifier(), NOTREACHED, oasys::TimerSystem::run_expired_timers(), and oasys::OnOffNotifier::wait().


Member Data Documentation

TimerThread * oasys::TimerThread::instance_ = NULL [static, private]

Definition at line 177 of file Timer.h.

Referenced by init().


The documentation for this class was generated from the following files:
Generated on Thu Aug 31 21:06:07 2006 for DTN Reference Implementation by  doxygen 1.4.7