QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
LogParseResultPrivate.h File Reference
#include <QtCore/QDateTime>
#include <QtCore/QHash>
#include <QtCore/QPointF>
#include <QtCore/QString>
#include <QtCore/QStringList>
#include <QtCore/QVariantList>
#include <QtCore/QVector>
#include <atomic>
#include <functional>
#include <memory>
+ Include dependency graph for LogParseResultPrivate.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  LogParseResult
 

Typedefs

using ProgressCallback = std::function< void(float)>
 
using CancelToken = std::shared_ptr< std::atomic< bool > >
 

Typedef Documentation

◆ CancelToken

using CancelToken = std::shared_ptr<std::atomic<bool> >

Shared cancellation token. The background parse thread checks this via load(std::memory_order_relaxed) and exits early when it is set to true.

Definition at line 24 of file LogParseResultPrivate.h.

◆ ProgressCallback

using ProgressCallback = std::function<void(float)>

Callback invoked periodically during async parsing to report byte-position progress.

Parameters
progress0.0–1.0 fraction of the file consumed so far.

Definition at line 20 of file LogParseResultPrivate.h.