Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: UAVCAN UAVCAN_Subscriber
NodeDiscoverer Class Reference
This class listens to NodeStatus messages from other nodes and retrieves their unique ID if they are not known to the allocator. More...
#include <node_discoverer.hpp>
Inherits uavcan::TimerBase.
Public Member Functions | |
bool | hasUnknownNodes () const |
Returns true if there's at least one node with pending GetNodeInfo. | |
uint8_t | getNumUnknownNodes () const |
Returns number of nodes that are being queried at the moment. | |
Private Member Functions | |
void | startOneShotWithDeadline (MonotonicTime deadline) |
Various ways to start the timer - periodically or once. | |
MonotonicDuration | getPeriod () const |
Returns period if the timer is in periodic mode. |
Detailed Description
This class listens to NodeStatus messages from other nodes and retrieves their unique ID if they are not known to the allocator.
Definition at line 68 of file node_discoverer.hpp.
Member Function Documentation
uint8_t getNumUnknownNodes | ( | ) | const |
Returns number of nodes that are being queried at the moment.
This method is needed for testing and state visualization.
Definition at line 342 of file node_discoverer.hpp.
bool hasUnknownNodes | ( | ) | const |
Returns true if there's at least one node with pending GetNodeInfo.
Definition at line 336 of file node_discoverer.hpp.
Generated on Tue Jul 12 2022 17:17:37 by
