@@ -1,142 +1,142 | |||
|
1 | 1 | ############################################################################# |
|
2 | 2 | # Makefile for building: PAULs_LPPMON_PLUGINS |
|
3 |
# Generated by qmake (2.01a) (Qt 4.8.4) on: |
|
|
3 | # Generated by qmake (2.01a) (Qt 4.8.4) on: Wed May 22 07:43:41 2013 | |
|
4 | 4 | # Project: PAULs_LPPMON_PLUGINS.pro |
|
5 | 5 | # Template: subdirs |
|
6 | 6 | # Command: /usr/bin/qmake-qt4 -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile PAULs_LPPMON_PLUGINS.pro |
|
7 | 7 | ############################################################################# |
|
8 | 8 | |
|
9 | 9 | first: make_default |
|
10 | 10 | MAKEFILE = Makefile |
|
11 | 11 | QMAKE = /usr/bin/qmake-qt4 |
|
12 | 12 | DEL_FILE = rm -f |
|
13 | 13 | CHK_DIR_EXISTS= test -d |
|
14 | 14 | MKDIR = mkdir -p |
|
15 | 15 | COPY = cp -f |
|
16 | 16 | COPY_FILE = $(COPY) |
|
17 | 17 | COPY_DIR = $(COPY) -r |
|
18 | 18 | INSTALL_FILE = install -m 644 -p |
|
19 | 19 | INSTALL_PROGRAM = install -m 755 -p |
|
20 | 20 | INSTALL_DIR = $(COPY_DIR) |
|
21 | 21 | DEL_FILE = rm -f |
|
22 | 22 | SYMLINK = ln -f -s |
|
23 | 23 | DEL_DIR = rmdir |
|
24 | 24 | MOVE = mv -f |
|
25 | 25 | CHK_DIR_EXISTS= test -d |
|
26 | 26 | MKDIR = mkdir -p |
|
27 | 27 | SUBTARGETS = \ |
|
28 | 28 | sub-rmapplugin |
|
29 | 29 | |
|
30 | 30 | rmapplugin/$(MAKEFILE): |
|
31 | 31 | @$(CHK_DIR_EXISTS) rmapplugin/ || $(MKDIR) rmapplugin/ |
|
32 | 32 | cd rmapplugin/ && $(QMAKE) /opt/LPPMON_PLUGINS_PAUL/rmapplugin/rmapplugin.pro -spec /usr/lib64/qt4/mkspecs/linux-g++ -o $(MAKEFILE) |
|
33 | 33 | sub-rmapplugin-qmake_all: FORCE |
|
34 | 34 | @$(CHK_DIR_EXISTS) rmapplugin/ || $(MKDIR) rmapplugin/ |
|
35 | 35 | cd rmapplugin/ && $(QMAKE) /opt/LPPMON_PLUGINS_PAUL/rmapplugin/rmapplugin.pro -spec /usr/lib64/qt4/mkspecs/linux-g++ -o $(MAKEFILE) |
|
36 | 36 | sub-rmapplugin: rmapplugin/$(MAKEFILE) FORCE |
|
37 | 37 | cd rmapplugin/ && $(MAKE) -f $(MAKEFILE) |
|
38 | 38 | sub-rmapplugin-make_default-ordered: rmapplugin/$(MAKEFILE) FORCE |
|
39 | 39 | cd rmapplugin/ && $(MAKE) -f $(MAKEFILE) |
|
40 | 40 | sub-rmapplugin-make_default: rmapplugin/$(MAKEFILE) FORCE |
|
41 | 41 | cd rmapplugin/ && $(MAKE) -f $(MAKEFILE) |
|
42 | 42 | sub-rmapplugin-make_first-ordered: rmapplugin/$(MAKEFILE) FORCE |
|
43 | 43 | cd rmapplugin/ && $(MAKE) -f $(MAKEFILE) first |
|
44 | 44 | sub-rmapplugin-make_first: rmapplugin/$(MAKEFILE) FORCE |
|
45 | 45 | cd rmapplugin/ && $(MAKE) -f $(MAKEFILE) first |
|
46 | 46 | sub-rmapplugin-all-ordered: rmapplugin/$(MAKEFILE) FORCE |
|
47 | 47 | cd rmapplugin/ && $(MAKE) -f $(MAKEFILE) all |
|
48 | 48 | sub-rmapplugin-all: rmapplugin/$(MAKEFILE) FORCE |
|
49 | 49 | cd rmapplugin/ && $(MAKE) -f $(MAKEFILE) all |
|
50 | 50 | sub-rmapplugin-clean-ordered: rmapplugin/$(MAKEFILE) FORCE |
|
51 | 51 | cd rmapplugin/ && $(MAKE) -f $(MAKEFILE) clean |
|
52 | 52 | sub-rmapplugin-clean: rmapplugin/$(MAKEFILE) FORCE |
|
53 | 53 | cd rmapplugin/ && $(MAKE) -f $(MAKEFILE) clean |
|
54 | 54 | sub-rmapplugin-distclean-ordered: rmapplugin/$(MAKEFILE) FORCE |
|
55 | 55 | cd rmapplugin/ && $(MAKE) -f $(MAKEFILE) distclean |
|
56 | 56 | sub-rmapplugin-distclean: rmapplugin/$(MAKEFILE) FORCE |
|
57 | 57 | cd rmapplugin/ && $(MAKE) -f $(MAKEFILE) distclean |
|
58 | 58 | sub-rmapplugin-install_subtargets-ordered: rmapplugin/$(MAKEFILE) FORCE |
|
59 | 59 | cd rmapplugin/ && $(MAKE) -f $(MAKEFILE) install |
|
60 | 60 | sub-rmapplugin-install_subtargets: rmapplugin/$(MAKEFILE) FORCE |
|
61 | 61 | cd rmapplugin/ && $(MAKE) -f $(MAKEFILE) install |
|
62 | 62 | sub-rmapplugin-uninstall_subtargets-ordered: rmapplugin/$(MAKEFILE) FORCE |
|
63 | 63 | cd rmapplugin/ && $(MAKE) -f $(MAKEFILE) uninstall |
|
64 | 64 | sub-rmapplugin-uninstall_subtargets: rmapplugin/$(MAKEFILE) FORCE |
|
65 | 65 | cd rmapplugin/ && $(MAKE) -f $(MAKEFILE) uninstall |
|
66 | 66 | |
|
67 | 67 | Makefile: PAULs_LPPMON_PLUGINS.pro /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf /usr/lib64/qt4/mkspecs/common/unix.conf \ |
|
68 | 68 | /usr/lib64/qt4/mkspecs/common/linux.conf \ |
|
69 | 69 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf \ |
|
70 | 70 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ |
|
71 | 71 | /usr/lib64/qt4/mkspecs/common/g++-base.conf \ |
|
72 | 72 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf \ |
|
73 | 73 | /usr/lib64/qt4/mkspecs/qconfig.pri \ |
|
74 | 74 | /usr/lib64/qt4/mkspecs/modules/qt_webkit_version.pri \ |
|
75 | 75 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf \ |
|
76 | 76 | /usr/lib64/qt4/mkspecs/features/qt_config.prf \ |
|
77 | 77 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ |
|
78 | 78 | /usr/lib64/qt4/mkspecs/features/default_pre.prf \ |
|
79 | 79 | /usr/lib64/qt4/mkspecs/features/release.prf \ |
|
80 | 80 | /usr/lib64/qt4/mkspecs/features/default_post.prf \ |
|
81 | 81 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ |
|
82 | 82 | /usr/lib64/qt4/mkspecs/features/warn_on.prf \ |
|
83 | 83 | /usr/lib64/qt4/mkspecs/features/qt.prf \ |
|
84 | 84 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf \ |
|
85 | 85 | /usr/lib64/qt4/mkspecs/features/moc.prf \ |
|
86 | 86 | /usr/lib64/qt4/mkspecs/features/resources.prf \ |
|
87 | 87 | /usr/lib64/qt4/mkspecs/features/uic.prf \ |
|
88 | 88 | /usr/lib64/qt4/mkspecs/features/yacc.prf \ |
|
89 | 89 | /usr/lib64/qt4/mkspecs/features/lex.prf \ |
|
90 | 90 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf |
|
91 | 91 | $(QMAKE) -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile PAULs_LPPMON_PLUGINS.pro |
|
92 | 92 | /usr/lib64/qt4/mkspecs/common/unix.conf: |
|
93 | 93 | /usr/lib64/qt4/mkspecs/common/linux.conf: |
|
94 | 94 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf: |
|
95 | 95 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf: |
|
96 | 96 | /usr/lib64/qt4/mkspecs/common/g++-base.conf: |
|
97 | 97 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf: |
|
98 | 98 | /usr/lib64/qt4/mkspecs/qconfig.pri: |
|
99 | 99 | /usr/lib64/qt4/mkspecs/modules/qt_webkit_version.pri: |
|
100 | 100 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf: |
|
101 | 101 | /usr/lib64/qt4/mkspecs/features/qt_config.prf: |
|
102 | 102 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf: |
|
103 | 103 | /usr/lib64/qt4/mkspecs/features/default_pre.prf: |
|
104 | 104 | /usr/lib64/qt4/mkspecs/features/release.prf: |
|
105 | 105 | /usr/lib64/qt4/mkspecs/features/default_post.prf: |
|
106 | 106 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf: |
|
107 | 107 | /usr/lib64/qt4/mkspecs/features/warn_on.prf: |
|
108 | 108 | /usr/lib64/qt4/mkspecs/features/qt.prf: |
|
109 | 109 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf: |
|
110 | 110 | /usr/lib64/qt4/mkspecs/features/moc.prf: |
|
111 | 111 | /usr/lib64/qt4/mkspecs/features/resources.prf: |
|
112 | 112 | /usr/lib64/qt4/mkspecs/features/uic.prf: |
|
113 | 113 | /usr/lib64/qt4/mkspecs/features/yacc.prf: |
|
114 | 114 | /usr/lib64/qt4/mkspecs/features/lex.prf: |
|
115 | 115 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf: |
|
116 | 116 | qmake: qmake_all FORCE |
|
117 | 117 | @$(QMAKE) -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile PAULs_LPPMON_PLUGINS.pro |
|
118 | 118 | |
|
119 | 119 | qmake_all: sub-rmapplugin-qmake_all FORCE |
|
120 | 120 | |
|
121 | 121 | make_default: sub-rmapplugin-make_default-ordered FORCE |
|
122 | 122 | make_first: sub-rmapplugin-make_first-ordered FORCE |
|
123 | 123 | all: sub-rmapplugin-all-ordered FORCE |
|
124 | 124 | clean: sub-rmapplugin-clean-ordered FORCE |
|
125 | 125 | distclean: sub-rmapplugin-distclean-ordered FORCE |
|
126 | 126 | -$(DEL_FILE) Makefile |
|
127 | 127 | install_subtargets: sub-rmapplugin-install_subtargets-ordered FORCE |
|
128 | 128 | uninstall_subtargets: sub-rmapplugin-uninstall_subtargets-ordered FORCE |
|
129 | 129 | |
|
130 | 130 | sub-rmapplugin-check_ordered: rmapplugin/$(MAKEFILE) |
|
131 | 131 | cd rmapplugin/ && $(MAKE) -f $(MAKEFILE) check |
|
132 | 132 | check: sub-rmapplugin-check_ordered |
|
133 | 133 | |
|
134 | 134 | mocclean: compiler_moc_header_clean compiler_moc_source_clean |
|
135 | 135 | |
|
136 | 136 | mocables: compiler_moc_header_make_all compiler_moc_source_make_all |
|
137 | 137 | install: install_subtargets FORCE |
|
138 | 138 | |
|
139 | 139 | uninstall: uninstall_subtargets FORCE |
|
140 | 140 | |
|
141 | 141 | FORCE: |
|
142 | 142 |
@@ -1,342 +1,342 | |||
|
1 | 1 | <?xml version="1.0" encoding="UTF-8"?> |
|
2 | 2 | <!DOCTYPE QtCreatorProject> |
|
3 |
<!-- Written by Qt Creator 2.4.1, 2013-05-2 |
|
|
3 | <!-- Written by Qt Creator 2.4.1, 2013-05-22T07:47:54. --> | |
|
4 | 4 | <qtcreator> |
|
5 | 5 | <data> |
|
6 | 6 | <variable>ProjectExplorer.Project.ActiveTarget</variable> |
|
7 | 7 | <value type="int">0</value> |
|
8 | 8 | </data> |
|
9 | 9 | <data> |
|
10 | 10 | <variable>ProjectExplorer.Project.EditorSettings</variable> |
|
11 | 11 | <valuemap type="QVariantMap"> |
|
12 | 12 | <value type="bool" key="EditorConfiguration.AutoIndent">true</value> |
|
13 | 13 | <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value> |
|
14 | 14 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0"> |
|
15 | 15 | <value type="QString" key="language">Cpp</value> |
|
16 | 16 | <valuemap type="QVariantMap" key="value"> |
|
17 | 17 | <value type="QString" key="CurrentPreferences">CppGlobal</value> |
|
18 | 18 | </valuemap> |
|
19 | 19 | </valuemap> |
|
20 | 20 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1"> |
|
21 | 21 | <value type="QString" key="language">QmlJS</value> |
|
22 | 22 | <valuemap type="QVariantMap" key="value"> |
|
23 | 23 | <value type="QString" key="CurrentPreferences">QmlJSGlobal</value> |
|
24 | 24 | </valuemap> |
|
25 | 25 | </valuemap> |
|
26 | 26 | <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value> |
|
27 | 27 | <value type="QByteArray" key="EditorConfiguration.Codec">System</value> |
|
28 | 28 | <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value> |
|
29 | 29 | <value type="int" key="EditorConfiguration.IndentSize">4</value> |
|
30 | 30 | <value type="bool" key="EditorConfiguration.MouseNavigation">true</value> |
|
31 | 31 | <value type="int" key="EditorConfiguration.PaddingMode">1</value> |
|
32 | 32 | <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value> |
|
33 | 33 | <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value> |
|
34 | 34 | <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value> |
|
35 | 35 | <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value> |
|
36 | 36 | <value type="int" key="EditorConfiguration.TabSize">8</value> |
|
37 | 37 | <value type="bool" key="EditorConfiguration.UseGlobal">true</value> |
|
38 | 38 | <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value> |
|
39 | 39 | <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value> |
|
40 | 40 | <value type="bool" key="EditorConfiguration.cleanIndentation">true</value> |
|
41 | 41 | <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value> |
|
42 | 42 | <value type="bool" key="EditorConfiguration.inEntireDocument">false</value> |
|
43 | 43 | </valuemap> |
|
44 | 44 | </data> |
|
45 | 45 | <data> |
|
46 | 46 | <variable>ProjectExplorer.Project.PluginSettings</variable> |
|
47 | 47 | <valuemap type="QVariantMap"/> |
|
48 | 48 | </data> |
|
49 | 49 | <data> |
|
50 | 50 | <variable>ProjectExplorer.Project.Target.0</variable> |
|
51 | 51 | <valuemap type="QVariantMap"> |
|
52 | 52 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value> |
|
53 | 53 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value> |
|
54 | 54 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Target.DesktopTarget</value> |
|
55 | 55 | <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value> |
|
56 | 56 | <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> |
|
57 | 57 | <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> |
|
58 | 58 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> |
|
59 | 59 | <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value> |
|
60 | 60 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
61 | 61 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
62 | 62 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> |
|
63 | 63 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
64 | 64 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> |
|
65 | 65 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> |
|
66 | 66 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value> |
|
67 | 67 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> |
|
68 | 68 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> |
|
69 | 69 | </valuemap> |
|
70 | 70 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> |
|
71 | 71 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
72 | 72 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
73 | 73 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
74 | 74 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> |
|
75 | 75 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> |
|
76 | 76 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
77 | 77 | </valuemap> |
|
78 | 78 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> |
|
79 | 79 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> |
|
80 | 80 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
81 | 81 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> |
|
82 | 82 | </valuemap> |
|
83 | 83 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> |
|
84 | 84 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
85 | 85 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
86 | 86 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
87 | 87 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
88 | 88 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> |
|
89 | 89 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> |
|
90 | 90 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
91 | 91 | </valuemap> |
|
92 | 92 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> |
|
93 | 93 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> |
|
94 | 94 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
95 | 95 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> |
|
96 | 96 | </valuemap> |
|
97 | 97 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> |
|
98 | 98 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> |
|
99 | 99 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> |
|
100 | 100 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Release</value> |
|
101 | 101 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
102 | 102 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> |
|
103 | 103 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> |
|
104 | 104 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL</value> |
|
105 | 105 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value> |
|
106 | 106 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> |
|
107 | 107 | </valuemap> |
|
108 | 108 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1"> |
|
109 | 109 | <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value> |
|
110 | 110 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
111 | 111 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
112 | 112 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> |
|
113 | 113 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
114 | 114 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> |
|
115 | 115 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> |
|
116 | 116 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value> |
|
117 | 117 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> |
|
118 | 118 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> |
|
119 | 119 | </valuemap> |
|
120 | 120 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> |
|
121 | 121 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
122 | 122 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
123 | 123 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
124 | 124 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> |
|
125 | 125 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> |
|
126 | 126 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
127 | 127 | </valuemap> |
|
128 | 128 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> |
|
129 | 129 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> |
|
130 | 130 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
131 | 131 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> |
|
132 | 132 | </valuemap> |
|
133 | 133 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> |
|
134 | 134 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
135 | 135 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
136 | 136 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
137 | 137 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
138 | 138 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> |
|
139 | 139 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> |
|
140 | 140 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
141 | 141 | </valuemap> |
|
142 | 142 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> |
|
143 | 143 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> |
|
144 | 144 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
145 | 145 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> |
|
146 | 146 | </valuemap> |
|
147 | 147 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> |
|
148 | 148 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> |
|
149 | 149 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> |
|
150 | 150 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Debug</value> |
|
151 | 151 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
152 | 152 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> |
|
153 | 153 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value> |
|
154 | 154 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL</value> |
|
155 | 155 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value> |
|
156 | 156 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> |
|
157 | 157 | </valuemap> |
|
158 | 158 | <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value> |
|
159 | 159 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> |
|
160 | 160 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
161 | 161 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> |
|
162 | 162 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> |
|
163 | 163 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
164 | 164 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> |
|
165 | 165 | </valuemap> |
|
166 | 166 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> |
|
167 | 167 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value> |
|
168 | 168 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
169 | 169 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> |
|
170 | 170 | </valuemap> |
|
171 | 171 | <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> |
|
172 | 172 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> |
|
173 | 173 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> |
|
174 | 174 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> |
|
175 | 175 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> |
|
176 | 176 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> |
|
177 | 177 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> |
|
178 | 178 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> |
|
179 | 179 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> |
|
180 | 180 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> |
|
181 | 181 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> |
|
182 | 182 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> |
|
183 | 183 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> |
|
184 | 184 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> |
|
185 | 185 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> |
|
186 | 186 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> |
|
187 | 187 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> |
|
188 | 188 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> |
|
189 | 189 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> |
|
190 | 190 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> |
|
191 | 191 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> |
|
192 | 192 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> |
|
193 | 193 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> |
|
194 | 194 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> |
|
195 | 195 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> |
|
196 | 196 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> |
|
197 | 197 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> |
|
198 | 198 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> |
|
199 | 199 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> |
|
200 | 200 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> |
|
201 | 201 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> |
|
202 | 202 | <value type="int">0</value> |
|
203 | 203 | <value type="int">1</value> |
|
204 | 204 | <value type="int">2</value> |
|
205 | 205 | <value type="int">3</value> |
|
206 | 206 | <value type="int">4</value> |
|
207 | 207 | <value type="int">5</value> |
|
208 | 208 | <value type="int">6</value> |
|
209 | 209 | <value type="int">7</value> |
|
210 | 210 | <value type="int">8</value> |
|
211 | 211 | <value type="int">9</value> |
|
212 | 212 | <value type="int">10</value> |
|
213 | 213 | <value type="int">11</value> |
|
214 | 214 | <value type="int">12</value> |
|
215 | 215 | <value type="int">13</value> |
|
216 | 216 | <value type="int">14</value> |
|
217 | 217 | </valuelist> |
|
218 | 218 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> |
|
219 | 219 | <value type="int">0</value> |
|
220 | 220 | <value type="int">1</value> |
|
221 | 221 | <value type="int">2</value> |
|
222 | 222 | <value type="int">3</value> |
|
223 | 223 | <value type="int">4</value> |
|
224 | 224 | <value type="int">5</value> |
|
225 | 225 | <value type="int">6</value> |
|
226 | 226 | <value type="int">7</value> |
|
227 | 227 | <value type="int">8</value> |
|
228 | 228 | <value type="int">9</value> |
|
229 | 229 | <value type="int">10</value> |
|
230 | 230 | <value type="int">11</value> |
|
231 | 231 | <value type="int">12</value> |
|
232 | 232 | <value type="int">13</value> |
|
233 | 233 | <value type="int">14</value> |
|
234 | 234 | </valuelist> |
|
235 | 235 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value> |
|
236 | 236 | <value type="int" key="ProjectExplorer.CustomExecutableRunConfiguration.BaseEnvironmentBase">2</value> |
|
237 | 237 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable">lppmon</value> |
|
238 | 238 | <value type="bool" key="ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal">false</value> |
|
239 | 239 | <valuelist type="QVariantList" key="ProjectExplorer.CustomExecutableRunConfiguration.UserEnvironmentChanges"/> |
|
240 | 240 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory">%{buildDir}</value> |
|
241 | 241 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Run lppmon</value> |
|
242 | 242 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
243 | 243 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value> |
|
244 | 244 | <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> |
|
245 | 245 | <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> |
|
246 | 246 | <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> |
|
247 | 247 | <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value> |
|
248 | 248 | </valuemap> |
|
249 | 249 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.1"> |
|
250 | 250 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> |
|
251 | 251 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> |
|
252 | 252 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> |
|
253 | 253 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> |
|
254 | 254 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> |
|
255 | 255 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> |
|
256 | 256 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> |
|
257 | 257 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> |
|
258 | 258 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> |
|
259 | 259 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> |
|
260 | 260 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> |
|
261 | 261 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> |
|
262 | 262 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> |
|
263 | 263 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> |
|
264 | 264 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> |
|
265 | 265 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> |
|
266 | 266 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> |
|
267 | 267 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> |
|
268 | 268 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> |
|
269 | 269 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> |
|
270 | 270 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> |
|
271 | 271 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> |
|
272 | 272 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> |
|
273 | 273 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> |
|
274 | 274 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> |
|
275 | 275 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> |
|
276 | 276 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> |
|
277 | 277 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> |
|
278 | 278 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> |
|
279 | 279 | <value type="int">0</value> |
|
280 | 280 | <value type="int">1</value> |
|
281 | 281 | <value type="int">2</value> |
|
282 | 282 | <value type="int">3</value> |
|
283 | 283 | <value type="int">4</value> |
|
284 | 284 | <value type="int">5</value> |
|
285 | 285 | <value type="int">6</value> |
|
286 | 286 | <value type="int">7</value> |
|
287 | 287 | <value type="int">8</value> |
|
288 | 288 | <value type="int">9</value> |
|
289 | 289 | <value type="int">10</value> |
|
290 | 290 | <value type="int">11</value> |
|
291 | 291 | <value type="int">12</value> |
|
292 | 292 | <value type="int">13</value> |
|
293 | 293 | <value type="int">14</value> |
|
294 | 294 | </valuelist> |
|
295 | 295 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> |
|
296 | 296 | <value type="int">0</value> |
|
297 | 297 | <value type="int">1</value> |
|
298 | 298 | <value type="int">2</value> |
|
299 | 299 | <value type="int">3</value> |
|
300 | 300 | <value type="int">4</value> |
|
301 | 301 | <value type="int">5</value> |
|
302 | 302 | <value type="int">6</value> |
|
303 | 303 | <value type="int">7</value> |
|
304 | 304 | <value type="int">8</value> |
|
305 | 305 | <value type="int">9</value> |
|
306 | 306 | <value type="int">10</value> |
|
307 | 307 | <value type="int">11</value> |
|
308 | 308 | <value type="int">12</value> |
|
309 | 309 | <value type="int">13</value> |
|
310 | 310 | <value type="int">14</value> |
|
311 | 311 | </valuelist> |
|
312 | 312 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">spwtimegenerator</value> |
|
313 | 313 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
314 | 314 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration</value> |
|
315 | 315 | <value type="int" key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase">2</value> |
|
316 | 316 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value> |
|
317 | 317 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">spwtimegenerator/spwtimegenerator/spwtimegenerator.pro</value> |
|
318 | 318 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value> |
|
319 | 319 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value> |
|
320 | 320 | <valuelist type="QVariantList" key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges"/> |
|
321 | 321 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value> |
|
322 | 322 | <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> |
|
323 | 323 | <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> |
|
324 | 324 | <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> |
|
325 | 325 | <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value> |
|
326 | 326 | </valuemap> |
|
327 | 327 | <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">2</value> |
|
328 | 328 | </valuemap> |
|
329 | 329 | </data> |
|
330 | 330 | <data> |
|
331 | 331 | <variable>ProjectExplorer.Project.TargetCount</variable> |
|
332 | 332 | <value type="int">1</value> |
|
333 | 333 | </data> |
|
334 | 334 | <data> |
|
335 | 335 | <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable> |
|
336 | 336 | <value type="QString">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value> |
|
337 | 337 | </data> |
|
338 | 338 | <data> |
|
339 | 339 | <variable>ProjectExplorer.Project.Updater.FileVersion</variable> |
|
340 | 340 | <value type="int">10</value> |
|
341 | 341 | </data> |
|
342 | 342 | </qtcreator> |
@@ -1,554 +1,554 | |||
|
1 | 1 | ############################################################################# |
|
2 | 2 | # Makefile for building: librmapplugin.so.1.0.0 |
|
3 |
# Generated by qmake (2.01a) (Qt 4.8.4) on: |
|
|
3 | # Generated by qmake (2.01a) (Qt 4.8.4) on: Wed May 22 07:43:41 2013 | |
|
4 | 4 | # Project: rmapplugin.pro |
|
5 | 5 | # Template: lib |
|
6 | 6 | # Command: /usr/bin/qmake-qt4 -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile rmapplugin.pro |
|
7 | 7 | ############################################################################# |
|
8 | 8 | |
|
9 | 9 | ####### Compiler, tools and options |
|
10 | 10 | |
|
11 | 11 | CC = gcc |
|
12 | 12 | CXX = g++ |
|
13 | 13 | DEFINES = -DPLUGIN=rmapplugin -DPLUGINHEADER="\"rmapplugin.h\"" -Ddriver_Name="\"RMAPPlugin\"" -Ddriver_Author="\"Paul Leroy paul.leroy@lpp.polytechnique.fr\"" -Ddriver_Version="\"1.1.2\"" -Ddriver_Description="\"AHB bus controler, works with Gaisler's AHB plugn' play bus.\"" -Ddriver_can_be_root=1 -Ddriver_can_be_child=0 -Ddriver_VID=0 -Ddriver_PID=0 -DLPPMON_VERSION="\"0.0.1\"" -DUNIXTRANSLATIONPATH -DLPPMON_PLUGINS_INSTALL_PATH="QDir::homePath()+\"/.lppmon/plugins\"" -DLPPMON_CONFIG_PATH="QDir::homePath()+\"/.lppmon/config\"" -DLPPMON_TRANSLATION_PATH="\"/etc/lppmon/translations\"" -DLPPMONPLUGIN_LIBRARY -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED |
|
14 | 14 | CFLAGS = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES) |
|
15 | 15 | CXXFLAGS = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -I/usr/include/python2.7 -I/usr/include/python2.7 -Wall -W -D_REENTRANT -fPIC $(DEFINES) |
|
16 | 16 | INCPATH = -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include -I. -I../common_PLE -I../spw_usb_driver_v2.63/inc -I/usr/include/lppmon/common -I/usr/include/lppmon -I/usr/include/lppmon/pluginsInterface -I/usr/include/PythonQt -Imoc |
|
17 | 17 | LINK = g++ |
|
18 | 18 | LFLAGS = -Wl,-O1 -Wl,-z,relro -shared -Wl,-soname,librmapplugin.so.1 |
|
19 | 19 | LIBS = $(SUBLIBS) -L/usr/lib64 ../spw_usb_driver_v2.63/lib/x86_64/libSpaceWireUSBAPI.so ../spw_usb_driver_v2.63/lib/x86_64/libConfigLibraryUSB.so -ldl -lutil -lm -lpython2.7 -lPythonQt_QtAll -lPythonQt -lQtXml -lQtGui -lQtNetwork -lQtCore -lpthread |
|
20 | 20 | AR = ar cqs |
|
21 | 21 | RANLIB = |
|
22 | 22 | QMAKE = /usr/bin/qmake-qt4 |
|
23 | 23 | TAR = tar -cf |
|
24 | 24 | COMPRESS = gzip -9f |
|
25 | 25 | COPY = cp -f |
|
26 | 26 | SED = sed |
|
27 | 27 | COPY_FILE = $(COPY) |
|
28 | 28 | COPY_DIR = $(COPY) -r |
|
29 | 29 | STRIP = |
|
30 | 30 | INSTALL_FILE = install -m 644 -p |
|
31 | 31 | INSTALL_DIR = $(COPY_DIR) |
|
32 | 32 | INSTALL_PROGRAM = install -m 755 -p |
|
33 | 33 | DEL_FILE = rm -f |
|
34 | 34 | SYMLINK = ln -f -s |
|
35 | 35 | DEL_DIR = rmdir |
|
36 | 36 | MOVE = mv -f |
|
37 | 37 | CHK_DIR_EXISTS= test -d |
|
38 | 38 | MKDIR = mkdir -p |
|
39 | 39 | |
|
40 | 40 | ####### Output directory |
|
41 | 41 | |
|
42 | 42 | OBJECTS_DIR = obj/ |
|
43 | 43 | |
|
44 | 44 | ####### Files |
|
45 | 45 | |
|
46 | 46 | SOURCES = rmapplugin.cpp \ |
|
47 | 47 | rmappluginui.cpp \ |
|
48 | 48 | rmapoperations.cpp \ |
|
49 | 49 | ccsds.cpp \ |
|
50 | 50 | ../common_PLE/qipdialogbox.cpp \ |
|
51 | 51 | ../common_PLE/gresbstatusenquiry.cpp \ |
|
52 | 52 | rmappluginpythonwrapper.cpp \ |
|
53 | 53 | stardundee.cpp \ |
|
54 | 54 | gresb.cpp \ |
|
55 | 55 | tcpackettosend.cpp \ |
|
56 | 56 | tmpackettoread.cpp \ |
|
57 | 57 | wfdisplay.cpp \ |
|
58 | 58 | tmstatistics.cpp \ |
|
59 | 59 | wfplot.cpp \ |
|
60 | 60 | wfpage.cpp \ |
|
61 | 61 | wfpacket.cpp \ |
|
62 | 62 | /usr/include/lppmon/pluginsInterface/lppmonplugininterface.cpp moc/moc_rmappluginui.cpp \ |
|
63 | 63 | moc/moc_rmapplugin.cpp \ |
|
64 | 64 | moc/moc_qipdialogbox.cpp \ |
|
65 | 65 | moc/moc_gresbstatusenquiry.cpp \ |
|
66 | 66 | moc/moc_rmappluginpythonwrapper.cpp \ |
|
67 | 67 | moc/moc_stardundee.cpp \ |
|
68 | 68 | moc/moc_gresb.cpp \ |
|
69 | 69 | moc/moc_tcpackettosend.cpp \ |
|
70 | 70 | moc/moc_tmpackettoread.cpp \ |
|
71 | 71 | moc/moc_wfdisplay.cpp \ |
|
72 | 72 | moc/moc_tmstatistics.cpp \ |
|
73 | 73 | moc/moc_wfplot.cpp \ |
|
74 | 74 | moc/moc_wfpage.cpp \ |
|
75 | 75 | moc/moc_wfpacket.cpp \ |
|
76 | 76 | moc/moc_genericPySysdriver.cpp \ |
|
77 | 77 | moc/moc_lppmonplugin.cpp |
|
78 | 78 | OBJECTS = obj/rmapplugin.o \ |
|
79 | 79 | obj/rmappluginui.o \ |
|
80 | 80 | obj/rmapoperations.o \ |
|
81 | 81 | obj/ccsds.o \ |
|
82 | 82 | obj/qipdialogbox.o \ |
|
83 | 83 | obj/gresbstatusenquiry.o \ |
|
84 | 84 | obj/rmappluginpythonwrapper.o \ |
|
85 | 85 | obj/stardundee.o \ |
|
86 | 86 | obj/gresb.o \ |
|
87 | 87 | obj/tcpackettosend.o \ |
|
88 | 88 | obj/tmpackettoread.o \ |
|
89 | 89 | obj/wfdisplay.o \ |
|
90 | 90 | obj/tmstatistics.o \ |
|
91 | 91 | obj/wfplot.o \ |
|
92 | 92 | obj/wfpage.o \ |
|
93 | 93 | obj/wfpacket.o \ |
|
94 | 94 | obj/lppmonplugininterface.o \ |
|
95 | 95 | obj/moc_rmappluginui.o \ |
|
96 | 96 | obj/moc_rmapplugin.o \ |
|
97 | 97 | obj/moc_qipdialogbox.o \ |
|
98 | 98 | obj/moc_gresbstatusenquiry.o \ |
|
99 | 99 | obj/moc_rmappluginpythonwrapper.o \ |
|
100 | 100 | obj/moc_stardundee.o \ |
|
101 | 101 | obj/moc_gresb.o \ |
|
102 | 102 | obj/moc_tcpackettosend.o \ |
|
103 | 103 | obj/moc_tmpackettoread.o \ |
|
104 | 104 | obj/moc_wfdisplay.o \ |
|
105 | 105 | obj/moc_tmstatistics.o \ |
|
106 | 106 | obj/moc_wfplot.o \ |
|
107 | 107 | obj/moc_wfpage.o \ |
|
108 | 108 | obj/moc_wfpacket.o \ |
|
109 | 109 | obj/moc_genericPySysdriver.o \ |
|
110 | 110 | obj/moc_lppmonplugin.o |
|
111 | 111 | DIST = /usr/lib64/qt4/mkspecs/common/unix.conf \ |
|
112 | 112 | /usr/lib64/qt4/mkspecs/common/linux.conf \ |
|
113 | 113 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf \ |
|
114 | 114 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ |
|
115 | 115 | /usr/lib64/qt4/mkspecs/common/g++-base.conf \ |
|
116 | 116 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf \ |
|
117 | 117 | /usr/lib64/qt4/mkspecs/qconfig.pri \ |
|
118 | 118 | /usr/lib64/qt4/mkspecs/modules/qt_webkit_version.pri \ |
|
119 | 119 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf \ |
|
120 | 120 | /usr/lib64/qt4/mkspecs/features/qt_config.prf \ |
|
121 | 121 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ |
|
122 | 122 | /usr/lib64/qt4/mkspecs/features/default_pre.prf \ |
|
123 | 123 | /usr/lib64/qt4/mkspecs/features/release.prf \ |
|
124 | 124 | /usr/lib64/qt4/mkspecs/features/default_post.prf \ |
|
125 | 125 | /usr/lib64/qt4/mkspecs/features/lppmonplugin.prf \ |
|
126 | 126 | /usr/lib64/qt4/mkspecs/features/pythonqt.prf \ |
|
127 | 127 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ |
|
128 | 128 | /usr/lib64/qt4/mkspecs/features/warn_on.prf \ |
|
129 | 129 | /usr/lib64/qt4/mkspecs/features/qt.prf \ |
|
130 | 130 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf \ |
|
131 | 131 | /usr/lib64/qt4/mkspecs/features/moc.prf \ |
|
132 | 132 | /usr/lib64/qt4/mkspecs/features/resources.prf \ |
|
133 | 133 | /usr/lib64/qt4/mkspecs/features/uic.prf \ |
|
134 | 134 | /usr/lib64/qt4/mkspecs/features/yacc.prf \ |
|
135 | 135 | /usr/lib64/qt4/mkspecs/features/lex.prf \ |
|
136 | 136 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \ |
|
137 | 137 | rmapplugin.pro |
|
138 | 138 | QMAKE_TARGET = rmapplugin |
|
139 | 139 | DESTDIR = bin/ |
|
140 | 140 | TARGET = librmapplugin.so.1.0.0 |
|
141 | 141 | TARGETA = bin/librmapplugin.a |
|
142 | 142 | TARGETD = librmapplugin.so.1.0.0 |
|
143 | 143 | TARGET0 = librmapplugin.so |
|
144 | 144 | TARGET1 = librmapplugin.so.1 |
|
145 | 145 | TARGET2 = librmapplugin.so.1.0 |
|
146 | 146 | |
|
147 | 147 | first: all |
|
148 | 148 | ####### Implicit rules |
|
149 | 149 | |
|
150 | 150 | .SUFFIXES: .o .c .cpp .cc .cxx .C |
|
151 | 151 | |
|
152 | 152 | .cpp.o: |
|
153 | 153 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
|
154 | 154 | |
|
155 | 155 | .cc.o: |
|
156 | 156 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
|
157 | 157 | |
|
158 | 158 | .cxx.o: |
|
159 | 159 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
|
160 | 160 | |
|
161 | 161 | .C.o: |
|
162 | 162 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
|
163 | 163 | |
|
164 | 164 | .c.o: |
|
165 | 165 | $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<" |
|
166 | 166 | |
|
167 | 167 | ####### Build rules |
|
168 | 168 | |
|
169 | 169 | all: Makefile bin/$(TARGET) |
|
170 | 170 | |
|
171 | 171 | bin/$(TARGET): $(OBJECTS) $(SUBLIBS) $(OBJCOMP) |
|
172 | 172 | @$(CHK_DIR_EXISTS) bin/ || $(MKDIR) bin/ |
|
173 | 173 | -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) |
|
174 | 174 | $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP) |
|
175 | 175 | -ln -s $(TARGET) $(TARGET0) |
|
176 | 176 | -ln -s $(TARGET) $(TARGET1) |
|
177 | 177 | -ln -s $(TARGET) $(TARGET2) |
|
178 | 178 | -$(DEL_FILE) bin/$(TARGET) |
|
179 | 179 | -$(DEL_FILE) bin/$(TARGET0) |
|
180 | 180 | -$(DEL_FILE) bin/$(TARGET1) |
|
181 | 181 | -$(DEL_FILE) bin/$(TARGET2) |
|
182 | 182 | -$(MOVE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) bin/ |
|
183 | 183 | |
|
184 | 184 | |
|
185 | 185 | |
|
186 | 186 | staticlib: $(TARGETA) |
|
187 | 187 | |
|
188 | 188 | $(TARGETA): $(OBJECTS) $(OBJCOMP) |
|
189 | 189 | -$(DEL_FILE) $(TARGETA) |
|
190 | 190 | $(AR) $(TARGETA) $(OBJECTS) |
|
191 | 191 | |
|
192 | 192 | Makefile: rmapplugin.pro /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf /usr/lib64/qt4/mkspecs/common/unix.conf \ |
|
193 | 193 | /usr/lib64/qt4/mkspecs/common/linux.conf \ |
|
194 | 194 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf \ |
|
195 | 195 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ |
|
196 | 196 | /usr/lib64/qt4/mkspecs/common/g++-base.conf \ |
|
197 | 197 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf \ |
|
198 | 198 | /usr/lib64/qt4/mkspecs/qconfig.pri \ |
|
199 | 199 | /usr/lib64/qt4/mkspecs/modules/qt_webkit_version.pri \ |
|
200 | 200 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf \ |
|
201 | 201 | /usr/lib64/qt4/mkspecs/features/qt_config.prf \ |
|
202 | 202 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ |
|
203 | 203 | /usr/lib64/qt4/mkspecs/features/default_pre.prf \ |
|
204 | 204 | /usr/lib64/qt4/mkspecs/features/release.prf \ |
|
205 | 205 | /usr/lib64/qt4/mkspecs/features/default_post.prf \ |
|
206 | 206 | /usr/lib64/qt4/mkspecs/features/lppmonplugin.prf \ |
|
207 | 207 | /usr/lib64/qt4/mkspecs/features/pythonqt.prf \ |
|
208 | 208 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ |
|
209 | 209 | /usr/lib64/qt4/mkspecs/features/warn_on.prf \ |
|
210 | 210 | /usr/lib64/qt4/mkspecs/features/qt.prf \ |
|
211 | 211 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf \ |
|
212 | 212 | /usr/lib64/qt4/mkspecs/features/moc.prf \ |
|
213 | 213 | /usr/lib64/qt4/mkspecs/features/resources.prf \ |
|
214 | 214 | /usr/lib64/qt4/mkspecs/features/uic.prf \ |
|
215 | 215 | /usr/lib64/qt4/mkspecs/features/yacc.prf \ |
|
216 | 216 | /usr/lib64/qt4/mkspecs/features/lex.prf \ |
|
217 | 217 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \ |
|
218 | 218 | /usr/lib64/libQtXml.prl \ |
|
219 | 219 | /usr/lib64/libQtCore.prl \ |
|
220 | 220 | /usr/lib64/libQtGui.prl \ |
|
221 | 221 | /usr/lib64/libQtNetwork.prl |
|
222 | 222 | $(QMAKE) -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile rmapplugin.pro |
|
223 | 223 | /usr/lib64/qt4/mkspecs/common/unix.conf: |
|
224 | 224 | /usr/lib64/qt4/mkspecs/common/linux.conf: |
|
225 | 225 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf: |
|
226 | 226 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf: |
|
227 | 227 | /usr/lib64/qt4/mkspecs/common/g++-base.conf: |
|
228 | 228 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf: |
|
229 | 229 | /usr/lib64/qt4/mkspecs/qconfig.pri: |
|
230 | 230 | /usr/lib64/qt4/mkspecs/modules/qt_webkit_version.pri: |
|
231 | 231 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf: |
|
232 | 232 | /usr/lib64/qt4/mkspecs/features/qt_config.prf: |
|
233 | 233 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf: |
|
234 | 234 | /usr/lib64/qt4/mkspecs/features/default_pre.prf: |
|
235 | 235 | /usr/lib64/qt4/mkspecs/features/release.prf: |
|
236 | 236 | /usr/lib64/qt4/mkspecs/features/default_post.prf: |
|
237 | 237 | /usr/lib64/qt4/mkspecs/features/lppmonplugin.prf: |
|
238 | 238 | /usr/lib64/qt4/mkspecs/features/pythonqt.prf: |
|
239 | 239 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf: |
|
240 | 240 | /usr/lib64/qt4/mkspecs/features/warn_on.prf: |
|
241 | 241 | /usr/lib64/qt4/mkspecs/features/qt.prf: |
|
242 | 242 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf: |
|
243 | 243 | /usr/lib64/qt4/mkspecs/features/moc.prf: |
|
244 | 244 | /usr/lib64/qt4/mkspecs/features/resources.prf: |
|
245 | 245 | /usr/lib64/qt4/mkspecs/features/uic.prf: |
|
246 | 246 | /usr/lib64/qt4/mkspecs/features/yacc.prf: |
|
247 | 247 | /usr/lib64/qt4/mkspecs/features/lex.prf: |
|
248 | 248 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf: |
|
249 | 249 | /usr/lib64/libQtXml.prl: |
|
250 | 250 | /usr/lib64/libQtCore.prl: |
|
251 | 251 | /usr/lib64/libQtGui.prl: |
|
252 | 252 | /usr/lib64/libQtNetwork.prl: |
|
253 | 253 | qmake: FORCE |
|
254 | 254 | @$(QMAKE) -spec /usr/lib64/qt4/mkspecs/linux-g++ -o Makefile rmapplugin.pro |
|
255 | 255 | |
|
256 | 256 | dist: |
|
257 | 257 | @$(CHK_DIR_EXISTS) obj/rmapplugin1.0.0 || $(MKDIR) obj/rmapplugin1.0.0 |
|
258 | 258 | $(COPY_FILE) --parents $(SOURCES) $(DIST) obj/rmapplugin1.0.0/ && $(COPY_FILE) --parents rmappluginui.h rmapplugin.h rmapoperations.h ccsds.h ../common_PLE/qipdialogbox.h ../common_PLE/gresbstatusenquiry.h rmappluginpythonwrapper.h stardundee.h ../spw_usb_driver_v2.61/inc/spw_usb_api.h ../spw_usb_driver_v2.61/inc/spw_config_library.h gresb.h tcpackettosend.h tmpackettoread.h wfdisplay.h tmstatistics.h wfplot.h wfpage.h wfpacket.h params.h /usr/include/lppmon/genericPySysdriver.h /usr/include/lppmon/lppmonplugin.h obj/rmapplugin1.0.0/ && $(COPY_FILE) --parents rmapplugin.cpp rmappluginui.cpp rmapoperations.cpp ccsds.cpp ../common_PLE/qipdialogbox.cpp ../common_PLE/gresbstatusenquiry.cpp rmappluginpythonwrapper.cpp stardundee.cpp gresb.cpp tcpackettosend.cpp tmpackettoread.cpp wfdisplay.cpp tmstatistics.cpp wfplot.cpp wfpage.cpp wfpacket.cpp /usr/include/lppmon/pluginsInterface/lppmonplugininterface.cpp obj/rmapplugin1.0.0/ && (cd `dirname obj/rmapplugin1.0.0` && $(TAR) rmapplugin1.0.0.tar rmapplugin1.0.0 && $(COMPRESS) rmapplugin1.0.0.tar) && $(MOVE) `dirname obj/rmapplugin1.0.0`/rmapplugin1.0.0.tar.gz . && $(DEL_FILE) -r obj/rmapplugin1.0.0 |
|
259 | 259 | |
|
260 | 260 | |
|
261 | 261 | clean:compiler_clean |
|
262 | 262 | -$(DEL_FILE) $(OBJECTS) |
|
263 | 263 | -$(DEL_FILE) *~ core *.core |
|
264 | 264 | |
|
265 | 265 | |
|
266 | 266 | ####### Sub-libraries |
|
267 | 267 | |
|
268 | 268 | distclean: clean |
|
269 | 269 | -$(DEL_FILE) bin/$(TARGET) |
|
270 | 270 | -$(DEL_FILE) bin/$(TARGET0) bin/$(TARGET1) bin/$(TARGET2) $(TARGETA) |
|
271 | 271 | -$(DEL_FILE) Makefile |
|
272 | 272 | |
|
273 | 273 | |
|
274 | 274 | check: first |
|
275 | 275 | |
|
276 | 276 | mocclean: compiler_moc_header_clean compiler_moc_source_clean |
|
277 | 277 | |
|
278 | 278 | mocables: compiler_moc_header_make_all compiler_moc_source_make_all |
|
279 | 279 | |
|
280 | 280 | compiler_moc_header_make_all: moc/moc_rmappluginui.cpp moc/moc_rmapplugin.cpp moc/moc_qipdialogbox.cpp moc/moc_gresbstatusenquiry.cpp moc/moc_rmappluginpythonwrapper.cpp moc/moc_stardundee.cpp moc/moc_gresb.cpp moc/moc_tcpackettosend.cpp moc/moc_tmpackettoread.cpp moc/moc_wfdisplay.cpp moc/moc_tmstatistics.cpp moc/moc_wfplot.cpp moc/moc_wfpage.cpp moc/moc_wfpacket.cpp moc/moc_genericPySysdriver.cpp moc/moc_lppmonplugin.cpp |
|
281 | 281 | compiler_moc_header_clean: |
|
282 | 282 | -$(DEL_FILE) moc/moc_rmappluginui.cpp moc/moc_rmapplugin.cpp moc/moc_qipdialogbox.cpp moc/moc_gresbstatusenquiry.cpp moc/moc_rmappluginpythonwrapper.cpp moc/moc_stardundee.cpp moc/moc_gresb.cpp moc/moc_tcpackettosend.cpp moc/moc_tmpackettoread.cpp moc/moc_wfdisplay.cpp moc/moc_tmstatistics.cpp moc/moc_wfplot.cpp moc/moc_wfpage.cpp moc/moc_wfpacket.cpp moc/moc_genericPySysdriver.cpp moc/moc_lppmonplugin.cpp |
|
283 | 283 | moc/moc_rmappluginui.cpp: rmapoperations.h \ |
|
284 | 284 | stardundee.h \ |
|
285 | 285 | ccsds.h \ |
|
286 | 286 | tmpackettoread.h \ |
|
287 | 287 | gresb.h \ |
|
288 | 288 | wfdisplay.h \ |
|
289 | 289 | wfplot.h \ |
|
290 | 290 | params.h \ |
|
291 | 291 | wfpage.h \ |
|
292 | 292 | tmstatistics.h \ |
|
293 | 293 | rmappluginui.h |
|
294 | 294 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) rmappluginui.h -o moc/moc_rmappluginui.cpp |
|
295 | 295 | |
|
296 | 296 | moc/moc_rmapplugin.cpp: rmappluginui.h \ |
|
297 | 297 | rmapoperations.h \ |
|
298 | 298 | stardundee.h \ |
|
299 | 299 | ccsds.h \ |
|
300 | 300 | tmpackettoread.h \ |
|
301 | 301 | gresb.h \ |
|
302 | 302 | wfdisplay.h \ |
|
303 | 303 | wfplot.h \ |
|
304 | 304 | params.h \ |
|
305 | 305 | wfpage.h \ |
|
306 | 306 | tmstatistics.h \ |
|
307 | 307 | wfpacket.h \ |
|
308 | 308 | rmapplugin.h |
|
309 | 309 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) rmapplugin.h -o moc/moc_rmapplugin.cpp |
|
310 | 310 | |
|
311 | 311 | moc/moc_qipdialogbox.cpp: ../common_PLE/qipdialogbox.h |
|
312 | 312 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../common_PLE/qipdialogbox.h -o moc/moc_qipdialogbox.cpp |
|
313 | 313 | |
|
314 | 314 | moc/moc_gresbstatusenquiry.cpp: ../common_PLE/gresbstatusenquiry.h |
|
315 | 315 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../common_PLE/gresbstatusenquiry.h -o moc/moc_gresbstatusenquiry.cpp |
|
316 | 316 | |
|
317 | 317 | moc/moc_rmappluginpythonwrapper.cpp: rmapoperations.h \ |
|
318 | 318 | ccsds.h \ |
|
319 | 319 | tcpackettosend.h \ |
|
320 | 320 | tmpackettoread.h \ |
|
321 | 321 | rmappluginpythonwrapper.h |
|
322 | 322 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) rmappluginpythonwrapper.h -o moc/moc_rmappluginpythonwrapper.cpp |
|
323 | 323 | |
|
324 | 324 | moc/moc_stardundee.cpp: rmapoperations.h \ |
|
325 | 325 | ccsds.h \ |
|
326 | 326 | tmpackettoread.h \ |
|
327 | 327 | stardundee.h |
|
328 | 328 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) stardundee.h -o moc/moc_stardundee.cpp |
|
329 | 329 | |
|
330 | 330 | moc/moc_gresb.cpp: rmapoperations.h \ |
|
331 | 331 | ccsds.h \ |
|
332 | 332 | tmpackettoread.h \ |
|
333 | 333 | gresb.h |
|
334 | 334 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) gresb.h -o moc/moc_gresb.cpp |
|
335 | 335 | |
|
336 | 336 | moc/moc_tcpackettosend.cpp: tcpackettosend.h |
|
337 | 337 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) tcpackettosend.h -o moc/moc_tcpackettosend.cpp |
|
338 | 338 | |
|
339 | 339 | moc/moc_tmpackettoread.cpp: tmpackettoread.h |
|
340 | 340 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) tmpackettoread.h -o moc/moc_tmpackettoread.cpp |
|
341 | 341 | |
|
342 | 342 | moc/moc_wfdisplay.cpp: wfplot.h \ |
|
343 | 343 | params.h \ |
|
344 | 344 | wfpage.h \ |
|
345 | 345 | wfdisplay.h |
|
346 | 346 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfdisplay.h -o moc/moc_wfdisplay.cpp |
|
347 | 347 | |
|
348 | 348 | moc/moc_tmstatistics.cpp: tmstatistics.h |
|
349 | 349 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) tmstatistics.h -o moc/moc_tmstatistics.cpp |
|
350 | 350 | |
|
351 | 351 | moc/moc_wfplot.cpp: params.h \ |
|
352 | 352 | wfplot.h |
|
353 | 353 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfplot.h -o moc/moc_wfplot.cpp |
|
354 | 354 | |
|
355 | 355 | moc/moc_wfpage.cpp: wfplot.h \ |
|
356 | 356 | params.h \ |
|
357 | 357 | wfpage.h |
|
358 | 358 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfpage.h -o moc/moc_wfpage.cpp |
|
359 | 359 | |
|
360 | 360 | moc/moc_wfpacket.cpp: params.h \ |
|
361 | 361 | wfpacket.h |
|
362 | 362 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfpacket.h -o moc/moc_wfpacket.cpp |
|
363 | 363 | |
|
364 | 364 | moc/moc_genericPySysdriver.cpp: /usr/include/lppmon/genericPySysdriver.h |
|
365 | 365 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) /usr/include/lppmon/genericPySysdriver.h -o moc/moc_genericPySysdriver.cpp |
|
366 | 366 | |
|
367 | 367 | moc/moc_lppmonplugin.cpp: /usr/include/lppmon/lppmonplugin.h |
|
368 | 368 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) /usr/include/lppmon/lppmonplugin.h -o moc/moc_lppmonplugin.cpp |
|
369 | 369 | |
|
370 | 370 | compiler_rcc_make_all: |
|
371 | 371 | compiler_rcc_clean: |
|
372 | 372 | compiler_image_collection_make_all: qmake_image_collection.cpp |
|
373 | 373 | compiler_image_collection_clean: |
|
374 | 374 | -$(DEL_FILE) qmake_image_collection.cpp |
|
375 | 375 | compiler_moc_source_make_all: |
|
376 | 376 | compiler_moc_source_clean: |
|
377 | 377 | compiler_uic_make_all: |
|
378 | 378 | compiler_uic_clean: |
|
379 | 379 | compiler_yacc_decl_make_all: |
|
380 | 380 | compiler_yacc_decl_clean: |
|
381 | 381 | compiler_yacc_impl_make_all: |
|
382 | 382 | compiler_yacc_impl_clean: |
|
383 | 383 | compiler_lex_make_all: |
|
384 | 384 | compiler_lex_clean: |
|
385 | 385 | compiler_clean: compiler_moc_header_clean |
|
386 | 386 | |
|
387 | 387 | ####### Compile |
|
388 | 388 | |
|
389 | 389 | obj/rmapplugin.o: rmapplugin.cpp rmapplugin.h \ |
|
390 | 390 | rmappluginui.h \ |
|
391 | 391 | rmapoperations.h \ |
|
392 | 392 | stardundee.h \ |
|
393 | 393 | ccsds.h \ |
|
394 | 394 | tmpackettoread.h \ |
|
395 | 395 | gresb.h \ |
|
396 | 396 | wfdisplay.h \ |
|
397 | 397 | wfplot.h \ |
|
398 | 398 | params.h \ |
|
399 | 399 | wfpage.h \ |
|
400 | 400 | tmstatistics.h \ |
|
401 | 401 | wfpacket.h \ |
|
402 | 402 | rmappluginpythonwrapper.h \ |
|
403 | 403 | tcpackettosend.h |
|
404 | 404 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/rmapplugin.o rmapplugin.cpp |
|
405 | 405 | |
|
406 | 406 | obj/rmappluginui.o: rmappluginui.cpp rmapplugin.h \ |
|
407 | 407 | rmappluginui.h \ |
|
408 | 408 | rmapoperations.h \ |
|
409 | 409 | stardundee.h \ |
|
410 | 410 | ccsds.h \ |
|
411 | 411 | tmpackettoread.h \ |
|
412 | 412 | gresb.h \ |
|
413 | 413 | wfdisplay.h \ |
|
414 | 414 | wfplot.h \ |
|
415 | 415 | params.h \ |
|
416 | 416 | wfpage.h \ |
|
417 | 417 | tmstatistics.h \ |
|
418 | 418 | wfpacket.h |
|
419 | 419 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/rmappluginui.o rmappluginui.cpp |
|
420 | 420 | |
|
421 | 421 | obj/rmapoperations.o: rmapoperations.cpp rmapoperations.h |
|
422 | 422 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/rmapoperations.o rmapoperations.cpp |
|
423 | 423 | |
|
424 | 424 | obj/ccsds.o: ccsds.cpp ccsds.h |
|
425 | 425 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/ccsds.o ccsds.cpp |
|
426 | 426 | |
|
427 | 427 | obj/qipdialogbox.o: ../common_PLE/qipdialogbox.cpp ../common_PLE/qipdialogbox.h |
|
428 | 428 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/qipdialogbox.o ../common_PLE/qipdialogbox.cpp |
|
429 | 429 | |
|
430 | 430 | obj/gresbstatusenquiry.o: ../common_PLE/gresbstatusenquiry.cpp ../common_PLE/gresbstatusenquiry.h |
|
431 | 431 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/gresbstatusenquiry.o ../common_PLE/gresbstatusenquiry.cpp |
|
432 | 432 | |
|
433 | 433 | obj/rmappluginpythonwrapper.o: rmappluginpythonwrapper.cpp rmappluginpythonwrapper.h \ |
|
434 | 434 | rmapoperations.h \ |
|
435 | 435 | ccsds.h \ |
|
436 | 436 | tcpackettosend.h \ |
|
437 | 437 | tmpackettoread.h |
|
438 | 438 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/rmappluginpythonwrapper.o rmappluginpythonwrapper.cpp |
|
439 | 439 | |
|
440 | 440 | obj/stardundee.o: stardundee.cpp stardundee.h \ |
|
441 | 441 | rmapoperations.h \ |
|
442 | 442 | ccsds.h \ |
|
443 | 443 | tmpackettoread.h |
|
444 | 444 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/stardundee.o stardundee.cpp |
|
445 | 445 | |
|
446 | 446 | obj/gresb.o: gresb.cpp gresb.h \ |
|
447 | 447 | rmapoperations.h \ |
|
448 | 448 | ccsds.h \ |
|
449 | 449 | tmpackettoread.h |
|
450 | 450 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/gresb.o gresb.cpp |
|
451 | 451 | |
|
452 | 452 | obj/tcpackettosend.o: tcpackettosend.cpp tcpackettosend.h |
|
453 | 453 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/tcpackettosend.o tcpackettosend.cpp |
|
454 | 454 | |
|
455 | 455 | obj/tmpackettoread.o: tmpackettoread.cpp tmpackettoread.h |
|
456 | 456 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/tmpackettoread.o tmpackettoread.cpp |
|
457 | 457 | |
|
458 | 458 | obj/wfdisplay.o: wfdisplay.cpp wfdisplay.h \ |
|
459 | 459 | wfplot.h \ |
|
460 | 460 | params.h \ |
|
461 | 461 | wfpage.h |
|
462 | 462 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/wfdisplay.o wfdisplay.cpp |
|
463 | 463 | |
|
464 | 464 | obj/tmstatistics.o: tmstatistics.cpp tmstatistics.h |
|
465 | 465 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/tmstatistics.o tmstatistics.cpp |
|
466 | 466 | |
|
467 | 467 | obj/wfplot.o: wfplot.cpp wfplot.h \ |
|
468 | 468 | params.h |
|
469 | 469 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/wfplot.o wfplot.cpp |
|
470 | 470 | |
|
471 | 471 | obj/wfpage.o: wfpage.cpp wfpage.h \ |
|
472 | 472 | wfplot.h \ |
|
473 | 473 | params.h |
|
474 | 474 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/wfpage.o wfpage.cpp |
|
475 | 475 | |
|
476 | 476 | obj/wfpacket.o: wfpacket.cpp wfpacket.h \ |
|
477 | 477 | params.h |
|
478 | 478 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/wfpacket.o wfpacket.cpp |
|
479 | 479 | |
|
480 | 480 | obj/lppmonplugininterface.o: /usr/include/lppmon/pluginsInterface/lppmonplugininterface.cpp /usr/include/lppmon/pluginsInterface/lppmonplugininterface.h \ |
|
481 | 481 | /usr/include/lppmon/pluginsInterface/lppmonplugininterface_global.h |
|
482 | 482 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/lppmonplugininterface.o /usr/include/lppmon/pluginsInterface/lppmonplugininterface.cpp |
|
483 | 483 | |
|
484 | 484 | obj/moc_rmappluginui.o: moc/moc_rmappluginui.cpp |
|
485 | 485 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_rmappluginui.o moc/moc_rmappluginui.cpp |
|
486 | 486 | |
|
487 | 487 | obj/moc_rmapplugin.o: moc/moc_rmapplugin.cpp |
|
488 | 488 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_rmapplugin.o moc/moc_rmapplugin.cpp |
|
489 | 489 | |
|
490 | 490 | obj/moc_qipdialogbox.o: moc/moc_qipdialogbox.cpp |
|
491 | 491 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_qipdialogbox.o moc/moc_qipdialogbox.cpp |
|
492 | 492 | |
|
493 | 493 | obj/moc_gresbstatusenquiry.o: moc/moc_gresbstatusenquiry.cpp |
|
494 | 494 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_gresbstatusenquiry.o moc/moc_gresbstatusenquiry.cpp |
|
495 | 495 | |
|
496 | 496 | obj/moc_rmappluginpythonwrapper.o: moc/moc_rmappluginpythonwrapper.cpp |
|
497 | 497 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_rmappluginpythonwrapper.o moc/moc_rmappluginpythonwrapper.cpp |
|
498 | 498 | |
|
499 | 499 | obj/moc_stardundee.o: moc/moc_stardundee.cpp |
|
500 | 500 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_stardundee.o moc/moc_stardundee.cpp |
|
501 | 501 | |
|
502 | 502 | obj/moc_gresb.o: moc/moc_gresb.cpp |
|
503 | 503 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_gresb.o moc/moc_gresb.cpp |
|
504 | 504 | |
|
505 | 505 | obj/moc_tcpackettosend.o: moc/moc_tcpackettosend.cpp |
|
506 | 506 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_tcpackettosend.o moc/moc_tcpackettosend.cpp |
|
507 | 507 | |
|
508 | 508 | obj/moc_tmpackettoread.o: moc/moc_tmpackettoread.cpp |
|
509 | 509 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_tmpackettoread.o moc/moc_tmpackettoread.cpp |
|
510 | 510 | |
|
511 | 511 | obj/moc_wfdisplay.o: moc/moc_wfdisplay.cpp |
|
512 | 512 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_wfdisplay.o moc/moc_wfdisplay.cpp |
|
513 | 513 | |
|
514 | 514 | obj/moc_tmstatistics.o: moc/moc_tmstatistics.cpp |
|
515 | 515 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_tmstatistics.o moc/moc_tmstatistics.cpp |
|
516 | 516 | |
|
517 | 517 | obj/moc_wfplot.o: moc/moc_wfplot.cpp |
|
518 | 518 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_wfplot.o moc/moc_wfplot.cpp |
|
519 | 519 | |
|
520 | 520 | obj/moc_wfpage.o: moc/moc_wfpage.cpp |
|
521 | 521 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_wfpage.o moc/moc_wfpage.cpp |
|
522 | 522 | |
|
523 | 523 | obj/moc_wfpacket.o: moc/moc_wfpacket.cpp |
|
524 | 524 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_wfpacket.o moc/moc_wfpacket.cpp |
|
525 | 525 | |
|
526 | 526 | obj/moc_genericPySysdriver.o: moc/moc_genericPySysdriver.cpp |
|
527 | 527 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_genericPySysdriver.o moc/moc_genericPySysdriver.cpp |
|
528 | 528 | |
|
529 | 529 | obj/moc_lppmonplugin.o: moc/moc_lppmonplugin.cpp |
|
530 | 530 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o obj/moc_lppmonplugin.o moc/moc_lppmonplugin.cpp |
|
531 | 531 | |
|
532 | 532 | ####### Install |
|
533 | 533 | |
|
534 | 534 | install_target: first FORCE |
|
535 | 535 | @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/home/paul/.lppmon/plugins/ || $(MKDIR) $(INSTALL_ROOT)/home/paul/.lppmon/plugins/ |
|
536 | 536 | -$(INSTALL_PROGRAM) "bin/$(TARGET)" "$(INSTALL_ROOT)/home/paul/.lppmon/plugins/$(TARGET)" |
|
537 | 537 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/home/paul/.lppmon/plugins/$(TARGET0)" |
|
538 | 538 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/home/paul/.lppmon/plugins/$(TARGET1)" |
|
539 | 539 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/home/paul/.lppmon/plugins/$(TARGET2)" |
|
540 | 540 | |
|
541 | 541 | uninstall_target: FORCE |
|
542 | 542 | -$(DEL_FILE) "$(INSTALL_ROOT)/home/paul/.lppmon/plugins/$(TARGET)" |
|
543 | 543 | -$(DEL_FILE) "$(INSTALL_ROOT)/home/paul/.lppmon/plugins/$(TARGET0)" |
|
544 | 544 | -$(DEL_FILE) "$(INSTALL_ROOT)/home/paul/.lppmon/plugins/$(TARGET1)" |
|
545 | 545 | -$(DEL_FILE) "$(INSTALL_ROOT)/home/paul/.lppmon/plugins/$(TARGET2)" |
|
546 | 546 | -$(DEL_DIR) $(INSTALL_ROOT)/home/paul/.lppmon/plugins/ |
|
547 | 547 | |
|
548 | 548 | |
|
549 | 549 | install: install_target FORCE |
|
550 | 550 | |
|
551 | 551 | uninstall: uninstall_target FORCE |
|
552 | 552 | |
|
553 | 553 | FORCE: |
|
554 | 554 |
@@ -1,44 +1,48 | |||
|
1 | 1 | #ifndef PARAMS_H |
|
2 | 2 | #define PARAMS_H |
|
3 | 3 | |
|
4 | 4 | #define XMAX 2048 |
|
5 | 5 | #define YMAX 35000 |
|
6 | 6 | #define FONT_SIZE_WAVEFORM_TITLE 10 |
|
7 | 7 | #define DEFAULT_SIZE 2048 |
|
8 | 8 | #define BLK_SIZE 12 |
|
9 | 9 | |
|
10 | 10 | //**************** |
|
11 | 11 | // TM packets SIDs |
|
12 | 12 | #define SID_NORMAL_SWF_F0 3 |
|
13 | 13 | #define SID_NORMAL_SWF_F1 4 |
|
14 | 14 | #define SID_NORMAL_SWF_F2 5 |
|
15 | 15 | #define SID_NORMAL_CWF_F3 1 |
|
16 | 16 | #define SID_NORMAL_ASM_F0 11 |
|
17 | 17 | #define SID_NORMAL_ASM_F1 12 |
|
18 | 18 | #define SID_NORMAL_ASM_F2 13 |
|
19 | 19 | #define SID_NORMAL_BP1_F0 14 |
|
20 | 20 | #define SID_NORMAL_BP1_F1 15 |
|
21 | 21 | #define SID_NORMAL_BP1_F2 16 |
|
22 | 22 | #define SID_NORMAL_BP2_F0 19 |
|
23 | 23 | #define SID_NORMAL_BP2_F1 20 |
|
24 | 24 | #define SID_NORMAL_BP2_F2 21 |
|
25 | 25 | // |
|
26 | 26 | #define SID_BURST_CWF_F2 2 |
|
27 | 27 | #define SID_BURST_BP1_F0 17 |
|
28 | 28 | #define SID_BURST_BP2_F0 22 |
|
29 | 29 | #define SID_BURST_BP1_F1 18 |
|
30 | 30 | #define SID_BURST_BP2_F1 23 |
|
31 | 31 | // |
|
32 | 32 | #define SID_SBM1_CWF_F1 24 |
|
33 | 33 | #define SID_SBM1_BP1_F0 28 |
|
34 | 34 | #define SID_SBM1_BP2_F0 31 |
|
35 | 35 | // |
|
36 | 36 | #define SID_SBM2_CWF_F2 25 |
|
37 | 37 | #define SID_SBM2_BP1_F0 29 |
|
38 | 38 | #define SID_SBM2_BP2_F0 32 |
|
39 | 39 | #define SID_SBM2_BP1_F1 30 |
|
40 | 40 | #define SID_SBM2_BP2_F1 33 |
|
41 | 41 | |
|
42 | #define RMAP_DEFAULT_SOURCE_ADDRESS 1 | |
|
42 | //***** | |
|
43 | // RMAP | |
|
44 | #define DEFAULT_DESTINATION_KEY 2 | |
|
45 | #define DEFAULT_SOURCE 1 | |
|
46 | #define DEFAULT_TARGET 254 | |
|
43 | 47 | |
|
44 | 48 | #endif // PARAMS_H |
@@ -1,151 +1,148 | |||
|
1 | 1 | #ifndef RMAPOPERATIONS_H |
|
2 | 2 | #define RMAPOPERATIONS_H |
|
3 | 3 | |
|
4 | 4 | #include "qhexspinbox.h" |
|
5 | #include <params.h> | |
|
5 | 6 | |
|
6 | 7 | #define READ_WRITE_MAX_COUNTS 4096 // in words |
|
7 | 8 | #define RMAP_MAX_DATA_LENGTH 4*READ_WRITE_MAX_COUNTS // in bytes, shall be lower than the limit size of SPW packet of the GRESB bridge |
|
8 | 9 | #define RMAP_READ_REPLY_HEADER_LENGTH 12 // in bytes => ECSS |
|
9 | 10 | #define RMAP_READ_COMMAND_HEADER_LENGTH 16 // in bytes => ECSS |
|
10 | 11 | #define RMAP_DATA_CRC_LENGTH 1 // in bytes => ECSS |
|
11 | 12 | #define RMAP_MAX_PACKET_LENGTH RMAP_READ_REPLY_HEADER_LENGTH + RMAP_MAX_DATA_LENGTH + RMAP_DATA_CRC_LENGTH |
|
12 | 13 | |
|
13 | #define DEFAULT_DESTINATION_KEY 2 | |
|
14 | #define DEFAULT_SOURCE 0 | |
|
15 | #define DEFAULT_TARGET 254 | |
|
16 | ||
|
17 | 14 | static const unsigned char RMAP_CRCTable[] = { |
|
18 | 15 | 0x00, 0x91, 0xe3, 0x72, 0x07, 0x96, 0xe4, 0x75, |
|
19 | 16 | 0x0e, 0x9f, 0xed, 0x7c, 0x09, 0x98, 0xea, 0x7b, |
|
20 | 17 | 0x1c, 0x8d, 0xff, 0x6e, 0x1b, 0x8a, 0xf8, 0x69, |
|
21 | 18 | 0x12, 0x83, 0xf1, 0x60, 0x15, 0x84, 0xf6, 0x67, |
|
22 | 19 | 0x38, 0xa9, 0xdb, 0x4a, 0x3f, 0xae, 0xdc, 0x4d, |
|
23 | 20 | 0x36, 0xa7, 0xd5, 0x44, 0x31, 0xa0, 0xd2, 0x43, |
|
24 | 21 | 0x24, 0xb5, 0xc7, 0x56, 0x23, 0xb2, 0xc0, 0x51, |
|
25 | 22 | 0x2a, 0xbb, 0xc9, 0x58, 0x2d, 0xbc, 0xce, 0x5f, |
|
26 | 23 | 0x70, 0xe1, 0x93, 0x02, 0x77, 0xe6, 0x94, 0x05, |
|
27 | 24 | 0x7e, 0xef, 0x9d, 0x0c, 0x79, 0xe8, 0x9a, 0x0b, |
|
28 | 25 | 0x6c, 0xfd, 0x8f, 0x1e, 0x6b, 0xfa, 0x88, 0x19, |
|
29 | 26 | 0x62, 0xf3, 0x81, 0x10, 0x65, 0xf4, 0x86, 0x17, |
|
30 | 27 | 0x48, 0xd9, 0xab, 0x3a, 0x4f, 0xde, 0xac, 0x3d, |
|
31 | 28 | 0x46, 0xd7, 0xa5, 0x34, 0x41, 0xd0, 0xa2, 0x33, |
|
32 | 29 | 0x54, 0xc5, 0xb7, 0x26, 0x53, 0xc2, 0xb0, 0x21, |
|
33 | 30 | 0x5a, 0xcb, 0xb9, 0x28, 0x5d, 0xcc, 0xbe, 0x2f, |
|
34 | 31 | 0xe0, 0x71, 0x03, 0x92, 0xe7, 0x76, 0x04, 0x95, |
|
35 | 32 | 0xee, 0x7f, 0x0d, 0x9c, 0xe9, 0x78, 0x0a, 0x9b, |
|
36 | 33 | 0xfc, 0x6d, 0x1f, 0x8e, 0xfb, 0x6a, 0x18, 0x89, |
|
37 | 34 | 0xf2, 0x63, 0x11, 0x80, 0xf5, 0x64, 0x16, 0x87, |
|
38 | 35 | 0xd8, 0x49, 0x3b, 0xaa, 0xdf, 0x4e, 0x3c, 0xad, |
|
39 | 36 | 0xd6, 0x47, 0x35, 0xa4, 0xd1, 0x40, 0x32, 0xa3, |
|
40 | 37 | 0xc4, 0x55, 0x27, 0xb6, 0xc3, 0x52, 0x20, 0xb1, |
|
41 | 38 | 0xca, 0x5b, 0x29, 0xb8, 0xcd, 0x5c, 0x2e, 0xbf, |
|
42 | 39 | 0x90, 0x01, 0x73, 0xe2, 0x97, 0x06, 0x74, 0xe5, |
|
43 | 40 | 0x9e, 0x0f, 0x7d, 0xec, 0x99, 0x08, 0x7a, 0xeb, |
|
44 | 41 | 0x8c, 0x1d, 0x6f, 0xfe, 0x8b, 0x1a, 0x68, 0xf9, |
|
45 | 42 | 0x82, 0x13, 0x61, 0xf0, 0x85, 0x14, 0x66, 0xf7, |
|
46 | 43 | 0xa8, 0x39, 0x4b, 0xda, 0xaf, 0x3e, 0x4c, 0xdd, |
|
47 | 44 | 0xa6, 0x37, 0x45, 0xd4, 0xa1, 0x30, 0x42, 0xd3, |
|
48 | 45 | 0xb4, 0x25, 0x57, 0xc6, 0xb3, 0x22, 0x50, 0xc1, |
|
49 | 46 | 0xba, 0x2b, 0x59, 0xc8, 0xbd, 0x2c, 0x5e, 0xcf |
|
50 | 47 | }; |
|
51 | 48 | |
|
52 | 49 | enum RMAP_command_codes{ |
|
53 | 50 | invalid0, //0000 |
|
54 | 51 | invalid1, //0001 |
|
55 | 52 | read_Single, //0010 |
|
56 | 53 | read_Inc, //0011 |
|
57 | 54 | invalid2, //0100 |
|
58 | 55 | invalid3, //0101 |
|
59 | 56 | invalid4, //0110 |
|
60 | 57 | readModWri_Inc, //0111 |
|
61 | 58 | writeSingle_noVer_noRep, //1000 |
|
62 | 59 | writeInc_noVer_noRep, //1001 |
|
63 | 60 | writeSingle_noVer_Rep, //1010 |
|
64 | 61 | writeInc_noVer_Rep, //1011 |
|
65 | 62 | writeSingle_ver_noRep, //1100 |
|
66 | 63 | writeInc_ver_noRep, //1101 |
|
67 | 64 | writeSingle_ver_rep, //1110 |
|
68 | 65 | writeInc_ver_rep //1111 |
|
69 | 66 | }; |
|
70 | 67 | |
|
71 | 68 | struct rmap_command_format_str |
|
72 | 69 | { |
|
73 | 70 | // char tagetSpaceWireAddress[]; // used for path addressing or regional addressing |
|
74 | 71 | char targetLogicalAddress; |
|
75 | 72 | char protocolIdentifier; |
|
76 | 73 | char instruction; |
|
77 | 74 | unsigned char key; // used for command authorization => check Gaisler GRSPW for compliance |
|
78 | 75 | //char replyAddress[]; // not needed if logical addressing is used (replyAddressLength = 0b00) |
|
79 | 76 | unsigned char initiatorLogicalAddress; |
|
80 | 77 | char transactionIdentifier1; |
|
81 | 78 | char transactionIdentifier0; |
|
82 | 79 | char extendedAddress; |
|
83 | 80 | char address3; |
|
84 | 81 | char address2; |
|
85 | 82 | char address1; |
|
86 | 83 | char address0; |
|
87 | 84 | unsigned char dataLength2; |
|
88 | 85 | unsigned char dataLength1; |
|
89 | 86 | unsigned char dataLength0; |
|
90 | 87 | char headerCRC; |
|
91 | 88 | }; |
|
92 | 89 | typedef struct rmap_command_format_str rmap_command_format_t; |
|
93 | 90 | |
|
94 | 91 | struct rmap_write_reply_str |
|
95 | 92 | { |
|
96 | 93 | unsigned char initiatorLogicalAddress; |
|
97 | 94 | unsigned char protocolIdentifier; |
|
98 | 95 | unsigned char instruction; |
|
99 | 96 | unsigned char status; |
|
100 | 97 | unsigned char targetLogicalAddress; |
|
101 | 98 | unsigned char transactionIdentifier1; |
|
102 | 99 | unsigned char transactionIdentifier2; |
|
103 | 100 | unsigned char headerCRC; |
|
104 | 101 | }; |
|
105 | 102 | typedef struct rmap_write_reply_str rmap_write_reply_t; |
|
106 | 103 | |
|
107 | 104 | struct rmap_read_reply_PcktHdr_str |
|
108 | 105 | { |
|
109 | 106 | //char replyAddress[]; // not needed if logical addressing is used |
|
110 | 107 | char initiatorLogicalAddress; |
|
111 | 108 | char protocolIdentifier; |
|
112 | 109 | char instruction; |
|
113 | 110 | char status; |
|
114 | 111 | char targetLogicalAddress; |
|
115 | 112 | char transactionIdentifier1; |
|
116 | 113 | char transactionIdentifier0; |
|
117 | 114 | char reserved; |
|
118 | 115 | unsigned char dataLength2; |
|
119 | 116 | unsigned char dataLength1; |
|
120 | 117 | unsigned char dataLength0; |
|
121 | 118 | char headerCRC; |
|
122 | 119 | }; |
|
123 | 120 | typedef struct rmap_read_reply_PcktHdr_str rmap_read_reply_PcktHdr_t; |
|
124 | 121 | |
|
125 | 122 | struct rmap_gresb_header_str |
|
126 | 123 | { |
|
127 | 124 | char GRESBProtocoleID; |
|
128 | 125 | unsigned char SPWPacketSize2; |
|
129 | 126 | unsigned char SPWPacketSize1; |
|
130 | 127 | unsigned char SPWPacketSize0; |
|
131 | 128 | }; |
|
132 | 129 | typedef struct rmap_gresb_header_str rmap_gresb_header_str; |
|
133 | 130 | |
|
134 | 131 | class RMAP |
|
135 | 132 | { |
|
136 | 133 | public: |
|
137 | 134 | RMAP(RMAP_command_codes commandCode, |
|
138 | 135 | unsigned char targetLogicalAddress, |
|
139 | 136 | unsigned char initiatorLogicalAddress, |
|
140 | 137 | int startAddress, |
|
141 | 138 | int nbBytes, |
|
142 | 139 | char *data); |
|
143 | 140 | unsigned char RMAPCalculateCRC(unsigned char INCR, unsigned char INBYTE); // ECSS-E-ST-50-52C |
|
144 | 141 | unsigned char RMAPCalculateHeaderCRC(); |
|
145 | 142 | unsigned char RMAPCalculateDataCRC(char *data, int nbBytes); |
|
146 | 143 | rmap_gresb_header_str GRESBHeader; |
|
147 | 144 | rmap_command_format_t RMAPHeader; |
|
148 | 145 | char dataCRC; |
|
149 | 146 | }; |
|
150 | 147 | |
|
151 | 148 | #endif // RMAPOPERATIONS_H |
@@ -1,290 +1,292 | |||
|
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 | #include "rmapplugin.h" |
|
23 | 23 | |
|
24 | 24 | rmapPluginUI::rmapPluginUI(QWidget *parent) : |
|
25 | 25 | QWidget(parent) |
|
26 | 26 | { |
|
27 | 27 | spwTabWidget = new QTabWidget; |
|
28 | 28 | // |
|
29 | 29 | QWidget* spwTabWidgetPage0 = new QWidget; |
|
30 | 30 | QWidget* spwTabWidgetPage2 = new QWidget; |
|
31 | 31 | QWidget* spwTabWidgetPage3 = new QWidget; |
|
32 | 32 | QWidget* spwTabWidgetPage4 = new QWidget; |
|
33 | 33 | QWidget* spwTabWidgetPage5 = new QWidget; |
|
34 | 34 | // |
|
35 | 35 | bridgeWidget = new QWidget; |
|
36 | 36 | mainLayout = new QVBoxLayout; |
|
37 | 37 | ccsdsLayout = new QVBoxLayout; |
|
38 | 38 | consoleLayout = new QVBoxLayout; |
|
39 | 39 | selectionLayout = new QVBoxLayout; |
|
40 | 40 | connectionLayout = new QGridLayout; |
|
41 | 41 | bridgeSelection_LAYOUT = new QGridLayout; |
|
42 | 42 | generalParameters_LAYOUT = new QGridLayout; |
|
43 | 43 | |
|
44 | 44 | gresb_GROUPBOX = new QGroupBox(tr("GRESB bridge parameters")); |
|
45 | 45 | stardundee_GROUPBOX = new QGroupBox(tr("Star Dundee brick parameters")); |
|
46 | 46 | selection_GROUPBOX = new QGroupBox(tr("Bridge selection")); |
|
47 | 47 | generalParameters_GROUPBOX = new QGroupBox(tr("General parameters")); |
|
48 | 48 | |
|
49 | 49 | //*** QLABEL ***// |
|
50 | 50 | gresbBridgeIPLabel = new QLabel(tr("Bridge IP: ")); |
|
51 | 51 | gresbVirtualLinkLabel = new QLabel(tr("Virtual Link: ")); |
|
52 | 52 | spwLinkLabel = new QLabel(tr("SPW Link: ")); |
|
53 | 53 | rmapSourceLogicalAddressLabel = new QLabel(tr("RMAP Source Logical Address: ")); |
|
54 | 54 | rmapTargetLogicalAddressLabel = new QLabel(tr("RMAP Target Logical Address: ")); |
|
55 | 55 | logFileName = new QLabel; |
|
56 | 56 | gresbStatusQueryLabel = new QLabel(tr("Status query socket (port 3010): waiting for connection")); |
|
57 | 57 | gresbStatusQueryDialogLabel = new QLabel(tr("sockets opened but SpaceWire link not running")); |
|
58 | 58 | nbPacketInStore = new QLabel(tr("nb packets in store: -")); |
|
59 | 59 | |
|
60 | 60 | //*** QPUSHBUTTON ***// |
|
61 | 61 | rmapOpenCommunicationButton = new QPushButton(tr("Open selected bridge")); |
|
62 | 62 | rmapCloseCommunicationButton = new QPushButton(tr("Close selected bridge")); |
|
63 | 63 | rmapOpenCommunicationButton->setEnabled(false); |
|
64 | 64 | rmapCloseCommunicationButton->setEnabled(false); |
|
65 | 65 | logFileChooseButton = new QPushButton(tr("Choose file")); |
|
66 | 66 | gresbStatusQueryRetryButton = new QPushButton(tr("Retry")); |
|
67 | 67 | gresbStatusQueryAbortButton = new QPushButton(tr("Abort")); |
|
68 | 68 | clearConsoleButton = new QPushButton(tr("Clear")); |
|
69 | 69 | |
|
70 | 70 | selectGRESB_BUTTON = new QRadioButton(tr("GRESB")); |
|
71 | 71 | selectStarDundee_BUTTON = new QRadioButton(tr("Star Dundee")); |
|
72 | 72 | |
|
73 | 73 | //*** SPINBOX ***// |
|
74 | 74 | gresbVirtualLinkSpinBox = new QSpinBox; |
|
75 | 75 | rmapSourceLogicalAddressSpinBox = new QSpinBox; |
|
76 | 76 | rmapTargetLogicalAddressSpinBox = new QSpinBox; |
|
77 | 77 | spwLinkSpinBox = new QSpinBox;; |
|
78 | 78 | CCSDSTargetLogicalAddressSpinBox = new QSpinBox; |
|
79 | 79 | gresbVirtualLinkSpinBox->setRange(0, 4); |
|
80 | 80 | gresbVirtualLinkSpinBox->setValue(1); |
|
81 | 81 | rmapSourceLogicalAddressSpinBox->setRange(0, 255); |
|
82 | rmapSourceLogicalAddressSpinBox->setValue(RMAP_DEFAULT_SOURCE_ADDRESS); | |
|
83 | 82 | rmapTargetLogicalAddressSpinBox->setRange(0, 255); |
|
84 | 83 | spwLinkSpinBox->setRange(0, 2); |
|
85 | 84 | spwLinkSpinBox->setValue(0); |
|
86 | 85 | |
|
87 | 86 | //*** MISC **// |
|
88 | 87 | starDundee = new StarDundee; |
|
89 | 88 | gresbBridge = new gresb; |
|
90 | 89 | console = new QTextEdit; |
|
91 | 90 | gresbStatusQueryDialog = new QDialog; |
|
92 | 91 | logEnableCheckBox = new QCheckBox(tr("Enable Logs")); |
|
93 | 92 | RMAP_write_verify = new QCheckBox(tr("data checked before write\nlimited to 4 bytes\nNOT IMPLEMENTED")); |
|
94 | 93 | RMAP_write_reply = new QCheckBox(tr("reply to the write command required\nlast reply status: unavailable")); |
|
95 | 94 | logFile = new QFile(); |
|
96 | 95 | wfDisplay = new WFDisplay(); |
|
97 | 96 | tmStatistics = new TMStatistics(); |
|
98 | 97 | |
|
99 | 98 | logFileEn = false; |
|
100 | 99 | |
|
101 | 100 | connectionLayout->setRowStretch(7, 1); |
|
102 | 101 | connectionLayout->setColumnStretch(2, 1); |
|
103 | 102 | |
|
104 | 103 | bridgeSelection_LAYOUT->addWidget(selectGRESB_BUTTON, 0, 0, 1, 1); |
|
105 | 104 | bridgeSelection_LAYOUT->addWidget(selectStarDundee_BUTTON, 0, 1, 1, 1); |
|
106 | 105 | |
|
106 | bridgeSelection_LAYOUT->setRowStretch(1, 1); | |
|
107 | bridgeSelection_LAYOUT->setColumnStretch(2, 1); | |
|
108 | ||
|
107 | 109 | generalParameters_LAYOUT->addWidget(logEnableCheckBox, 0, 0, 1, 1); |
|
108 | 110 | generalParameters_LAYOUT->addWidget(logFileChooseButton, 0, 1, 1, 1); |
|
109 | 111 | generalParameters_LAYOUT->addWidget(rmapSourceLogicalAddressLabel, 1, 0, 0); |
|
110 | 112 | generalParameters_LAYOUT->addWidget(rmapSourceLogicalAddressSpinBox, 1, 1, 0); |
|
111 | 113 | generalParameters_LAYOUT->addWidget(rmapTargetLogicalAddressLabel, 2, 0, 0); |
|
112 | 114 | generalParameters_LAYOUT->addWidget(rmapTargetLogicalAddressSpinBox, 2, 1, 0); |
|
113 | 115 | generalParameters_LAYOUT->addWidget(rmapOpenCommunicationButton, 3, 0, 1, 1); |
|
114 | 116 | generalParameters_LAYOUT->addWidget(rmapCloseCommunicationButton, 3, 1, 1, 1); |
|
115 | 117 | generalParameters_LAYOUT->addWidget(RMAP_write_verify, 4, 0, 1, 2); |
|
116 | 118 | generalParameters_LAYOUT->addWidget(RMAP_write_reply, 5, 0, 1, 2); |
|
117 | 119 | |
|
118 | 120 | generalParameters_LAYOUT->setRowStretch(6, 1); |
|
119 | 121 | generalParameters_LAYOUT->setColumnStretch(2, 1); |
|
120 | 122 | |
|
121 | 123 | gresb_GROUPBOX->setLayout(gresbBridge->layout()); |
|
122 | 124 | gresb_GROUPBOX->setVisible(false); |
|
123 | 125 | stardundee_GROUPBOX->setLayout(starDundee->layout()); |
|
124 | 126 | stardundee_GROUPBOX->setVisible(false); |
|
125 | 127 | selection_GROUPBOX->setLayout(bridgeSelection_LAYOUT); |
|
126 | 128 | generalParameters_GROUPBOX->setLayout(generalParameters_LAYOUT); |
|
127 | 129 | selectionLayout->addWidget(selection_GROUPBOX); |
|
128 | 130 | selectionLayout->addWidget(generalParameters_GROUPBOX); |
|
129 | 131 | selectionLayout->addWidget(gresb_GROUPBOX); |
|
130 | 132 | selectionLayout->addWidget(stardundee_GROUPBOX); |
|
131 | 133 | |
|
132 | 134 | //******** |
|
133 | 135 | // CONSOLE |
|
134 | 136 | consoleLayout->addWidget(console); |
|
135 | 137 | consoleLayout->addWidget(clearConsoleButton); |
|
136 | 138 | consoleLayout->addWidget(nbPacketInStore); |
|
137 | 139 | |
|
138 | 140 | connect(this->logFileChooseButton, SIGNAL(clicked()), this, SLOT(chooseLogFile())); |
|
139 | 141 | connect(this, SIGNAL(setLogFileName(QString)), this->logFileName, SLOT(setText(QString))); |
|
140 | 142 | connect(this->logEnableCheckBox, SIGNAL(stateChanged(int)), this, SLOT(logFileEnDisable(int))); |
|
141 | 143 | |
|
142 | 144 | spwTabWidget->addTab(spwTabWidgetPage0, tr("connection")); |
|
143 | 145 | spwTabWidget->addTab(spwTabWidgetPage2, tr("status")); |
|
144 | 146 | spwTabWidget->addTab(spwTabWidgetPage3, tr("console")); |
|
145 | 147 | spwTabWidget->addTab(spwTabWidgetPage4, tr("TM statistics")); |
|
146 | 148 | spwTabWidget->addTab(spwTabWidgetPage5, tr("waveforms")); |
|
147 | 149 | |
|
148 | 150 | spwTabWidgetPage0->setLayout(selectionLayout); |
|
149 | 151 | spwTabWidgetPage2->setLayout(this->gresbBridge->spwLinkStatusEnquiry->mainLayout); |
|
150 | 152 | spwTabWidgetPage3->setLayout(consoleLayout); |
|
151 | 153 | spwTabWidgetPage4->setLayout(tmStatistics->layout()); |
|
152 | 154 | spwTabWidgetPage5->setLayout(wfDisplay->layout()); |
|
153 | 155 | |
|
154 | 156 | mainLayout->addWidget(spwTabWidget); |
|
155 | 157 | setLayout(mainLayout); |
|
156 | 158 | |
|
157 | 159 | connect(this->clearConsoleButton, SIGNAL(clicked()), this->console, SLOT(clear())); |
|
158 | 160 | |
|
159 | 161 | // briges |
|
160 | 162 | connect(this->selectGRESB_BUTTON, SIGNAL(clicked()), this, SLOT(selectionBetweenGresbAndStarDundee())); |
|
161 | 163 | connect(this->selectStarDundee_BUTTON, SIGNAL(clicked()), this, SLOT(selectionBetweenGresbAndStarDundee())); |
|
162 | 164 | connect(this->starDundee, SIGNAL(isOpen(bool)), this, SLOT(isOpen(bool))); |
|
163 | 165 | connect(this->gresbBridge, SIGNAL(isOpen(bool)), this, SLOT(isOpen(bool))); |
|
164 | 166 | |
|
165 | 167 | connect(this->rmapSourceLogicalAddressSpinBox, SIGNAL(valueChanged(int)), this->gresbBridge, SLOT(sourceHasChanged(int))); |
|
166 | 168 | connect(this->rmapTargetLogicalAddressSpinBox, SIGNAL(valueChanged(int)), this->gresbBridge, SLOT(targetHasChanged(int))); |
|
167 | 169 | connect(this->rmapSourceLogicalAddressSpinBox, SIGNAL(valueChanged(int)), this->starDundee, SLOT(sourceHasChanged(int))); |
|
168 | 170 | connect(this->rmapTargetLogicalAddressSpinBox, SIGNAL(valueChanged(int)), this->starDundee, SLOT(targetHasChanged(int))); |
|
169 | 171 | |
|
170 | 172 | // command code |
|
171 | 173 | connect(this->RMAP_write_reply, SIGNAL(clicked()), this, SLOT(getCommandCode())); |
|
172 | 174 | connect(this->RMAP_write_verify, SIGNAL(clicked()), this, SLOT(getCommandCode())); |
|
173 | 175 | connect(this, SIGNAL(commandCodeHasChanged(RMAP_command_codes)), |
|
174 | 176 | this->starDundee, SLOT(commandCodeHasChanged(RMAP_command_codes))); |
|
175 | 177 | connect(this, SIGNAL(commandCodeHasChanged(RMAP_command_codes)), |
|
176 | 178 | this->gresbBridge, SLOT(commandCodeHasChanged(RMAP_command_codes))); |
|
177 | 179 | |
|
178 | 180 | getCommandCode(); // init the command code value |
|
179 | 181 | rmapSourceLogicalAddressSpinBox->setValue(DEFAULT_SOURCE); |
|
180 | 182 | rmapTargetLogicalAddressSpinBox->setValue(DEFAULT_TARGET); |
|
181 | 183 | } |
|
182 | 184 | |
|
183 | 185 | rmapPluginUI::~rmapPluginUI() |
|
184 | 186 | { |
|
185 | 187 | //delete ui; |
|
186 | 188 | } |
|
187 | 189 | |
|
188 | 190 | void rmapPluginUI::chooseLogFile() |
|
189 | 191 | { |
|
190 | 192 | if(this->logFile->isOpen()) |
|
191 | 193 | this->logFile->close(); |
|
192 | 194 | this->logFile->setFileName(QFileDialog::getSaveFileName(this,tr("Open Log file"), |
|
193 | 195 | QDir::homePath() |
|
194 | 196 | + "/" |
|
195 | 197 | + QDate::currentDate().toString() |
|
196 | 198 | + "_" |
|
197 | 199 | + QTime::currentTime().toString() |
|
198 | 200 | + "_rmapPluginUI.log", |
|
199 | 201 | tr("Log Files (*.txt *.log)"))); |
|
200 | 202 | if(this->logFile->open(QIODevice::WriteOnly)) |
|
201 | 203 | { |
|
202 | 204 | this->logFileStrm = new QTextStream(this->logFile); |
|
203 | 205 | emit this->setLogFileName(this->logFile->fileName()); |
|
204 | 206 | } |
|
205 | 207 | } |
|
206 | 208 | |
|
207 | 209 | void rmapPluginUI::logFileEnDisable(int state) |
|
208 | 210 | { |
|
209 | 211 | if(state==Qt::Checked) |
|
210 | 212 | { |
|
211 | 213 | this->logFileEn = true; |
|
212 | 214 | } |
|
213 | 215 | else if(state==Qt::Unchecked) |
|
214 | 216 | { |
|
215 | 217 | this->logFileEn = false; |
|
216 | 218 | } |
|
217 | 219 | } |
|
218 | 220 | |
|
219 | 221 | bool rmapPluginUI::islogfileenable() |
|
220 | 222 | { |
|
221 | 223 | return this->logFileEn; |
|
222 | 224 | } |
|
223 | 225 | |
|
224 | 226 | void rmapPluginUI::appendToLogFile(const QString & text) |
|
225 | 227 | { |
|
226 | 228 | if(this->logFileEn && this->logFile->isOpen()) |
|
227 | 229 | { |
|
228 | 230 | *(this->logFileStrm) << text << endl; |
|
229 | 231 | } |
|
230 | 232 | } |
|
231 | 233 | |
|
232 | 234 | void rmapPluginUI::closeEvent(QCloseEvent *event) |
|
233 | 235 | { |
|
234 | 236 | if(this->logFile->isOpen()) |
|
235 | 237 | { |
|
236 | 238 | this->logFileStrm->flush(); |
|
237 | 239 | this->logFile->waitForBytesWritten(3000); |
|
238 | 240 | this->logFile->close(); |
|
239 | 241 | } |
|
240 | 242 | event->accept(); |
|
241 | 243 | } |
|
242 | 244 | |
|
243 | 245 | RMAP_command_codes rmapPluginUI::getCommandCode() |
|
244 | 246 | { |
|
245 | 247 | RMAP_command_codes commandCode = invalid0; |
|
246 | 248 | if (RMAP_write_verify->isChecked() and RMAP_write_reply->isChecked()) commandCode = writeSingle_ver_rep; |
|
247 | 249 | if (RMAP_write_verify->isChecked() and !RMAP_write_reply->isChecked()) commandCode = writeSingle_ver_noRep; |
|
248 | 250 | if (!RMAP_write_verify->isChecked() and RMAP_write_reply->isChecked()) commandCode = writeSingle_noVer_Rep; |
|
249 | 251 | if (!RMAP_write_verify->isChecked() and !RMAP_write_reply->isChecked()) commandCode = writeSingle_noVer_noRep; |
|
250 | 252 | emit commandCodeHasChanged(commandCode); |
|
251 | 253 | return commandCode; |
|
252 | 254 | } |
|
253 | 255 | |
|
254 | 256 | // SLOT |
|
255 | 257 | |
|
256 | 258 | void rmapPluginUI::selectionBetweenGresbAndStarDundee() //SLOT |
|
257 | 259 | { |
|
258 | 260 | if (selectGRESB_BUTTON->isChecked()) |
|
259 | 261 | { |
|
260 | 262 | gresb_GROUPBOX->setVisible(true); |
|
261 | 263 | stardundee_GROUPBOX->setVisible(false); |
|
262 | 264 | rmapOpenCommunicationButton->setEnabled(true); |
|
263 | 265 | emit bridgeHasChanged(selectedBridgeIsGRESB); |
|
264 | 266 | } |
|
265 | 267 | if (selectStarDundee_BUTTON->isChecked()) |
|
266 | 268 | { |
|
267 | 269 | stardundee_GROUPBOX->setVisible(true); |
|
268 | 270 | gresb_GROUPBOX->setVisible(false); |
|
269 | 271 | rmapOpenCommunicationButton->setEnabled(true); |
|
270 | 272 | emit bridgeHasChanged(selectedBridgeIsStarDundee); |
|
271 | 273 | } |
|
272 | 274 | } |
|
273 | 275 | |
|
274 | 276 | void rmapPluginUI::isOpen(bool flag) |
|
275 | 277 | { |
|
276 | 278 | if (flag == true) |
|
277 | 279 | { |
|
278 | 280 | selection_GROUPBOX->setEnabled(false); |
|
279 | 281 | this->rmapOpenCommunicationButton->setEnabled(false); |
|
280 | 282 | this->rmapCloseCommunicationButton->setEnabled(true); |
|
281 | 283 | } |
|
282 | 284 | if (flag == false) |
|
283 | 285 | { |
|
284 | 286 | selection_GROUPBOX->setEnabled(true); |
|
285 | 287 | this->rmapOpenCommunicationButton->setEnabled(true); |
|
286 | 288 | this->rmapCloseCommunicationButton->setEnabled(false); |
|
287 | 289 | } |
|
288 | 290 | } |
|
289 | 291 | |
|
290 | 292 |
@@ -1,53 +1,55 | |||
|
1 | 1 | #include "wfpage.h" |
|
2 | 2 | |
|
3 | 3 | WFPage::WFPage(QWidget *parent) : |
|
4 | 4 | QWidget(parent) |
|
5 | 5 | { |
|
6 | 6 | wfPlot_v = new WFPlot(); |
|
7 | 7 | wfPlot_e1 = new WFPlot(); |
|
8 | 8 | wfPlot_e2 = new WFPlot(); |
|
9 | 9 | wfPlot_b1 = new WFPlot(); |
|
10 | 10 | wfPlot_b2 = new WFPlot(); |
|
11 | 11 | wfPlot_b3 = new WFPlot(); |
|
12 | 12 | // |
|
13 | wfPlot_v->customPlot->setTitle("v"); | |
|
14 |
wfPlot_ |
|
|
13 | //wfPlot_v->customPlot->setTitle("v"); | |
|
14 | wfPlot_v->customPlot->setGraphName(0, "v"); | |
|
15 | //wfPlot_e1->customPlot->setTitle("e1"); | |
|
16 | wfPlot_e1->customPlot->setGraphName(0, "e1"); | |
|
15 | 17 | wfPlot_e2->customPlot->setTitle("e2"); |
|
16 | 18 | wfPlot_b1->customPlot->setTitle("b1"); |
|
17 | 19 | wfPlot_b2->customPlot->setTitle("b2"); |
|
18 | 20 | wfPlot_b3->customPlot->setTitle("b3"); |
|
19 | 21 | // |
|
20 | 22 | mainLayout = new QGridLayout; |
|
21 | 23 | mainLayout->addWidget(wfPlot_v, 0, 0, 1, 1); |
|
22 | 24 | mainLayout->addWidget(wfPlot_e1, 0, 1, 1, 1); |
|
23 | 25 | mainLayout->addWidget(wfPlot_e2, 0, 2, 1, 1); |
|
24 | 26 | mainLayout->addWidget(wfPlot_b1, 1, 0, 1, 1); |
|
25 | 27 | mainLayout->addWidget(wfPlot_b2, 1, 1, 1, 1); |
|
26 | 28 | mainLayout->addWidget(wfPlot_b3, 1, 2, 1, 1); |
|
27 | 29 | // |
|
28 | 30 | this->setLayout(mainLayout); |
|
29 | 31 | } |
|
30 | 32 | |
|
31 | 33 | void WFPage::displayOnPlot(short *data, unsigned char num) |
|
32 | 34 | { |
|
33 | 35 | switch(num){ |
|
34 | 36 | case 0: |
|
35 | 37 | wfPlot_v->displayOnPlot(data, DEFAULT_SIZE); |
|
36 | 38 | break; |
|
37 | 39 | case 1: |
|
38 | 40 | wfPlot_e1->displayOnPlot(data, DEFAULT_SIZE); |
|
39 | 41 | break; |
|
40 | 42 | case 2: |
|
41 | 43 | wfPlot_e2->displayOnPlot(data, DEFAULT_SIZE); |
|
42 | 44 | break; |
|
43 | 45 | case 3: |
|
44 | 46 | wfPlot_b1->displayOnPlot(data, DEFAULT_SIZE); |
|
45 | 47 | break; |
|
46 | 48 | case 4: |
|
47 | 49 | wfPlot_b2->displayOnPlot(data, DEFAULT_SIZE); |
|
48 | 50 | break; |
|
49 | 51 | case 5: |
|
50 | 52 | wfPlot_b3->displayOnPlot(data, DEFAULT_SIZE); |
|
51 | 53 | break; |
|
52 | 54 | } |
|
53 | 55 | } |
@@ -1,47 +1,48 | |||
|
1 | 1 | #include "wfplot.h" |
|
2 | 2 | #include <QFontInfo> |
|
3 | 3 | |
|
4 | 4 | WFPlot::WFPlot(QWidget *parent) : |
|
5 | 5 | QWidget(parent) |
|
6 | 6 | { |
|
7 | 7 | // Create Fonts |
|
8 | 8 | QFont font; |
|
9 | 9 | font = QFont(this->fontInfo().family(), FONT_SIZE_WAVEFORM_TITLE, QFont::Light); |
|
10 | 10 | customPlot = new LppMonPlot(); |
|
11 | 11 | mainLayout = new QVBoxLayout(); |
|
12 | 12 | |
|
13 | 13 | customPlot->setXaxisRange(0, XMAX); |
|
14 | 14 | customPlot->setYaxisRange(-YMAX, YMAX); |
|
15 | 15 | //customPlot->setTitleFont(font); |
|
16 | 16 | |
|
17 | 17 | customPlot->addGraph(); |
|
18 | 18 | |
|
19 | 19 | mainLayout->addWidget(customPlot); |
|
20 | 20 | |
|
21 | 21 | this->setLayout(mainLayout); |
|
22 | 22 | } |
|
23 | 23 | |
|
24 | 24 | |
|
25 | 25 | |
|
26 | 26 | void WFPlot::displayOnPlot(short *data, unsigned int size) |
|
27 | 27 | { |
|
28 | 28 | QList<QVariant> qListX; |
|
29 | 29 | QList<QVariant> qListY; |
|
30 | 30 | qListX.clear(); |
|
31 | 31 | qListY.clear(); |
|
32 | 32 | |
|
33 | 33 | for (unsigned int i=0; i<size; ++i) |
|
34 | 34 | { |
|
35 | 35 | qListX.append(i); |
|
36 | 36 | qListY.append( (double) data[i] ); |
|
37 | 37 | } |
|
38 | 38 | |
|
39 | 39 | customPlot->setGraphData(0, qListX, qListY); |
|
40 | 40 | customPlot->rescaleAxis(); |
|
41 | customPlot->setGraphName(0, "v"); | |
|
41 | 42 | } |
|
42 | 43 | |
|
43 | 44 | |
|
44 | 45 | |
|
45 | 46 | |
|
46 | 47 | |
|
47 | 48 |
General Comments 0
You need to be logged in to leave comments.
Login now