Classes | Public Member Functions | Public Attributes | List of all members
TestNetwork< NumNodes > Struct Template Reference

#include <test_node.hpp>

Classes

struct  NodeEnvironment
 

Public Member Functions

TestNodeoperator[] (unsigned index)
 
int spinAll (uavcan::MonotonicDuration duration)
 
 TestNetwork (uavcan::uint8_t first_node_id=1)
 

Public Attributes

std::unique_ptr< NodeEnvironmentnodes [NumNodes]
 

Detailed Description

template<unsigned NumNodes>
struct TestNetwork< NumNodes >

Definition at line 204 of file test_node.hpp.

Constructor & Destructor Documentation

◆ TestNetwork()

template<unsigned NumNodes>
TestNetwork< NumNodes >::TestNetwork ( uavcan::uint8_t  first_node_id = 1)
inline

Definition at line 220 of file test_node.hpp.

Member Function Documentation

◆ operator[]()

template<unsigned NumNodes>
TestNode& TestNetwork< NumNodes >::operator[] ( unsigned  index)
inline

Definition at line 260 of file test_node.hpp.

◆ spinAll()

template<unsigned NumNodes>
int TestNetwork< NumNodes >::spinAll ( uavcan::MonotonicDuration  duration)
inline

Definition at line 241 of file test_node.hpp.

Member Data Documentation

◆ nodes

template<unsigned NumNodes>
std::unique_ptr<NodeEnvironment> TestNetwork< NumNodes >::nodes[NumNodes]

Definition at line 218 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