Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
RTT::os::MutexLock Class Reference

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

#include <MutexLock.hpp>

Public Member Functions

 MutexLock (MutexInterface &mutex)
 
 ~MutexLock ()
 

Protected Member Functions

 MutexLock ()
 

Protected Attributes

MutexInterface_mutex
 

Detailed Description

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

Definition at line 51 of file MutexLock.hpp.

Constructor & Destructor Documentation

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

Create a lock on a Mutex object.

Parameters
mutexThe Mutex to be locked.

Definition at line 60 of file MutexLock.hpp.

RTT::os::MutexLock::~MutexLock ( )
inline

Remove a lock from a Mutex object

Definition at line 69 of file MutexLock.hpp.

RTT::os::MutexLock::MutexLock ( )
inlineprotected

Definition at line 77 of file MutexLock.hpp.

Member Data Documentation

MutexInterface* RTT::os::MutexLock::_mutex
protected

Definition at line 75 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