Main Page | Class Hierarchy | Class List | File List | Class Members

SST::TimerEngine Class Reference

Abstract base class for timer implementations. More...

#include <timer.h>

Inheritance diagram for SST::TimerEngine:

List of all members.

Protected Member Functions

 TimerEngine (Timer *t)
 Create a new TimerEngine.

Timertimer () const
 Find the Timer with which this TimerEngine is associated.

virtual void start (quint64 usecs)=0
 Start the timer.

virtual void stop ()=0
 Stop the timer.

void timeout ()
 Signal a timeout on the timer.


Friends

class Timer

Detailed Description

Abstract base class for timer implementations.


Member Function Documentation

virtual void SST::TimerEngine::start quint64  usecs  )  [protected, pure virtual]
 

Start the timer.

The implementation subclass provides this method.

Parameters:
usecs the timer interval in microseconds.

virtual void SST::TimerEngine::stop  )  [protected, pure virtual]
 

Stop the timer.

The implementation subclass provides this method.

void TimerEngine::timeout  )  [protected]
 

Signal a timeout on the timer.

The implementation subclass calls this method when the timer expires.

Timer* SST::TimerEngine::timer  )  const [inline, protected]
 

Find the Timer with which this TimerEngine is associated.

Returns:
the Timer.


The documentation for this class was generated from the following files:
Generated on Wed Mar 28 11:48:05 2007 for SST by doxygen 1.3.4