Lely core libraries
2.3.4
|
A CAN frame rounter. This class is a wrapper around #io_can_rt_t*
.
More...
#include <can_rt.hpp>
Public Member Functions | |
CanRouter (io_can_chan_t *chan, ev_exec_t *exec) | |
~CanRouter () | |
CanChannelBase | get_channel () const noexcept |
void | submit_read_frame (struct io_can_rt_read_msg &read_msg) noexcept |
template<class F > | |
void | submit_read_frame (uint_least32_t id, CanFlag flags, F &&f) |
bool | cancel_read_frame (struct io_can_rt_read_msg &read_msg) noexcept |
bool | abort_read_frame (struct io_can_rt_read_msg &read_msg) noexcept |
ev::Future< const can_msg *, int > | async_read_frame (uint_least32_t id, CanFlag flags, struct io_can_rt_read_msg **pread_msg=nullptr) |
void | submit_read_error (struct io_can_rt_read_err &read_err) noexcept |
template<class F > | |
typename ::std::enable_if<!::std::is_base_of< io_can_rt_read_err, typename ::std::decay< F >::type >::value >::type | submit_read_error (F &&f) |
bool | cancel_read_error (struct io_can_rt_read_err &read_err) noexcept |
bool | abort_read_error (struct io_can_rt_read_err &read_err) noexcept |
ev::Future< const can_err *, int > | async_read_error (struct io_can_rt_read_err **pread_err=nullptr) |
ev::Future< void, void > | async_shutdown () |
![]() | |
ContextBase | get_ctx () const noexcept |
ev::Executor | get_executor () const noexcept |
bool | cancel (ev_task &task) noexcept |
::std::size_t | cancel_all () noexcept |
bool | abort (ev_task &task) noexcept |
::std::size_t | abort_all () noexcept |
A CAN frame rounter. This class is a wrapper around #io_can_rt_t*
.
Definition at line 209 of file can_rt.hpp.
|
inline |
Definition at line 214 of file can_rt.hpp.
|
inline |
Definition at line 240 of file can_rt.hpp.
|
inlinenoexcept |
Definition at line 246 of file can_rt.hpp.
|
inlinenoexcept |
Definition at line 252 of file can_rt.hpp.
|
inline |
Definition at line 259 of file can_rt.hpp.
|
inlinenoexcept |
Definition at line 266 of file can_rt.hpp.
|
inlinenoexcept |
Definition at line 272 of file can_rt.hpp.
|
inline |
Definition at line 278 of file can_rt.hpp.
|
inlinenoexcept |
Definition at line 288 of file can_rt.hpp.
|
inline |
Definition at line 296 of file can_rt.hpp.
|
inlinenoexcept |
Definition at line 303 of file can_rt.hpp.
|
inlinenoexcept |
Definition at line 309 of file can_rt.hpp.
|
inline |
Definition at line 315 of file can_rt.hpp.
|
inline |
Definition at line 323 of file can_rt.hpp.