CL_Thread Class Reference
[clanCore System]

Thread class. More...

#include <thread.h>

List of all members.

Operations

void start (CL_Runnable *runnable)
 Starts a thread.
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 ()
 Blocks until thread has completed its execution.
static void set_thread_name (const char *name)
 Sets the name (displayed in debuggers) of the calling thread.

Public Member Functions

Construction
 CL_Thread ()
 Constructs a thread object.
 ~CL_Thread ()


Detailed Description

Thread class.


Constructor & Destructor Documentation

CL_Thread::CL_Thread  ) 
 

Constructs a thread object.

CL_Thread::~CL_Thread  ) 
 


Member Function Documentation

void CL_Thread::join  ) 
 

Blocks until thread has completed its execution.

static void CL_Thread::set_thread_name const char *  name  )  [static]
 

Sets the name (displayed in debuggers) of the calling thread.

Currently this only works with the Visual Studio compiler and debugger.

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]
 

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]
 

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]
 

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]
 

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

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

void CL_Thread::start CL_Runnable runnable  ) 
 

Starts a thread.


The documentation for this class was generated from the following file:
Generated on Thu Dec 3 02:39:42 2009 for ClanLib by  doxygen 1.4.6