|
QGroundControl
Ground Control Station for MAVLink Drones
|
#include <OnboardLogEntry.h>
Collaboration diagram for OnboardLogDownloadData:Public Member Functions | |
| OnboardLogDownloadData (QGCOnboardLogEntry *const logEntry) | |
| ~OnboardLogDownloadData () | |
| void | advanceChunk () |
| uint32_t | chunkBins () const |
| The number of MAVLINK_MSG_LOG_DATA_FIELD_DATA_LEN bins in the current chunk. | |
| uint32_t | numChunks () const |
| The number of kChunkSize chunks in the file. | |
| bool | chunkEquals (const bool val) const |
| True if all bins in the chunk have been set to val. | |
Public Attributes | |
| uint | ID = 0 |
| QGCOnboardLogEntry *const | entry = nullptr |
| QBitArray | chunk_table |
| uint32_t | current_chunk = 0 |
| QFile | file |
| QString | filename |
| uint | written = 0 |
| uint | last_status_written = 0 |
| size_t | rate_bytes = 0 |
| qreal | rate_avg = 0. |
| QElapsedTimer | elapsed |
Static Public Attributes | |
| static constexpr uint32_t | kTableBins = 2048 |
| static const uint32_t | kChunkSize = OnboardLogDownloadData::kTableBins * MAVLINK_MSG_LOG_DATA_FIELD_DATA_LEN |
Definition at line 13 of file OnboardLogEntry.h.
|
explicit |
Definition at line 12 of file OnboardLogEntry.cc.
| OnboardLogDownloadData::~OnboardLogDownloadData | ( | ) |
Definition at line 19 of file OnboardLogEntry.cc.
| void OnboardLogDownloadData::advanceChunk | ( | ) |
Definition at line 24 of file OnboardLogEntry.cc.
References chunk_table, chunkBins(), and current_chunk.
| uint32_t OnboardLogDownloadData::chunkBins | ( | ) | const |
The number of MAVLINK_MSG_LOG_DATA_FIELD_DATA_LEN bins in the current chunk.
Definition at line 30 of file OnboardLogEntry.cc.
References current_chunk, entry, kChunkSize, and kTableBins.
Referenced by advanceChunk().
| bool OnboardLogDownloadData::chunkEquals | ( | const bool | val | ) | const |
True if all bins in the chunk have been set to val.
Definition at line 42 of file OnboardLogEntry.cc.
References chunk_table.
| uint32_t OnboardLogDownloadData::numChunks | ( | ) | const |
The number of kChunkSize chunks in the file.
Definition at line 36 of file OnboardLogEntry.cc.
References entry, and kChunkSize.
| QBitArray OnboardLogDownloadData::chunk_table |
Definition at line 32 of file OnboardLogEntry.h.
Referenced by advanceChunk(), and chunkEquals().
| uint32_t OnboardLogDownloadData::current_chunk = 0 |
Definition at line 33 of file OnboardLogEntry.h.
Referenced by advanceChunk(), and chunkBins().
| QElapsedTimer OnboardLogDownloadData::elapsed |
Definition at line 40 of file OnboardLogEntry.h.
| QGCOnboardLogEntry* const OnboardLogDownloadData::entry = nullptr |
Definition at line 30 of file OnboardLogEntry.h.
Referenced by chunkBins(), and numChunks().
| QFile OnboardLogDownloadData::file |
Definition at line 34 of file OnboardLogEntry.h.
| QString OnboardLogDownloadData::filename |
Definition at line 35 of file OnboardLogEntry.h.
| uint OnboardLogDownloadData::ID = 0 |
Definition at line 29 of file OnboardLogEntry.h.
|
static |
Definition at line 43 of file OnboardLogEntry.h.
Referenced by chunkBins(), and numChunks().
|
staticconstexpr |
Definition at line 42 of file OnboardLogEntry.h.
Referenced by chunkBins().
| uint OnboardLogDownloadData::last_status_written = 0 |
Definition at line 37 of file OnboardLogEntry.h.
| qreal OnboardLogDownloadData::rate_avg = 0. |
Definition at line 39 of file OnboardLogEntry.h.
| size_t OnboardLogDownloadData::rate_bytes = 0 |
Definition at line 38 of file OnboardLogEntry.h.
| uint OnboardLogDownloadData::written = 0 |
Definition at line 36 of file OnboardLogEntry.h.