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

#include <APMDataFlashLogParser.h>

+ Inheritance diagram for APMDataFlashLogParser:
+ Collaboration diagram for APMDataFlashLogParser:

Signals

void parseCompleteChanged ()
 
void parseErrorChanged ()
 
void availableFieldsChanged ()
 
void parametersChanged ()
 
void eventsChanged ()
 
void messagesChanged ()
 
void plottableFieldsChanged ()
 
void modeSegmentsChanged ()
 
void detectedVehicleTypeChanged ()
 
void timeRangeChanged ()
 
void sampleCountChanged ()
 
void parseFileFinished (const QString &filePath, bool ok, const QString &errorMessage)
 

Public Member Functions

 APMDataFlashLogParser (QObject *parent=nullptr)
 
 ~APMDataFlashLogParser ()
 
bool parseComplete () const
 
QString parseError () const
 
QStringList availableFields () const
 
QVariantList parameters () const
 
QVariantList events () const
 
QVariantList messages () const
 
QStringList plottableFields () const
 
QVariantList modeSegments () const
 
QString detectedVehicleType () const
 
double minTimestamp () const
 
double maxTimestamp () const
 
int sampleCount () const
 
Q_INVOKABLE bool parseFile (const QString &filePath)
 
Q_INVOKABLE void parseFileAsync (const QString &filePath)
 
Q_INVOKABLE void clear ()
 
Q_INVOKABLE QVariantList fieldSamples (const QString &fieldName) const
 
Q_INVOKABLE double fieldValueAt (const QString &fieldName, double timestampSeconds) const
 
Q_INVOKABLE QString modeAt (double timestampSeconds) const
 
Q_INVOKABLE QVariantList eventsNear (double timestampSeconds, double thresholdSeconds) const
 

Detailed Description

Definition at line 14 of file APMDataFlashLogParser.h.

Constructor & Destructor Documentation

◆ APMDataFlashLogParser()

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

Definition at line 558 of file APMDataFlashLogParser.cc.

◆ ~APMDataFlashLogParser()

APMDataFlashLogParser::~APMDataFlashLogParser ( )

Definition at line 564 of file APMDataFlashLogParser.cc.

Member Function Documentation

◆ availableFields()

QStringList APMDataFlashLogParser::availableFields ( ) const
inline

Definition at line 38 of file APMDataFlashLogParser.h.

◆ availableFieldsChanged

void APMDataFlashLogParser::availableFieldsChanged ( )
signal

Referenced by clear(), parseFile(), and parseFileAsync().

◆ clear()

◆ detectedVehicleType()

QString APMDataFlashLogParser::detectedVehicleType ( ) const
inline

Definition at line 44 of file APMDataFlashLogParser.h.

◆ detectedVehicleTypeChanged

void APMDataFlashLogParser::detectedVehicleTypeChanged ( )
signal

Referenced by clear(), parseFile(), and parseFileAsync().

◆ events()

QVariantList APMDataFlashLogParser::events ( ) const
inline

Definition at line 40 of file APMDataFlashLogParser.h.

◆ eventsChanged

void APMDataFlashLogParser::eventsChanged ( )
signal

Referenced by clear(), parseFile(), and parseFileAsync().

◆ eventsNear()

QVariantList APMDataFlashLogParser::eventsNear ( double  timestampSeconds,
double  thresholdSeconds 
) const

Definition at line 784 of file APMDataFlashLogParser.cc.

◆ fieldSamples()

QVariantList APMDataFlashLogParser::fieldSamples ( const QString &  fieldName) const

Definition at line 723 of file APMDataFlashLogParser.cc.

◆ fieldValueAt()

double APMDataFlashLogParser::fieldValueAt ( const QString &  fieldName,
double  timestampSeconds 
) const

Definition at line 740 of file APMDataFlashLogParser.cc.

◆ maxTimestamp()

double APMDataFlashLogParser::maxTimestamp ( ) const
inline

Definition at line 46 of file APMDataFlashLogParser.h.

◆ messages()

QVariantList APMDataFlashLogParser::messages ( ) const
inline

Definition at line 41 of file APMDataFlashLogParser.h.

◆ messagesChanged

void APMDataFlashLogParser::messagesChanged ( )
signal

Referenced by clear(), parseFile(), and parseFileAsync().

◆ minTimestamp()

double APMDataFlashLogParser::minTimestamp ( ) const
inline

Definition at line 45 of file APMDataFlashLogParser.h.

◆ modeAt()

QString APMDataFlashLogParser::modeAt ( double  timestampSeconds) const

Definition at line 770 of file APMDataFlashLogParser.cc.

◆ modeSegments()

QVariantList APMDataFlashLogParser::modeSegments ( ) const
inline

Definition at line 43 of file APMDataFlashLogParser.h.

◆ modeSegmentsChanged

void APMDataFlashLogParser::modeSegmentsChanged ( )
signal

Referenced by clear(), parseFile(), and parseFileAsync().

◆ parameters()

QVariantList APMDataFlashLogParser::parameters ( ) const
inline

Definition at line 39 of file APMDataFlashLogParser.h.

◆ parametersChanged

void APMDataFlashLogParser::parametersChanged ( )
signal

Referenced by clear(), parseFile(), and parseFileAsync().

◆ parseComplete()

bool APMDataFlashLogParser::parseComplete ( ) const
inline

Definition at line 36 of file APMDataFlashLogParser.h.

◆ parseCompleteChanged

void APMDataFlashLogParser::parseCompleteChanged ( )
signal

Referenced by clear(), parseFile(), and parseFileAsync().

◆ parseError()

QString APMDataFlashLogParser::parseError ( ) const
inline

Definition at line 37 of file APMDataFlashLogParser.h.

◆ parseErrorChanged

void APMDataFlashLogParser::parseErrorChanged ( )
signal

Referenced by clear().

◆ parseFile()

◆ parseFileAsync()

◆ parseFileFinished

void APMDataFlashLogParser::parseFileFinished ( const QString &  filePath,
bool  ok,
const QString &  errorMessage 
)
signal

Referenced by parseFileAsync().

◆ plottableFields()

QStringList APMDataFlashLogParser::plottableFields ( ) const
inline

Definition at line 42 of file APMDataFlashLogParser.h.

◆ plottableFieldsChanged

void APMDataFlashLogParser::plottableFieldsChanged ( )
signal

Referenced by clear(), parseFile(), and parseFileAsync().

◆ sampleCount()

int APMDataFlashLogParser::sampleCount ( ) const
inline

Definition at line 47 of file APMDataFlashLogParser.h.

◆ sampleCountChanged

void APMDataFlashLogParser::sampleCountChanged ( )
signal

Referenced by clear(), parseFile(), and parseFileAsync().

◆ timeRangeChanged

void APMDataFlashLogParser::timeRangeChanged ( )
signal

Referenced by clear(), parseFile(), and parseFileAsync().


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