dataload_mcap.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <QObject>
4 #include <QtPlugin>
5 #include <QStandardItemModel>
8 
9 using namespace PJ;
10 
11 class DataLoadMCAP : public DataLoader
12 {
13  Q_OBJECT
14  Q_PLUGIN_METADATA(IID "facontidavide.PlotJuggler3.DataLoader")
15  Q_INTERFACES(PJ::DataLoader)
16 
17 public:
18  DataLoadMCAP();
19 
20  virtual const std::vector<const char*>& compatibleFileExtensions() const override;
21 
22  virtual bool readDataFromFile(PJ::FileLoadInfo* fileload_info,
23  PlotDataMapRef& destination) override;
24 
25  virtual ~DataLoadMCAP() override;
26 
27  virtual const char* name() const override
28  {
29  return "DataLoad MCAP";
30  }
31 
32 };
The DataLoader plugin type is used to load files.
virtual const char * name() const override
Name of the plugin type, NOT the particular instance.
Definition: dataload_mcap.h:27


plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Jun 19 2023 03:01:01