Public Member Functions | Public Attributes | List of all members
TestNode Struct Reference

#include <test_node.hpp>

Inheritance diagram for TestNode:
Inheritance graph
[legend]

Public Member Functions

virtual uavcan::IPoolAllocatorgetAllocator ()
 
virtual uavcan::SchedulergetScheduler ()
 
virtual const uavcan::SchedulergetScheduler () const
 
virtual void registerInternalFailure (const char *msg)
 
 TestNode (uavcan::ICanDriver &can_driver, uavcan::ISystemClock &clock_driver, uavcan::NodeID self_node_id)
 
- Public Member Functions inherited from uavcan::INode
DispatchergetDispatcher ()
 
const DispatchergetDispatcher () const
 
MonotonicTime getMonotonicTime () const
 
NodeID getNodeID () const
 
ISystemClockgetSystemClock ()
 
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 ()
 

Public Attributes

uint64_t internal_failure_count
 
uavcan::HeapBasedPoolAllocator< uavcan::MemPoolBlockSizepool
 
uavcan::Scheduler scheduler
 

Detailed Description

Definition at line 20 of file test_node.hpp.

Constructor & Destructor Documentation

◆ TestNode()

TestNode::TestNode ( uavcan::ICanDriver can_driver,
uavcan::ISystemClock clock_driver,
uavcan::NodeID  self_node_id 
)
inline

Definition at line 32 of file test_node.hpp.

Member Function Documentation

◆ getAllocator()

virtual uavcan::IPoolAllocator& TestNode::getAllocator ( )
inlinevirtual

Implements uavcan::INode.

Definition at line 46 of file test_node.hpp.

◆ getScheduler() [1/2]

virtual uavcan::Scheduler& TestNode::getScheduler ( )
inlinevirtual

Implements uavcan::INode.

Definition at line 47 of file test_node.hpp.

◆ getScheduler() [2/2]

virtual const uavcan::Scheduler& TestNode::getScheduler ( ) const
inlinevirtual

Implements uavcan::INode.

Definition at line 48 of file test_node.hpp.

◆ registerInternalFailure()

virtual void TestNode::registerInternalFailure ( const char *  msg)
inlinevirtual

Implements uavcan::INode.

Definition at line 40 of file test_node.hpp.

Member Data Documentation

◆ internal_failure_count

uint64_t TestNode::internal_failure_count

Definition at line 30 of file test_node.hpp.

◆ pool

Definition at line 28 of file test_node.hpp.

◆ scheduler

uavcan::Scheduler TestNode::scheduler

Definition at line 29 of file test_node.hpp.


The documentation for this struct was generated from the following file:


uavcan_communicator
Author(s):
autogenerated on Fri Dec 13 2024 03:10:04