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::ThreadWrapperBase ( )
inline

Definition at line 23 of file SickThread.hpp.

◆ ~ThreadWrapperBase()

virtual ThreadWrapperBase::~ThreadWrapperBase ( )
inlinevirtual

Definition at line 24 of file SickThread.hpp.

Member Function Documentation

◆ get_thread_id()

pthread_t* ThreadWrapperBase::get_thread_id ( )
inline

Definition at line 51 of file SickThread.hpp.

◆ isRunning()

bool ThreadWrapperBase::isRunning ( )
inline

Definition at line 35 of file SickThread.hpp.

◆ join()

void ThreadWrapperBase::join ( )
inline

Definition at line 45 of file SickThread.hpp.

◆ run()

void ThreadWrapperBase::run ( void *  classptr)
inline

Definition at line 26 of file SickThread.hpp.

◆ thread_entry()

virtual void ThreadWrapperBase::thread_entry ( )
privatepure virtual

Friends And Related Function Documentation

◆ wrapper_prerun

void* wrapper_prerun ( void *  )
friend

Definition at line 7 of file SickThread.cpp.

Member Data Documentation

◆ pthis

void* ThreadWrapperBase::pthis
protected

Definition at line 20 of file SickThread.hpp.

◆ t_id

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 Thu Sep 8 2022 02:30:19