#include <sub_node.hpp>
Public Member Functions | |
virtual RemoveReference< Allocator >::Type & | getAllocator () |
uint64_t | getInternalFailureCount () const |
virtual Scheduler & | getScheduler () |
virtual const Scheduler & | getScheduler () const |
SubNode (ICanDriver &can_driver, ISystemClock &system_clock) | |
SubNode (ICanDriver &can_driver, ISystemClock &system_clock, IPoolAllocator &allocator) | |
![]() | |
Dispatcher & | getDispatcher () |
const Dispatcher & | getDispatcher () const |
MonotonicTime | getMonotonicTime () const |
NodeID | getNodeID () const |
ISystemClock & | getSystemClock () |
UtcTime | getUtcTime () const |
int | injectTxFrame (const CanFrame &frame, MonotonicTime tx_deadline, uint8_t iface_mask, CanIOFlags flags=0) |
void | installRxFrameListener (IRxFrameListener *lst) |
bool | isPassiveMode () const |
void | removeRxFrameListener () |
bool | setNodeID (NodeID nid) |
int | spin (MonotonicDuration duration) |
int | spin (MonotonicTime deadline) |
int | spinOnce () |
virtual | ~INode () |
Protected Member Functions | |
virtual void | registerInternalFailure (const char *msg) |
Private Types | |
typedef Select<(MemPoolSize > 0), PoolAllocator< MemPoolSize, MemPoolBlockSize >, IPoolAllocator & >::Result | Allocator |
Private Attributes | |
uint64_t | internal_failure_cnt_ |
Allocator | pool_allocator_ |
Scheduler | scheduler_ |
This node object can be used in multiprocess UAVCAN nodes. Please refer to the Node<> for documentation concerning the template arguments; refer to the tutorials to lean how to use libuavcan in multiprocess applications.
Definition at line 24 of file sub_node.hpp.
|
private |
Definition at line 30 of file sub_node.hpp.
|
inline |
This overload is only valid if MemPoolSize > 0.
Definition at line 49 of file sub_node.hpp.
|
inline |
This overload is only valid if MemPoolSize == 0.
Definition at line 58 of file sub_node.hpp.
|
inlinevirtual |
Implements uavcan::INode.
Definition at line 66 of file sub_node.hpp.
|
inline |
Definition at line 71 of file sub_node.hpp.
|
inlinevirtual |
Implements uavcan::INode.
Definition at line 68 of file sub_node.hpp.
|
inlinevirtual |
Implements uavcan::INode.
Definition at line 69 of file sub_node.hpp.
|
inlineprotectedvirtual |
Implements uavcan::INode.
Definition at line 38 of file sub_node.hpp.
|
private |
Definition at line 35 of file sub_node.hpp.
|
private |
Definition at line 32 of file sub_node.hpp.
|
private |
Definition at line 33 of file sub_node.hpp.