Public Member Functions | Public Attributes | List of all members
AdHocNodeStatusUpdater Struct Reference
Inheritance diagram for AdHocNodeStatusUpdater:
Inheritance graph
[legend]

Public Member Functions

 AdHocNodeStatusUpdater ()
 
virtual void updateNodeStatus ()
 
- Public Member Functions inherited from uavcan::IAdHocNodeStatusUpdater
virtual ~IAdHocNodeStatusUpdater ()
 

Public Attributes

uavcan::uint64_t invokations
 

Detailed Description

Definition at line 10 of file node_status_provider.cpp.

Constructor & Destructor Documentation

◆ AdHocNodeStatusUpdater()

AdHocNodeStatusUpdater::AdHocNodeStatusUpdater ( )
inline

Definition at line 14 of file node_status_provider.cpp.

Member Function Documentation

◆ updateNodeStatus()

virtual void AdHocNodeStatusUpdater::updateNodeStatus ( )
inlinevirtual

This method is invoked by the library from NodeStatusProvider from the library's thread immediately before the next NodeStatus message is transmitted. The application can implement this method to perform node status updates only as necessary. The application is expected to invoke the methods of NodeStatusProvider to update the status from this method. Note that this method is only invoked when publication is happening by the timer event. It will NOT be invoked if the following methods are used to trigger node status publication:

  • NodeStatusProvider::startAndPublish()
  • NodeStatusProvider::forcePublish()

Implements uavcan::IAdHocNodeStatusUpdater.

Definition at line 16 of file node_status_provider.cpp.

Member Data Documentation

◆ invokations

uavcan::uint64_t AdHocNodeStatusUpdater::invokations

Definition at line 12 of file node_status_provider.cpp.


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


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