#include <SickThread.hpp>
Public Member Functions | |
pthread_t * | get_thread_id () |
bool | isRunning () |
void | join () |
void | run (void *classptr) |
ThreadWrapperBase () | |
virtual | ~ThreadWrapperBase () |
Protected Attributes | |
void * | pthis |
Private Member Functions | |
virtual void | thread_entry ()=0 |
Private Attributes | |
pthread_t | t_id |
Friends | |
void * | wrapper_prerun (void *) |
Definition at line 14 of file SickThread.hpp.
ThreadWrapperBase::ThreadWrapperBase | ( | ) | [inline] |
Definition at line 23 of file SickThread.hpp.
virtual ThreadWrapperBase::~ThreadWrapperBase | ( | ) | [inline, virtual] |
Definition at line 24 of file SickThread.hpp.
pthread_t* ThreadWrapperBase::get_thread_id | ( | ) | [inline] |
Definition at line 51 of file SickThread.hpp.
bool ThreadWrapperBase::isRunning | ( | ) | [inline] |
Definition at line 35 of file SickThread.hpp.
void ThreadWrapperBase::join | ( | ) | [inline] |
Reimplemented in SickThread< T, M >, and SickThread< Tcp,&Tcp::readThreadFunction >.
Definition at line 45 of file SickThread.hpp.
void ThreadWrapperBase::run | ( | void * | classptr | ) | [inline] |
Definition at line 26 of file SickThread.hpp.
virtual void ThreadWrapperBase::thread_entry | ( | ) | [private, pure virtual] |
Implemented in SickThread< T, M >, and SickThread< Tcp,&Tcp::readThreadFunction >.
void* wrapper_prerun | ( | void * | ) | [friend] |
Definition at line 7 of file SickThread.cpp.
void* ThreadWrapperBase::pthis [protected] |
Definition at line 20 of file SickThread.hpp.
pthread_t ThreadWrapperBase::t_id [private] |
Definition at line 16 of file SickThread.hpp.