|
QGroundControl
Ground Control Station for MAVLink Drones
|
Camera parameter handler. More...
#include <QGCCameraIO.h>
Inheritance diagram for QGCCameraParamIO:
Collaboration diagram for QGCCameraParamIO:Public Member Functions | |
| QGCCameraParamIO (MavlinkCameraControlInterface *control, Fact *fact, Vehicle *vehicle) | |
| ~QGCCameraParamIO () | |
| void | handleParamAck (const mavlink_param_ext_ack_t &ack) |
| void | handleParamValue (const mavlink_param_ext_value_t &value) |
| void | setParamRequest () |
| bool | paramDone () const |
| void | paramRequest (bool reset=true) |
| void | sendParameter (bool updateUI=false) |
Camera parameter handler.
Definition at line 13 of file QGCCameraIO.h.
| QGCCameraParamIO::QGCCameraParamIO | ( | MavlinkCameraControlInterface * | control, |
| Fact * | fact, | ||
| Vehicle * | vehicle | ||
| ) |
Definition at line 17 of file QGCCameraIO.cc.
References Fact::containerRawValueChanged(), Fact::name(), Fact::rawValueChanged(), Fact::type(), FactMetaData::valueTypeBool, FactMetaData::valueTypeCustom, FactMetaData::valueTypeDouble, FactMetaData::valueTypeFloat, FactMetaData::valueTypeInt16, FactMetaData::valueTypeInt32, FactMetaData::valueTypeInt64, FactMetaData::valueTypeInt8, FactMetaData::valueTypeString, FactMetaData::valueTypeUint16, FactMetaData::valueTypeUint32, FactMetaData::valueTypeUint64, FactMetaData::valueTypeUint8, and Fact::writeOnly().
| QGCCameraParamIO::~QGCCameraParamIO | ( | ) |
Definition at line 83 of file QGCCameraIO.cc.
| void QGCCameraParamIO::handleParamAck | ( | const mavlink_param_ext_ack_t & | ack | ) |
Definition at line 215 of file QGCCameraIO.cc.
References Fact::containerSetRawValue(), MavlinkCameraControlInterface::factChanged(), Fact::name(), Fact::rawValue(), and MavlinkCameraControlInterface::validateParameter().
| void QGCCameraParamIO::handleParamValue | ( | const mavlink_param_ext_value_t & | value | ) |
Definition at line 309 of file QGCCameraIO.cc.
References MavlinkCameraControlInterface::_paramDone(), Fact::containerSetRawValue(), MavlinkCameraControlInterface::factChanged(), MavlinkCameraControlInterface::incomingParameter(), Fact::name(), Fact::rawValue(), Fact::rawValueChanged(), Fact::rawValueString(), and Fact::valueChanged().
|
inline |
Definition at line 22 of file QGCCameraIO.h.
| void QGCCameraParamIO::paramRequest | ( | bool | reset = true | ) |
Definition at line 334 of file QGCCameraIO.cc.
References MavlinkCameraControlInterface::_paramDone(), MavlinkCameraControlInterface::compID(), MAVLinkProtocol::getComponentId(), MAVLinkProtocol::getSystemId(), Vehicle::id(), MAVLinkProtocol::instance(), Fact::name(), VehicleLinkManager::primaryLink(), Vehicle::sendMessageOnLinkThreadSafe(), Vehicle::vehicleLinkManager(), and Fact::writeOnly().
| void QGCCameraParamIO::sendParameter | ( | bool | updateUI = false | ) |
Definition at line 371 of file QGCCameraIO.cc.
References Fact::name().
| void QGCCameraParamIO::setParamRequest | ( | ) |
Definition at line 379 of file QGCCameraIO.cc.
References Fact::writeOnly().