#include <ActuatorOutputs.h>
Signals | |
| void | subgroupsChanged () |
| void | groupsVisibleChanged () |
| void | notesChanged () |
Public Member Functions | |
| ActuatorOutput (QObject *parent, const QString &label, const Condition &groupVisibilityCondition) | |
| const QString & | label () const |
| QmlObjectListModel * | subgroups () |
| bool | groupsVisible () const |
| ConfigParameter * | enableParam () const |
| QmlObjectListModel * | configParams () |
| void | addSubgroup (ActuatorOutputSubgroup *subgroup) |
| void | addConfigParam (ConfigParameter *param) |
| void | getAllChannelFunctions (QList< Fact * > &allFunctions) const |
| bool | hasExistingOutputFunctionParams () const |
| void | addNote (const QString ¬e) |
| void | clearNotes () |
| const QStringList & | notes () const |
| void | forEachOutputFunction (std::function< void(ActuatorOutputSubgroup *, ChannelConfigInstance *, Fact *)> callback) const |
| void | forEachChannelFunction (std::function< void(ActuatorOutputChannel *, Fact *)> callback) const |
Definition at line 181 of file ActuatorOutputs.h.
| ActuatorOutput::ActuatorOutput | ( | QObject * | parent, |
| const QString & | label, | ||
| const Condition & | groupVisibilityCondition ) |
Definition at line 65 of file ActuatorOutputs.cc.
References label().
| void ActuatorOutput::addConfigParam | ( | ConfigParameter * | param | ) |
Definition at line 79 of file ActuatorOutputs.cc.
References ActuatorOutputs::ConfigParameter::Enable, and ActuatorOutputs::ConfigParameter::function().
|
inline |
Definition at line 209 of file ActuatorOutputs.h.
References notesChanged().
Referenced by Actuators::parametersChanged().
| void ActuatorOutput::addSubgroup | ( | ActuatorOutputSubgroup * | subgroup | ) |
Definition at line 73 of file ActuatorOutputs.cc.
References subgroupsChanged().
|
inline |
Definition at line 210 of file ActuatorOutputs.h.
References notesChanged().
Referenced by Actuators::parametersChanged().
|
inline |
Definition at line 199 of file ActuatorOutputs.h.
|
inline |
Definition at line 198 of file ActuatorOutputs.h.
Referenced by Actuators::init().
| void ActuatorOutput::forEachChannelFunction | ( | std::function< void(ActuatorOutputChannel *, Fact *)> | callback | ) | const |
Definition at line 121 of file ActuatorOutputs.cc.
References ActuatorOutputs::ChannelConfigInstance::channelConfig(), ActuatorOutputs::ActuatorOutputSubgroup::channels(), ActuatorOutputs::ActuatorOutputChannel::configInstances(), ActuatorOutputs::ChannelConfigInstance::fact(), ActuatorOutputs::ChannelConfig::function(), QmlObjectListModel::get(), and ActuatorOutputs::ChannelConfig::OutputFunction.
Referenced by Actuators::channelsByFunction().
| void ActuatorOutput::forEachOutputFunction | ( | std::function< void(ActuatorOutputSubgroup *, ChannelConfigInstance *, Fact *)> | callback | ) | const |
Definition at line 104 of file ActuatorOutputs.cc.
References ActuatorOutputs::ChannelConfigInstance::channelConfig(), ActuatorOutputs::ActuatorOutputSubgroup::channels(), ActuatorOutputs::ActuatorOutputChannel::configInstances(), ActuatorOutputs::ChannelConfigInstance::fact(), ActuatorOutputs::ChannelConfig::function(), QmlObjectListModel::get(), and ActuatorOutputs::ChannelConfig::OutputFunction.
Referenced by getAllChannelFunctions(), and hasExistingOutputFunctionParams().
| void ActuatorOutput::getAllChannelFunctions | ( | QList< Fact * > & | allFunctions | ) | const |
Definition at line 89 of file ActuatorOutputs.cc.
References forEachOutputFunction().
Referenced by Actuators::parametersChanged().
|
inline |
Definition at line 197 of file ActuatorOutputs.h.
|
signal |
| bool ActuatorOutput::hasExistingOutputFunctionParams | ( | ) | const |
Definition at line 96 of file ActuatorOutputs.cc.
References forEachOutputFunction().
Referenced by Actuators::init().
|
inline |
Definition at line 194 of file ActuatorOutputs.h.
References label().
Referenced by ActuatorOutput(), and label().
|
inline |
Definition at line 211 of file ActuatorOutputs.h.
|
signal |
Referenced by addNote(), and clearNotes().
|
inline |
Definition at line 196 of file ActuatorOutputs.h.
Referenced by Actuators::parametersChanged().
|
signal |
Referenced by addSubgroup().