MutexLock Class Reference

#include <rtt/os/MutexLock.hpp>

List of all members.


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.


Public Member Functions

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

Protected Member Functions

 MutexLock ()

Protected Attributes

OS::MutexInterface_mutex

Constructor & Destructor Documentation

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 MutexLock::_mutex, and MutexInterface::lock().


The documentation for this class was generated from the following file:
Generated on Tue Mar 25 17:42:02 2008 for OrocosReal-TimeToolkit by  doxygen 1.5.3