OpenDaVINCI  4.15.3
odcore::wrapper::WIN32Impl::WIN32Mutex Class Reference

#include <WIN32Mutex.h>

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

Public Member Functions

virtual ~WIN32Mutex ()
 
virtual void lock ()
 
virtual bool tryLock ()
 
virtual void unlock ()
 
std::mutex & getNativeMutex ()
 

Protected Member Functions

 WIN32Mutex ()
 

Friends

class MutexFactoryWorker< SystemLibraryWin32 >
 
class WIN32Condition
 

Detailed Description

This class implements a mutex for protecting parts using pthread.

Mutex

Constructor & Destructor Documentation

odcore::wrapper::WIN32Impl::WIN32Mutex::WIN32Mutex ( )
protected
odcore::wrapper::WIN32Impl::WIN32Mutex::~WIN32Mutex ( )
virtual

Member Function Documentation

mutex & odcore::wrapper::WIN32Impl::WIN32Mutex::getNativeMutex ( )
void odcore::wrapper::WIN32Impl::WIN32Mutex::lock ( )
virtual

This method locks a wrapped mutex.

Implements odcore::wrapper::Mutex.

bool odcore::wrapper::WIN32Impl::WIN32Mutex::tryLock ( )
virtual

This method tries to lock a wrapped mutex.

Returns
true, if the mutex could be locked.

Implements odcore::wrapper::Mutex.

void odcore::wrapper::WIN32Impl::WIN32Mutex::unlock ( )
virtual

This method unlocks a wrapped mutex.

Implements odcore::wrapper::Mutex.

Friends And Related Function Documentation

friend class MutexFactoryWorker< SystemLibraryWin32 >
friend
friend class WIN32Condition
friend