@@ -1,12 +1,13 | |||||
1 | TEMPLATE = subdirs |
|
1 | TEMPLATE = subdirs | |
2 | CONFIG += ordered |
|
2 | CONFIG += ordered | |
3 |
|
3 | |||
4 |
|
4 | |||
5 | SUBDIRS = \ |
|
5 | SUBDIRS = \ | |
6 | ahbuartplugin \ |
|
6 | ahbuartplugin \ | |
7 | ambaplugin \ |
|
7 | ambaplugin \ | |
8 | APBUARTPLUGIN \ |
|
8 | APBUARTPLUGIN \ | |
9 | dsu3plugin \ |
|
9 | dsu3plugin \ | |
10 | genericrwplugin \ |
|
10 | genericrwplugin \ | |
11 |
memctrlrplugin |
|
11 | memctrlrplugin | |
12 | spwplugin |
|
12 | ||
|
13 | unix:SUBDIRS += spwplugin |
@@ -1,59 +1,53 | |||||
1 | # |
|
1 | # | |
2 | # Project created by QtCreator 2011-09-20T08:15:30 |
|
2 | # Project created by QtCreator 2011-09-20T08:15:30 | |
3 | # |
|
3 | # | |
4 | #------------------------------------------------- |
|
4 | #------------------------------------------------- | |
5 |
|
5 | |||
6 | CONFIG += socexplorerplugin |
|
6 | CONFIG += socexplorerplugin | |
7 | CONFIG += dll |
|
7 | CONFIG += dll | |
8 | CONFIG -= static |
|
8 | CONFIG -= static | |
9 |
|
9 | |||
10 | CONFIG(debug, debug|release) { |
|
10 | CONFIG(debug, debug|release) { | |
11 | DEBUG_EXT = _d |
|
11 | DEBUG_EXT = _d | |
12 | } else { |
|
12 | } else { | |
13 | DEBUG_EXT = |
|
13 | DEBUG_EXT = | |
14 | } |
|
14 | } | |
15 | TARGET = genericrwplugin$${DEBUG_EXT} |
|
15 | TARGET = genericrwplugin$${DEBUG_EXT} | |
16 | DEFINES += PLUGIN=genericrwplugin |
|
16 | DEFINES += PLUGIN=genericrwplugin | |
17 | DEFINES += PLUGINHEADER="\"\\\"genericrwplugin.h"\\\"\" |
|
17 | DEFINES += PLUGINHEADER="\"\\\"genericrwplugin.h"\\\"\" | |
18 | DEFINES += driver_Name="\"\\\"GenericRWplugin"\\\"\" |
|
18 | DEFINES += driver_Name="\"\\\"GenericRWplugin"\\\"\" | |
19 | DEFINES += driver_Author="\"\\\"Alexis Jeandet alexis.jeandet@lpp.polytechnique.fr"\\\"\" |
|
19 | DEFINES += driver_Author="\"\\\"Alexis Jeandet alexis.jeandet@lpp.polytechnique.fr"\\\"\" | |
20 | DEFINES += driver_Version="\"\\\"1.1.0"\\\"\" |
|
20 | DEFINES += driver_Version="\"\\\"1.1.0"\\\"\" | |
21 | DEFINES += driver_Description="\"\\\"Generic plugin, gives you R/W access to any memory area."\\\"\" |
|
21 | DEFINES += driver_Description="\"\\\"Generic plugin, gives you R/W access to any memory area."\\\"\" | |
22 | DEFINES += driver_can_be_root=0 |
|
22 | DEFINES += driver_can_be_root=0 | |
23 | DEFINES += driver_can_be_child=1 |
|
23 | DEFINES += driver_can_be_child=1 | |
24 | DEFINES += driver_VID=0 |
|
24 | DEFINES += driver_VID=0 | |
25 | DEFINES += driver_PID=0 |
|
25 | DEFINES += driver_PID=0 | |
26 |
|
26 | |||
27 |
|
27 | |||
28 | INCLUDEPATH += \ |
|
28 | INCLUDEPATH += \ | |
29 | $${PWD} |
|
29 | $${PWD} | |
30 |
|
30 | |||
31 | #LIBS +=-llppmoncommon$${DEBUG_EXT} |
|
31 | #LIBS +=-llppmoncommon$${DEBUG_EXT} | |
32 |
|
32 | |||
33 | HEADERS += \ |
|
33 | HEADERS += \ | |
34 | genericrwplugin.h \ |
|
34 | genericrwplugin.h \ | |
35 | genericrwpluginui.h \ |
|
35 | genericrwpluginui.h \ | |
36 | rw_task.h \ |
|
|||
37 | tasklist.h \ |
|
|||
38 | taskeditor.h \ |
|
|||
39 | memeditor.h \ |
|
36 | memeditor.h \ | |
40 | genericrwpluginpywrapper.h |
|
37 | genericrwpluginpywrapper.h | |
41 |
|
38 | |||
42 | SOURCES += \ |
|
39 | SOURCES += \ | |
43 | genericrwplugin.cpp \ |
|
40 | genericrwplugin.cpp \ | |
44 | genericrwpluginui.cpp \ |
|
41 | genericrwpluginui.cpp \ | |
45 | rw_task.cpp \ |
|
|||
46 | tasklist.cpp \ |
|
|||
47 | taskeditor.cpp \ |
|
|||
48 | memeditor.cpp \ |
|
42 | memeditor.cpp \ | |
49 | genericrwpluginpywrapper.cpp |
|
43 | genericrwpluginpywrapper.cpp | |
50 |
|
44 | |||
51 |
|
45 | |||
52 |
|
46 | |||
53 |
|
47 | |||
54 |
|
48 | |||
55 |
|
49 | |||
56 |
|
50 | |||
57 |
|
51 | |||
58 |
|
52 | |||
59 |
|
53 |
@@ -1,55 +1,54 | |||||
1 | /*------------------------------------------------------------------------------ |
|
1 | /*------------------------------------------------------------------------------ | |
2 | -- This file is a part of the LPPMON Software |
|
2 | -- This file is a part of the LPPMON Software | |
3 | -- Copyright (C) 2011, Laboratory of Plasmas Physic - CNRS |
|
3 | -- Copyright (C) 2011, Laboratory of Plasmas Physic - CNRS | |
4 | -- |
|
4 | -- | |
5 | -- This program is free software; you can redistribute it and/or modify |
|
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 |
|
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 |
|
7 | -- the Free Software Foundation; either version 3 of the License, or | |
8 | -- (at your option) any later version. |
|
8 | -- (at your option) any later version. | |
9 | -- |
|
9 | -- | |
10 | -- This program is distributed in the hope that it will be useful, |
|
10 | -- This program is distributed in the hope that it will be useful, | |
11 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
11 | -- but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
12 | -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | -- GNU General Public License for more details. |
|
13 | -- GNU General Public License for more details. | |
14 | -- |
|
14 | -- | |
15 | -- You should have received a copy of the GNU General Public License |
|
15 | -- You should have received a copy of the GNU General Public License | |
16 | -- along with this program; if not, write to the Free Software |
|
16 | -- along with this program; if not, write to the Free Software | |
17 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
17 | -- Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
18 | -------------------------------------------------------------------------------*/ |
|
18 | -------------------------------------------------------------------------------*/ | |
19 | /*-- Author : Alexis Jeandet |
|
19 | /*-- Author : Alexis Jeandet | |
20 | -- Mail : alexis.jeandet@lpp.polytechnique.fr |
|
20 | -- Mail : alexis.jeandet@lpp.polytechnique.fr | |
21 | ----------------------------------------------------------------------------*/ |
|
21 | ----------------------------------------------------------------------------*/ | |
22 | #ifndef AHBPLUGINUI_H |
|
22 | #ifndef AHBPLUGINUI_H | |
23 | #define AHBPLUGINUI_H |
|
23 | #define AHBPLUGINUI_H | |
24 |
|
24 | |||
25 | #include <QWidget> |
|
25 | #include <QWidget> | |
26 | #include <QHBoxLayout> |
|
26 | #include <QHBoxLayout> | |
27 | #include <QTabWidget> |
|
27 | #include <QTabWidget> | |
28 | #include <QPushButton> |
|
28 | #include <QPushButton> | |
29 | #include "tasklist.h" |
|
|||
30 | #include "memeditor.h" |
|
29 | #include "memeditor.h" | |
31 | #include <QSplitter> |
|
30 | #include <QSplitter> | |
32 |
|
31 | |||
33 |
|
32 | |||
34 | class genericrwpluginUi : public QWidget |
|
33 | class genericrwpluginUi : public QWidget | |
35 | { |
|
34 | { | |
36 | Q_OBJECT |
|
35 | Q_OBJECT | |
37 | public: |
|
36 | public: | |
38 | explicit genericrwpluginUi(QWidget *parent = 0); |
|
37 | explicit genericrwpluginUi(QWidget *parent = 0); | |
39 |
|
38 | |||
40 | signals: |
|
39 | signals: | |
41 | unsigned int WriteSig(unsigned int* Value,unsigned int count,unsigned int address); |
|
40 | unsigned int WriteSig(unsigned int* Value,unsigned int count,unsigned int address); | |
42 | unsigned int ReadSig(unsigned int* Value,unsigned int count,unsigned int address); |
|
41 | unsigned int ReadSig(unsigned int* Value,unsigned int count,unsigned int address); | |
43 | void refresh(); |
|
42 | void refresh(); | |
44 | void setAddress(quint32 address); |
|
43 | void setAddress(quint32 address); | |
45 | void setLength(quint32 length); |
|
44 | void setLength(quint32 length); | |
46 |
|
45 | |||
47 | private: |
|
46 | private: | |
48 | QSplitter* verticalSpliter; |
|
47 | QSplitter* verticalSpliter; | |
49 | QHBoxLayout* mainlayout; |
|
48 | QHBoxLayout* mainlayout; | |
50 | QTabWidget* tabWdgt; |
|
49 | QTabWidget* tabWdgt; | |
51 | memEditor* memEditorWdgt; |
|
50 | memEditor* memEditorWdgt; | |
52 |
|
51 | |||
53 | }; |
|
52 | }; | |
54 |
|
53 | |||
55 | #endif // AHBPLUGINUI_H |
|
54 | #endif // AHBPLUGINUI_H |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
1 | NO CONTENT: file was removed |
|
NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now