KaCanOpen
 All Classes Functions Variables Typedefs Enumerations Pages
Public Types | Public Attributes | List of all members
kaco::PDO::PDOReceivedCallback Struct Reference

A PDO message receiver function together with it's COB-ID Important: Never call add_pdo_received_callback or process_incoming_message from within (-> deadlock)! More...

#include <pdo.h>

Public Types

using Callback = std::function< void(std::vector< uint8_t >) >
 Type of the callback.
 

Public Attributes

uint16_t cob_id
 The COB-ID of the PDO to receive.
 
Callback callback
 The callback.
 

Detailed Description

A PDO message receiver function together with it's COB-ID Important: Never call add_pdo_received_callback or process_incoming_message from within (-> deadlock)!

Definition at line 59 of file pdo.h.


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