Class jac::TimeoutLock
ClassList > jac > TimeoutLock
Public Functions
Type | Name |
---|---|
TimeoutLock (std::chrono::milliseconds duration, std::function< void()> callback) |
|
TimeoutLock (const TimeoutLock &) = delete |
|
TimeoutLock (TimeoutLock &&) = delete |
|
void | forceUnlock () |
void | init () |
bool | lock (int who) |
TimeoutLock & | operator= (const TimeoutLock &) = delete |
TimeoutLock & | operator= (TimeoutLock &&) = delete |
bool | ownedBy (int who) |
void | resetTimeout (int who) |
void | stopTimeout (int who) |
bool | unlock (int who) |
~TimeoutLock () |
Public Functions Documentation
function TimeoutLock [1/3]
inline jac::TimeoutLock::TimeoutLock (
std::chrono::milliseconds duration,
std::function< void()> callback
)
function TimeoutLock [2/3]
function TimeoutLock [3/3]
function forceUnlock
function init
function lock
function operator=
function operator=
function ownedBy
function resetTimeout
function stopTimeout
function unlock
function ~TimeoutLock
The documentation for this class was generated from the following file src/jac/device/util/lock.h