Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

lfc::TimerThread Class Reference

a timer thread that you can attach to a callback. More...

Inheritance diagram for lfc::TimerThread::

lfc::Thread lfc::Object lfc::_Server lfc::_Named List of all members.

Public Methods

 TimerThread () throw ()
 doesn't do anything. More...

 TimerThread (Callback0< void > cb, long miliseconds)
 sets the callback and the interval at which it should be called. More...

virtual ~TimerThread () throw ()
virtual void setCallback (const Callback0< void > &cb, long miliseconds)
 complementary to the TimerThread constructor with the same parameters. More...


Protected Methods

virtual void main ()
 thread entry point. More...


Protected Attributes

Callback0< void > m_callback
long m_interval

Detailed Description

a timer thread that you can attach to a callback.


Constructor & Destructor Documentation

lfc::TimerThread::TimerThread   throw () [inline]
 

doesn't do anything.

lfc::TimerThread::TimerThread Callback0< void >    cb,
long    miliseconds
[inline]
 

sets the callback and the interval at which it should be called.

Parameters:
cb  the callback to be called from at miliseconds interval
miliseconds  the interval of time at which the callback should be called

virtual lfc::TimerThread::~TimerThread   throw () [inline, virtual]
 


Member Function Documentation

virtual void lfc::TimerThread::setCallback const Callback0< void > &    cb,
long    miliseconds
[inline, virtual]
 

complementary to the TimerThread constructor with the same parameters.

Parameters:
cb  the callback to be called from at miliseconds interval
miliseconds  the interval of time at which the callback should be called

virtual void lfc::TimerThread::main   [inline, protected, virtual]
 

thread entry point.

Reimplemented from lfc::Thread.


Member Data Documentation

Callback0<void> lfc::TimerThread::m_callback [protected]
 

long lfc::TimerThread::m_interval [protected]
 


The documentation for this class was generated from the following file:
Generated on Fri Jan 25 03:14:07 2002 for LFC2 by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001