#include <can_io.hpp>

Public Member Functions | |
| CanTxQueue (IPoolAllocator &allocator, ISystemClock &sysclock, std::size_t allocator_quota) | |
| bool | contains (const CanFrame &frame) const |
| uint32_t | getRejectedFrameCount () const |
| CanTxQueueEntry * | peek () |
| void | push (const CanFrame &frame, MonotonicTime tx_deadline, CanIOFlags flags) |
| void | remove (CanTxQueueEntry *entry) |
| bool | topPriorityHigherOrEqual (const CanFrame &rhs_frame) |
| ~CanTxQueue () override | |
Public Member Functions inherited from uavcan::AvlTree< CanTxQueueEntry > | |
| AvlTree (IPoolAllocator &allocator, std::size_t allocator_quota) | |
| bool | contains (const CanTxQueueEntry *data) const |
| size_t | getSize () const |
| bool | insert (CanTxQueueEntry *data) |
| bool | isEmpty () const |
| CanTxQueueEntry * | max () const |
| void | removeEntry (CanTxQueueEntry *data) |
| void | walkPostOrder (std::function< void(CanTxQueueEntry *&)> forEach) |
| virtual | ~AvlTree () |
Protected Member Functions | |
| bool | linkedListContains (Node *head, const CanFrame &frame) const |
| void | safeIncrementRejectedFrames () |
| AvlTree::Node * | searchForNonExpiredMax (Node *n) |
Protected Member Functions inherited from uavcan::AvlTree< CanTxQueueEntry > | |
| void | postOrderNodeTraverseRecursively (Node *n, std::function< void(Node *&)> forEach) |
| Node * | removeNode (Node *node, CanTxQueueEntry *data) |
Protected Attributes | |
| uint32_t | rejected_frames_cnt_ |
| ISystemClock & | sysclock_ |
Protected Attributes inherited from uavcan::AvlTree< CanTxQueueEntry > | |
| LimitedPoolAllocator | allocator_ |
| Node * | root_ |
Private Member Functions | |
| void | postOrderTraverseEntryCleanup (Node *n) |
Additional Inherited Members | |
Static Protected Member Functions inherited from uavcan::AvlTree< CanTxQueueEntry > | |
| static bool | linkedListContains (Node *head, const CanTxQueueEntry *data) |
Definition at line 78 of file can_io.hpp.
|
inline |
Definition at line 92 of file can_io.hpp.
|
override |
Definition at line 51 of file uc_can_io.cpp.
| bool uavcan::CanTxQueue::contains | ( | const CanFrame & | frame | ) | const |
Definition at line 67 of file uc_can_io.cpp.
|
inline |
Definition at line 105 of file can_io.hpp.
Definition at line 86 of file uc_can_io.cpp.
| CanTxQueueEntry * uavcan::CanTxQueue::peek | ( | ) |
Definition at line 143 of file uc_can_io.cpp.
|
private |
Definition at line 57 of file uc_can_io.cpp.
| void uavcan::CanTxQueue::push | ( | const CanFrame & | frame, |
| MonotonicTime | tx_deadline, | ||
| CanIOFlags | flags | ||
| ) |
Definition at line 104 of file uc_can_io.cpp.
| void uavcan::CanTxQueue::remove | ( | CanTxQueueEntry * | entry | ) |
Definition at line 132 of file uc_can_io.cpp.
|
protected |
Definition at line 98 of file uc_can_io.cpp.
|
protected |
Definition at line 161 of file uc_can_io.cpp.
| bool uavcan::CanTxQueue::topPriorityHigherOrEqual | ( | const CanFrame & | rhs_frame | ) |
Definition at line 153 of file uc_can_io.cpp.
|
protected |
Definition at line 85 of file can_io.hpp.
|
protected |
Definition at line 84 of file can_io.hpp.