Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Friends
ThreadWrapperBase Class Reference

#include <SickThread.hpp>

Inheritance diagram for ThreadWrapperBase:
Inheritance graph
[legend]

List of all members.

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 *)

Detailed Description

Definition at line 14 of file SickThread.hpp.


Constructor & Destructor Documentation

Definition at line 23 of file SickThread.hpp.

virtual ThreadWrapperBase::~ThreadWrapperBase ( ) [inline, virtual]

Definition at line 24 of file SickThread.hpp.


Member Function Documentation

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]

Friends And Related Function Documentation

void* wrapper_prerun ( void *  ) [friend]

Definition at line 7 of file SickThread.cpp.


Member Data Documentation

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.


The documentation for this class was generated from the following file:


sick_scan
Author(s): Michael Lehning , Jochen Sprickerhof , Martin Günther
autogenerated on Tue Jul 9 2019 05:05:35