QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
Mixer::Mixers Class Reference

#include <Mixer.h>

Inheritance diagram for Mixer::Mixers:
Collaboration diagram for Mixer::Mixers:

Classes

struct  OutputFunction

Public Slots

void update ()

Signals

void groupsChanged ()
void paramChanged ()
void geometryParamChanged ()

Public Member Functions

 Mixers (ParameterManager *parameterManager)
void reset (const ActuatorTypes &actuatorTypes, const MixerOptions &mixerOptions, const QMap< int, OutputFunction > &functions, const Rules &rules)
QmlObjectListModel * groups ()
QString title () const
QString helpUrl () const
const ActuatorTypes & actuatorTypes () const
QString getSpecificLabelForFunction (int function) const
QSet< int > getFunctions (bool requiredOnly) const
QString configuredType () const
const QMap< int, OutputFunction > & functions () const

Detailed Description

Definition at line 349 of file Mixer.h.

Constructor & Destructor Documentation

◆ Mixers()

Mixer::Mixers::Mixers ( ParameterManager * parameterManager)
inline

Definition at line 353 of file Mixer.h.

Member Function Documentation

◆ actuatorTypes()

const ActuatorTypes & Mixer::Mixers::actuatorTypes ( ) const
inline

Definition at line 378 of file Mixer.h.

Referenced by reset(), and ActuatorComponent::summaryItems().

◆ configuredType()

QString Mixers::configuredType ( ) const

Definition at line 606 of file Mixer.cc.

References Fact::type().

◆ functions()

const QMap< int, OutputFunction > & Mixer::Mixers::functions ( ) const
inline

Definition at line 396 of file Mixer.h.

Referenced by reset().

◆ geometryParamChanged

void Mixer::Mixers::geometryParamChanged ( )
signal

Referenced by Actuators::Actuators().

◆ getFunctions()

QSet< int > Mixers::getFunctions ( bool requiredOnly) const

◆ getSpecificLabelForFunction()

QString Mixers::getSpecificLabelForFunction ( int function) const

Get the mixer-specific label for a certain output function and the current configuration, combined with the generic label. E.g. 'Front Left Tilt (Servo 1)' for the 'Servo 1' function.

Parameters
functionactuator output function
Returns
empty string if there's no such function

Definition at line 545 of file Mixer.cc.

References Mixer::MixerChannel::actuatorFunction(), Mixer::MixerConfigGroup::channels(), Fact::enumOrValueString(), Mixer::MixerChannel::getFact(), Fact::rawValue(), Mixer::Type, and QmlObjectListModel::value().

Referenced by ActuatorComponent::summaryItems().

◆ groups()

QmlObjectListModel * Mixer::Mixers::groups ( )
inline

Definition at line 373 of file Mixer.h.

References groups().

Referenced by groups().

◆ groupsChanged

void Mixer::Mixers::groupsChanged ( )
signal

Referenced by update().

◆ helpUrl()

QString Mixers::helpUrl ( ) const

Definition at line 621 of file Mixer.cc.

◆ paramChanged

void Mixer::Mixers::paramChanged ( )
signal

Referenced by Actuators::Actuators().

◆ reset()

void Mixers::reset ( const ActuatorTypes & actuatorTypes,
const MixerOptions & mixerOptions,
const QMap< int, OutputFunction > & functions,
const Rules & rules )

Definition at line 393 of file Mixer.cc.

References actuatorTypes(), functions(), and update().

◆ title()

QString Mixers::title ( ) const

Definition at line 614 of file Mixer.cc.

Referenced by ActuatorComponent::summaryItems().

◆ update


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