OpenDaVINCI  4.16.0
odcore::wrapper::WIN32Impl::WIN32Thread Class Reference

#include <WIN32Thread.h>

Inheritance diagram for odcore::wrapper::WIN32Impl::WIN32Thread:
Inheritance graph

Public Member Functions

virtual ~WIN32Thread ()
 
virtual bool start ()
 
virtual bool stop ()
 
virtual bool isRunning () const
 

Friends

class ConcurrencyFactoryWorker< SystemLibraryWin32 >
 

Detailed Description

This class is an implementation of the thread interface using pthread.

Thread

Constructor & Destructor Documentation

odcore::wrapper::WIN32Impl::WIN32Thread::~WIN32Thread ( )
virtual

Member Function Documentation

bool odcore::wrapper::WIN32Impl::WIN32Thread::isRunning ( ) const
virtual

This method returns true, iff the thread is running.

Returns
true, iff the thread is running.

Implements odcore::wrapper::Thread.

bool odcore::wrapper::WIN32Impl::WIN32Thread::start ( )
virtual

This method starts a thread.

Returns
true, iff the thread could be started.

Implements odcore::wrapper::Thread.

References odcore::wrapper::WIN32Impl::threadRunner().

bool odcore::wrapper::WIN32Impl::WIN32Thread::stop ( )
virtual

This method stops a thread. A stopped thread cannot be restarted.

Returns
true, iff the thread could be stopped.

Implements odcore::wrapper::Thread.

Friends And Related Function Documentation