Lely core libraries  2.2.5
lely::io::CanRouterReadError Class Reference

A CAN error frame read operation suitable for use with a CAN frame router. More...

#include <can_rt.hpp>

Inheritance diagram for lely::io::CanRouterReadError:
Collaboration diagram for lely::io::CanRouterReadError:

Public Member Functions

template<class F >
 CanRouterReadError (F &&f)
 Constructs a CAN error frame read operation with a completion task.
 
ev::Executor get_executor () const noexcept
 Returns the executor to which the completion task is (to be) submitted.
 

Additional Inherited Members

- Data Fields inherited from io_can_rt_read_err
struct ev_task task
 The task (to be) submitted upon completion (or cancellation) of the read operation.
 
struct io_can_rt_read_err_result r
 The result of the read operation.
 

Detailed Description

A CAN error frame read operation suitable for use with a CAN frame router.

This class stores a callable object with signature void(const can_err* err, std::error_code ec), which is invoked upon completion (or cancellation) of the read operation.

Definition at line 173 of file can_rt.hpp.


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