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

LOW_thread_runable Class Reference

Interface class for objects implementing the "body" of a thread. More...

#include <LOW_thread_runable.h>

List of all members.

Protected Member Functions

virtual int run (LOW_thread_thread *inMyThread)=0
 Method to be called when thread gets started.


Friends

void * LOW_thread_thread::threadRunner (void *)
 Needed to grant access to the protected run() method.


Detailed Description

Interface class for objects implementing the "body" of a thread.

This class is thread-safe.

See also:
LOW_thread_thread
Author:
Harald Roelle

Definition at line 33 of file LOW_thread_runable.h.


Member Function Documentation

virtual int LOW_thread_runable::run LOW_thread_thread inMyThread  )  [protected, pure virtual]
 

Method to be called when thread gets started.

The thread terminates when this method returns.

Parameters:
inMyThread Pointer to the thread.
Returns:
Return value of the thread on termination.

Referenced by LOW_thread_thread_POSIX::threadRunner().


Friends And Related Function Documentation

void* LOW_thread_thread::threadRunner void *   )  [friend]
 

Needed to grant access to the protected run() method.

Gives LOW_thread_thread the permission to access the run() method.


The documentation for this class was generated from the following file:
Generated on Tue Feb 3 11:31:08 2004 for OneWireLibrary++ by doxygen 1.3.2