|
APM:Libraries
|
#include <AP_Menu.h>
Public Attributes | |
| const char * | str |
| string form of the argument More... | |
| long | i |
| integer form of the argument (if a number) More... | |
| float | f |
| floating point form of the argument (if a number) More... | |
argument passed to a menu function
Space-delimited arguments are parsed from the commandline and separated into these structures.
If the argument cannot be parsed as a float or a long, the value of f or i respectively is undefined. You should range-check the inputs to your function.
| float Menu::arg::f |
floating point form of the argument (if a number)
Definition at line 37 of file AP_Menu.h.
Referenced by Menu::_run_command().
| long Menu::arg::i |
integer form of the argument (if a number)
Definition at line 36 of file AP_Menu.h.
Referenced by Menu::_run_command(), and parse_gpio_pin_number().
| const char* Menu::arg::str |
string form of the argument
Definition at line 35 of file AP_Menu.h.
Referenced by Menu::_run_command().
1.8.13