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