dataloader_base.h
Go to the documentation of this file.
1 #ifndef DATALOAD_TEMPLATE_H
2 #define DATALOAD_TEMPLATE_H
3 
4 
5 #include <QFile>
6 
7 #include <functional>
8 #include "PlotJuggler/plotdata.h"
11 
12 
14 {
15  QString filename;
16  QString prefix;
17  QStringList selected_datasources;
18  QDomDocument plugin_config;
19 };
20 
21 
23 {
24 
25 public:
27 
28  virtual const std::vector<const char*>& compatibleFileExtensions() const = 0;
29 
30  virtual bool readDataFromFile(FileLoadInfo* fileload_info, PlotDataMapRef& destination) = 0;
31 
32  virtual ~DataLoader() {}
33 
34 protected:
35 
36 
37 };
38 
39 QT_BEGIN_NAMESPACE
40 
41 #define DataRead_iid "com.icarustechnology.PlotJuggler.DataLoader"
42 
43 Q_DECLARE_INTERFACE(DataLoader, DataRead_iid)
44 
45 QT_END_NAMESPACE
46 
47 
48 #endif
49 
#define DataRead_iid
QString filename
virtual ~DataLoader()
QStringList selected_datasources
QDomDocument plugin_config


plotjuggler
Author(s): Davide Faconti
autogenerated on Sat Jul 6 2019 03:44:17