dRonin
adbada4
dRonin GCS
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Groups
Pages
droninplugin.cpp
Go to the documentation of this file.
1
11
/*
12
* This program is free software; you can redistribute it and/or modify
13
* it under the terms of the GNU General Public License as published by
14
* the Free Software Foundation; either version 3 of the License, or
15
* (at your option) any later version.
16
*
17
* This program is distributed in the hope that it will be useful, but
18
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
19
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
20
* for more details.
21
*
22
* You should have received a copy of the GNU General Public License along
23
* with this program; if not, see <http://www.gnu.org/licenses/>
24
*
25
* Additional note on redistribution: The copyright and license notices above
26
* must be maintained in each individual source file that is a derivative work
27
* of this source file; otherwise redistribution is prohibited.
28
*/
29
30
#include "
droninplugin.h
"
31
#include "
simulation.h
"
32
#include "
omnibusf3.h
"
33
#include "
pikoblx.h
"
34
#include "
playuavosd.h
"
35
#include "
seppuku.h
"
36
#include "
sprf3e.h
"
37
#include <QtPlugin>
38
39
DroninPlugin::DroninPlugin()
40
{
41
}
42
43
DroninPlugin::~DroninPlugin()
44
{
45
}
46
47
bool
DroninPlugin::initialize(
const
QStringList &arguments, QString *errorString)
48
{
49
Q_UNUSED(arguments);
50
Q_UNUSED(errorString);
51
return
true
;
52
}
53
54
void
DroninPlugin::extensionsInitialized()
55
{
56
// Init boards
57
Simulation
*sim =
new
Simulation
();
58
addAutoReleasedObject
(sim);
59
60
OmnibusF3
*omnif3 =
new
OmnibusF3
();
61
addAutoReleasedObject
(omnif3);
62
63
PikoBLX
*pikoblx =
new
PikoBLX
();
64
addAutoReleasedObject
(pikoblx);
65
66
PlayUavOsd
*playuav =
new
PlayUavOsd
();
67
addAutoReleasedObject
(playuav);
68
69
Seppuku
*seppuku =
new
Seppuku
();
70
addAutoReleasedObject
(seppuku);
71
72
Sprf3e
*sprf3e =
new
Sprf3e
();
73
addAutoReleasedObject
(sprf3e);
74
}
75
76
void
DroninPlugin::shutdown()
77
{
78
}
79
OmnibusF3
Definition:
omnibusf3.h:36
droninplugin.h
Seppuku
Definition:
seppuku.h:36
PlayUavOsd
Definition:
playuavosd.h:37
simulation.h
Simulation
Definition:
simulation.h:37
Sprf3e
Definition:
sprf3e.h:36
pikoblx.h
PikoBLX
Definition:
pikoblx.h:36
ExtensionSystem::IPlugin::addAutoReleasedObject
void addAutoReleasedObject(QObject *obj)
Definition:
iplugin.cpp:306
sprf3e.h
playuavosd.h
omnibusf3.h
seppuku.h
ground
gcs
src
plugins
boards_dronin
droninplugin.cpp
Generated by
1.8.6