QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
ULogUtility.h File Reference
#include <QtCore/QLoggingCategory>
#include <QtCore/QString>
#include <cstdint>
#include <functional>
#include <memory>
#include <set>
#include <string>
#include <ulog_cpp/data_handler_interface.hpp>
#include <ulog_cpp/messages.hpp>
#include <ulog_cpp/subscription.hpp>
+ Include dependency graph for ULogUtility.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ULogUtility::MessageHandler
 

Namespaces

namespace  ULogUtility
 

Typedefs

using ULogUtility::MessageCallback = std::function< bool(const ulog_cpp::TypedDataView &sample)>
 

Functions

bool ULogUtility::isValidHeader (const char *data, qint64 size)
 
int ULogUtility::getVersion (const char *data, qint64 size)
 
uint64_t ULogUtility::getHeaderTimestamp (const char *data, qint64 size)
 
bool ULogUtility::iterateMessages (const char *data, qint64 size, const std::string &messageName, const MessageCallback &callback, QString &errorMessage)
 

Variables

constexpr char ULogUtility::kMagicBytes [] = {'U', 'L', 'o', 'g'}
 ULog file magic bytes: "ULog" followed by 0x01 (version 1) followed by 0x12 (file compat)
 
constexpr int ULogUtility::kMagicSize = 4
 
constexpr int ULogUtility::kHeaderSize = 16