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.
sdrbase
plugin
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
13
class
SDRBASE_API
PluginInstanceGUI
{
14
public
:
15
PluginInstanceGUI
() { };
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
MessageQueue
Definition:
messagequeue.h:29
PluginInstanceGUI::PluginInstanceGUI
PluginInstanceGUI()
Definition:
plugininstancegui.h:15
Message
Definition:
message.h:25
export.h
PluginInstanceGUI
Definition:
plugininstancegui.h:13
PluginInstanceGUI::~PluginInstanceGUI
virtual ~PluginInstanceGUI()
Definition:
plugininstancegui.h:16
SDRBASE_API
#define SDRBASE_API
Definition:
export.h:40
Generated on Fri Aug 2 2019 17:56:33 for SDRAngel by
1.8.13