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 (MutexInterface &mutex) | |
| ~MutexLock () | |
| ~MutexLock () | |
Protected Member Functions | |
| MutexLock () | |
| 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 install/include/rtt/os/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 install/include/rtt/os/MutexLock.hpp.
| RTT::os::MutexLock::~MutexLock | ( | ) | [inline] |
Remove a lock from a Mutex object
Definition at line 69 of file install/include/rtt/os/MutexLock.hpp.
| RTT::os::MutexLock::MutexLock | ( | ) | [inline, protected] |
Definition at line 77 of file install/include/rtt/os/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 rtt/os/MutexLock.hpp.
| RTT::os::MutexLock::~MutexLock | ( | ) | [inline] |
Remove a lock from a Mutex object
Definition at line 69 of file rtt/os/MutexLock.hpp.
| RTT::os::MutexLock::MutexLock | ( | ) | [inline, protected] |
Definition at line 77 of file rtt/os/MutexLock.hpp.
MutexInterface * RTT::os::MutexLock::_mutex [protected] |
Definition at line 75 of file install/include/rtt/os/MutexLock.hpp.