|
Orocos Real-Time Toolkit
2.8.3
|
MutexLock is a scope based Monitor, protecting critical sections with a Mutex object through locking and unlocking it. More...
#include <rtt/os/MutexLock.hpp>
Public Member Functions | |
| MutexLock (MutexInterface &mutex) | |
| Create a lock on a Mutex object. More... | |
| ~MutexLock () | |
| Remove a lock from a Mutex object. More... | |
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.
|
inline |
Create a lock on a Mutex object.
| mutex | The Mutex to be locked. |
Definition at line 60 of file MutexLock.hpp.
References RTT::os::MutexInterface::lock().
|
inline |
Remove a lock from a Mutex object.
Definition at line 69 of file MutexLock.hpp.
|
inlineprotected |
Definition at line 77 of file MutexLock.hpp.
|
protected |
Definition at line 75 of file MutexLock.hpp.
1.8.11