SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
plugininstancegui.h
Go to the documentation of this file.
1 #ifndef INCLUDE_PLUGININSTANCEUI_H
2 #define INCLUDE_PLUGININSTANCEUI_H
3 
4 #include <QtGlobal>
5 #include <QString>
6 #include <QByteArray>
7 
8 #include "export.h"
9 
10 class Message;
11 class MessageQueue;
12 
14 public:
16  virtual ~PluginInstanceGUI() { };
17 
18  virtual void destroy() = 0;
19 
20  virtual void setName(const QString& name) = 0;
21  virtual QString getName() const = 0;
22 
23  virtual void resetToDefaults() = 0;
24 
25  virtual qint64 getCenterFrequency() const = 0;
26  virtual void setCenterFrequency(qint64 centerFrequency) = 0;
27 
28  virtual QByteArray serialize() const = 0;
29  virtual bool deserialize(const QByteArray& data) = 0;
30 
31  virtual MessageQueue* getInputMessageQueue() = 0;
32 
33  virtual bool handleMessage(const Message& message) = 0;
34 };
35 
36 #endif // INCLUDE_PLUGININSTANCEUI_H
virtual ~PluginInstanceGUI()
#define SDRBASE_API
Definition: export.h:40