#include <rtt/os/MutexLock.hpp>
Public Member Functions | |
| MutexTryLock (OS::MutexInterface &mutex) | |
| Try to lock a Mutex object. | |
| bool | isSuccessful () |
| Return if the locking of the Mutex was succesfull. | |
| ~MutexTryLock () | |
| Releases, if any, a lock on the previously try-locked Mutex. | |
Protected Attributes | |
| OS::MutexInterface * | _mutex |
| The Mutex to lock and unlock. | |
Definition at line 86 of file MutexLock.hpp.
| RTT::OS::MutexTryLock::MutexTryLock | ( | OS::MutexInterface & | mutex | ) | [inline] |
Try to lock a Mutex object.
| mutex | The Mutex which should be attempted to be locked |
Definition at line 96 of file MutexLock.hpp.
| bool RTT::OS::MutexTryLock::isSuccessful | ( | ) | [inline] |
Return if the locking of the Mutex was succesfull.
Definition at line 106 of file MutexLock.hpp.
Referenced by RTT::DataObjectPriorityGet< T >::Get(), and RTT::DataObjectPrioritySet< T >::Set().
1.5.8