Lely core libraries 2.3.4
lely::canopen::Node::TpdoEventMutex Class Reference

A recursive mutex-like object that can be used to postpone the transmission of acyclic and event-driven Transmit-PDOs while the lock is held. More...

#include <node.hpp>

Inheritance diagram for lely::canopen::Node::TpdoEventMutex:
Collaboration diagram for lely::canopen::Node::TpdoEventMutex:

Public Member Functions

void lock () override
 Blocks until a lock can be obtained for the current execution agent (thread, process, task). More...
 
void unlock () override
 Releases the lock held by the execution agent. Throws no exceptions.
 
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

A recursive mutex-like object that can be used to postpone the transmission of acyclic and event-driven Transmit-PDOs while the lock is held.

Definition at line 463 of file node.hpp.

Member Function Documentation

◆ lock()

void lely::canopen::Node::TpdoEventMutex::lock ( )
overridevirtual

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

If an exception is thrown, no lock is obtained.

Implements lely::util::BasicLockable.

Definition at line 396 of file node.cpp.


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