QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
SysStatusSensorInfo Class Reference

Class which represents sensor info from the SYS_STATUS mavlink message. More...

#include <SysStatusSensorInfo.h>

+ Inheritance diagram for SysStatusSensorInfo:
+ Collaboration diagram for SysStatusSensorInfo:

Signals

void sensorInfoChanged ()
 

Public Member Functions

 SysStatusSensorInfo (QObject *parent=nullptr)
 
 ~SysStatusSensorInfo ()
 
void update (const mavlink_sys_status_t &sysStatus)
 
QStringList sensorNames () const
 
QStringList sensorStatus () const
 

Detailed Description

Class which represents sensor info from the SYS_STATUS mavlink message.

Definition at line 10 of file SysStatusSensorInfo.h.

Constructor & Destructor Documentation

◆ SysStatusSensorInfo()

SysStatusSensorInfo::SysStatusSensorInfo ( QObject *  parent = nullptr)
explicit

Definition at line 7 of file SysStatusSensorInfo.cc.

◆ ~SysStatusSensorInfo()

SysStatusSensorInfo::~SysStatusSensorInfo ( )

Definition at line 13 of file SysStatusSensorInfo.cc.

Member Function Documentation

◆ sensorInfoChanged

void SysStatusSensorInfo::sensorInfoChanged ( )
signal

Referenced by update().

◆ sensorNames()

QStringList SysStatusSensorInfo::sensorNames ( ) const

Definition at line 56 of file SysStatusSensorInfo.cc.

References QGCMAVLink::mavSysStatusSensorToString().

◆ sensorStatus()

QStringList SysStatusSensorInfo::sensorStatus ( ) const

Definition at line 82 of file SysStatusSensorInfo.cc.

◆ update()

void SysStatusSensorInfo::update ( const mavlink_sys_status_t &  sysStatus)

Definition at line 18 of file SysStatusSensorInfo.cc.

References sensorInfoChanged().


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