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

lfc::CallbackThread Class Reference

get a function on it's own thread of execution. More...

Inheritance diagram for lfc::CallbackThread::

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

Public Methods

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

 CallbackThread (const Callback0< void > &cb)
 makes cb into a thread. More...

virtual ~CallbackThread () throw ()
virtual void setCallback (const Callback0< void > &cb)
 complementary to the CallbackThread constructor with the same arguments. More...


Protected Methods

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


Protected Attributes

Callback0< void > m_callback

Detailed Description

get a function on it's own thread of execution.


Constructor & Destructor Documentation

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

doesn't do anything.

lfc::CallbackThread::CallbackThread const Callback0< void > &    cb [inline]
 

makes cb into a thread.

Parameters:
cb  a callback that should have it's own thread
See also:
Thread

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


Member Function Documentation

virtual void lfc::CallbackThread::setCallback const Callback0< void > &    cb [inline, virtual]
 

complementary to the CallbackThread constructor with the same arguments.

Parameters:
cb  a callback that should have it's own thread
See also:
Thread

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

CallbackThread entry point.

Reimplemented from lfc::Thread.


Member Data Documentation

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


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