Orocos Real-Time Toolkit  2.9.0
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RTT::os::SharedMutexLock Class Reference

SharedMutexLock is a scope based Monitor, protecting critical sections with a SharedMutex object through locking and unlocking it. More...

#include <rtt/os/MutexLock.hpp>

Public Member Functions

 SharedMutexLock (MutexInterface &mutex)
 Create a shared lock on a SharedMutex object. More...
 
 ~SharedMutexLock ()
 Remove a lock from a SharedMutex object. More...
 

Protected Member Functions

 SharedMutexLock ()
 

Protected Attributes

MutexInterface_mutex
 

Detailed Description

SharedMutexLock is a scope based Monitor, protecting critical sections with a SharedMutex object through locking and unlocking it.

Definition at line 204 of file MutexLock.hpp.

Constructor & Destructor Documentation

RTT::os::SharedMutexLock::SharedMutexLock ( MutexInterface mutex)
inline

Create a shared lock on a SharedMutex object.

Parameters
mutexThe Mutex to be locked.

Definition at line 213 of file MutexLock.hpp.

References RTT::os::MutexInterface::lock_shared().

RTT::os::SharedMutexLock::~SharedMutexLock ( )
inline

Remove a lock from a SharedMutex object.

Definition at line 222 of file MutexLock.hpp.

RTT::os::SharedMutexLock::SharedMutexLock ( )
inlineprotected

Definition at line 230 of file MutexLock.hpp.

Member Data Documentation

MutexInterface* RTT::os::SharedMutexLock::_mutex
protected

Definition at line 228 of file MutexLock.hpp.


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