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

CL_Thread Class Reference

#include <thread.h>

List of all members.

Public Member Functions

 CL_Thread ()
 Construction:.
 ~CL_Thread ()
void start (CL_Runnable *runnable)
 Operations:.
template<class C>
void start (C *instance, void(C::*member)())
template<class C, class P1>
void start (C *instance, void(C::*member)(P1 p1), P1 p1)
template<class C, class P1, class P2>
void start (C *instance, void(C::*member)(P1 p1, P2 p2), P1 p1, P2 p2)
template<class C, class P1, class P2, class P3>
void start (C *instance, void(C::*member)(P1 p1, P2 p2, P3 p3), P1 p1, P2 p2, P3 p3)
template<class C, class P1, class P2, class P3, class P4>
void start (C *instance, void(C::*member)(P1 p1, P2 p2, P3 p3, P4 p4), P1 p1, P2 p2, P3 p3, P4 p4)
template<class C, class P1, class P2, class P3, class P4, class P5>
void start (C *instance, void(C::*member)(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5), P1 p1, P2 p2, P3 p3, P4 p4, P5 p5)
void join ()

Static Private Member Functions

static void * thread_main (void *data)
 Implementation:.

Private Attributes

pthread_t handle


Constructor & Destructor Documentation

CL_Thread::CL_Thread  ) 
 

Construction:.

Definition at line 36 of file thread.cpp.

CL_Thread::~CL_Thread  ) 
 

Definition at line 40 of file thread.cpp.

References handle.


Member Function Documentation

void CL_Thread::join  ) 
 

Definition at line 84 of file thread.cpp.

References handle.

Referenced by CL_Service::main().

template<class C, class P1, class P2, class P3, class P4, class P5>
void CL_Thread::start C *  instance,
void(C::*)(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5)  member,
P1  p1,
P2  p2,
P3  p3,
P4  p4,
P5  p5
[inline]
 

Definition at line 132 of file thread.h.

References start().

template<class C, class P1, class P2, class P3, class P4>
void CL_Thread::start C *  instance,
void(C::*)(P1 p1, P2 p2, P3 p3, P4 p4)  member,
P1  p1,
P2  p2,
P3  p3,
P4  p4
[inline]
 

Definition at line 117 of file thread.h.

References start().

template<class C, class P1, class P2, class P3>
void CL_Thread::start C *  instance,
void(C::*)(P1 p1, P2 p2, P3 p3)  member,
P1  p1,
P2  p2,
P3  p3
[inline]
 

Definition at line 102 of file thread.h.

References start().

template<class C, class P1, class P2>
void CL_Thread::start C *  instance,
void(C::*)(P1 p1, P2 p2)  member,
P1  p1,
P2  p2
[inline]
 

Definition at line 87 of file thread.h.

References start().

template<class C, class P1>
void CL_Thread::start C *  instance,
void(C::*)(P1 p1)  member,
P1  p1
[inline]
 

Definition at line 72 of file thread.h.

References start().

template<class C>
void CL_Thread::start C *  instance,
void(C::*)()  member
[inline]
 

Definition at line 57 of file thread.h.

References start().

void CL_Thread::start CL_Runnable runnable  ) 
 

Operations:.

Definition at line 59 of file thread.cpp.

References handle, TEXT, and thread_main().

Referenced by CL_Service::main(), and start().

void * CL_Thread::thread_main void *  data  )  [static, private]
 

Implementation:.

Definition at line 107 of file thread.cpp.

References CL_Runnable::run().

Referenced by start().


Member Data Documentation

pthread_t CL_Thread::handle [private]
 

Definition at line 157 of file thread.h.

Referenced by join(), start(), and ~CL_Thread().


The documentation for this class was generated from the following files:
Generated on Sat Feb 19 22:51:18 2005 for npcore by  doxygen 1.4.1