#include <ThreadImplPosix.h>
Public Member Functions | |
virtual void | cancel () |
virtual bool | executesHardRealtime () const |
virtual icl_core::String | getDescription () const |
virtual bool | isHardRealtime () const |
virtual void | join () |
virtual icl_core::ThreadPriority | priority () const |
virtual void | setDescription (const icl_core::String &description) |
virtual bool | setHardRealtime (bool hard_realtime) |
virtual bool | setPriority (icl_core::ThreadPriority priority) |
virtual bool | start () |
virtual icl_core::ThreadId | threadId () const |
ThreadImplPosix (Thread *thread, const icl_core::String &description, icl_core::ThreadPriority priority) | |
virtual | ~ThreadImplPosix () |
Static Private Member Functions | |
static void * | runThread (void *arg) |
Private Attributes | |
icl_core::String | m_description |
icl_core::ThreadPriority | m_priority |
Thread * | m_thread |
pthread_t | m_thread_id |
Implements thread functionality for posix systems. Have a look at documentation of basic class Thread for informations about the specific functions.
Definition at line 47 of file icl_core_thread/ThreadImplPosix.h.
icl_core::thread::ThreadImplPosix::ThreadImplPosix | ( | Thread * | thread, |
const icl_core::String & | description, | ||
icl_core::ThreadPriority | priority | ||
) |
Definition at line 35 of file icl_core_thread/ThreadImplPosix.cpp.
icl_core::thread::ThreadImplPosix::~ThreadImplPosix | ( | ) | [virtual] |
Definition at line 43 of file icl_core_thread/ThreadImplPosix.cpp.
void icl_core::thread::ThreadImplPosix::cancel | ( | ) | [virtual] |
Implements icl_core::thread::ThreadImpl.
Definition at line 46 of file icl_core_thread/ThreadImplPosix.cpp.
virtual bool icl_core::thread::ThreadImplPosix::executesHardRealtime | ( | ) | const [inline, virtual] |
Implements icl_core::thread::ThreadImpl.
Definition at line 57 of file icl_core_thread/ThreadImplPosix.h.
virtual icl_core::String icl_core::thread::ThreadImplPosix::getDescription | ( | ) | const [inline, virtual] |
Implements icl_core::thread::ThreadImpl.
Definition at line 55 of file icl_core_thread/ThreadImplPosix.h.
virtual bool icl_core::thread::ThreadImplPosix::isHardRealtime | ( | ) | const [inline, virtual] |
Implements icl_core::thread::ThreadImpl.
Definition at line 56 of file icl_core_thread/ThreadImplPosix.h.
void icl_core::thread::ThreadImplPosix::join | ( | ) | [virtual] |
Implements icl_core::thread::ThreadImpl.
Definition at line 51 of file icl_core_thread/ThreadImplPosix.cpp.
icl_core::ThreadPriority icl_core::thread::ThreadImplPosix::priority | ( | ) | const [virtual] |
Implements icl_core::thread::ThreadImpl.
Definition at line 56 of file icl_core_thread/ThreadImplPosix.cpp.
void * icl_core::thread::ThreadImplPosix::runThread | ( | void * | arg | ) | [static, private] |
Definition at line 106 of file icl_core_thread/ThreadImplPosix.cpp.
virtual void icl_core::thread::ThreadImplPosix::setDescription | ( | const icl_core::String & | description | ) | [inline, virtual] |
Implements icl_core::thread::ThreadImpl.
Definition at line 60 of file icl_core_thread/ThreadImplPosix.h.
virtual bool icl_core::thread::ThreadImplPosix::setHardRealtime | ( | bool | hard_realtime | ) | [inline, virtual] |
Implements icl_core::thread::ThreadImpl.
Definition at line 61 of file icl_core_thread/ThreadImplPosix.h.
bool icl_core::thread::ThreadImplPosix::setPriority | ( | icl_core::ThreadPriority | priority | ) | [virtual] |
Implements icl_core::thread::ThreadImpl.
Definition at line 72 of file icl_core_thread/ThreadImplPosix.cpp.
bool icl_core::thread::ThreadImplPosix::start | ( | ) | [virtual] |
Implements icl_core::thread::ThreadImpl.
Definition at line 91 of file icl_core_thread/ThreadImplPosix.cpp.
icl_core::ThreadId icl_core::thread::ThreadImplPosix::threadId | ( | ) | const [virtual] |
Implements icl_core::thread::ThreadImpl.
Definition at line 101 of file icl_core_thread/ThreadImplPosix.cpp.
Definition at line 82 of file icl_core_thread/ThreadImplPosix.h.
Definition at line 81 of file icl_core_thread/ThreadImplPosix.h.
Definition at line 80 of file icl_core_thread/ThreadImplPosix.h.
pthread_t icl_core::thread::ThreadImplPosix::m_thread_id [private] |
Definition at line 79 of file icl_core_thread/ThreadImplPosix.h.