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 <MutexLock.hpp>

Public Member Functions

 SharedMutexLock (MutexInterface &mutex)
 
 ~SharedMutexLock ()
 

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.

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:


rtt
Author(s): RTT Developers
autogenerated on Fri Oct 25 2019 03:59:47