#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 |
|
inlineprotected |
|
inline |
Definition at line 60 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.5.7 Git: 5902e14cc Wed Apr 24 15:04:01 2019 +0200 at lun oct 28 01:39:17 CET 2019 |