#include <rplidar/src/hal/locker.h>
Public Types | |
enum | LOCK_STATUS { LOCK_OK = 1, LOCK_TIMEOUT = -1, LOCK_FAILED = 0 } |
Public Member Functions | |
Locker () | |
~Locker () | |
Locker::LOCK_STATUS | lock (unsigned long timeout=0xFFFFFFFF) |
void | unlock () |
HANDLE | getLockHandle () |
Protected Member Functions | |
void | init () |
void | release () |
Protected Attributes | |
HANDLE | _lock |
|
inline |
|
inline |
|
inline |
|
inlineprotected |
|
inline |
Definition at line 58 of file locker.h.
References _lock, LOCK_FAILED, LOCK_OK, LOCK_TIMEOUT, and mrpt::system::now().
Referenced by rp::standalone::rplidar::RPlidarDriverSerialImpl::_cacheCapsuledScanData(), rp::standalone::rplidar::RPlidarDriverSerialImpl::_cacheScanData(), and rp::hal::AutoLocker::AutoLocker().
|
inlineprotected |
|
inline |
Definition at line 117 of file locker.h.
References _lock.
Referenced by rp::standalone::rplidar::RPlidarDriverSerialImpl::_cacheCapsuledScanData(), rp::standalone::rplidar::RPlidarDriverSerialImpl::_cacheScanData(), rp::hal::AutoLocker::forceUnlock(), release(), and rp::hal::AutoLocker::~AutoLocker().
Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019 |