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

A 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.
 

Detailed Description

A 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 462 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 311 of file node.cpp.


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