#include <BatteryFactGroupListModel.h>
|
| | BatteryFactGroup (uint32_t batteryId, QObject *parent=nullptr) |
| |
| Fact * | function () |
| |
| Fact * | type () |
| |
| Fact * | voltage () |
| |
| Fact * | percentRemaining () |
| |
| Fact * | mahConsumed () |
| |
| Fact * | current () |
| |
| Fact * | temperature () |
| |
| Fact * | instantPower () |
| |
| Fact * | timeRemaining () |
| |
| Fact * | timeRemainingStr () |
| |
| Fact * | chargeState () |
| |
| void | handleMessage (Vehicle *vehicle, const mavlink_message_t &message) final |
| | Allows a FactGroup to parse incoming messages and fill in values.
|
| |
| | FactGroupWithId (int updateRateMsecs, const QString &metaDataFile, QObject *parent=nullptr, bool ignoreCamelCase=false) |
| |
| Fact * | id () |
| |
| | FactGroup (int updateRateMsecs, const QString &metaDataFile, QObject *parent=nullptr, bool ignoreCamelCase=false) |
| | < false: No telemetry for these values has been received
|
| |
| | FactGroup (int updateRateMsecs, QObject *parent=nullptr, bool ignoreCamelCase=false) |
| |
| virtual | ~FactGroup () |
| |
| Q_INVOKABLE bool | factExists (const QString &name) const |
| | @ return true: if the fact exists in the group
|
| |
| Q_INVOKABLE Fact * | getFact (const QString &name) const |
| |
| Q_INVOKABLE FactGroup * | getFactGroup (const QString &name) const |
| |
| Q_INVOKABLE void | setLiveUpdates (bool liveUpdates) |
| | Turning on live updates will allow value changes to flow through as they are received.
|
| |
| QStringList | factNames () const |
| |
| QStringList | factGroupNames () const |
| |
| bool | telemetryAvailable () const |
| |
| const QMap< QString, FactGroup * > & | factGroups () const |
| |
Definition at line 20 of file BatteryFactGroupListModel.h.
◆ BatteryFactGroup()
| BatteryFactGroup::BatteryFactGroup |
( |
uint32_t |
batteryId, |
|
|
QObject * |
parent = nullptr |
|
) |
| |
|
explicit |
◆ chargeState()
| Fact * BatteryFactGroup::chargeState |
( |
| ) |
|
|
inline |
◆ current()
| Fact * BatteryFactGroup::current |
( |
| ) |
|
|
inline |
◆ function()
| Fact * BatteryFactGroup::function |
( |
| ) |
|
|
inline |
◆ handleMessage()
◆ instantPower()
| Fact * BatteryFactGroup::instantPower |
( |
| ) |
|
|
inline |
◆ mahConsumed()
| Fact * BatteryFactGroup::mahConsumed |
( |
| ) |
|
|
inline |
◆ percentRemaining()
| Fact * BatteryFactGroup::percentRemaining |
( |
| ) |
|
|
inline |
◆ temperature()
| Fact * BatteryFactGroup::temperature |
( |
| ) |
|
|
inline |
◆ timeRemaining()
| Fact * BatteryFactGroup::timeRemaining |
( |
| ) |
|
|
inline |
◆ timeRemainingStr()
| Fact * BatteryFactGroup::timeRemainingStr |
( |
| ) |
|
|
inline |
◆ type()
| Fact * BatteryFactGroup::type |
( |
| ) |
|
|
inline |
◆ voltage()
| Fact * BatteryFactGroup::voltage |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following files: