QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
QGCSensors::QGCCompass Class Reference

#include <QGCSensors.h>

Inheritance diagram for QGCSensors::QGCCompass:
Collaboration diagram for QGCSensors::QGCCompass:

Signals

void compassUpdated (qreal azimuth)
void positionUpdated (QGeoPositionInfo update)

Public Member Functions

 QGCCompass (QObject *parent=nullptr)
 ~QGCCompass ()
bool init ()
void quit ()

Static Public Member Functions

static QGCCompass * instance ()

Detailed Description

Definition at line 114 of file QGCSensors.h.

Constructor & Destructor Documentation

◆ QGCCompass()

QGCSensors::QGCCompass::QGCCompass ( QObject * parent = nullptr)

Definition at line 255 of file QGCSensors.cc.

References init().

Referenced by instance().

◆ ~QGCCompass()

QGCSensors::QGCCompass::~QGCCompass ( )

Definition at line 271 of file QGCSensors.cc.

Member Function Documentation

◆ compassUpdated

void QGCSensors::QGCCompass::compassUpdated ( qreal azimuth)
signal

Referenced by init().

◆ init()

bool QGCSensors::QGCCompass::init ( )

Definition at line 276 of file QGCSensors.cc.

References compassUpdated(), and positionUpdated().

Referenced by QGCCompass().

◆ instance()

QGCCompass * QGCSensors::QGCCompass::instance ( )
static

Definition at line 250 of file QGCSensors.cc.

References QGCCompass().

◆ positionUpdated

void QGCSensors::QGCCompass::positionUpdated ( QGeoPositionInfo update)
signal

Referenced by init().

◆ quit()

void QGCSensors::QGCCompass::quit ( )

Definition at line 338 of file QGCSensors.cc.


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