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

#include <RCChannelMonitorController.h>

Inheritance diagram for RCChannelMonitorController:
Collaboration diagram for RCChannelMonitorController:

Signals

void channelCountChanged (int channelCount)
void channelValueChanged (int channel, int rcValue)
void clampValuesChanged ()
Signals inherited from FactPanelController
void missingParametersAvailable ()
void suppressRebootMessageChanged ()

Public Member Functions

 RCChannelMonitorController (QObject *parent=nullptr)
 ~RCChannelMonitorController ()
int channelCount () const
bool clampValues () const
void setClampValues (bool clamp)
Public Member Functions inherited from FactPanelController
 FactPanelController (QObject *parent=nullptr)
virtual ~FactPanelController ()
Q_INVOKABLE Fact * getParameterFact (int componentId, const QString &name, bool reportMissing=true) const
Q_INVOKABLE bool parameterExists (int componentId, const QString &name) const
Q_INVOKABLE void getMissingParameters (const QStringList &rgNames)
bool suppressRebootMessage () const
void setSuppressRebootMessage (bool suppress)

Additional Inherited Members

Protected Member Functions inherited from FactPanelController
bool _allParametersExists (int componentId, const QStringList &names) const
void _reportMissingParameter (int componentId, const QString &name) const
 Report a missing parameter.
Protected Attributes inherited from FactPanelController
Vehicle * _vehicle = nullptr

Detailed Description

Definition at line 7 of file RCChannelMonitorController.h.

Constructor & Destructor Documentation

◆ RCChannelMonitorController()

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

◆ ~RCChannelMonitorController()

RCChannelMonitorController::~RCChannelMonitorController ( )

Definition at line 15 of file RCChannelMonitorController.cc.

Member Function Documentation

◆ channelCount()

int RCChannelMonitorController::channelCount ( ) const
inline

Definition at line 18 of file RCChannelMonitorController.h.

Referenced by channelCountChanged().

◆ channelCountChanged

void RCChannelMonitorController::channelCountChanged ( int channelCount)
signal

References channelCount().

◆ channelValueChanged

void RCChannelMonitorController::channelValueChanged ( int channel,
int rcValue )
signal

◆ clampValues()

bool RCChannelMonitorController::clampValues ( ) const
inline

Definition at line 19 of file RCChannelMonitorController.h.

◆ clampValuesChanged

void RCChannelMonitorController::clampValuesChanged ( )
signal

Referenced by setClampValues().

◆ setClampValues()

void RCChannelMonitorController::setClampValues ( bool clamp)

Definition at line 20 of file RCChannelMonitorController.cc.

References clampValuesChanged().


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