#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.9 Git: 690a4699f Wed Apr 15 19:29:53 2020 +0200 at miƩ abr 15 19:30:12 CEST 2020 |