![]() |
NDEVR
API Documentation
|
Allows program-wide registration of a magnetic dialog to display when user should adjust magnetic declination. More...
Static Public Member Functions | |
| static void | OnRequestMagneticDeclination () |
| Invokes the registered magnetic declination dialog. | |
| static void | SetMagneticDeclination (const std::function< void()> &function) |
| Registers a callback function to display the magnetic declination dialog. | |
Static Protected Attributes | |
| static std::function< void()> | s_on_request_magnetic_declination |
| The registered callback for showing the magnetic declination dialog. | |
Allows program-wide registration of a magnetic dialog to display when user should adjust magnetic declination.
Definition at line 11 of file Magnetometer.h.
|
static |
Registers a callback function to display the magnetic declination dialog.
| [in] | function | The callback to invoke when declination adjustment is needed. |