API Documentation
Loading...
Searching...
No Matches
Magnetometer.h
Go to the documentation of this file.
1
#pragma once
2
#include "
DLLInfo.h
"
3
#include <NDEVR/INIInterface.h>
4
namespace
NDEVR
5
{
6
/**--------------------------------------------------------------------------------------------------
7
\brief Allows program-wide registration of a magnetic dialog to display when user should adjust magnetic declination
8
\ingroup Hardware Magnetometer
9
**/
10
class
HARDWARE_API
MagneticDeclinationDialogFactory
11
{
12
public
:
13
static
void
OnRequestMagneticDeclination
();
14
static
void
SetMagneticDeclination
(
const
std::function<
void
()>& function);
15
protected
:
16
static
std::function<void()>
s_on_request_magnetic_declination
;
17
};
18
}
DLLInfo.h
HARDWARE_API
#define HARDWARE_API
Definition
DLLInfo.h:56
NDEVR::MagneticDeclinationDialogFactory
Allows program-wide registration of a magnetic dialog to display when user should adjust magnetic dec...
Definition
Magnetometer.h:11
NDEVR::MagneticDeclinationDialogFactory::OnRequestMagneticDeclination
static void OnRequestMagneticDeclination()
NDEVR::MagneticDeclinationDialogFactory::SetMagneticDeclination
static void SetMagneticDeclination(const std::function< void()> &function)
NDEVR::MagneticDeclinationDialogFactory::s_on_request_magnetic_declination
static std::function< void()> s_on_request_magnetic_declination
Definition
Magnetometer.h:16
NDEVR
Definition
ACIColor.h:37
Hardware
Headers
Magnetometer.h