Orocos Real-Time Toolkit  2.5.0
Public Member Functions | Protected Attributes
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 <rtt/os/MutexLock.hpp>

List of all members.

Public Member Functions

 MutexLock (MutexInterface &mutex)
 Create a lock on a Mutex object.
 ~MutexLock ()
 Remove a lock from a Mutex object.

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

Create a lock on a Mutex object.

Parameters:
mutexThe Mutex to be locked.

Definition at line 60 of file MutexLock.hpp.


The documentation for this class was generated from the following file: