Public Member Functions | List of all members
mavrosflight::ParamListenerInterface Class Referenceabstract

Describes an interface classes can implement to receive and handle mavlink messages. More...

#include <param_listener_interface.h>

Inheritance diagram for mavrosflight::ParamListenerInterface:
Inheritance graph
[legend]

Public Member Functions

virtual void on_new_param_received (std::string name, double value)=0
 Called when a parameter is received from the autopilot for the first time. More...
 
virtual void on_param_value_updated (std::string name, double value)=0
 Called when an updated value is received for a parameter. More...
 
virtual void on_params_saved_change (bool unsaved_changes)=0
 Called when the status of whether there are unsaved parameters changes. More...
 

Detailed Description

Describes an interface classes can implement to receive and handle mavlink messages.

Definition at line 48 of file param_listener_interface.h.

Member Function Documentation

virtual void mavrosflight::ParamListenerInterface::on_new_param_received ( std::string  name,
double  value 
)
pure virtual

Called when a parameter is received from the autopilot for the first time.

Parameters
nameThe name of the parameter
valueThe value of the parameter

Implemented in rosflight_io::rosflightIO.

virtual void mavrosflight::ParamListenerInterface::on_param_value_updated ( std::string  name,
double  value 
)
pure virtual

Called when an updated value is received for a parameter.

Parameters
nameThe name of the parameter
valueThe updated value of the parameter

Implemented in rosflight_io::rosflightIO.

virtual void mavrosflight::ParamListenerInterface::on_params_saved_change ( bool  unsaved_changes)
pure virtual

Called when the status of whether there are unsaved parameters changes.

Parameters
unsaved_changesTrue if there are parameters that have been set but not saved on the autopilot

Implemented in rosflight_io::rosflightIO.


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


rosflight
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 20:00:14