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

#include <OnboardLogEntry.h>

+ Inheritance diagram for QGCOnboardLogEntry:
+ Collaboration diagram for QGCOnboardLogEntry:

Signals

void idChanged ()
 
void timeChanged ()
 
void sizeChanged ()
 
void receivedChanged ()
 
void selectedChanged ()
 
void statusChanged ()
 

Public Member Functions

 QGCOnboardLogEntry (uint logId, const QDateTime &dateTime=QDateTime(), uint logSize=0, bool received=false, QObject *parent=nullptr)
 
 ~QGCOnboardLogEntry ()
 
uint id () const
 
uint size () const
 
QString sizeStr () const
 
QDateTime time () const
 
bool received () const
 
bool selected () const
 
QString status () const
 
void setId (uint id)
 
void setSize (uint size)
 
void setTime (const QDateTime &date)
 
void setReceived (bool rec)
 
void setSelected (bool sel)
 
void setStatus (const QString &stat)
 

Detailed Description

Definition at line 48 of file OnboardLogEntry.h.

Constructor & Destructor Documentation

◆ QGCOnboardLogEntry()

QGCOnboardLogEntry::QGCOnboardLogEntry ( uint  logId,
const QDateTime &  dateTime = QDateTime(),
uint  logSize = 0,
bool  received = false,
QObject *  parent = nullptr 
)
explicit

Definition at line 49 of file OnboardLogEntry.cc.

◆ ~QGCOnboardLogEntry()

QGCOnboardLogEntry::~QGCOnboardLogEntry ( )

Definition at line 59 of file OnboardLogEntry.cc.

Member Function Documentation

◆ id()

uint QGCOnboardLogEntry::id ( ) const
inline

Definition at line 65 of file OnboardLogEntry.h.

Referenced by setId().

◆ idChanged

void QGCOnboardLogEntry::idChanged ( )
signal

Referenced by setId().

◆ received()

bool QGCOnboardLogEntry::received ( ) const
inline

◆ receivedChanged

void QGCOnboardLogEntry::receivedChanged ( )
signal

Referenced by setReceived().

◆ selected()

bool QGCOnboardLogEntry::selected ( ) const
inline

◆ selectedChanged

void QGCOnboardLogEntry::selectedChanged ( )
signal

Referenced by setSelected().

◆ setId()

void QGCOnboardLogEntry::setId ( uint  id)
inline

Definition at line 73 of file OnboardLogEntry.h.

References id(), and idChanged().

◆ setReceived()

void QGCOnboardLogEntry::setReceived ( bool  rec)
inline

Definition at line 76 of file OnboardLogEntry.h.

References receivedChanged().

◆ setSelected()

void QGCOnboardLogEntry::setSelected ( bool  sel)
inline

Definition at line 77 of file OnboardLogEntry.h.

References selectedChanged().

Referenced by OnboardLogController::selectAll().

◆ setSize()

void QGCOnboardLogEntry::setSize ( uint  size)
inline

Definition at line 74 of file OnboardLogEntry.h.

References size(), and sizeChanged().

◆ setStatus()

void QGCOnboardLogEntry::setStatus ( const QString &  stat)
inline

Definition at line 78 of file OnboardLogEntry.h.

References statusChanged().

◆ setTime()

void QGCOnboardLogEntry::setTime ( const QDateTime &  date)
inline

Definition at line 75 of file OnboardLogEntry.h.

References timeChanged().

◆ size()

uint QGCOnboardLogEntry::size ( ) const
inline

◆ sizeChanged

void QGCOnboardLogEntry::sizeChanged ( )
signal

Referenced by setSize().

◆ sizeStr()

QString QGCOnboardLogEntry::sizeStr ( ) const

Definition at line 64 of file OnboardLogEntry.cc.

References QGC::bigSizeToString().

◆ status()

QString QGCOnboardLogEntry::status ( ) const
inline

Definition at line 71 of file OnboardLogEntry.h.

◆ statusChanged

void QGCOnboardLogEntry::statusChanged ( )
signal

Referenced by setStatus().

◆ time()

QDateTime QGCOnboardLogEntry::time ( ) const
inline

Definition at line 68 of file OnboardLogEntry.h.

◆ timeChanged

void QGCOnboardLogEntry::timeChanged ( )
signal

Referenced by setTime().


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