NDEVR
API Documentation
MagneticDeclinationDialogFactory

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.

Detailed Description

Allows program-wide registration of a magnetic dialog to display when user should adjust magnetic declination.


Definition at line 11 of file Magnetometer.h.

Member Function Documentation

◆ SetMagneticDeclination()

void MagneticDeclinationDialogFactory::SetMagneticDeclination ( const std::function< void()> & function)
static

Registers a callback function to display the magnetic declination dialog.

Parameters
[in]functionThe callback to invoke when declination adjustment is needed.

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