SourceForge.net Logo
Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

EkThread Class Template Reference

#include <EkThread.h>

Inheritance diagram for EkThread:

[legend]
Collaboration diagram for EkThread:
[legend]
List of all members.

Public Types

enum  EkThreadState { NOT_STARTED, RUNNING, TERMINATED }

Public Methods

 EkThread ()
virtual ~EkThread (void)
EkErrp getError (void)
EkThreadState getState (void)
EkThreadId getThreadId (void)
bool setPriority (int relative_priority)
void launch (void)
virtual void run (void)=0

Static Public Methods

EkThreadId getCurrentThreadId (void)
bool waitForThread (EkThreadId id)

Static Protected Methods

void main (void *thread)

Protected Attributes

EkErrp runError
EkThreadState state
EkThreadId threadId

template<class mutex_type>
class EkThread< mutex_type >


Member Enumeration Documentation

template<class mutex_type>
enum EkThread::EkThreadState
 

Enumeration values:
NOT_STARTED 
RUNNING 
TERMINATED 


Constructor & Destructor Documentation

template<class mutex_type>
EkThread< mutex_type >::EkThread   [inline]
 

template<class mutex_type>
EkThread< mutex_type >::~EkThread void    [virtual]
 


Member Function Documentation

template<class mutex_type>
EkThreadId EkThread< mutex_type >::getCurrentThreadId void    [inline, static]
 

template<class mutex_type>
EkErrp EkThread< mutex_type >::getError void    [inline]
 

template<class mutex_type>
EkThreadState EkThread< mutex_type >::getState void    [inline]
 

template<class mutex_type>
EkThreadId EkThread< mutex_type >::getThreadId void    [inline]
 

template<class mutex_type>
void EkThread< mutex_type >::launch void    [inline]
 

template<class mutex_type>
void EkThread< mutex_type >::main void *    thread [inline, static, protected]
 

template<class mutex_type>
virtual void EkThread< mutex_type >::run void    [pure virtual]
 

template<class mutex_type>
bool EkThread< mutex_type >::setPriority int    relative_priority
 

template<class mutex_type>
bool EkThread< mutex_type >::waitForThread EkThreadId    id [inline, static]
 


Member Data Documentation

template<class mutex_type>
EkErrp EkThread::runError [protected]
 

template<class mutex_type>
EkThreadState EkThread::state [protected]
 

template<class mutex_type>
EkThreadId EkThread::threadId [protected]
 


The documentation for this class was generated from the following file:
Last Updated: March 12, 2003 (rlr)
Copyright © 2003 Eastman Kodak Company All Rights Reserved.