Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

indri::thread::Thread Class Reference

#include <Thread.hpp>

List of all members.

Public Member Functions

 Thread (void(*function)(void *), void *data)
void execute ()
void join ()

Static Public Member Functions

int id ()
void sleep (int milliseconds)
void yield ()

Private Attributes

pthread_t _thread
void(* _function )(void *data)
void * _data

Constructor & Destructor Documentation

indri::thread::Thread::Thread void(*  function)(void *),
void *  data

Member Function Documentation

void indri::thread::Thread::execute  ) 

int indri::thread::Thread::id  )  [static]

void indri::thread::Thread::join  ) 

void indri::thread::Thread::sleep int  milliseconds  )  [static]

void indri::thread::Thread::yield  )  [static]

Member Data Documentation

void* indri::thread::Thread::_data [private]

void(* indri::thread::Thread::_function)( void* data ) [private]

pthread_t indri::thread::Thread::_thread [private]

The documentation for this class was generated from the following files:
Generated on Tue Jun 15 11:03:03 2010 for Lemur by doxygen 1.3.4