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 |
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.
RTT::os::MutexLock::MutexLock | ( | MutexInterface & | mutex | ) | [inline] |
Create a lock on a Mutex object.
mutex | The 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 | ( | ) | [inline, protected] |
Definition at line 77 of file MutexLock.hpp.
MutexInterface* RTT::os::MutexLock::_mutex [protected] |
Definition at line 75 of file MutexLock.hpp.