APM:Libraries
|
Public Member Functions | |
IfaceWrapper (int fd) | |
void | updateDownStatusFromPollResult (const pollfd &pfd) |
bool | isDown () const |
![]() | |
CAN (int socket_fd=0) | |
~CAN () | |
bool | begin (uint32_t bitrate) override |
void | end () override |
void | reset () override |
bool | is_initialized () override |
int32_t | tx_pending () override |
int32_t | available () override |
int | getFileDescriptor () const |
int16_t | send (const uavcan::CanFrame &frame, uavcan::MonotonicTime tx_deadline, uavcan::CanIOFlags flags) override |
int16_t | receive (uavcan::CanFrame &out_frame, uavcan::MonotonicTime &out_ts_monotonic, uavcan::UtcTime &out_ts_utc, uavcan::CanIOFlags &out_flags) override |
bool | hasReadyTx () const |
bool | hasReadyRx () const |
void | poll (bool read, bool write) |
int16_t | configureFilters (const uavcan::CanFilterConfig *filter_configs, uint16_t num_configs) override |
uint16_t | getNumFilters () const override |
uint64_t | getErrorCount () const override |
Private Attributes | |
bool | _down = false |
Additional Inherited Members | |
![]() | |
static int | openSocket (const std::string &iface_name) |
|
inline |
void Linux::CANManager::IfaceWrapper::updateDownStatusFromPollResult | ( | const pollfd & | pfd | ) |