3.4.0
tigl::CheckedMutex Class Reference

#include <CheckedMutex.h>

Public Member Functions

 CheckedMutex ()=default
 
 CheckedMutex (const CheckedMutex &)=delete
 
void lock ()
 
CheckedMutexoperator= (const CheckedMutex &)=delete
 
bool try_lock ()
 
void unlock ()
 
 ~CheckedMutex ()=default
 

Private Attributes

boost::condition_variable _cv
 
boost::mutex _mtx
 
boost::thread::id _owner
 

Constructor & Destructor Documentation

◆ CheckedMutex() [1/2]

tigl::CheckedMutex::CheckedMutex ( )
default

◆ ~CheckedMutex()

tigl::CheckedMutex::~CheckedMutex ( )
default

◆ CheckedMutex() [2/2]

tigl::CheckedMutex::CheckedMutex ( const CheckedMutex )
delete

Member Function Documentation

◆ lock()

void tigl::CheckedMutex::lock ( )
inline

◆ operator=()

CheckedMutex& tigl::CheckedMutex::operator= ( const CheckedMutex )
delete

◆ try_lock()

bool tigl::CheckedMutex::try_lock ( )
inline

◆ unlock()

void tigl::CheckedMutex::unlock ( )
inline

Field Documentation

◆ _cv

boost::condition_variable tigl::CheckedMutex::_cv
private

◆ _mtx

boost::mutex tigl::CheckedMutex::_mtx
private

◆ _owner

boost::thread::id tigl::CheckedMutex::_owner
private

The documentation for this class was generated from the following file: