Lely core libraries  2.2.5
lely::util::BasicLockable Class Referenceabstract

An abstract interface conforming to the BasicLockable concept. More...

#include <mutex.hpp>

Inheritance diagram for lely::util::BasicLockable:

Public Member Functions

virtual void lock ()=0
 Blocks until a lock can be obtained for the current execution agent (thread, process, task). More...
 
virtual void unlock ()=0
 Releases the lock held by the execution agent. Throws no exceptions.
 

Detailed Description

An abstract interface conforming to the BasicLockable concept.

Definition at line 34 of file mutex.hpp.

Member Function Documentation

◆ lock()

virtual void lely::util::BasicLockable::lock ( )
pure virtual

Blocks until a lock can be obtained for the current execution agent (thread, process, task).

If an exception is thrown, no lock is obtained.

Implemented in lely::canopen::Device::Impl_, lely::canopen::Node::TpdoEventMutex, lely::canopen::BasicMaster::TpdoEventMutex, lely::canopen::LssMaster::Impl_, lely::io::CanNet, and lely::canopen::LssMaster.


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