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 (OS::MutexInterface &mutex)
 Create a lock on a Mutex object.
 ~MutexLock ()
 Remove a lock from a Mutex object.

Protected Attributes

OS::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 ( OS::MutexInterface mutex  )  [inline]

Create a lock on a Mutex object.

Parameters:
mutex The Mutex to be locked.

Definition at line 60 of file MutexLock.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Dec 23 13:22:47 2010 for Orocos Real-Time Toolkit by  doxygen 1.6.3