|
Lely core libraries 2.3.5
|
A CAN frame read operation suitable for use with a CAN frame router. More...
#include <can_rt.hpp>


Public Member Functions | |
| template<class F> | |
| CanRouterReadFrame (uint_least32_t id, CanFlag flags, F &&f) | |
| Constructs a CAN 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_msg | |
| uint_least32_t | id |
| The identifier of the CAN frame to be received. | |
| uint_least8_t | flags |
| The flags of the CAN frame to be received (any combination of CAN_FLAG_IDE, CAN_FLAG_RTR, CAN_FLAG_FDF, CAN_FLAG_BRS and CAN_FLAG_ESI). | |
| struct ev_task | task |
| The task (to be) submitted upon completion (or cancellation) of the read operation. | |
| struct io_can_rt_read_msg_result | r |
| The result of the read operation. | |
A CAN frame read operation suitable for use with a CAN frame router.
This class stores a callable object with signature void(const can_msg* msg, std::error_code ec), which is invoked upon completion (or cancellation) of the read operation.
Definition at line 87 of file can_rt.hpp.