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.

References RTT::OS::MutexInterface::lock().


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

Generated on Tue Aug 25 14:17:26 2009 for Orocos Real-Time Toolkit by  doxygen 1.5.8