Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | Friends | List of all members
ThreadWrapperBase Class Referenceabstract

#include <SickThread.hpp>

Inheritance diagram for ThreadWrapperBase:
Inheritance graph
[legend]

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

ThreadWrapperBase::ThreadWrapperBase ( )
inline

Definition at line 23 of file SickThread.hpp.

virtual ThreadWrapperBase::~ThreadWrapperBase ( )
inlinevirtual

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

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 ( )
privatepure 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:


libsick_ldmrs
Author(s): SICK AG , Martin Günther , Jochen Sprickerhof
autogenerated on Sat Jun 8 2019 17:57:33