|
CanBusFlag | get_flags () const |
|
int | read (can_msg *msg, can_err *err, ::std::chrono::nanoseconds *dp, int timeout, ::std::error_code &ec) noexcept |
|
bool | read (can_msg *msg, can_err *err=nullptr, ::std::chrono::nanoseconds *dp=nullptr, int timeout=-1) |
|
void | submit_read (struct io_can_chan_read &read) noexcept |
|
template<class F > |
void | submit_read (can_msg *msg, can_err *err, ::std::chrono::nanoseconds *dp, ev_exec_t *exec, F &&f) |
|
template<class F > |
void | submit_read (can_msg *msg, can_err *err, ::std::chrono::nanoseconds *dp, F &&f) |
|
bool | cancel_read (struct io_can_chan_read &read) noexcept |
|
bool | abort_read (struct io_can_chan_read &read) noexcept |
|
ev::Future< int, int > | async_read (ev_exec_t *exec, can_msg *msg, can_err *err=nullptr, timespec *tp=nullptr, struct io_can_chan_read **pread=nullptr) |
|
ev::Future< int, int > | async_read (can_msg *msg, can_err *err=nullptr, timespec *tp=nullptr, struct io_can_chan_read **pread=nullptr) |
|
void | write (const can_msg &msg, int timeout, ::std::error_code &ec) noexcept |
|
void | write (const can_msg &msg, int timeout=-1) |
|
void | submit_write (struct io_can_chan_write &write) noexcept |
|
template<class F > |
void | submit_write (const can_msg &msg, ev_exec_t *exec, F &&f) |
|
template<class F > |
void | submit_write (const can_msg &msg, F &&f) |
|
bool | cancel_write (struct io_can_chan_write &write) noexcept |
|
bool | abort_write (struct io_can_chan_write &write) noexcept |
|
ev::Future< void, int > | async_write (ev_exec_t *exec, const can_msg &msg, struct io_can_chan_write **pwrite=nullptr) |
|
ev::Future< void, int > | async_write (const can_msg &msg, struct io_can_chan_write **pwrite=nullptr) |
|
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 reference to an abstract CAN channel.
This class is a wrapper around io_can_chan_t*
.
Definition at line 429 of file can.hpp.