QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
StateHistoryRecorder::HistoryEntry Struct Reference

A recorded state transition entry. More...

#include <StateHistoryRecorder.h>

Public Member Functions

QJsonObject toJson () const
 
QString toString () const
 

Public Attributes

QDateTime timestamp
 
QString stateName
 
TransitionReason reason
 
QString details
 

Detailed Description

A recorded state transition entry.

Definition at line 46 of file StateHistoryRecorder.h.

Member Function Documentation

◆ toJson()

QJsonObject StateHistoryRecorder::HistoryEntry::toJson ( ) const

Definition at line 7 of file StateHistoryRecorder.cc.

References details, reason, stateName, and timestamp.

◆ toString()

Member Data Documentation

◆ details

QString StateHistoryRecorder::HistoryEntry::details

Definition at line 50 of file StateHistoryRecorder.h.

Referenced by StateHistoryRecorder::addEntry(), and toJson().

◆ reason

TransitionReason StateHistoryRecorder::HistoryEntry::reason

Definition at line 49 of file StateHistoryRecorder.h.

Referenced by StateHistoryRecorder::addEntry(), and toJson().

◆ stateName

QString StateHistoryRecorder::HistoryEntry::stateName

Definition at line 48 of file StateHistoryRecorder.h.

Referenced by StateHistoryRecorder::addEntry(), and toJson().

◆ timestamp

QDateTime StateHistoryRecorder::HistoryEntry::timestamp

Definition at line 47 of file StateHistoryRecorder.h.

Referenced by StateHistoryRecorder::addEntry(), and toJson().


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