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 149 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 154 of file Timer.h.

Referenced by init().


Member Function Documentation

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

Definition at line 264 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 250 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 157 of file Timer.h.

Referenced by init().


The documentation for this class was generated from the following files:
Generated on Sat Sep 8 08:43:55 2007 for DTN Reference Implementation by  doxygen 1.5.3