plotjuggler_plugins
DataLoadULog
dataload_ulog.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <QObject>
4
#include <QtPlugin>
5
#include <QWidget>
6
#include "
PlotJuggler/dataloader_base.h
"
7
8
using namespace
PJ
;
9
10
class
DataLoadULog
:
public
PJ::DataLoader
11
{
12
Q_OBJECT
13
Q_PLUGIN_METADATA(IID
"facontidavide.PlotJuggler3.DataLoader"
)
14
Q_INTERFACES(
PJ::DataLoader
)
15
16
public
:
17
DataLoadULog
();
18
19
const
std::vector<const char*>& compatibleFileExtensions()
const override
;
20
21
bool
readDataFromFile(
PJ::FileLoadInfo
* fileload_info,
22
PlotDataMapRef
& destination)
override
;
23
24
~
DataLoadULog
()
override
;
25
26
const
char
*
name
()
const override
27
{
28
return
"DataLoad ULog"
;
29
}
30
31
bool
xmlSaveState(QDomDocument& doc, QDomElement& parent_element)
const override
;
32
33
bool
xmlLoadState(
const
QDomElement& parent_element)
override
;
34
35
private
:
36
std::string
_default_time_axis
;
37
QWidget*
_main_win
;
38
};
PJ::FileLoadInfo
Definition:
dataloader_base.h:18
DataLoadULog::_default_time_axis
std::string _default_time_axis
Definition:
dataload_ulog.h:36
DataLoadULog::name
const char * name() const override
Name of the plugin type, NOT the particular instance.
Definition:
dataload_ulog.h:26
DataLoadULog::_main_win
QWidget * _main_win
Definition:
dataload_ulog.h:37
dataloader_base.h
PJ::DataLoader
The DataLoader plugin type is used to load files.
Definition:
dataloader_base.h:34
DataLoadULog
Definition:
dataload_ulog.h:10
PJ
Definition:
dataloader_base.h:16
PJ::PlotDataMapRef
Definition:
plotdata.h:34
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:44