Public Member Functions | Private Attributes
karto::Mutex::ScopedLock Class Reference

#include <Mutex.h>

List of all members.

Public Member Functions

void Acquire (Mutex &rMutex)
void Release ()
 ScopedLock ()
 ScopedLock (Mutex &rMutex)
bool TryAcquire (Mutex &rMutex)
 ~ScopedLock ()

Private Attributes

ScopedLockPrivatem_pScopedLockPrivate

Detailed Description

Wrapper for TBB mutex::scopedlock

Definition at line 60 of file Mutex.h.


Constructor & Destructor Documentation

Definition at line 68 of file Mutex.cpp.

Locks with the given mutex after construction

Parameters:
rMutexmutex to acquire

Definition at line 73 of file Mutex.cpp.

Definition at line 79 of file Mutex.cpp.


Member Function Documentation

Locks with the given mutex

Parameters:
rMutexmutex to acquire

Definition at line 86 of file Mutex.cpp.

Releases the lock

Definition at line 102 of file Mutex.cpp.

Tries to lock with the given mutex

Parameters:
rMutexmutex to acquire
Returns:
true if the mutex has been acquired, false otherwise

Definition at line 93 of file Mutex.cpp.


Member Data Documentation

Definition at line 92 of file Mutex.h.


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


nav2d_karto
Author(s): Sebastian Kasperski
autogenerated on Sun Apr 2 2017 03:53:09