RTXI
2.4
The Real-Time eXperiment Interface Documentation
plugins
system_control
system_control.h
Go to the documentation of this file.
1
/*
2
The Real-Time eXperiment Interface (RTXI)
3
Copyright (C) 2011 Georgia Institute of Technology, University of Utah, Weill Cornell Medical College
4
5
This program is free software: you can redistribute it and/or modify
6
it under the terms of the GNU General Public License as published by
7
the Free Software Foundation, either version 3 of the License, or
8
(at your option) any later version.
9
10
This program is distributed in the hope that it will be useful,
11
but WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License
16
along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18
*/
19
20
#ifndef SYSTEM_CONTROL_H
21
#define SYSTEM_CONTROL_H
22
23
#include <
plugin.h
>
24
#include <qobject.h>
25
#include <
system_control_panel.h
>
26
27
class
SystemControl
:
public
QObject,
public
Plugin::Object
28
{
29
30
Q_OBJECT
31
32
friend
class
SystemControlPanel
;
33
34
public
:
35
36
static
SystemControl
*
getInstance
(
void
);
37
38
public
slots:
39
40
void
createControlPanel
(
void
);
41
42
private
:
43
44
SystemControl
(
void
);
45
~
SystemControl
(
void
);
46
SystemControl
(
const
SystemControl
&) : QObject() {};
47
SystemControl
&operator=(
const
SystemControl
&)
48
{
49
return
*
getInstance
();
50
};
51
52
static
SystemControl
*instance;
53
54
void
removeControlPanel(
SystemControlPanel
*);
55
56
std::list<SystemControlPanel *> panelList;
57
};
58
59
#endif
/* SYSTEM_CONTROL_H */
system_control_panel.h
SystemControlPanel
Definition:
system_control_panel.h:27
SystemControl::createControlPanel
void createControlPanel(void)
Definition:
system_control.cpp:43
Plugin::Object
Definition:
plugin.h:145
SystemControl::getInstance
static SystemControl * getInstance(void)
Definition:
system_control.cpp:57
plugin.h
SystemControl
Definition:
system_control.h:27
Generated on Thu Apr 21 2022 16:58:34 for RTXI by
1.8.17