##// END OF EJS Templates
Sync
leroy -
r59:154b9d6ee0fc default
parent child
Show More
1 NO CONTENT: new file 100644, binary diff hidden
NO CONTENT: new file 100644, binary diff hidden
This diff has been collapsed as it changes many lines, (1029 lines changed) Show them Hide them
@@ -0,0 +1,1029
1 #############################################################################
2 # Makefile for building: libparameterdump.so.1.0.0
3 # Generated by qmake (3.0) (Qt 5.2.0)
4 # Project: parameterdump.pro
5 # Template: lib
6 # Command: /bin/qmake-qt5 -spec linux-g++-64 CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug -o Makefile parameterdump.pro
7 #############################################################################
8
9 MAKEFILE = Makefile
10
11 ####### Compiler, tools and options
12
13 CC = gcc
14 CXX = g++
15 DEFINES = -DPARAMETERDUMP_LIBRARY -DQT_QML_DEBUG -DQT_DECLARATIVE_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB
16 CFLAGS = -m64 -pipe -g -Wall -W -D_REENTRANT -fPIC $(DEFINES)
17 CXXFLAGS = -m64 -pipe -g -Wall -W -D_REENTRANT -fPIC $(DEFINES)
18 INCPATH = -I/usr/lib64/qt5/mkspecs/linux-g++-64 -I. -I../../DEV_PLE/header -I../rmapplugin -I. -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I.
19 LINK = g++
20 LFLAGS = -m64 -shared -Wl,-soname,libparameterdump.so.1
21 LIBS = $(SUBLIBS) -L/usr/X11R6/lib64 -lQt5PrintSupport -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread
22 AR = ar cqs
23 RANLIB =
24 QMAKE = /bin/qmake-qt5
25 TAR = tar -cf
26 COMPRESS = gzip -9f
27 COPY = cp -f
28 SED = sed
29 COPY_FILE = cp -f
30 COPY_DIR = cp -f -R
31 STRIP = strip
32 INSTALL_FILE = install -m 644 -p
33 INSTALL_DIR = $(COPY_DIR)
34 INSTALL_PROGRAM = install -m 755 -p
35 DEL_FILE = rm -f
36 SYMLINK = ln -f -s
37 DEL_DIR = rmdir
38 MOVE = mv -f
39 CHK_DIR_EXISTS= test -d
40 MKDIR = mkdir -p
41
42 ####### Output directory
43
44 OBJECTS_DIR = ./
45
46 ####### Files
47
48 SOURCES = parameterdump.cpp \
49 tcpackettosend.cpp \
50 ../rmapplugin/tmpackettoread.cpp moc_parameterdump.cpp \
51 moc_tcpackettosend.cpp \
52 moc_tmpackettoread.cpp
53 OBJECTS = parameterdump.o \
54 tcpackettosend.o \
55 tmpackettoread.o \
56 moc_parameterdump.o \
57 moc_tcpackettosend.o \
58 moc_tmpackettoread.o
59 DIST = /usr/lib64/qt5/mkspecs/features/spec_pre.prf \
60 /usr/lib64/qt5/mkspecs/common/shell-unix.conf \
61 /usr/lib64/qt5/mkspecs/common/unix.conf \
62 /usr/lib64/qt5/mkspecs/common/linux.conf \
63 /usr/lib64/qt5/mkspecs/common/gcc-base.conf \
64 /usr/lib64/qt5/mkspecs/common/gcc-base-unix.conf \
65 /usr/lib64/qt5/mkspecs/common/g++-base.conf \
66 /usr/lib64/qt5/mkspecs/common/g++-unix.conf \
67 /usr/lib64/qt5/mkspecs/qconfig.pri \
68 /usr/lib64/qt5/mkspecs/modules/qt_lib_accountsservice.pri \
69 /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \
70 /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri \
71 /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri \
72 /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri \
73 /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \
74 /usr/lib64/qt5/mkspecs/modules/qt_lib_configuration.pri \
75 /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri \
76 /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri \
77 /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri \
78 /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus_private.pri \
79 /usr/lib64/qt5/mkspecs/modules/qt_lib_declarative.pri \
80 /usr/lib64/qt5/mkspecs/modules/qt_lib_declarative_private.pri \
81 /usr/lib64/qt5/mkspecs/modules/qt_lib_designer.pri \
82 /usr/lib64/qt5/mkspecs/modules/qt_lib_designer_private.pri \
83 /usr/lib64/qt5/mkspecs/modules/qt_lib_designercomponents_private.pri \
84 /usr/lib64/qt5/mkspecs/modules/qt_lib_gui.pri \
85 /usr/lib64/qt5/mkspecs/modules/qt_lib_gui_private.pri \
86 /usr/lib64/qt5/mkspecs/modules/qt_lib_help.pri \
87 /usr/lib64/qt5/mkspecs/modules/qt_lib_help_private.pri \
88 /usr/lib64/qt5/mkspecs/modules/qt_lib_multimedia.pri \
89 /usr/lib64/qt5/mkspecs/modules/qt_lib_multimedia_private.pri \
90 /usr/lib64/qt5/mkspecs/modules/qt_lib_multimediawidgets.pri \
91 /usr/lib64/qt5/mkspecs/modules/qt_lib_multimediawidgets_private.pri \
92 /usr/lib64/qt5/mkspecs/modules/qt_lib_network.pri \
93 /usr/lib64/qt5/mkspecs/modules/qt_lib_network_private.pri \
94 /usr/lib64/qt5/mkspecs/modules/qt_lib_opengl.pri \
95 /usr/lib64/qt5/mkspecs/modules/qt_lib_opengl_private.pri \
96 /usr/lib64/qt5/mkspecs/modules/qt_lib_openglextensions.pri \
97 /usr/lib64/qt5/mkspecs/modules/qt_lib_openglextensions_private.pri \
98 /usr/lib64/qt5/mkspecs/modules/qt_lib_platformsupport_private.pri \
99 /usr/lib64/qt5/mkspecs/modules/qt_lib_printsupport.pri \
100 /usr/lib64/qt5/mkspecs/modules/qt_lib_printsupport_private.pri \
101 /usr/lib64/qt5/mkspecs/modules/qt_lib_qml.pri \
102 /usr/lib64/qt5/mkspecs/modules/qt_lib_qml_private.pri \
103 /usr/lib64/qt5/mkspecs/modules/qt_lib_qmldevtools_private.pri \
104 /usr/lib64/qt5/mkspecs/modules/qt_lib_qmltest.pri \
105 /usr/lib64/qt5/mkspecs/modules/qt_lib_qmltest_private.pri \
106 /usr/lib64/qt5/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri \
107 /usr/lib64/qt5/mkspecs/modules/qt_lib_quick.pri \
108 /usr/lib64/qt5/mkspecs/modules/qt_lib_quick_private.pri \
109 /usr/lib64/qt5/mkspecs/modules/qt_lib_quickparticles_private.pri \
110 /usr/lib64/qt5/mkspecs/modules/qt_lib_script.pri \
111 /usr/lib64/qt5/mkspecs/modules/qt_lib_script_private.pri \
112 /usr/lib64/qt5/mkspecs/modules/qt_lib_scripttools.pri \
113 /usr/lib64/qt5/mkspecs/modules/qt_lib_scripttools_private.pri \
114 /usr/lib64/qt5/mkspecs/modules/qt_lib_sql.pri \
115 /usr/lib64/qt5/mkspecs/modules/qt_lib_sql_private.pri \
116 /usr/lib64/qt5/mkspecs/modules/qt_lib_svg.pri \
117 /usr/lib64/qt5/mkspecs/modules/qt_lib_svg_private.pri \
118 /usr/lib64/qt5/mkspecs/modules/qt_lib_testlib.pri \
119 /usr/lib64/qt5/mkspecs/modules/qt_lib_testlib_private.pri \
120 /usr/lib64/qt5/mkspecs/modules/qt_lib_uitools.pri \
121 /usr/lib64/qt5/mkspecs/modules/qt_lib_uitools_private.pri \
122 /usr/lib64/qt5/mkspecs/modules/qt_lib_webkit.pri \
123 /usr/lib64/qt5/mkspecs/modules/qt_lib_webkit_private.pri \
124 /usr/lib64/qt5/mkspecs/modules/qt_lib_webkitwidgets.pri \
125 /usr/lib64/qt5/mkspecs/modules/qt_lib_webkitwidgets_private.pri \
126 /usr/lib64/qt5/mkspecs/modules/qt_lib_widgets.pri \
127 /usr/lib64/qt5/mkspecs/modules/qt_lib_widgets_private.pri \
128 /usr/lib64/qt5/mkspecs/modules/qt_lib_x11extras.pri \
129 /usr/lib64/qt5/mkspecs/modules/qt_lib_x11extras_private.pri \
130 /usr/lib64/qt5/mkspecs/modules/qt_lib_xml.pri \
131 /usr/lib64/qt5/mkspecs/modules/qt_lib_xml_private.pri \
132 /usr/lib64/qt5/mkspecs/modules/qt_lib_xmlpatterns.pri \
133 /usr/lib64/qt5/mkspecs/modules/qt_lib_xmlpatterns_private.pri \
134 /usr/lib64/qt5/mkspecs/features/qt_functions.prf \
135 /usr/lib64/qt5/mkspecs/features/qt_config.prf \
136 /usr/lib64/qt5/mkspecs/linux-g++-64/qmake.conf \
137 /usr/lib64/qt5/mkspecs/features/spec_post.prf \
138 /usr/lib64/qt5/mkspecs/features/exclusive_builds.prf \
139 /usr/lib64/qt5/mkspecs/features/default_pre.prf \
140 /usr/lib64/qt5/mkspecs/features/resolve_config.prf \
141 /usr/lib64/qt5/mkspecs/features/default_post.prf \
142 /usr/lib64/qt5/mkspecs/features/qml_debug.prf \
143 /usr/lib64/qt5/mkspecs/features/declarative_debug.prf \
144 /usr/lib64/qt5/mkspecs/features/unix/gdb_dwarf_index.prf \
145 /usr/lib64/qt5/mkspecs/features/warn_on.prf \
146 /usr/lib64/qt5/mkspecs/features/qt.prf \
147 /usr/lib64/qt5/mkspecs/features/resources.prf \
148 /usr/lib64/qt5/mkspecs/features/moc.prf \
149 /usr/lib64/qt5/mkspecs/features/unix/opengl.prf \
150 /usr/lib64/qt5/mkspecs/features/uic.prf \
151 /usr/lib64/qt5/mkspecs/features/unix/thread.prf \
152 /usr/lib64/qt5/mkspecs/features/testcase_targets.prf \
153 /usr/lib64/qt5/mkspecs/features/exceptions.prf \
154 /usr/lib64/qt5/mkspecs/features/yacc.prf \
155 /usr/lib64/qt5/mkspecs/features/lex.prf \
156 parameterdump.pro \
157 parameterdump.pro
158 QMAKE_TARGET = parameterdump
159 DESTDIR = #avoid trailing-slash linebreak
160 TARGET = libparameterdump.so.1.0.0
161 TARGETA = libparameterdump.a
162 TARGETD = libparameterdump.so.1.0.0
163 TARGET0 = libparameterdump.so
164 TARGET1 = libparameterdump.so.1
165 TARGET2 = libparameterdump.so.1.0
166
167
168 first: all
169 ####### Implicit rules
170
171 .SUFFIXES: .o .c .cpp .cc .cxx .C
172
173 .cpp.o:
174 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
175
176 .cc.o:
177 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
178
179 .cxx.o:
180 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
181
182 .C.o:
183 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
184
185 .c.o:
186 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
187
188 ####### Build rules
189
190 all: Makefile $(TARGET)
191
192 $(TARGET): $(OBJECTS) $(SUBLIBS) $(OBJCOMP)
193 -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2)
194 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP)
195 -ln -s $(TARGET) $(TARGET0)
196 -ln -s $(TARGET) $(TARGET1)
197 -ln -s $(TARGET) $(TARGET2)
198 { test -z "$(DESTDIR)" || cd "$(DESTDIR)"; } && test $$(gdb --version | sed -e 's,[^0-9][^0-9]*\([0-9]\)\.\([0-9]\).*,\1\2,;q') -gt 72 && gdb --nx --batch --quiet -ex 'set confirm off' -ex "save gdb-index ." -ex quit '$(TARGET)' && test -f $(TARGET).gdb-index && objcopy --add-section '.gdb_index=$(TARGET).gdb-index' --set-section-flags '.gdb_index=readonly' '$(TARGET)' '$(TARGET)' && rm -f $(TARGET).gdb-index || true
199
200
201
202 staticlib: $(TARGETA)
203
204 $(TARGETA): $(OBJECTS) $(OBJCOMP)
205 -$(DEL_FILE) $(TARGETA)
206 $(AR) $(TARGETA) $(OBJECTS)
207
208 Makefile: parameterdump.pro /usr/lib64/qt5/mkspecs/linux-g++-64/qmake.conf /usr/lib64/qt5/mkspecs/features/spec_pre.prf \
209 /usr/lib64/qt5/mkspecs/common/shell-unix.conf \
210 /usr/lib64/qt5/mkspecs/common/unix.conf \
211 /usr/lib64/qt5/mkspecs/common/linux.conf \
212 /usr/lib64/qt5/mkspecs/common/gcc-base.conf \
213 /usr/lib64/qt5/mkspecs/common/gcc-base-unix.conf \
214 /usr/lib64/qt5/mkspecs/common/g++-base.conf \
215 /usr/lib64/qt5/mkspecs/common/g++-unix.conf \
216 /usr/lib64/qt5/mkspecs/qconfig.pri \
217 /usr/lib64/qt5/mkspecs/modules/qt_lib_accountsservice.pri \
218 /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \
219 /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri \
220 /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri \
221 /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri \
222 /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \
223 /usr/lib64/qt5/mkspecs/modules/qt_lib_configuration.pri \
224 /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri \
225 /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri \
226 /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri \
227 /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus_private.pri \
228 /usr/lib64/qt5/mkspecs/modules/qt_lib_declarative.pri \
229 /usr/lib64/qt5/mkspecs/modules/qt_lib_declarative_private.pri \
230 /usr/lib64/qt5/mkspecs/modules/qt_lib_designer.pri \
231 /usr/lib64/qt5/mkspecs/modules/qt_lib_designer_private.pri \
232 /usr/lib64/qt5/mkspecs/modules/qt_lib_designercomponents_private.pri \
233 /usr/lib64/qt5/mkspecs/modules/qt_lib_gui.pri \
234 /usr/lib64/qt5/mkspecs/modules/qt_lib_gui_private.pri \
235 /usr/lib64/qt5/mkspecs/modules/qt_lib_help.pri \
236 /usr/lib64/qt5/mkspecs/modules/qt_lib_help_private.pri \
237 /usr/lib64/qt5/mkspecs/modules/qt_lib_multimedia.pri \
238 /usr/lib64/qt5/mkspecs/modules/qt_lib_multimedia_private.pri \
239 /usr/lib64/qt5/mkspecs/modules/qt_lib_multimediawidgets.pri \
240 /usr/lib64/qt5/mkspecs/modules/qt_lib_multimediawidgets_private.pri \
241 /usr/lib64/qt5/mkspecs/modules/qt_lib_network.pri \
242 /usr/lib64/qt5/mkspecs/modules/qt_lib_network_private.pri \
243 /usr/lib64/qt5/mkspecs/modules/qt_lib_opengl.pri \
244 /usr/lib64/qt5/mkspecs/modules/qt_lib_opengl_private.pri \
245 /usr/lib64/qt5/mkspecs/modules/qt_lib_openglextensions.pri \
246 /usr/lib64/qt5/mkspecs/modules/qt_lib_openglextensions_private.pri \
247 /usr/lib64/qt5/mkspecs/modules/qt_lib_platformsupport_private.pri \
248 /usr/lib64/qt5/mkspecs/modules/qt_lib_printsupport.pri \
249 /usr/lib64/qt5/mkspecs/modules/qt_lib_printsupport_private.pri \
250 /usr/lib64/qt5/mkspecs/modules/qt_lib_qml.pri \
251 /usr/lib64/qt5/mkspecs/modules/qt_lib_qml_private.pri \
252 /usr/lib64/qt5/mkspecs/modules/qt_lib_qmldevtools_private.pri \
253 /usr/lib64/qt5/mkspecs/modules/qt_lib_qmltest.pri \
254 /usr/lib64/qt5/mkspecs/modules/qt_lib_qmltest_private.pri \
255 /usr/lib64/qt5/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri \
256 /usr/lib64/qt5/mkspecs/modules/qt_lib_quick.pri \
257 /usr/lib64/qt5/mkspecs/modules/qt_lib_quick_private.pri \
258 /usr/lib64/qt5/mkspecs/modules/qt_lib_quickparticles_private.pri \
259 /usr/lib64/qt5/mkspecs/modules/qt_lib_script.pri \
260 /usr/lib64/qt5/mkspecs/modules/qt_lib_script_private.pri \
261 /usr/lib64/qt5/mkspecs/modules/qt_lib_scripttools.pri \
262 /usr/lib64/qt5/mkspecs/modules/qt_lib_scripttools_private.pri \
263 /usr/lib64/qt5/mkspecs/modules/qt_lib_sql.pri \
264 /usr/lib64/qt5/mkspecs/modules/qt_lib_sql_private.pri \
265 /usr/lib64/qt5/mkspecs/modules/qt_lib_svg.pri \
266 /usr/lib64/qt5/mkspecs/modules/qt_lib_svg_private.pri \
267 /usr/lib64/qt5/mkspecs/modules/qt_lib_testlib.pri \
268 /usr/lib64/qt5/mkspecs/modules/qt_lib_testlib_private.pri \
269 /usr/lib64/qt5/mkspecs/modules/qt_lib_uitools.pri \
270 /usr/lib64/qt5/mkspecs/modules/qt_lib_uitools_private.pri \
271 /usr/lib64/qt5/mkspecs/modules/qt_lib_webkit.pri \
272 /usr/lib64/qt5/mkspecs/modules/qt_lib_webkit_private.pri \
273 /usr/lib64/qt5/mkspecs/modules/qt_lib_webkitwidgets.pri \
274 /usr/lib64/qt5/mkspecs/modules/qt_lib_webkitwidgets_private.pri \
275 /usr/lib64/qt5/mkspecs/modules/qt_lib_widgets.pri \
276 /usr/lib64/qt5/mkspecs/modules/qt_lib_widgets_private.pri \
277 /usr/lib64/qt5/mkspecs/modules/qt_lib_x11extras.pri \
278 /usr/lib64/qt5/mkspecs/modules/qt_lib_x11extras_private.pri \
279 /usr/lib64/qt5/mkspecs/modules/qt_lib_xml.pri \
280 /usr/lib64/qt5/mkspecs/modules/qt_lib_xml_private.pri \
281 /usr/lib64/qt5/mkspecs/modules/qt_lib_xmlpatterns.pri \
282 /usr/lib64/qt5/mkspecs/modules/qt_lib_xmlpatterns_private.pri \
283 /usr/lib64/qt5/mkspecs/features/qt_functions.prf \
284 /usr/lib64/qt5/mkspecs/features/qt_config.prf \
285 /usr/lib64/qt5/mkspecs/linux-g++-64/qmake.conf \
286 /usr/lib64/qt5/mkspecs/features/spec_post.prf \
287 /usr/lib64/qt5/mkspecs/features/exclusive_builds.prf \
288 /usr/lib64/qt5/mkspecs/features/default_pre.prf \
289 /usr/lib64/qt5/mkspecs/features/resolve_config.prf \
290 /usr/lib64/qt5/mkspecs/features/default_post.prf \
291 /usr/lib64/qt5/mkspecs/features/qml_debug.prf \
292 /usr/lib64/qt5/mkspecs/features/declarative_debug.prf \
293 /usr/lib64/qt5/mkspecs/features/unix/gdb_dwarf_index.prf \
294 /usr/lib64/qt5/mkspecs/features/warn_on.prf \
295 /usr/lib64/qt5/mkspecs/features/qt.prf \
296 /usr/lib64/qt5/mkspecs/features/resources.prf \
297 /usr/lib64/qt5/mkspecs/features/moc.prf \
298 /usr/lib64/qt5/mkspecs/features/unix/opengl.prf \
299 /usr/lib64/qt5/mkspecs/features/uic.prf \
300 /usr/lib64/qt5/mkspecs/features/unix/thread.prf \
301 /usr/lib64/qt5/mkspecs/features/testcase_targets.prf \
302 /usr/lib64/qt5/mkspecs/features/exceptions.prf \
303 /usr/lib64/qt5/mkspecs/features/yacc.prf \
304 /usr/lib64/qt5/mkspecs/features/lex.prf \
305 parameterdump.pro \
306 /lib64/libQt5PrintSupport.prl \
307 /lib64/libQt5Widgets.prl \
308 /lib64/libQt5Gui.prl \
309 /lib64/libQt5Core.prl
310 $(QMAKE) -spec linux-g++-64 CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug -o Makefile parameterdump.pro
311 /usr/lib64/qt5/mkspecs/features/spec_pre.prf:
312 /usr/lib64/qt5/mkspecs/common/shell-unix.conf:
313 /usr/lib64/qt5/mkspecs/common/unix.conf:
314 /usr/lib64/qt5/mkspecs/common/linux.conf:
315 /usr/lib64/qt5/mkspecs/common/gcc-base.conf:
316 /usr/lib64/qt5/mkspecs/common/gcc-base-unix.conf:
317 /usr/lib64/qt5/mkspecs/common/g++-base.conf:
318 /usr/lib64/qt5/mkspecs/common/g++-unix.conf:
319 /usr/lib64/qt5/mkspecs/qconfig.pri:
320 /usr/lib64/qt5/mkspecs/modules/qt_lib_accountsservice.pri:
321 /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri:
322 /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri:
323 /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri:
324 /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri:
325 /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri:
326 /usr/lib64/qt5/mkspecs/modules/qt_lib_configuration.pri:
327 /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri:
328 /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri:
329 /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri:
330 /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus_private.pri:
331 /usr/lib64/qt5/mkspecs/modules/qt_lib_declarative.pri:
332 /usr/lib64/qt5/mkspecs/modules/qt_lib_declarative_private.pri:
333 /usr/lib64/qt5/mkspecs/modules/qt_lib_designer.pri:
334 /usr/lib64/qt5/mkspecs/modules/qt_lib_designer_private.pri:
335 /usr/lib64/qt5/mkspecs/modules/qt_lib_designercomponents_private.pri:
336 /usr/lib64/qt5/mkspecs/modules/qt_lib_gui.pri:
337 /usr/lib64/qt5/mkspecs/modules/qt_lib_gui_private.pri:
338 /usr/lib64/qt5/mkspecs/modules/qt_lib_help.pri:
339 /usr/lib64/qt5/mkspecs/modules/qt_lib_help_private.pri:
340 /usr/lib64/qt5/mkspecs/modules/qt_lib_multimedia.pri:
341 /usr/lib64/qt5/mkspecs/modules/qt_lib_multimedia_private.pri:
342 /usr/lib64/qt5/mkspecs/modules/qt_lib_multimediawidgets.pri:
343 /usr/lib64/qt5/mkspecs/modules/qt_lib_multimediawidgets_private.pri:
344 /usr/lib64/qt5/mkspecs/modules/qt_lib_network.pri:
345 /usr/lib64/qt5/mkspecs/modules/qt_lib_network_private.pri:
346 /usr/lib64/qt5/mkspecs/modules/qt_lib_opengl.pri:
347 /usr/lib64/qt5/mkspecs/modules/qt_lib_opengl_private.pri:
348 /usr/lib64/qt5/mkspecs/modules/qt_lib_openglextensions.pri:
349 /usr/lib64/qt5/mkspecs/modules/qt_lib_openglextensions_private.pri:
350 /usr/lib64/qt5/mkspecs/modules/qt_lib_platformsupport_private.pri:
351 /usr/lib64/qt5/mkspecs/modules/qt_lib_printsupport.pri:
352 /usr/lib64/qt5/mkspecs/modules/qt_lib_printsupport_private.pri:
353 /usr/lib64/qt5/mkspecs/modules/qt_lib_qml.pri:
354 /usr/lib64/qt5/mkspecs/modules/qt_lib_qml_private.pri:
355 /usr/lib64/qt5/mkspecs/modules/qt_lib_qmldevtools_private.pri:
356 /usr/lib64/qt5/mkspecs/modules/qt_lib_qmltest.pri:
357 /usr/lib64/qt5/mkspecs/modules/qt_lib_qmltest_private.pri:
358 /usr/lib64/qt5/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri:
359 /usr/lib64/qt5/mkspecs/modules/qt_lib_quick.pri:
360 /usr/lib64/qt5/mkspecs/modules/qt_lib_quick_private.pri:
361 /usr/lib64/qt5/mkspecs/modules/qt_lib_quickparticles_private.pri:
362 /usr/lib64/qt5/mkspecs/modules/qt_lib_script.pri:
363 /usr/lib64/qt5/mkspecs/modules/qt_lib_script_private.pri:
364 /usr/lib64/qt5/mkspecs/modules/qt_lib_scripttools.pri:
365 /usr/lib64/qt5/mkspecs/modules/qt_lib_scripttools_private.pri:
366 /usr/lib64/qt5/mkspecs/modules/qt_lib_sql.pri:
367 /usr/lib64/qt5/mkspecs/modules/qt_lib_sql_private.pri:
368 /usr/lib64/qt5/mkspecs/modules/qt_lib_svg.pri:
369 /usr/lib64/qt5/mkspecs/modules/qt_lib_svg_private.pri:
370 /usr/lib64/qt5/mkspecs/modules/qt_lib_testlib.pri:
371 /usr/lib64/qt5/mkspecs/modules/qt_lib_testlib_private.pri:
372 /usr/lib64/qt5/mkspecs/modules/qt_lib_uitools.pri:
373 /usr/lib64/qt5/mkspecs/modules/qt_lib_uitools_private.pri:
374 /usr/lib64/qt5/mkspecs/modules/qt_lib_webkit.pri:
375 /usr/lib64/qt5/mkspecs/modules/qt_lib_webkit_private.pri:
376 /usr/lib64/qt5/mkspecs/modules/qt_lib_webkitwidgets.pri:
377 /usr/lib64/qt5/mkspecs/modules/qt_lib_webkitwidgets_private.pri:
378 /usr/lib64/qt5/mkspecs/modules/qt_lib_widgets.pri:
379 /usr/lib64/qt5/mkspecs/modules/qt_lib_widgets_private.pri:
380 /usr/lib64/qt5/mkspecs/modules/qt_lib_x11extras.pri:
381 /usr/lib64/qt5/mkspecs/modules/qt_lib_x11extras_private.pri:
382 /usr/lib64/qt5/mkspecs/modules/qt_lib_xml.pri:
383 /usr/lib64/qt5/mkspecs/modules/qt_lib_xml_private.pri:
384 /usr/lib64/qt5/mkspecs/modules/qt_lib_xmlpatterns.pri:
385 /usr/lib64/qt5/mkspecs/modules/qt_lib_xmlpatterns_private.pri:
386 /usr/lib64/qt5/mkspecs/features/qt_functions.prf:
387 /usr/lib64/qt5/mkspecs/features/qt_config.prf:
388 /usr/lib64/qt5/mkspecs/linux-g++-64/qmake.conf:
389 /usr/lib64/qt5/mkspecs/features/spec_post.prf:
390 /usr/lib64/qt5/mkspecs/features/exclusive_builds.prf:
391 /usr/lib64/qt5/mkspecs/features/default_pre.prf:
392 /usr/lib64/qt5/mkspecs/features/resolve_config.prf:
393 /usr/lib64/qt5/mkspecs/features/default_post.prf:
394 /usr/lib64/qt5/mkspecs/features/qml_debug.prf:
395 /usr/lib64/qt5/mkspecs/features/declarative_debug.prf:
396 /usr/lib64/qt5/mkspecs/features/unix/gdb_dwarf_index.prf:
397 /usr/lib64/qt5/mkspecs/features/warn_on.prf:
398 /usr/lib64/qt5/mkspecs/features/qt.prf:
399 /usr/lib64/qt5/mkspecs/features/resources.prf:
400 /usr/lib64/qt5/mkspecs/features/moc.prf:
401 /usr/lib64/qt5/mkspecs/features/unix/opengl.prf:
402 /usr/lib64/qt5/mkspecs/features/uic.prf:
403 /usr/lib64/qt5/mkspecs/features/unix/thread.prf:
404 /usr/lib64/qt5/mkspecs/features/testcase_targets.prf:
405 /usr/lib64/qt5/mkspecs/features/exceptions.prf:
406 /usr/lib64/qt5/mkspecs/features/yacc.prf:
407 /usr/lib64/qt5/mkspecs/features/lex.prf:
408 parameterdump.pro:
409 /lib64/libQt5PrintSupport.prl:
410 /lib64/libQt5Widgets.prl:
411 /lib64/libQt5Gui.prl:
412 /lib64/libQt5Core.prl:
413 qmake: FORCE
414 @$(QMAKE) -spec linux-g++-64 CONFIG+=debug CONFIG+=declarative_debug CONFIG+=qml_debug -o Makefile parameterdump.pro
415
416 qmake_all: FORCE
417
418 dist:
419 @test -d .tmp/parameterdump1.0.0 || mkdir -p .tmp/parameterdump1.0.0
420 $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/parameterdump1.0.0/ && $(COPY_FILE) --parents parameterdump.h parameterdump_global.h tcpackettosend.h ../../DEV_PLE/header/ccsds_types.h ../../DEV_PLE/header/TC_types.h ../rmapplugin/tmpackettoread.h .tmp/parameterdump1.0.0/ && $(COPY_FILE) --parents parameterdump.cpp tcpackettosend.cpp ../rmapplugin/tmpackettoread.cpp .tmp/parameterdump1.0.0/ && (cd `dirname .tmp/parameterdump1.0.0` && $(TAR) parameterdump1.0.0.tar parameterdump1.0.0 && $(COMPRESS) parameterdump1.0.0.tar) && $(MOVE) `dirname .tmp/parameterdump1.0.0`/parameterdump1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/parameterdump1.0.0
421
422
423 clean:compiler_clean
424 -$(DEL_FILE) $(OBJECTS)
425 -$(DEL_FILE) *~ core *.core
426
427
428 ####### Sub-libraries
429
430 distclean: clean
431 -$(DEL_FILE) $(TARGET)
432 -$(DEL_FILE) $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA)
433 -$(DEL_FILE) Makefile
434
435
436 mocclean: compiler_moc_header_clean compiler_moc_source_clean
437
438 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
439
440 check: first
441
442 compiler_rcc_make_all:
443 compiler_rcc_clean:
444 compiler_moc_header_make_all: moc_parameterdump.cpp moc_tcpackettosend.cpp moc_tmpackettoread.cpp
445 compiler_moc_header_clean:
446 -$(DEL_FILE) moc_parameterdump.cpp moc_tcpackettosend.cpp moc_tmpackettoread.cpp
447 moc_parameterdump.cpp: /usr/include/qt5/QtWidgets/QGroupBox \
448 /usr/include/qt5/QtWidgets/qgroupbox.h \
449 /usr/include/qt5/QtWidgets/qframe.h \
450 /usr/include/qt5/QtWidgets/qwidget.h \
451 /usr/include/qt5/QtGui/qwindowdefs.h \
452 /usr/include/qt5/QtCore/qglobal.h \
453 /usr/include/qt5/QtCore/qconfig.h \
454 /usr/include/qt5/QtCore/qconfig-64.h \
455 /usr/include/qt5/QtCore/qfeatures.h \
456 /usr/include/qt5/QtCore/qsystemdetection.h \
457 /usr/include/qt5/QtCore/qprocessordetection.h \
458 /usr/include/qt5/QtCore/qcompilerdetection.h \
459 /usr/include/qt5/QtCore/qglobalstatic.h \
460 /usr/include/qt5/QtCore/qatomic.h \
461 /usr/include/qt5/QtCore/qbasicatomic.h \
462 /usr/include/qt5/QtCore/qatomic_bootstrap.h \
463 /usr/include/qt5/QtCore/qgenericatomic.h \
464 /usr/include/qt5/QtCore/qatomic_msvc.h \
465 /usr/include/qt5/QtCore/qatomic_integrity.h \
466 /usr/include/qt5/QtCore/qoldbasicatomic.h \
467 /usr/include/qt5/QtCore/qatomic_vxworks.h \
468 /usr/include/qt5/QtCore/qatomic_power.h \
469 /usr/include/qt5/QtCore/qatomic_alpha.h \
470 /usr/include/qt5/QtCore/qatomic_armv7.h \
471 /usr/include/qt5/QtCore/qatomic_armv6.h \
472 /usr/include/qt5/QtCore/qatomic_armv5.h \
473 /usr/include/qt5/QtCore/qatomic_bfin.h \
474 /usr/include/qt5/QtCore/qatomic_ia64.h \
475 /usr/include/qt5/QtCore/qatomic_mips.h \
476 /usr/include/qt5/QtCore/qatomic_s390.h \
477 /usr/include/qt5/QtCore/qatomic_sh4a.h \
478 /usr/include/qt5/QtCore/qatomic_sparc.h \
479 /usr/include/qt5/QtCore/qatomic_x86.h \
480 /usr/include/qt5/QtCore/qatomic_cxx11.h \
481 /usr/include/qt5/QtCore/qatomic_gcc.h \
482 /usr/include/qt5/QtCore/qatomic_unix.h \
483 /usr/include/qt5/QtCore/qmutex.h \
484 /usr/include/qt5/QtCore/qlogging.h \
485 /usr/include/qt5/QtCore/qflags.h \
486 /usr/include/qt5/QtCore/qtypeinfo.h \
487 /usr/include/qt5/QtCore/qtypetraits.h \
488 /usr/include/qt5/QtCore/qsysinfo.h \
489 /usr/include/qt5/QtCore/qobjectdefs.h \
490 /usr/include/qt5/QtCore/qnamespace.h \
491 /usr/include/qt5/QtCore/qobjectdefs_impl.h \
492 /usr/include/qt5/QtGui/qwindowdefs_win.h \
493 /usr/include/qt5/QtCore/qobject.h \
494 /usr/include/qt5/QtCore/qstring.h \
495 /usr/include/qt5/QtCore/qchar.h \
496 /usr/include/qt5/QtCore/qbytearray.h \
497 /usr/include/qt5/QtCore/qrefcount.h \
498 /usr/include/qt5/QtCore/qarraydata.h \
499 /usr/include/qt5/QtCore/qstringbuilder.h \
500 /usr/include/qt5/QtCore/qlist.h \
501 /usr/include/qt5/QtCore/qalgorithms.h \
502 /usr/include/qt5/QtCore/qiterator.h \
503 /usr/include/qt5/QtCore/qcoreevent.h \
504 /usr/include/qt5/QtCore/qscopedpointer.h \
505 /usr/include/qt5/QtCore/qmetatype.h \
506 /usr/include/qt5/QtCore/qvarlengtharray.h \
507 /usr/include/qt5/QtCore/qcontainerfwd.h \
508 /usr/include/qt5/QtCore/qisenum.h \
509 /usr/include/qt5/QtCore/qobject_impl.h \
510 /usr/include/qt5/QtCore/qmargins.h \
511 /usr/include/qt5/QtCore/qrect.h \
512 /usr/include/qt5/QtCore/qsize.h \
513 /usr/include/qt5/QtCore/qpoint.h \
514 /usr/include/qt5/QtGui/qpaintdevice.h \
515 /usr/include/qt5/QtGui/qpalette.h \
516 /usr/include/qt5/QtGui/qcolor.h \
517 /usr/include/qt5/QtGui/qrgb.h \
518 /usr/include/qt5/QtCore/qstringlist.h \
519 /usr/include/qt5/QtCore/qdatastream.h \
520 /usr/include/qt5/QtCore/qiodevice.h \
521 /usr/include/qt5/QtCore/qpair.h \
522 /usr/include/qt5/QtCore/qregexp.h \
523 /usr/include/qt5/QtCore/qstringmatcher.h \
524 /usr/include/qt5/QtGui/qbrush.h \
525 /usr/include/qt5/QtCore/qvector.h \
526 /usr/include/qt5/QtGui/qmatrix.h \
527 /usr/include/qt5/QtGui/qpolygon.h \
528 /usr/include/qt5/QtGui/qregion.h \
529 /usr/include/qt5/QtCore/qline.h \
530 /usr/include/qt5/QtGui/qtransform.h \
531 /usr/include/qt5/QtGui/qpainterpath.h \
532 /usr/include/qt5/QtGui/qimage.h \
533 /usr/include/qt5/QtGui/qpixmap.h \
534 /usr/include/qt5/QtCore/qsharedpointer.h \
535 /usr/include/qt5/QtCore/qshareddata.h \
536 /usr/include/qt5/QtCore/qsharedpointer_impl.h \
537 /usr/include/qt5/QtCore/qhash.h \
538 /usr/include/qt5/QtGui/qfont.h \
539 /usr/include/qt5/QtGui/qfontmetrics.h \
540 /usr/include/qt5/QtGui/qfontinfo.h \
541 /usr/include/qt5/QtWidgets/qsizepolicy.h \
542 /usr/include/qt5/QtGui/qcursor.h \
543 /usr/include/qt5/QtGui/qkeysequence.h \
544 /usr/include/qt5/QtGui/qevent.h \
545 /usr/include/qt5/QtCore/qvariant.h \
546 /usr/include/qt5/QtCore/qmap.h \
547 /usr/include/qt5/QtCore/qdebug.h \
548 /usr/include/qt5/QtCore/qtextstream.h \
549 /usr/include/qt5/QtCore/qlocale.h \
550 /usr/include/qt5/QtCore/qset.h \
551 /usr/include/qt5/QtCore/qcontiguouscache.h \
552 /usr/include/qt5/QtCore/qurl.h \
553 /usr/include/qt5/QtCore/qurlquery.h \
554 /usr/include/qt5/QtCore/qfile.h \
555 /usr/include/qt5/QtCore/qfiledevice.h \
556 /usr/include/qt5/QtGui/qvector2d.h \
557 /usr/include/qt5/QtGui/qtouchdevice.h \
558 /usr/include/qt5/QtWidgets/QGridLayout \
559 /usr/include/qt5/QtWidgets/qgridlayout.h \
560 /usr/include/qt5/QtWidgets/qlayout.h \
561 /usr/include/qt5/QtWidgets/qlayoutitem.h \
562 /usr/include/qt5/QtWidgets/qboxlayout.h \
563 /usr/include/qt5/QtWidgets/QPushButton \
564 /usr/include/qt5/QtWidgets/qpushbutton.h \
565 /usr/include/qt5/QtWidgets/qabstractbutton.h \
566 /usr/include/qt5/QtGui/qicon.h \
567 /usr/include/qt5/QtWidgets/QLabel \
568 /usr/include/qt5/QtWidgets/qlabel.h \
569 /usr/include/qt5/QtWidgets/QSpinBox \
570 /usr/include/qt5/QtWidgets/qspinbox.h \
571 /usr/include/qt5/QtWidgets/qabstractspinbox.h \
572 /usr/include/qt5/QtGui/qvalidator.h \
573 /usr/include/qt5/QtCore/qregularexpression.h \
574 /usr/include/qt5/QtWidgets/QDoubleSpinBox \
575 ../rmapplugin/tmpackettoread.h \
576 /usr/include/qt5/QtCore/QObject \
577 ../../DEV_PLE/header/TC_types.h \
578 ../../DEV_PLE/header/ccsds_types.h \
579 parameterdump_global.h \
580 tcpackettosend.h \
581 parameterdump.h
582 /usr/lib64/qt5/bin/moc $(DEFINES) $(INCPATH) -I/usr/lib/gcc/include/c++/4.8.2 -I/usr/lib/gcc/include/c++/4.8.2/x86_64-redhat-linux -I/usr/lib/gcc/include/c++/4.8.2/backward -I/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include -I/usr/local/include -I/usr/include parameterdump.h -o moc_parameterdump.cpp
583
584 moc_tcpackettosend.cpp: /usr/include/qt5/QtCore/QObject \
585 /usr/include/qt5/QtCore/qobject.h \
586 /usr/include/qt5/QtCore/qobjectdefs.h \
587 /usr/include/qt5/QtCore/qnamespace.h \
588 /usr/include/qt5/QtCore/qglobal.h \
589 /usr/include/qt5/QtCore/qconfig.h \
590 /usr/include/qt5/QtCore/qconfig-64.h \
591 /usr/include/qt5/QtCore/qfeatures.h \
592 /usr/include/qt5/QtCore/qsystemdetection.h \
593 /usr/include/qt5/QtCore/qprocessordetection.h \
594 /usr/include/qt5/QtCore/qcompilerdetection.h \
595 /usr/include/qt5/QtCore/qglobalstatic.h \
596 /usr/include/qt5/QtCore/qatomic.h \
597 /usr/include/qt5/QtCore/qbasicatomic.h \
598 /usr/include/qt5/QtCore/qatomic_bootstrap.h \
599 /usr/include/qt5/QtCore/qgenericatomic.h \
600 /usr/include/qt5/QtCore/qatomic_msvc.h \
601 /usr/include/qt5/QtCore/qatomic_integrity.h \
602 /usr/include/qt5/QtCore/qoldbasicatomic.h \
603 /usr/include/qt5/QtCore/qatomic_vxworks.h \
604 /usr/include/qt5/QtCore/qatomic_power.h \
605 /usr/include/qt5/QtCore/qatomic_alpha.h \
606 /usr/include/qt5/QtCore/qatomic_armv7.h \
607 /usr/include/qt5/QtCore/qatomic_armv6.h \
608 /usr/include/qt5/QtCore/qatomic_armv5.h \
609 /usr/include/qt5/QtCore/qatomic_bfin.h \
610 /usr/include/qt5/QtCore/qatomic_ia64.h \
611 /usr/include/qt5/QtCore/qatomic_mips.h \
612 /usr/include/qt5/QtCore/qatomic_s390.h \
613 /usr/include/qt5/QtCore/qatomic_sh4a.h \
614 /usr/include/qt5/QtCore/qatomic_sparc.h \
615 /usr/include/qt5/QtCore/qatomic_x86.h \
616 /usr/include/qt5/QtCore/qatomic_cxx11.h \
617 /usr/include/qt5/QtCore/qatomic_gcc.h \
618 /usr/include/qt5/QtCore/qatomic_unix.h \
619 /usr/include/qt5/QtCore/qmutex.h \
620 /usr/include/qt5/QtCore/qlogging.h \
621 /usr/include/qt5/QtCore/qflags.h \
622 /usr/include/qt5/QtCore/qtypeinfo.h \
623 /usr/include/qt5/QtCore/qtypetraits.h \
624 /usr/include/qt5/QtCore/qsysinfo.h \
625 /usr/include/qt5/QtCore/qobjectdefs_impl.h \
626 /usr/include/qt5/QtCore/qstring.h \
627 /usr/include/qt5/QtCore/qchar.h \
628 /usr/include/qt5/QtCore/qbytearray.h \
629 /usr/include/qt5/QtCore/qrefcount.h \
630 /usr/include/qt5/QtCore/qarraydata.h \
631 /usr/include/qt5/QtCore/qstringbuilder.h \
632 /usr/include/qt5/QtCore/qlist.h \
633 /usr/include/qt5/QtCore/qalgorithms.h \
634 /usr/include/qt5/QtCore/qiterator.h \
635 /usr/include/qt5/QtCore/qcoreevent.h \
636 /usr/include/qt5/QtCore/qscopedpointer.h \
637 /usr/include/qt5/QtCore/qmetatype.h \
638 /usr/include/qt5/QtCore/qvarlengtharray.h \
639 /usr/include/qt5/QtCore/qcontainerfwd.h \
640 /usr/include/qt5/QtCore/qisenum.h \
641 /usr/include/qt5/QtCore/qobject_impl.h \
642 parameterdump_global.h \
643 ../../DEV_PLE/header/TC_types.h \
644 ../../DEV_PLE/header/ccsds_types.h \
645 tcpackettosend.h
646 /usr/lib64/qt5/bin/moc $(DEFINES) $(INCPATH) -I/usr/lib/gcc/include/c++/4.8.2 -I/usr/lib/gcc/include/c++/4.8.2/x86_64-redhat-linux -I/usr/lib/gcc/include/c++/4.8.2/backward -I/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include -I/usr/local/include -I/usr/include tcpackettosend.h -o moc_tcpackettosend.cpp
647
648 moc_tmpackettoread.cpp: /usr/include/qt5/QtCore/QObject \
649 /usr/include/qt5/QtCore/qobject.h \
650 /usr/include/qt5/QtCore/qobjectdefs.h \
651 /usr/include/qt5/QtCore/qnamespace.h \
652 /usr/include/qt5/QtCore/qglobal.h \
653 /usr/include/qt5/QtCore/qconfig.h \
654 /usr/include/qt5/QtCore/qconfig-64.h \
655 /usr/include/qt5/QtCore/qfeatures.h \
656 /usr/include/qt5/QtCore/qsystemdetection.h \
657 /usr/include/qt5/QtCore/qprocessordetection.h \
658 /usr/include/qt5/QtCore/qcompilerdetection.h \
659 /usr/include/qt5/QtCore/qglobalstatic.h \
660 /usr/include/qt5/QtCore/qatomic.h \
661 /usr/include/qt5/QtCore/qbasicatomic.h \
662 /usr/include/qt5/QtCore/qatomic_bootstrap.h \
663 /usr/include/qt5/QtCore/qgenericatomic.h \
664 /usr/include/qt5/QtCore/qatomic_msvc.h \
665 /usr/include/qt5/QtCore/qatomic_integrity.h \
666 /usr/include/qt5/QtCore/qoldbasicatomic.h \
667 /usr/include/qt5/QtCore/qatomic_vxworks.h \
668 /usr/include/qt5/QtCore/qatomic_power.h \
669 /usr/include/qt5/QtCore/qatomic_alpha.h \
670 /usr/include/qt5/QtCore/qatomic_armv7.h \
671 /usr/include/qt5/QtCore/qatomic_armv6.h \
672 /usr/include/qt5/QtCore/qatomic_armv5.h \
673 /usr/include/qt5/QtCore/qatomic_bfin.h \
674 /usr/include/qt5/QtCore/qatomic_ia64.h \
675 /usr/include/qt5/QtCore/qatomic_mips.h \
676 /usr/include/qt5/QtCore/qatomic_s390.h \
677 /usr/include/qt5/QtCore/qatomic_sh4a.h \
678 /usr/include/qt5/QtCore/qatomic_sparc.h \
679 /usr/include/qt5/QtCore/qatomic_x86.h \
680 /usr/include/qt5/QtCore/qatomic_cxx11.h \
681 /usr/include/qt5/QtCore/qatomic_gcc.h \
682 /usr/include/qt5/QtCore/qatomic_unix.h \
683 /usr/include/qt5/QtCore/qmutex.h \
684 /usr/include/qt5/QtCore/qlogging.h \
685 /usr/include/qt5/QtCore/qflags.h \
686 /usr/include/qt5/QtCore/qtypeinfo.h \
687 /usr/include/qt5/QtCore/qtypetraits.h \
688 /usr/include/qt5/QtCore/qsysinfo.h \
689 /usr/include/qt5/QtCore/qobjectdefs_impl.h \
690 /usr/include/qt5/QtCore/qstring.h \
691 /usr/include/qt5/QtCore/qchar.h \
692 /usr/include/qt5/QtCore/qbytearray.h \
693 /usr/include/qt5/QtCore/qrefcount.h \
694 /usr/include/qt5/QtCore/qarraydata.h \
695 /usr/include/qt5/QtCore/qstringbuilder.h \
696 /usr/include/qt5/QtCore/qlist.h \
697 /usr/include/qt5/QtCore/qalgorithms.h \
698 /usr/include/qt5/QtCore/qiterator.h \
699 /usr/include/qt5/QtCore/qcoreevent.h \
700 /usr/include/qt5/QtCore/qscopedpointer.h \
701 /usr/include/qt5/QtCore/qmetatype.h \
702 /usr/include/qt5/QtCore/qvarlengtharray.h \
703 /usr/include/qt5/QtCore/qcontainerfwd.h \
704 /usr/include/qt5/QtCore/qisenum.h \
705 /usr/include/qt5/QtCore/qobject_impl.h \
706 ../rmapplugin/tmpackettoread.h
707 /usr/lib64/qt5/bin/moc $(DEFINES) $(INCPATH) -I/usr/lib/gcc/include/c++/4.8.2 -I/usr/lib/gcc/include/c++/4.8.2/x86_64-redhat-linux -I/usr/lib/gcc/include/c++/4.8.2/backward -I/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include -I/usr/local/include -I/usr/include ../rmapplugin/tmpackettoread.h -o moc_tmpackettoread.cpp
708
709 compiler_moc_source_make_all:
710 compiler_moc_source_clean:
711 compiler_uic_make_all:
712 compiler_uic_clean:
713 compiler_yacc_decl_make_all:
714 compiler_yacc_decl_clean:
715 compiler_yacc_impl_make_all:
716 compiler_yacc_impl_clean:
717 compiler_lex_make_all:
718 compiler_lex_clean:
719 compiler_clean: compiler_moc_header_clean
720
721 ####### Compile
722
723 parameterdump.o: parameterdump.cpp parameterdump.h \
724 /usr/include/qt5/QtWidgets/QGroupBox \
725 /usr/include/qt5/QtWidgets/qgroupbox.h \
726 /usr/include/qt5/QtWidgets/qframe.h \
727 /usr/include/qt5/QtWidgets/qwidget.h \
728 /usr/include/qt5/QtGui/qwindowdefs.h \
729 /usr/include/qt5/QtCore/qglobal.h \
730 /usr/include/qt5/QtCore/qconfig.h \
731 /usr/include/qt5/QtCore/qconfig-64.h \
732 /usr/include/qt5/QtCore/qfeatures.h \
733 /usr/include/qt5/QtCore/qsystemdetection.h \
734 /usr/include/qt5/QtCore/qprocessordetection.h \
735 /usr/include/qt5/QtCore/qcompilerdetection.h \
736 /usr/include/qt5/QtCore/qglobalstatic.h \
737 /usr/include/qt5/QtCore/qatomic.h \
738 /usr/include/qt5/QtCore/qbasicatomic.h \
739 /usr/include/qt5/QtCore/qatomic_bootstrap.h \
740 /usr/include/qt5/QtCore/qgenericatomic.h \
741 /usr/include/qt5/QtCore/qatomic_msvc.h \
742 /usr/include/qt5/QtCore/qatomic_integrity.h \
743 /usr/include/qt5/QtCore/qoldbasicatomic.h \
744 /usr/include/qt5/QtCore/qatomic_vxworks.h \
745 /usr/include/qt5/QtCore/qatomic_power.h \
746 /usr/include/qt5/QtCore/qatomic_alpha.h \
747 /usr/include/qt5/QtCore/qatomic_armv7.h \
748 /usr/include/qt5/QtCore/qatomic_armv6.h \
749 /usr/include/qt5/QtCore/qatomic_armv5.h \
750 /usr/include/qt5/QtCore/qatomic_bfin.h \
751 /usr/include/qt5/QtCore/qatomic_ia64.h \
752 /usr/include/qt5/QtCore/qatomic_mips.h \
753 /usr/include/qt5/QtCore/qatomic_s390.h \
754 /usr/include/qt5/QtCore/qatomic_sh4a.h \
755 /usr/include/qt5/QtCore/qatomic_sparc.h \
756 /usr/include/qt5/QtCore/qatomic_x86.h \
757 /usr/include/qt5/QtCore/qatomic_cxx11.h \
758 /usr/include/qt5/QtCore/qatomic_gcc.h \
759 /usr/include/qt5/QtCore/qatomic_unix.h \
760 /usr/include/qt5/QtCore/qmutex.h \
761 /usr/include/qt5/QtCore/qlogging.h \
762 /usr/include/qt5/QtCore/qflags.h \
763 /usr/include/qt5/QtCore/qtypeinfo.h \
764 /usr/include/qt5/QtCore/qtypetraits.h \
765 /usr/include/qt5/QtCore/qsysinfo.h \
766 /usr/include/qt5/QtCore/qobjectdefs.h \
767 /usr/include/qt5/QtCore/qnamespace.h \
768 /usr/include/qt5/QtCore/qobjectdefs_impl.h \
769 /usr/include/qt5/QtGui/qwindowdefs_win.h \
770 /usr/include/qt5/QtCore/qobject.h \
771 /usr/include/qt5/QtCore/qstring.h \
772 /usr/include/qt5/QtCore/qchar.h \
773 /usr/include/qt5/QtCore/qbytearray.h \
774 /usr/include/qt5/QtCore/qrefcount.h \
775 /usr/include/qt5/QtCore/qarraydata.h \
776 /usr/include/qt5/QtCore/qstringbuilder.h \
777 /usr/include/qt5/QtCore/qlist.h \
778 /usr/include/qt5/QtCore/qalgorithms.h \
779 /usr/include/qt5/QtCore/qiterator.h \
780 /usr/include/qt5/QtCore/qcoreevent.h \
781 /usr/include/qt5/QtCore/qscopedpointer.h \
782 /usr/include/qt5/QtCore/qmetatype.h \
783 /usr/include/qt5/QtCore/qvarlengtharray.h \
784 /usr/include/qt5/QtCore/qcontainerfwd.h \
785 /usr/include/qt5/QtCore/qisenum.h \
786 /usr/include/qt5/QtCore/qobject_impl.h \
787 /usr/include/qt5/QtCore/qmargins.h \
788 /usr/include/qt5/QtCore/qrect.h \
789 /usr/include/qt5/QtCore/qsize.h \
790 /usr/include/qt5/QtCore/qpoint.h \
791 /usr/include/qt5/QtGui/qpaintdevice.h \
792 /usr/include/qt5/QtGui/qpalette.h \
793 /usr/include/qt5/QtGui/qcolor.h \
794 /usr/include/qt5/QtGui/qrgb.h \
795 /usr/include/qt5/QtCore/qstringlist.h \
796 /usr/include/qt5/QtCore/qdatastream.h \
797 /usr/include/qt5/QtCore/qiodevice.h \
798 /usr/include/qt5/QtCore/qpair.h \
799 /usr/include/qt5/QtCore/qregexp.h \
800 /usr/include/qt5/QtCore/qstringmatcher.h \
801 /usr/include/qt5/QtGui/qbrush.h \
802 /usr/include/qt5/QtCore/qvector.h \
803 /usr/include/qt5/QtGui/qmatrix.h \
804 /usr/include/qt5/QtGui/qpolygon.h \
805 /usr/include/qt5/QtGui/qregion.h \
806 /usr/include/qt5/QtCore/qline.h \
807 /usr/include/qt5/QtGui/qtransform.h \
808 /usr/include/qt5/QtGui/qpainterpath.h \
809 /usr/include/qt5/QtGui/qimage.h \
810 /usr/include/qt5/QtGui/qpixmap.h \
811 /usr/include/qt5/QtCore/qsharedpointer.h \
812 /usr/include/qt5/QtCore/qshareddata.h \
813 /usr/include/qt5/QtCore/qsharedpointer_impl.h \
814 /usr/include/qt5/QtCore/qhash.h \
815 /usr/include/qt5/QtGui/qfont.h \
816 /usr/include/qt5/QtGui/qfontmetrics.h \
817 /usr/include/qt5/QtGui/qfontinfo.h \
818 /usr/include/qt5/QtWidgets/qsizepolicy.h \
819 /usr/include/qt5/QtGui/qcursor.h \
820 /usr/include/qt5/QtGui/qkeysequence.h \
821 /usr/include/qt5/QtGui/qevent.h \
822 /usr/include/qt5/QtCore/qvariant.h \
823 /usr/include/qt5/QtCore/qmap.h \
824 /usr/include/qt5/QtCore/qdebug.h \
825 /usr/include/qt5/QtCore/qtextstream.h \
826 /usr/include/qt5/QtCore/qlocale.h \
827 /usr/include/qt5/QtCore/qset.h \
828 /usr/include/qt5/QtCore/qcontiguouscache.h \
829 /usr/include/qt5/QtCore/qurl.h \
830 /usr/include/qt5/QtCore/qurlquery.h \
831 /usr/include/qt5/QtCore/qfile.h \
832 /usr/include/qt5/QtCore/qfiledevice.h \
833 /usr/include/qt5/QtGui/qvector2d.h \
834 /usr/include/qt5/QtGui/qtouchdevice.h \
835 /usr/include/qt5/QtWidgets/QGridLayout \
836 /usr/include/qt5/QtWidgets/qgridlayout.h \
837 /usr/include/qt5/QtWidgets/qlayout.h \
838 /usr/include/qt5/QtWidgets/qlayoutitem.h \
839 /usr/include/qt5/QtWidgets/qboxlayout.h \
840 /usr/include/qt5/QtWidgets/QPushButton \
841 /usr/include/qt5/QtWidgets/qpushbutton.h \
842 /usr/include/qt5/QtWidgets/qabstractbutton.h \
843 /usr/include/qt5/QtGui/qicon.h \
844 /usr/include/qt5/QtWidgets/QLabel \
845 /usr/include/qt5/QtWidgets/qlabel.h \
846 /usr/include/qt5/QtWidgets/QSpinBox \
847 /usr/include/qt5/QtWidgets/qspinbox.h \
848 /usr/include/qt5/QtWidgets/qabstractspinbox.h \
849 /usr/include/qt5/QtGui/qvalidator.h \
850 /usr/include/qt5/QtCore/qregularexpression.h \
851 /usr/include/qt5/QtWidgets/QDoubleSpinBox \
852 ../rmapplugin/tmpackettoread.h \
853 /usr/include/qt5/QtCore/QObject \
854 ../../DEV_PLE/header/TC_types.h \
855 ../../DEV_PLE/header/ccsds_types.h \
856 parameterdump_global.h \
857 tcpackettosend.h
858 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o parameterdump.o parameterdump.cpp
859
860 tcpackettosend.o: tcpackettosend.cpp tcpackettosend.h \
861 /usr/include/qt5/QtCore/QObject \
862 /usr/include/qt5/QtCore/qobject.h \
863 /usr/include/qt5/QtCore/qobjectdefs.h \
864 /usr/include/qt5/QtCore/qnamespace.h \
865 /usr/include/qt5/QtCore/qglobal.h \
866 /usr/include/qt5/QtCore/qconfig.h \
867 /usr/include/qt5/QtCore/qconfig-64.h \
868 /usr/include/qt5/QtCore/qfeatures.h \
869 /usr/include/qt5/QtCore/qsystemdetection.h \
870 /usr/include/qt5/QtCore/qprocessordetection.h \
871 /usr/include/qt5/QtCore/qcompilerdetection.h \
872 /usr/include/qt5/QtCore/qglobalstatic.h \
873 /usr/include/qt5/QtCore/qatomic.h \
874 /usr/include/qt5/QtCore/qbasicatomic.h \
875 /usr/include/qt5/QtCore/qatomic_bootstrap.h \
876 /usr/include/qt5/QtCore/qgenericatomic.h \
877 /usr/include/qt5/QtCore/qatomic_msvc.h \
878 /usr/include/qt5/QtCore/qatomic_integrity.h \
879 /usr/include/qt5/QtCore/qoldbasicatomic.h \
880 /usr/include/qt5/QtCore/qatomic_vxworks.h \
881 /usr/include/qt5/QtCore/qatomic_power.h \
882 /usr/include/qt5/QtCore/qatomic_alpha.h \
883 /usr/include/qt5/QtCore/qatomic_armv7.h \
884 /usr/include/qt5/QtCore/qatomic_armv6.h \
885 /usr/include/qt5/QtCore/qatomic_armv5.h \
886 /usr/include/qt5/QtCore/qatomic_bfin.h \
887 /usr/include/qt5/QtCore/qatomic_ia64.h \
888 /usr/include/qt5/QtCore/qatomic_mips.h \
889 /usr/include/qt5/QtCore/qatomic_s390.h \
890 /usr/include/qt5/QtCore/qatomic_sh4a.h \
891 /usr/include/qt5/QtCore/qatomic_sparc.h \
892 /usr/include/qt5/QtCore/qatomic_x86.h \
893 /usr/include/qt5/QtCore/qatomic_cxx11.h \
894 /usr/include/qt5/QtCore/qatomic_gcc.h \
895 /usr/include/qt5/QtCore/qatomic_unix.h \
896 /usr/include/qt5/QtCore/qmutex.h \
897 /usr/include/qt5/QtCore/qlogging.h \
898 /usr/include/qt5/QtCore/qflags.h \
899 /usr/include/qt5/QtCore/qtypeinfo.h \
900 /usr/include/qt5/QtCore/qtypetraits.h \
901 /usr/include/qt5/QtCore/qsysinfo.h \
902 /usr/include/qt5/QtCore/qobjectdefs_impl.h \
903 /usr/include/qt5/QtCore/qstring.h \
904 /usr/include/qt5/QtCore/qchar.h \
905 /usr/include/qt5/QtCore/qbytearray.h \
906 /usr/include/qt5/QtCore/qrefcount.h \
907 /usr/include/qt5/QtCore/qarraydata.h \
908 /usr/include/qt5/QtCore/qstringbuilder.h \
909 /usr/include/qt5/QtCore/qlist.h \
910 /usr/include/qt5/QtCore/qalgorithms.h \
911 /usr/include/qt5/QtCore/qiterator.h \
912 /usr/include/qt5/QtCore/qcoreevent.h \
913 /usr/include/qt5/QtCore/qscopedpointer.h \
914 /usr/include/qt5/QtCore/qmetatype.h \
915 /usr/include/qt5/QtCore/qvarlengtharray.h \
916 /usr/include/qt5/QtCore/qcontainerfwd.h \
917 /usr/include/qt5/QtCore/qisenum.h \
918 /usr/include/qt5/QtCore/qobject_impl.h \
919 parameterdump_global.h \
920 ../../DEV_PLE/header/TC_types.h \
921 ../../DEV_PLE/header/ccsds_types.h
922 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tcpackettosend.o tcpackettosend.cpp
923
924 tmpackettoread.o: ../rmapplugin/tmpackettoread.cpp ../rmapplugin/tmpackettoread.h \
925 /usr/include/qt5/QtCore/QObject \
926 /usr/include/qt5/QtCore/qobject.h \
927 /usr/include/qt5/QtCore/qobjectdefs.h \
928 /usr/include/qt5/QtCore/qnamespace.h \
929 /usr/include/qt5/QtCore/qglobal.h \
930 /usr/include/qt5/QtCore/qconfig.h \
931 /usr/include/qt5/QtCore/qconfig-64.h \
932 /usr/include/qt5/QtCore/qfeatures.h \
933 /usr/include/qt5/QtCore/qsystemdetection.h \
934 /usr/include/qt5/QtCore/qprocessordetection.h \
935 /usr/include/qt5/QtCore/qcompilerdetection.h \
936 /usr/include/qt5/QtCore/qglobalstatic.h \
937 /usr/include/qt5/QtCore/qatomic.h \
938 /usr/include/qt5/QtCore/qbasicatomic.h \
939 /usr/include/qt5/QtCore/qatomic_bootstrap.h \
940 /usr/include/qt5/QtCore/qgenericatomic.h \
941 /usr/include/qt5/QtCore/qatomic_msvc.h \
942 /usr/include/qt5/QtCore/qatomic_integrity.h \
943 /usr/include/qt5/QtCore/qoldbasicatomic.h \
944 /usr/include/qt5/QtCore/qatomic_vxworks.h \
945 /usr/include/qt5/QtCore/qatomic_power.h \
946 /usr/include/qt5/QtCore/qatomic_alpha.h \
947 /usr/include/qt5/QtCore/qatomic_armv7.h \
948 /usr/include/qt5/QtCore/qatomic_armv6.h \
949 /usr/include/qt5/QtCore/qatomic_armv5.h \
950 /usr/include/qt5/QtCore/qatomic_bfin.h \
951 /usr/include/qt5/QtCore/qatomic_ia64.h \
952 /usr/include/qt5/QtCore/qatomic_mips.h \
953 /usr/include/qt5/QtCore/qatomic_s390.h \
954 /usr/include/qt5/QtCore/qatomic_sh4a.h \
955 /usr/include/qt5/QtCore/qatomic_sparc.h \
956 /usr/include/qt5/QtCore/qatomic_x86.h \
957 /usr/include/qt5/QtCore/qatomic_cxx11.h \
958 /usr/include/qt5/QtCore/qatomic_gcc.h \
959 /usr/include/qt5/QtCore/qatomic_unix.h \
960 /usr/include/qt5/QtCore/qmutex.h \
961 /usr/include/qt5/QtCore/qlogging.h \
962 /usr/include/qt5/QtCore/qflags.h \
963 /usr/include/qt5/QtCore/qtypeinfo.h \
964 /usr/include/qt5/QtCore/qtypetraits.h \
965 /usr/include/qt5/QtCore/qsysinfo.h \
966 /usr/include/qt5/QtCore/qobjectdefs_impl.h \
967 /usr/include/qt5/QtCore/qstring.h \
968 /usr/include/qt5/QtCore/qchar.h \
969 /usr/include/qt5/QtCore/qbytearray.h \
970 /usr/include/qt5/QtCore/qrefcount.h \
971 /usr/include/qt5/QtCore/qarraydata.h \
972 /usr/include/qt5/QtCore/qstringbuilder.h \
973 /usr/include/qt5/QtCore/qlist.h \
974 /usr/include/qt5/QtCore/qalgorithms.h \
975 /usr/include/qt5/QtCore/qiterator.h \
976 /usr/include/qt5/QtCore/qcoreevent.h \
977 /usr/include/qt5/QtCore/qscopedpointer.h \
978 /usr/include/qt5/QtCore/qmetatype.h \
979 /usr/include/qt5/QtCore/qvarlengtharray.h \
980 /usr/include/qt5/QtCore/qcontainerfwd.h \
981 /usr/include/qt5/QtCore/qisenum.h \
982 /usr/include/qt5/QtCore/qobject_impl.h
983 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmpackettoread.o ../rmapplugin/tmpackettoread.cpp
984
985 moc_parameterdump.o: moc_parameterdump.cpp
986 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_parameterdump.o moc_parameterdump.cpp
987
988 moc_tcpackettosend.o: moc_tcpackettosend.cpp
989 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tcpackettosend.o moc_tcpackettosend.cpp
990
991 moc_tmpackettoread.o: moc_tmpackettoread.cpp
992 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tmpackettoread.o moc_tmpackettoread.cpp
993
994 ####### Install
995
996 install_header: first FORCE
997 @test -d $(INSTALL_ROOT)/usr/include/qt5/lppmon/parameterdump || mkdir -p $(INSTALL_ROOT)/usr/include/qt5/lppmon/parameterdump
998 -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/parameterdump/parameterdump.h $(INSTALL_ROOT)/usr/include/qt5/lppmon/parameterdump/
999 -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/parameterdump/parameterdump_global.h $(INSTALL_ROOT)/usr/include/qt5/lppmon/parameterdump/
1000 -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/parameterdump/tcpackettosend.h $(INSTALL_ROOT)/usr/include/qt5/lppmon/parameterdump/
1001
1002 uninstall_header: FORCE
1003 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/qt5/lppmon/parameterdump/tcpackettosend.h
1004 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/qt5/lppmon/parameterdump/parameterdump_global.h
1005 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/qt5/lppmon/parameterdump/parameterdump.h
1006 -$(DEL_DIR) $(INSTALL_ROOT)/usr/include/qt5/lppmon/parameterdump/
1007
1008
1009 install_target: first FORCE
1010 @test -d $(INSTALL_ROOT)/usr/lib64 || mkdir -p $(INSTALL_ROOT)/usr/lib64
1011 -$(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET)"
1012 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)"
1013 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)"
1014 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)"
1015
1016 uninstall_target: FORCE
1017 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET)"
1018 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)"
1019 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)"
1020 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)"
1021 -$(DEL_DIR) $(INSTALL_ROOT)/usr/lib64/
1022
1023
1024 install: install_header install_target FORCE
1025
1026 uninstall: uninstall_header uninstall_target FORCE
1027
1028 FORCE:
1029
This diff has been collapsed as it changes many lines, (1040 lines changed) Show them Hide them
@@ -0,0 +1,1040
1 #############################################################################
2 # Makefile for building: libpaulcommon.so.1.0.0
3 # Generated by qmake (3.0) (Qt 5.2.0)
4 # Project: paulcommon.pro
5 # Template: lib
6 # Command: /usr/bin/qmake-qt5 -o Makefile paulcommon.pro
7 #############################################################################
8
9 MAKEFILE = Makefile
10
11 ####### Compiler, tools and options
12
13 CC = gcc
14 CXX = g++
15 DEFINES = -DPAULCOMMON_LIBRARY -DQT_NO_DEBUG -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_CORE_LIB
16 CFLAGS = -m64 -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
17 CXXFLAGS = -m64 -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES)
18 INCPATH = -I/usr/lib64/qt5/mkspecs/linux-g++-64 -I. -I. -I/usr/include/qt5/lppmon/parameterdump -I../../DEV_PLE/header -I/usr/include/qt5 -I/usr/include/qt5/QtPrintSupport -I/usr/include/qt5/QtWidgets -I/usr/include/qt5/QtGui -I/usr/include/qt5/QtCore -I.
19 LINK = g++
20 LFLAGS = -m64 -Wl,-O1 -Wl,-z,relro -shared -Wl,-soname,libpaulcommon.so.1
21 LIBS = $(SUBLIBS) -L/usr/X11R6/lib64 -lparameterdump -lQt5PrintSupport -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread
22 AR = ar cqs
23 RANLIB =
24 QMAKE = /usr/bin/qmake-qt5
25 TAR = tar -cf
26 COMPRESS = gzip -9f
27 COPY = cp -f
28 SED = sed
29 COPY_FILE = cp -f
30 COPY_DIR = cp -f -R
31 STRIP = strip
32 INSTALL_FILE = install -m 644 -p
33 INSTALL_DIR = $(COPY_DIR)
34 INSTALL_PROGRAM = install -m 755 -p
35 DEL_FILE = rm -f
36 SYMLINK = ln -f -s
37 DEL_DIR = rmdir
38 MOVE = mv -f
39 CHK_DIR_EXISTS= test -d
40 MKDIR = mkdir -p
41
42 ####### Output directory
43
44 OBJECTS_DIR = ./
45
46 ####### Files
47
48 SOURCES = systemtime.cpp \
49 arbitrarytime.cpp moc_systemtime.cpp \
50 moc_arbitrarytime.cpp
51 OBJECTS = systemtime.o \
52 arbitrarytime.o \
53 moc_systemtime.o \
54 moc_arbitrarytime.o
55 DIST = /usr/lib64/qt5/mkspecs/features/spec_pre.prf \
56 /usr/lib64/qt5/mkspecs/common/shell-unix.conf \
57 /usr/lib64/qt5/mkspecs/common/unix.conf \
58 /usr/lib64/qt5/mkspecs/common/linux.conf \
59 /usr/lib64/qt5/mkspecs/common/gcc-base.conf \
60 /usr/lib64/qt5/mkspecs/common/gcc-base-unix.conf \
61 /usr/lib64/qt5/mkspecs/common/g++-base.conf \
62 /usr/lib64/qt5/mkspecs/common/g++-unix.conf \
63 /usr/lib64/qt5/mkspecs/qconfig.pri \
64 /usr/lib64/qt5/mkspecs/modules/qt_lib_accountsservice.pri \
65 /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \
66 /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri \
67 /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri \
68 /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri \
69 /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \
70 /usr/lib64/qt5/mkspecs/modules/qt_lib_configuration.pri \
71 /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri \
72 /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri \
73 /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri \
74 /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus_private.pri \
75 /usr/lib64/qt5/mkspecs/modules/qt_lib_declarative.pri \
76 /usr/lib64/qt5/mkspecs/modules/qt_lib_declarative_private.pri \
77 /usr/lib64/qt5/mkspecs/modules/qt_lib_designer.pri \
78 /usr/lib64/qt5/mkspecs/modules/qt_lib_designer_private.pri \
79 /usr/lib64/qt5/mkspecs/modules/qt_lib_designercomponents_private.pri \
80 /usr/lib64/qt5/mkspecs/modules/qt_lib_gui.pri \
81 /usr/lib64/qt5/mkspecs/modules/qt_lib_gui_private.pri \
82 /usr/lib64/qt5/mkspecs/modules/qt_lib_help.pri \
83 /usr/lib64/qt5/mkspecs/modules/qt_lib_help_private.pri \
84 /usr/lib64/qt5/mkspecs/modules/qt_lib_multimedia.pri \
85 /usr/lib64/qt5/mkspecs/modules/qt_lib_multimedia_private.pri \
86 /usr/lib64/qt5/mkspecs/modules/qt_lib_multimediawidgets.pri \
87 /usr/lib64/qt5/mkspecs/modules/qt_lib_multimediawidgets_private.pri \
88 /usr/lib64/qt5/mkspecs/modules/qt_lib_network.pri \
89 /usr/lib64/qt5/mkspecs/modules/qt_lib_network_private.pri \
90 /usr/lib64/qt5/mkspecs/modules/qt_lib_opengl.pri \
91 /usr/lib64/qt5/mkspecs/modules/qt_lib_opengl_private.pri \
92 /usr/lib64/qt5/mkspecs/modules/qt_lib_openglextensions.pri \
93 /usr/lib64/qt5/mkspecs/modules/qt_lib_openglextensions_private.pri \
94 /usr/lib64/qt5/mkspecs/modules/qt_lib_platformsupport_private.pri \
95 /usr/lib64/qt5/mkspecs/modules/qt_lib_printsupport.pri \
96 /usr/lib64/qt5/mkspecs/modules/qt_lib_printsupport_private.pri \
97 /usr/lib64/qt5/mkspecs/modules/qt_lib_qml.pri \
98 /usr/lib64/qt5/mkspecs/modules/qt_lib_qml_private.pri \
99 /usr/lib64/qt5/mkspecs/modules/qt_lib_qmldevtools_private.pri \
100 /usr/lib64/qt5/mkspecs/modules/qt_lib_qmltest.pri \
101 /usr/lib64/qt5/mkspecs/modules/qt_lib_qmltest_private.pri \
102 /usr/lib64/qt5/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri \
103 /usr/lib64/qt5/mkspecs/modules/qt_lib_quick.pri \
104 /usr/lib64/qt5/mkspecs/modules/qt_lib_quick_private.pri \
105 /usr/lib64/qt5/mkspecs/modules/qt_lib_quickparticles_private.pri \
106 /usr/lib64/qt5/mkspecs/modules/qt_lib_script.pri \
107 /usr/lib64/qt5/mkspecs/modules/qt_lib_script_private.pri \
108 /usr/lib64/qt5/mkspecs/modules/qt_lib_scripttools.pri \
109 /usr/lib64/qt5/mkspecs/modules/qt_lib_scripttools_private.pri \
110 /usr/lib64/qt5/mkspecs/modules/qt_lib_sql.pri \
111 /usr/lib64/qt5/mkspecs/modules/qt_lib_sql_private.pri \
112 /usr/lib64/qt5/mkspecs/modules/qt_lib_svg.pri \
113 /usr/lib64/qt5/mkspecs/modules/qt_lib_svg_private.pri \
114 /usr/lib64/qt5/mkspecs/modules/qt_lib_testlib.pri \
115 /usr/lib64/qt5/mkspecs/modules/qt_lib_testlib_private.pri \
116 /usr/lib64/qt5/mkspecs/modules/qt_lib_uitools.pri \
117 /usr/lib64/qt5/mkspecs/modules/qt_lib_uitools_private.pri \
118 /usr/lib64/qt5/mkspecs/modules/qt_lib_webkit.pri \
119 /usr/lib64/qt5/mkspecs/modules/qt_lib_webkit_private.pri \
120 /usr/lib64/qt5/mkspecs/modules/qt_lib_webkitwidgets.pri \
121 /usr/lib64/qt5/mkspecs/modules/qt_lib_webkitwidgets_private.pri \
122 /usr/lib64/qt5/mkspecs/modules/qt_lib_widgets.pri \
123 /usr/lib64/qt5/mkspecs/modules/qt_lib_widgets_private.pri \
124 /usr/lib64/qt5/mkspecs/modules/qt_lib_x11extras.pri \
125 /usr/lib64/qt5/mkspecs/modules/qt_lib_x11extras_private.pri \
126 /usr/lib64/qt5/mkspecs/modules/qt_lib_xml.pri \
127 /usr/lib64/qt5/mkspecs/modules/qt_lib_xml_private.pri \
128 /usr/lib64/qt5/mkspecs/modules/qt_lib_xmlpatterns.pri \
129 /usr/lib64/qt5/mkspecs/modules/qt_lib_xmlpatterns_private.pri \
130 /usr/lib64/qt5/mkspecs/features/qt_functions.prf \
131 /usr/lib64/qt5/mkspecs/features/qt_config.prf \
132 /usr/lib64/qt5/mkspecs/linux-g++-64/qmake.conf \
133 /usr/lib64/qt5/mkspecs/features/spec_post.prf \
134 /usr/lib64/qt5/mkspecs/features/exclusive_builds.prf \
135 /usr/lib64/qt5/mkspecs/features/default_pre.prf \
136 /usr/lib64/qt5/mkspecs/features/resolve_config.prf \
137 /usr/lib64/qt5/mkspecs/features/default_post.prf \
138 /usr/lib64/qt5/mkspecs/features/unix/gdb_dwarf_index.prf \
139 /usr/lib64/qt5/mkspecs/features/warn_on.prf \
140 /usr/lib64/qt5/mkspecs/features/qt.prf \
141 /usr/lib64/qt5/mkspecs/features/resources.prf \
142 /usr/lib64/qt5/mkspecs/features/moc.prf \
143 /usr/lib64/qt5/mkspecs/features/unix/opengl.prf \
144 /usr/lib64/qt5/mkspecs/features/uic.prf \
145 /usr/lib64/qt5/mkspecs/features/unix/thread.prf \
146 /usr/lib64/qt5/mkspecs/features/testcase_targets.prf \
147 /usr/lib64/qt5/mkspecs/features/exceptions.prf \
148 /usr/lib64/qt5/mkspecs/features/yacc.prf \
149 /usr/lib64/qt5/mkspecs/features/lex.prf \
150 paulcommon.pro \
151 paulcommon.pro
152 QMAKE_TARGET = paulcommon
153 DESTDIR = #avoid trailing-slash linebreak
154 TARGET = libpaulcommon.so.1.0.0
155 TARGETA = libpaulcommon.a
156 TARGETD = libpaulcommon.so.1.0.0
157 TARGET0 = libpaulcommon.so
158 TARGET1 = libpaulcommon.so.1
159 TARGET2 = libpaulcommon.so.1.0
160
161
162 first: all
163 ####### Implicit rules
164
165 .SUFFIXES: .o .c .cpp .cc .cxx .C
166
167 .cpp.o:
168 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
169
170 .cc.o:
171 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
172
173 .cxx.o:
174 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
175
176 .C.o:
177 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<"
178
179 .c.o:
180 $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<"
181
182 ####### Build rules
183
184 all: Makefile $(TARGET)
185
186 $(TARGET): $(OBJECTS) $(SUBLIBS) $(OBJCOMP)
187 -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2)
188 $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP)
189 -ln -s $(TARGET) $(TARGET0)
190 -ln -s $(TARGET) $(TARGET1)
191 -ln -s $(TARGET) $(TARGET2)
192
193
194
195 staticlib: $(TARGETA)
196
197 $(TARGETA): $(OBJECTS) $(OBJCOMP)
198 -$(DEL_FILE) $(TARGETA)
199 $(AR) $(TARGETA) $(OBJECTS)
200
201 Makefile: paulcommon.pro /usr/lib64/qt5/mkspecs/linux-g++-64/qmake.conf /usr/lib64/qt5/mkspecs/features/spec_pre.prf \
202 /usr/lib64/qt5/mkspecs/common/shell-unix.conf \
203 /usr/lib64/qt5/mkspecs/common/unix.conf \
204 /usr/lib64/qt5/mkspecs/common/linux.conf \
205 /usr/lib64/qt5/mkspecs/common/gcc-base.conf \
206 /usr/lib64/qt5/mkspecs/common/gcc-base-unix.conf \
207 /usr/lib64/qt5/mkspecs/common/g++-base.conf \
208 /usr/lib64/qt5/mkspecs/common/g++-unix.conf \
209 /usr/lib64/qt5/mkspecs/qconfig.pri \
210 /usr/lib64/qt5/mkspecs/modules/qt_lib_accountsservice.pri \
211 /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri \
212 /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri \
213 /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri \
214 /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri \
215 /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri \
216 /usr/lib64/qt5/mkspecs/modules/qt_lib_configuration.pri \
217 /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri \
218 /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri \
219 /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri \
220 /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus_private.pri \
221 /usr/lib64/qt5/mkspecs/modules/qt_lib_declarative.pri \
222 /usr/lib64/qt5/mkspecs/modules/qt_lib_declarative_private.pri \
223 /usr/lib64/qt5/mkspecs/modules/qt_lib_designer.pri \
224 /usr/lib64/qt5/mkspecs/modules/qt_lib_designer_private.pri \
225 /usr/lib64/qt5/mkspecs/modules/qt_lib_designercomponents_private.pri \
226 /usr/lib64/qt5/mkspecs/modules/qt_lib_gui.pri \
227 /usr/lib64/qt5/mkspecs/modules/qt_lib_gui_private.pri \
228 /usr/lib64/qt5/mkspecs/modules/qt_lib_help.pri \
229 /usr/lib64/qt5/mkspecs/modules/qt_lib_help_private.pri \
230 /usr/lib64/qt5/mkspecs/modules/qt_lib_multimedia.pri \
231 /usr/lib64/qt5/mkspecs/modules/qt_lib_multimedia_private.pri \
232 /usr/lib64/qt5/mkspecs/modules/qt_lib_multimediawidgets.pri \
233 /usr/lib64/qt5/mkspecs/modules/qt_lib_multimediawidgets_private.pri \
234 /usr/lib64/qt5/mkspecs/modules/qt_lib_network.pri \
235 /usr/lib64/qt5/mkspecs/modules/qt_lib_network_private.pri \
236 /usr/lib64/qt5/mkspecs/modules/qt_lib_opengl.pri \
237 /usr/lib64/qt5/mkspecs/modules/qt_lib_opengl_private.pri \
238 /usr/lib64/qt5/mkspecs/modules/qt_lib_openglextensions.pri \
239 /usr/lib64/qt5/mkspecs/modules/qt_lib_openglextensions_private.pri \
240 /usr/lib64/qt5/mkspecs/modules/qt_lib_platformsupport_private.pri \
241 /usr/lib64/qt5/mkspecs/modules/qt_lib_printsupport.pri \
242 /usr/lib64/qt5/mkspecs/modules/qt_lib_printsupport_private.pri \
243 /usr/lib64/qt5/mkspecs/modules/qt_lib_qml.pri \
244 /usr/lib64/qt5/mkspecs/modules/qt_lib_qml_private.pri \
245 /usr/lib64/qt5/mkspecs/modules/qt_lib_qmldevtools_private.pri \
246 /usr/lib64/qt5/mkspecs/modules/qt_lib_qmltest.pri \
247 /usr/lib64/qt5/mkspecs/modules/qt_lib_qmltest_private.pri \
248 /usr/lib64/qt5/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri \
249 /usr/lib64/qt5/mkspecs/modules/qt_lib_quick.pri \
250 /usr/lib64/qt5/mkspecs/modules/qt_lib_quick_private.pri \
251 /usr/lib64/qt5/mkspecs/modules/qt_lib_quickparticles_private.pri \
252 /usr/lib64/qt5/mkspecs/modules/qt_lib_script.pri \
253 /usr/lib64/qt5/mkspecs/modules/qt_lib_script_private.pri \
254 /usr/lib64/qt5/mkspecs/modules/qt_lib_scripttools.pri \
255 /usr/lib64/qt5/mkspecs/modules/qt_lib_scripttools_private.pri \
256 /usr/lib64/qt5/mkspecs/modules/qt_lib_sql.pri \
257 /usr/lib64/qt5/mkspecs/modules/qt_lib_sql_private.pri \
258 /usr/lib64/qt5/mkspecs/modules/qt_lib_svg.pri \
259 /usr/lib64/qt5/mkspecs/modules/qt_lib_svg_private.pri \
260 /usr/lib64/qt5/mkspecs/modules/qt_lib_testlib.pri \
261 /usr/lib64/qt5/mkspecs/modules/qt_lib_testlib_private.pri \
262 /usr/lib64/qt5/mkspecs/modules/qt_lib_uitools.pri \
263 /usr/lib64/qt5/mkspecs/modules/qt_lib_uitools_private.pri \
264 /usr/lib64/qt5/mkspecs/modules/qt_lib_webkit.pri \
265 /usr/lib64/qt5/mkspecs/modules/qt_lib_webkit_private.pri \
266 /usr/lib64/qt5/mkspecs/modules/qt_lib_webkitwidgets.pri \
267 /usr/lib64/qt5/mkspecs/modules/qt_lib_webkitwidgets_private.pri \
268 /usr/lib64/qt5/mkspecs/modules/qt_lib_widgets.pri \
269 /usr/lib64/qt5/mkspecs/modules/qt_lib_widgets_private.pri \
270 /usr/lib64/qt5/mkspecs/modules/qt_lib_x11extras.pri \
271 /usr/lib64/qt5/mkspecs/modules/qt_lib_x11extras_private.pri \
272 /usr/lib64/qt5/mkspecs/modules/qt_lib_xml.pri \
273 /usr/lib64/qt5/mkspecs/modules/qt_lib_xml_private.pri \
274 /usr/lib64/qt5/mkspecs/modules/qt_lib_xmlpatterns.pri \
275 /usr/lib64/qt5/mkspecs/modules/qt_lib_xmlpatterns_private.pri \
276 /usr/lib64/qt5/mkspecs/features/qt_functions.prf \
277 /usr/lib64/qt5/mkspecs/features/qt_config.prf \
278 /usr/lib64/qt5/mkspecs/linux-g++-64/qmake.conf \
279 /usr/lib64/qt5/mkspecs/features/spec_post.prf \
280 /usr/lib64/qt5/mkspecs/features/exclusive_builds.prf \
281 /usr/lib64/qt5/mkspecs/features/default_pre.prf \
282 /usr/lib64/qt5/mkspecs/features/resolve_config.prf \
283 /usr/lib64/qt5/mkspecs/features/default_post.prf \
284 /usr/lib64/qt5/mkspecs/features/unix/gdb_dwarf_index.prf \
285 /usr/lib64/qt5/mkspecs/features/warn_on.prf \
286 /usr/lib64/qt5/mkspecs/features/qt.prf \
287 /usr/lib64/qt5/mkspecs/features/resources.prf \
288 /usr/lib64/qt5/mkspecs/features/moc.prf \
289 /usr/lib64/qt5/mkspecs/features/unix/opengl.prf \
290 /usr/lib64/qt5/mkspecs/features/uic.prf \
291 /usr/lib64/qt5/mkspecs/features/unix/thread.prf \
292 /usr/lib64/qt5/mkspecs/features/testcase_targets.prf \
293 /usr/lib64/qt5/mkspecs/features/exceptions.prf \
294 /usr/lib64/qt5/mkspecs/features/yacc.prf \
295 /usr/lib64/qt5/mkspecs/features/lex.prf \
296 paulcommon.pro \
297 /lib64/libQt5PrintSupport.prl \
298 /lib64/libQt5Widgets.prl \
299 /lib64/libQt5Gui.prl \
300 /lib64/libQt5Core.prl
301 $(QMAKE) -o Makefile paulcommon.pro
302 /usr/lib64/qt5/mkspecs/features/spec_pre.prf:
303 /usr/lib64/qt5/mkspecs/common/shell-unix.conf:
304 /usr/lib64/qt5/mkspecs/common/unix.conf:
305 /usr/lib64/qt5/mkspecs/common/linux.conf:
306 /usr/lib64/qt5/mkspecs/common/gcc-base.conf:
307 /usr/lib64/qt5/mkspecs/common/gcc-base-unix.conf:
308 /usr/lib64/qt5/mkspecs/common/g++-base.conf:
309 /usr/lib64/qt5/mkspecs/common/g++-unix.conf:
310 /usr/lib64/qt5/mkspecs/qconfig.pri:
311 /usr/lib64/qt5/mkspecs/modules/qt_lib_accountsservice.pri:
312 /usr/lib64/qt5/mkspecs/modules/qt_lib_bootstrap_private.pri:
313 /usr/lib64/qt5/mkspecs/modules/qt_lib_clucene_private.pri:
314 /usr/lib64/qt5/mkspecs/modules/qt_lib_compositor.pri:
315 /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent.pri:
316 /usr/lib64/qt5/mkspecs/modules/qt_lib_concurrent_private.pri:
317 /usr/lib64/qt5/mkspecs/modules/qt_lib_configuration.pri:
318 /usr/lib64/qt5/mkspecs/modules/qt_lib_core.pri:
319 /usr/lib64/qt5/mkspecs/modules/qt_lib_core_private.pri:
320 /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus.pri:
321 /usr/lib64/qt5/mkspecs/modules/qt_lib_dbus_private.pri:
322 /usr/lib64/qt5/mkspecs/modules/qt_lib_declarative.pri:
323 /usr/lib64/qt5/mkspecs/modules/qt_lib_declarative_private.pri:
324 /usr/lib64/qt5/mkspecs/modules/qt_lib_designer.pri:
325 /usr/lib64/qt5/mkspecs/modules/qt_lib_designer_private.pri:
326 /usr/lib64/qt5/mkspecs/modules/qt_lib_designercomponents_private.pri:
327 /usr/lib64/qt5/mkspecs/modules/qt_lib_gui.pri:
328 /usr/lib64/qt5/mkspecs/modules/qt_lib_gui_private.pri:
329 /usr/lib64/qt5/mkspecs/modules/qt_lib_help.pri:
330 /usr/lib64/qt5/mkspecs/modules/qt_lib_help_private.pri:
331 /usr/lib64/qt5/mkspecs/modules/qt_lib_multimedia.pri:
332 /usr/lib64/qt5/mkspecs/modules/qt_lib_multimedia_private.pri:
333 /usr/lib64/qt5/mkspecs/modules/qt_lib_multimediawidgets.pri:
334 /usr/lib64/qt5/mkspecs/modules/qt_lib_multimediawidgets_private.pri:
335 /usr/lib64/qt5/mkspecs/modules/qt_lib_network.pri:
336 /usr/lib64/qt5/mkspecs/modules/qt_lib_network_private.pri:
337 /usr/lib64/qt5/mkspecs/modules/qt_lib_opengl.pri:
338 /usr/lib64/qt5/mkspecs/modules/qt_lib_opengl_private.pri:
339 /usr/lib64/qt5/mkspecs/modules/qt_lib_openglextensions.pri:
340 /usr/lib64/qt5/mkspecs/modules/qt_lib_openglextensions_private.pri:
341 /usr/lib64/qt5/mkspecs/modules/qt_lib_platformsupport_private.pri:
342 /usr/lib64/qt5/mkspecs/modules/qt_lib_printsupport.pri:
343 /usr/lib64/qt5/mkspecs/modules/qt_lib_printsupport_private.pri:
344 /usr/lib64/qt5/mkspecs/modules/qt_lib_qml.pri:
345 /usr/lib64/qt5/mkspecs/modules/qt_lib_qml_private.pri:
346 /usr/lib64/qt5/mkspecs/modules/qt_lib_qmldevtools_private.pri:
347 /usr/lib64/qt5/mkspecs/modules/qt_lib_qmltest.pri:
348 /usr/lib64/qt5/mkspecs/modules/qt_lib_qmltest_private.pri:
349 /usr/lib64/qt5/mkspecs/modules/qt_lib_qtmultimediaquicktools_private.pri:
350 /usr/lib64/qt5/mkspecs/modules/qt_lib_quick.pri:
351 /usr/lib64/qt5/mkspecs/modules/qt_lib_quick_private.pri:
352 /usr/lib64/qt5/mkspecs/modules/qt_lib_quickparticles_private.pri:
353 /usr/lib64/qt5/mkspecs/modules/qt_lib_script.pri:
354 /usr/lib64/qt5/mkspecs/modules/qt_lib_script_private.pri:
355 /usr/lib64/qt5/mkspecs/modules/qt_lib_scripttools.pri:
356 /usr/lib64/qt5/mkspecs/modules/qt_lib_scripttools_private.pri:
357 /usr/lib64/qt5/mkspecs/modules/qt_lib_sql.pri:
358 /usr/lib64/qt5/mkspecs/modules/qt_lib_sql_private.pri:
359 /usr/lib64/qt5/mkspecs/modules/qt_lib_svg.pri:
360 /usr/lib64/qt5/mkspecs/modules/qt_lib_svg_private.pri:
361 /usr/lib64/qt5/mkspecs/modules/qt_lib_testlib.pri:
362 /usr/lib64/qt5/mkspecs/modules/qt_lib_testlib_private.pri:
363 /usr/lib64/qt5/mkspecs/modules/qt_lib_uitools.pri:
364 /usr/lib64/qt5/mkspecs/modules/qt_lib_uitools_private.pri:
365 /usr/lib64/qt5/mkspecs/modules/qt_lib_webkit.pri:
366 /usr/lib64/qt5/mkspecs/modules/qt_lib_webkit_private.pri:
367 /usr/lib64/qt5/mkspecs/modules/qt_lib_webkitwidgets.pri:
368 /usr/lib64/qt5/mkspecs/modules/qt_lib_webkitwidgets_private.pri:
369 /usr/lib64/qt5/mkspecs/modules/qt_lib_widgets.pri:
370 /usr/lib64/qt5/mkspecs/modules/qt_lib_widgets_private.pri:
371 /usr/lib64/qt5/mkspecs/modules/qt_lib_x11extras.pri:
372 /usr/lib64/qt5/mkspecs/modules/qt_lib_x11extras_private.pri:
373 /usr/lib64/qt5/mkspecs/modules/qt_lib_xml.pri:
374 /usr/lib64/qt5/mkspecs/modules/qt_lib_xml_private.pri:
375 /usr/lib64/qt5/mkspecs/modules/qt_lib_xmlpatterns.pri:
376 /usr/lib64/qt5/mkspecs/modules/qt_lib_xmlpatterns_private.pri:
377 /usr/lib64/qt5/mkspecs/features/qt_functions.prf:
378 /usr/lib64/qt5/mkspecs/features/qt_config.prf:
379 /usr/lib64/qt5/mkspecs/linux-g++-64/qmake.conf:
380 /usr/lib64/qt5/mkspecs/features/spec_post.prf:
381 /usr/lib64/qt5/mkspecs/features/exclusive_builds.prf:
382 /usr/lib64/qt5/mkspecs/features/default_pre.prf:
383 /usr/lib64/qt5/mkspecs/features/resolve_config.prf:
384 /usr/lib64/qt5/mkspecs/features/default_post.prf:
385 /usr/lib64/qt5/mkspecs/features/unix/gdb_dwarf_index.prf:
386 /usr/lib64/qt5/mkspecs/features/warn_on.prf:
387 /usr/lib64/qt5/mkspecs/features/qt.prf:
388 /usr/lib64/qt5/mkspecs/features/resources.prf:
389 /usr/lib64/qt5/mkspecs/features/moc.prf:
390 /usr/lib64/qt5/mkspecs/features/unix/opengl.prf:
391 /usr/lib64/qt5/mkspecs/features/uic.prf:
392 /usr/lib64/qt5/mkspecs/features/unix/thread.prf:
393 /usr/lib64/qt5/mkspecs/features/testcase_targets.prf:
394 /usr/lib64/qt5/mkspecs/features/exceptions.prf:
395 /usr/lib64/qt5/mkspecs/features/yacc.prf:
396 /usr/lib64/qt5/mkspecs/features/lex.prf:
397 paulcommon.pro:
398 /lib64/libQt5PrintSupport.prl:
399 /lib64/libQt5Widgets.prl:
400 /lib64/libQt5Gui.prl:
401 /lib64/libQt5Core.prl:
402 qmake: FORCE
403 @$(QMAKE) -o Makefile paulcommon.pro
404
405 qmake_all: FORCE
406
407 dist:
408 @test -d .tmp/paulcommon1.0.0 || mkdir -p .tmp/paulcommon1.0.0
409 $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/paulcommon1.0.0/ && $(COPY_FILE) --parents systemtime.h paulcommon_global.h arbitrarytime.h ../../DEV_PLE/header/TC_types.h .tmp/paulcommon1.0.0/ && $(COPY_FILE) --parents systemtime.cpp arbitrarytime.cpp .tmp/paulcommon1.0.0/ && (cd `dirname .tmp/paulcommon1.0.0` && $(TAR) paulcommon1.0.0.tar paulcommon1.0.0 && $(COMPRESS) paulcommon1.0.0.tar) && $(MOVE) `dirname .tmp/paulcommon1.0.0`/paulcommon1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/paulcommon1.0.0
410
411
412 clean:compiler_clean
413 -$(DEL_FILE) $(OBJECTS)
414 -$(DEL_FILE) *~ core *.core
415
416
417 ####### Sub-libraries
418
419 distclean: clean
420 -$(DEL_FILE) $(TARGET)
421 -$(DEL_FILE) $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA)
422 -$(DEL_FILE) Makefile
423
424
425 mocclean: compiler_moc_header_clean compiler_moc_source_clean
426
427 mocables: compiler_moc_header_make_all compiler_moc_source_make_all
428
429 check: first
430
431 compiler_rcc_make_all:
432 compiler_rcc_clean:
433 compiler_moc_header_make_all: moc_systemtime.cpp moc_arbitrarytime.cpp
434 compiler_moc_header_clean:
435 -$(DEL_FILE) moc_systemtime.cpp moc_arbitrarytime.cpp
436 moc_systemtime.cpp: paulcommon_global.h \
437 /usr/include/qt5/QtCore/qglobal.h \
438 /usr/include/qt5/QtCore/qconfig.h \
439 /usr/include/qt5/QtCore/qconfig-64.h \
440 /usr/include/qt5/QtCore/qfeatures.h \
441 /usr/include/qt5/QtCore/qsystemdetection.h \
442 /usr/include/qt5/QtCore/qprocessordetection.h \
443 /usr/include/qt5/QtCore/qcompilerdetection.h \
444 /usr/include/qt5/QtCore/qglobalstatic.h \
445 /usr/include/qt5/QtCore/qatomic.h \
446 /usr/include/qt5/QtCore/qbasicatomic.h \
447 /usr/include/qt5/QtCore/qatomic_bootstrap.h \
448 /usr/include/qt5/QtCore/qgenericatomic.h \
449 /usr/include/qt5/QtCore/qatomic_msvc.h \
450 /usr/include/qt5/QtCore/qatomic_integrity.h \
451 /usr/include/qt5/QtCore/qoldbasicatomic.h \
452 /usr/include/qt5/QtCore/qatomic_vxworks.h \
453 /usr/include/qt5/QtCore/qatomic_power.h \
454 /usr/include/qt5/QtCore/qatomic_alpha.h \
455 /usr/include/qt5/QtCore/qatomic_armv7.h \
456 /usr/include/qt5/QtCore/qatomic_armv6.h \
457 /usr/include/qt5/QtCore/qatomic_armv5.h \
458 /usr/include/qt5/QtCore/qatomic_bfin.h \
459 /usr/include/qt5/QtCore/qatomic_ia64.h \
460 /usr/include/qt5/QtCore/qatomic_mips.h \
461 /usr/include/qt5/QtCore/qatomic_s390.h \
462 /usr/include/qt5/QtCore/qatomic_sh4a.h \
463 /usr/include/qt5/QtCore/qatomic_sparc.h \
464 /usr/include/qt5/QtCore/qatomic_x86.h \
465 /usr/include/qt5/QtCore/qatomic_cxx11.h \
466 /usr/include/qt5/QtCore/qatomic_gcc.h \
467 /usr/include/qt5/QtCore/qatomic_unix.h \
468 /usr/include/qt5/QtCore/qmutex.h \
469 /usr/include/qt5/QtCore/qlogging.h \
470 /usr/include/qt5/QtCore/qflags.h \
471 /usr/include/qt5/QtCore/qtypeinfo.h \
472 /usr/include/qt5/QtCore/qtypetraits.h \
473 /usr/include/qt5/QtCore/qsysinfo.h \
474 /usr/include/qt5/QtWidgets/QWidget \
475 /usr/include/qt5/QtWidgets/qwidget.h \
476 /usr/include/qt5/QtGui/qwindowdefs.h \
477 /usr/include/qt5/QtCore/qobjectdefs.h \
478 /usr/include/qt5/QtCore/qnamespace.h \
479 /usr/include/qt5/QtCore/qobjectdefs_impl.h \
480 /usr/include/qt5/QtGui/qwindowdefs_win.h \
481 /usr/include/qt5/QtCore/qobject.h \
482 /usr/include/qt5/QtCore/qstring.h \
483 /usr/include/qt5/QtCore/qchar.h \
484 /usr/include/qt5/QtCore/qbytearray.h \
485 /usr/include/qt5/QtCore/qrefcount.h \
486 /usr/include/qt5/QtCore/qarraydata.h \
487 /usr/include/qt5/QtCore/qstringbuilder.h \
488 /usr/include/qt5/QtCore/qlist.h \
489 /usr/include/qt5/QtCore/qalgorithms.h \
490 /usr/include/qt5/QtCore/qiterator.h \
491 /usr/include/qt5/QtCore/qcoreevent.h \
492 /usr/include/qt5/QtCore/qscopedpointer.h \
493 /usr/include/qt5/QtCore/qmetatype.h \
494 /usr/include/qt5/QtCore/qvarlengtharray.h \
495 /usr/include/qt5/QtCore/qcontainerfwd.h \
496 /usr/include/qt5/QtCore/qisenum.h \
497 /usr/include/qt5/QtCore/qobject_impl.h \
498 /usr/include/qt5/QtCore/qmargins.h \
499 /usr/include/qt5/QtCore/qrect.h \
500 /usr/include/qt5/QtCore/qsize.h \
501 /usr/include/qt5/QtCore/qpoint.h \
502 /usr/include/qt5/QtGui/qpaintdevice.h \
503 /usr/include/qt5/QtGui/qpalette.h \
504 /usr/include/qt5/QtGui/qcolor.h \
505 /usr/include/qt5/QtGui/qrgb.h \
506 /usr/include/qt5/QtCore/qstringlist.h \
507 /usr/include/qt5/QtCore/qdatastream.h \
508 /usr/include/qt5/QtCore/qiodevice.h \
509 /usr/include/qt5/QtCore/qpair.h \
510 /usr/include/qt5/QtCore/qregexp.h \
511 /usr/include/qt5/QtCore/qstringmatcher.h \
512 /usr/include/qt5/QtGui/qbrush.h \
513 /usr/include/qt5/QtCore/qvector.h \
514 /usr/include/qt5/QtGui/qmatrix.h \
515 /usr/include/qt5/QtGui/qpolygon.h \
516 /usr/include/qt5/QtGui/qregion.h \
517 /usr/include/qt5/QtCore/qline.h \
518 /usr/include/qt5/QtGui/qtransform.h \
519 /usr/include/qt5/QtGui/qpainterpath.h \
520 /usr/include/qt5/QtGui/qimage.h \
521 /usr/include/qt5/QtGui/qpixmap.h \
522 /usr/include/qt5/QtCore/qsharedpointer.h \
523 /usr/include/qt5/QtCore/qshareddata.h \
524 /usr/include/qt5/QtCore/qsharedpointer_impl.h \
525 /usr/include/qt5/QtCore/qhash.h \
526 /usr/include/qt5/QtGui/qfont.h \
527 /usr/include/qt5/QtGui/qfontmetrics.h \
528 /usr/include/qt5/QtGui/qfontinfo.h \
529 /usr/include/qt5/QtWidgets/qsizepolicy.h \
530 /usr/include/qt5/QtGui/qcursor.h \
531 /usr/include/qt5/QtGui/qkeysequence.h \
532 /usr/include/qt5/QtGui/qevent.h \
533 /usr/include/qt5/QtCore/qvariant.h \
534 /usr/include/qt5/QtCore/qmap.h \
535 /usr/include/qt5/QtCore/qdebug.h \
536 /usr/include/qt5/QtCore/qtextstream.h \
537 /usr/include/qt5/QtCore/qlocale.h \
538 /usr/include/qt5/QtCore/qset.h \
539 /usr/include/qt5/QtCore/qcontiguouscache.h \
540 /usr/include/qt5/QtCore/qurl.h \
541 /usr/include/qt5/QtCore/qurlquery.h \
542 /usr/include/qt5/QtCore/qfile.h \
543 /usr/include/qt5/QtCore/qfiledevice.h \
544 /usr/include/qt5/QtGui/qvector2d.h \
545 /usr/include/qt5/QtGui/qtouchdevice.h \
546 /usr/include/qt5/QtWidgets/QLabel \
547 /usr/include/qt5/QtWidgets/qlabel.h \
548 /usr/include/qt5/QtWidgets/qframe.h \
549 /usr/include/qt5/QtWidgets/QGridLayout \
550 /usr/include/qt5/QtWidgets/qgridlayout.h \
551 /usr/include/qt5/QtWidgets/qlayout.h \
552 /usr/include/qt5/QtWidgets/qlayoutitem.h \
553 /usr/include/qt5/QtWidgets/qboxlayout.h \
554 /usr/include/qt5/QtWidgets/QLineEdit \
555 /usr/include/qt5/QtWidgets/qlineedit.h \
556 /usr/include/qt5/QtGui/qtextcursor.h \
557 /usr/include/qt5/QtGui/qtextformat.h \
558 /usr/include/qt5/QtGui/qpen.h \
559 /usr/include/qt5/QtGui/qtextoption.h \
560 /usr/include/qt5/QtGui/QRegExpValidator \
561 /usr/include/qt5/QtGui/qvalidator.h \
562 /usr/include/qt5/QtCore/qregularexpression.h \
563 arbitrarytime.h \
564 /usr/include/qt5/QtWidgets/QHBoxLayout \
565 /usr/include/qt5/QtWidgets/QVBoxLayout \
566 /usr/include/qt5/lppmon/parameterdump/tcpackettosend.h \
567 /usr/include/qt5/QtCore/QObject \
568 /usr/include/qt5/lppmon/parameterdump/parameterdump_global.h \
569 ../../DEV_PLE/header/TC_types.h \
570 ../../DEV_PLE/header/ccsds_types.h \
571 systemtime.h
572 /usr/lib64/qt5/bin/moc $(DEFINES) $(INCPATH) -I/usr/lib/gcc/include/c++/4.8.2 -I/usr/lib/gcc/include/c++/4.8.2/x86_64-redhat-linux -I/usr/lib/gcc/include/c++/4.8.2/backward -I/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include -I/usr/local/include -I/usr/include systemtime.h -o moc_systemtime.cpp
573
574 moc_arbitrarytime.cpp: paulcommon_global.h \
575 /usr/include/qt5/QtCore/qglobal.h \
576 /usr/include/qt5/QtCore/qconfig.h \
577 /usr/include/qt5/QtCore/qconfig-64.h \
578 /usr/include/qt5/QtCore/qfeatures.h \
579 /usr/include/qt5/QtCore/qsystemdetection.h \
580 /usr/include/qt5/QtCore/qprocessordetection.h \
581 /usr/include/qt5/QtCore/qcompilerdetection.h \
582 /usr/include/qt5/QtCore/qglobalstatic.h \
583 /usr/include/qt5/QtCore/qatomic.h \
584 /usr/include/qt5/QtCore/qbasicatomic.h \
585 /usr/include/qt5/QtCore/qatomic_bootstrap.h \
586 /usr/include/qt5/QtCore/qgenericatomic.h \
587 /usr/include/qt5/QtCore/qatomic_msvc.h \
588 /usr/include/qt5/QtCore/qatomic_integrity.h \
589 /usr/include/qt5/QtCore/qoldbasicatomic.h \
590 /usr/include/qt5/QtCore/qatomic_vxworks.h \
591 /usr/include/qt5/QtCore/qatomic_power.h \
592 /usr/include/qt5/QtCore/qatomic_alpha.h \
593 /usr/include/qt5/QtCore/qatomic_armv7.h \
594 /usr/include/qt5/QtCore/qatomic_armv6.h \
595 /usr/include/qt5/QtCore/qatomic_armv5.h \
596 /usr/include/qt5/QtCore/qatomic_bfin.h \
597 /usr/include/qt5/QtCore/qatomic_ia64.h \
598 /usr/include/qt5/QtCore/qatomic_mips.h \
599 /usr/include/qt5/QtCore/qatomic_s390.h \
600 /usr/include/qt5/QtCore/qatomic_sh4a.h \
601 /usr/include/qt5/QtCore/qatomic_sparc.h \
602 /usr/include/qt5/QtCore/qatomic_x86.h \
603 /usr/include/qt5/QtCore/qatomic_cxx11.h \
604 /usr/include/qt5/QtCore/qatomic_gcc.h \
605 /usr/include/qt5/QtCore/qatomic_unix.h \
606 /usr/include/qt5/QtCore/qmutex.h \
607 /usr/include/qt5/QtCore/qlogging.h \
608 /usr/include/qt5/QtCore/qflags.h \
609 /usr/include/qt5/QtCore/qtypeinfo.h \
610 /usr/include/qt5/QtCore/qtypetraits.h \
611 /usr/include/qt5/QtCore/qsysinfo.h \
612 /usr/include/qt5/QtWidgets/QWidget \
613 /usr/include/qt5/QtWidgets/qwidget.h \
614 /usr/include/qt5/QtGui/qwindowdefs.h \
615 /usr/include/qt5/QtCore/qobjectdefs.h \
616 /usr/include/qt5/QtCore/qnamespace.h \
617 /usr/include/qt5/QtCore/qobjectdefs_impl.h \
618 /usr/include/qt5/QtGui/qwindowdefs_win.h \
619 /usr/include/qt5/QtCore/qobject.h \
620 /usr/include/qt5/QtCore/qstring.h \
621 /usr/include/qt5/QtCore/qchar.h \
622 /usr/include/qt5/QtCore/qbytearray.h \
623 /usr/include/qt5/QtCore/qrefcount.h \
624 /usr/include/qt5/QtCore/qarraydata.h \
625 /usr/include/qt5/QtCore/qstringbuilder.h \
626 /usr/include/qt5/QtCore/qlist.h \
627 /usr/include/qt5/QtCore/qalgorithms.h \
628 /usr/include/qt5/QtCore/qiterator.h \
629 /usr/include/qt5/QtCore/qcoreevent.h \
630 /usr/include/qt5/QtCore/qscopedpointer.h \
631 /usr/include/qt5/QtCore/qmetatype.h \
632 /usr/include/qt5/QtCore/qvarlengtharray.h \
633 /usr/include/qt5/QtCore/qcontainerfwd.h \
634 /usr/include/qt5/QtCore/qisenum.h \
635 /usr/include/qt5/QtCore/qobject_impl.h \
636 /usr/include/qt5/QtCore/qmargins.h \
637 /usr/include/qt5/QtCore/qrect.h \
638 /usr/include/qt5/QtCore/qsize.h \
639 /usr/include/qt5/QtCore/qpoint.h \
640 /usr/include/qt5/QtGui/qpaintdevice.h \
641 /usr/include/qt5/QtGui/qpalette.h \
642 /usr/include/qt5/QtGui/qcolor.h \
643 /usr/include/qt5/QtGui/qrgb.h \
644 /usr/include/qt5/QtCore/qstringlist.h \
645 /usr/include/qt5/QtCore/qdatastream.h \
646 /usr/include/qt5/QtCore/qiodevice.h \
647 /usr/include/qt5/QtCore/qpair.h \
648 /usr/include/qt5/QtCore/qregexp.h \
649 /usr/include/qt5/QtCore/qstringmatcher.h \
650 /usr/include/qt5/QtGui/qbrush.h \
651 /usr/include/qt5/QtCore/qvector.h \
652 /usr/include/qt5/QtGui/qmatrix.h \
653 /usr/include/qt5/QtGui/qpolygon.h \
654 /usr/include/qt5/QtGui/qregion.h \
655 /usr/include/qt5/QtCore/qline.h \
656 /usr/include/qt5/QtGui/qtransform.h \
657 /usr/include/qt5/QtGui/qpainterpath.h \
658 /usr/include/qt5/QtGui/qimage.h \
659 /usr/include/qt5/QtGui/qpixmap.h \
660 /usr/include/qt5/QtCore/qsharedpointer.h \
661 /usr/include/qt5/QtCore/qshareddata.h \
662 /usr/include/qt5/QtCore/qsharedpointer_impl.h \
663 /usr/include/qt5/QtCore/qhash.h \
664 /usr/include/qt5/QtGui/qfont.h \
665 /usr/include/qt5/QtGui/qfontmetrics.h \
666 /usr/include/qt5/QtGui/qfontinfo.h \
667 /usr/include/qt5/QtWidgets/qsizepolicy.h \
668 /usr/include/qt5/QtGui/qcursor.h \
669 /usr/include/qt5/QtGui/qkeysequence.h \
670 /usr/include/qt5/QtGui/qevent.h \
671 /usr/include/qt5/QtCore/qvariant.h \
672 /usr/include/qt5/QtCore/qmap.h \
673 /usr/include/qt5/QtCore/qdebug.h \
674 /usr/include/qt5/QtCore/qtextstream.h \
675 /usr/include/qt5/QtCore/qlocale.h \
676 /usr/include/qt5/QtCore/qset.h \
677 /usr/include/qt5/QtCore/qcontiguouscache.h \
678 /usr/include/qt5/QtCore/qurl.h \
679 /usr/include/qt5/QtCore/qurlquery.h \
680 /usr/include/qt5/QtCore/qfile.h \
681 /usr/include/qt5/QtCore/qfiledevice.h \
682 /usr/include/qt5/QtGui/qvector2d.h \
683 /usr/include/qt5/QtGui/qtouchdevice.h \
684 /usr/include/qt5/QtWidgets/QLabel \
685 /usr/include/qt5/QtWidgets/qlabel.h \
686 /usr/include/qt5/QtWidgets/qframe.h \
687 /usr/include/qt5/QtWidgets/QHBoxLayout \
688 /usr/include/qt5/QtWidgets/qboxlayout.h \
689 /usr/include/qt5/QtWidgets/qlayout.h \
690 /usr/include/qt5/QtWidgets/qlayoutitem.h \
691 /usr/include/qt5/QtWidgets/qgridlayout.h \
692 /usr/include/qt5/QtWidgets/QVBoxLayout \
693 /usr/include/qt5/QtWidgets/QLineEdit \
694 /usr/include/qt5/QtWidgets/qlineedit.h \
695 /usr/include/qt5/QtGui/qtextcursor.h \
696 /usr/include/qt5/QtGui/qtextformat.h \
697 /usr/include/qt5/QtGui/qpen.h \
698 /usr/include/qt5/QtGui/qtextoption.h \
699 /usr/include/qt5/QtGui/QRegExpValidator \
700 /usr/include/qt5/QtGui/qvalidator.h \
701 /usr/include/qt5/QtCore/qregularexpression.h \
702 /usr/include/qt5/lppmon/parameterdump/tcpackettosend.h \
703 /usr/include/qt5/QtCore/QObject \
704 /usr/include/qt5/lppmon/parameterdump/parameterdump_global.h \
705 ../../DEV_PLE/header/TC_types.h \
706 ../../DEV_PLE/header/ccsds_types.h \
707 arbitrarytime.h
708 /usr/lib64/qt5/bin/moc $(DEFINES) $(INCPATH) -I/usr/lib/gcc/include/c++/4.8.2 -I/usr/lib/gcc/include/c++/4.8.2/x86_64-redhat-linux -I/usr/lib/gcc/include/c++/4.8.2/backward -I/usr/lib/gcc/x86_64-redhat-linux/4.8.2/include -I/usr/local/include -I/usr/include arbitrarytime.h -o moc_arbitrarytime.cpp
709
710 compiler_moc_source_make_all:
711 compiler_moc_source_clean:
712 compiler_uic_make_all:
713 compiler_uic_clean:
714 compiler_yacc_decl_make_all:
715 compiler_yacc_decl_clean:
716 compiler_yacc_impl_make_all:
717 compiler_yacc_impl_clean:
718 compiler_lex_make_all:
719 compiler_lex_clean:
720 compiler_clean: compiler_moc_header_clean
721
722 ####### Compile
723
724 systemtime.o: systemtime.cpp systemtime.h \
725 paulcommon_global.h \
726 /usr/include/qt5/QtCore/qglobal.h \
727 /usr/include/qt5/QtCore/qconfig.h \
728 /usr/include/qt5/QtCore/qconfig-64.h \
729 /usr/include/qt5/QtCore/qfeatures.h \
730 /usr/include/qt5/QtCore/qsystemdetection.h \
731 /usr/include/qt5/QtCore/qprocessordetection.h \
732 /usr/include/qt5/QtCore/qcompilerdetection.h \
733 /usr/include/qt5/QtCore/qglobalstatic.h \
734 /usr/include/qt5/QtCore/qatomic.h \
735 /usr/include/qt5/QtCore/qbasicatomic.h \
736 /usr/include/qt5/QtCore/qatomic_bootstrap.h \
737 /usr/include/qt5/QtCore/qgenericatomic.h \
738 /usr/include/qt5/QtCore/qatomic_msvc.h \
739 /usr/include/qt5/QtCore/qatomic_integrity.h \
740 /usr/include/qt5/QtCore/qoldbasicatomic.h \
741 /usr/include/qt5/QtCore/qatomic_vxworks.h \
742 /usr/include/qt5/QtCore/qatomic_power.h \
743 /usr/include/qt5/QtCore/qatomic_alpha.h \
744 /usr/include/qt5/QtCore/qatomic_armv7.h \
745 /usr/include/qt5/QtCore/qatomic_armv6.h \
746 /usr/include/qt5/QtCore/qatomic_armv5.h \
747 /usr/include/qt5/QtCore/qatomic_bfin.h \
748 /usr/include/qt5/QtCore/qatomic_ia64.h \
749 /usr/include/qt5/QtCore/qatomic_mips.h \
750 /usr/include/qt5/QtCore/qatomic_s390.h \
751 /usr/include/qt5/QtCore/qatomic_sh4a.h \
752 /usr/include/qt5/QtCore/qatomic_sparc.h \
753 /usr/include/qt5/QtCore/qatomic_x86.h \
754 /usr/include/qt5/QtCore/qatomic_cxx11.h \
755 /usr/include/qt5/QtCore/qatomic_gcc.h \
756 /usr/include/qt5/QtCore/qatomic_unix.h \
757 /usr/include/qt5/QtCore/qmutex.h \
758 /usr/include/qt5/QtCore/qlogging.h \
759 /usr/include/qt5/QtCore/qflags.h \
760 /usr/include/qt5/QtCore/qtypeinfo.h \
761 /usr/include/qt5/QtCore/qtypetraits.h \
762 /usr/include/qt5/QtCore/qsysinfo.h \
763 /usr/include/qt5/QtWidgets/QWidget \
764 /usr/include/qt5/QtWidgets/qwidget.h \
765 /usr/include/qt5/QtGui/qwindowdefs.h \
766 /usr/include/qt5/QtCore/qobjectdefs.h \
767 /usr/include/qt5/QtCore/qnamespace.h \
768 /usr/include/qt5/QtCore/qobjectdefs_impl.h \
769 /usr/include/qt5/QtGui/qwindowdefs_win.h \
770 /usr/include/qt5/QtCore/qobject.h \
771 /usr/include/qt5/QtCore/qstring.h \
772 /usr/include/qt5/QtCore/qchar.h \
773 /usr/include/qt5/QtCore/qbytearray.h \
774 /usr/include/qt5/QtCore/qrefcount.h \
775 /usr/include/qt5/QtCore/qarraydata.h \
776 /usr/include/qt5/QtCore/qstringbuilder.h \
777 /usr/include/qt5/QtCore/qlist.h \
778 /usr/include/qt5/QtCore/qalgorithms.h \
779 /usr/include/qt5/QtCore/qiterator.h \
780 /usr/include/qt5/QtCore/qcoreevent.h \
781 /usr/include/qt5/QtCore/qscopedpointer.h \
782 /usr/include/qt5/QtCore/qmetatype.h \
783 /usr/include/qt5/QtCore/qvarlengtharray.h \
784 /usr/include/qt5/QtCore/qcontainerfwd.h \
785 /usr/include/qt5/QtCore/qisenum.h \
786 /usr/include/qt5/QtCore/qobject_impl.h \
787 /usr/include/qt5/QtCore/qmargins.h \
788 /usr/include/qt5/QtCore/qrect.h \
789 /usr/include/qt5/QtCore/qsize.h \
790 /usr/include/qt5/QtCore/qpoint.h \
791 /usr/include/qt5/QtGui/qpaintdevice.h \
792 /usr/include/qt5/QtGui/qpalette.h \
793 /usr/include/qt5/QtGui/qcolor.h \
794 /usr/include/qt5/QtGui/qrgb.h \
795 /usr/include/qt5/QtCore/qstringlist.h \
796 /usr/include/qt5/QtCore/qdatastream.h \
797 /usr/include/qt5/QtCore/qiodevice.h \
798 /usr/include/qt5/QtCore/qpair.h \
799 /usr/include/qt5/QtCore/qregexp.h \
800 /usr/include/qt5/QtCore/qstringmatcher.h \
801 /usr/include/qt5/QtGui/qbrush.h \
802 /usr/include/qt5/QtCore/qvector.h \
803 /usr/include/qt5/QtGui/qmatrix.h \
804 /usr/include/qt5/QtGui/qpolygon.h \
805 /usr/include/qt5/QtGui/qregion.h \
806 /usr/include/qt5/QtCore/qline.h \
807 /usr/include/qt5/QtGui/qtransform.h \
808 /usr/include/qt5/QtGui/qpainterpath.h \
809 /usr/include/qt5/QtGui/qimage.h \
810 /usr/include/qt5/QtGui/qpixmap.h \
811 /usr/include/qt5/QtCore/qsharedpointer.h \
812 /usr/include/qt5/QtCore/qshareddata.h \
813 /usr/include/qt5/QtCore/qsharedpointer_impl.h \
814 /usr/include/qt5/QtCore/qhash.h \
815 /usr/include/qt5/QtGui/qfont.h \
816 /usr/include/qt5/QtGui/qfontmetrics.h \
817 /usr/include/qt5/QtGui/qfontinfo.h \
818 /usr/include/qt5/QtWidgets/qsizepolicy.h \
819 /usr/include/qt5/QtGui/qcursor.h \
820 /usr/include/qt5/QtGui/qkeysequence.h \
821 /usr/include/qt5/QtGui/qevent.h \
822 /usr/include/qt5/QtCore/qvariant.h \
823 /usr/include/qt5/QtCore/qmap.h \
824 /usr/include/qt5/QtCore/qdebug.h \
825 /usr/include/qt5/QtCore/qtextstream.h \
826 /usr/include/qt5/QtCore/qlocale.h \
827 /usr/include/qt5/QtCore/qset.h \
828 /usr/include/qt5/QtCore/qcontiguouscache.h \
829 /usr/include/qt5/QtCore/qurl.h \
830 /usr/include/qt5/QtCore/qurlquery.h \
831 /usr/include/qt5/QtCore/qfile.h \
832 /usr/include/qt5/QtCore/qfiledevice.h \
833 /usr/include/qt5/QtGui/qvector2d.h \
834 /usr/include/qt5/QtGui/qtouchdevice.h \
835 /usr/include/qt5/QtWidgets/QLabel \
836 /usr/include/qt5/QtWidgets/qlabel.h \
837 /usr/include/qt5/QtWidgets/qframe.h \
838 /usr/include/qt5/QtWidgets/QGridLayout \
839 /usr/include/qt5/QtWidgets/qgridlayout.h \
840 /usr/include/qt5/QtWidgets/qlayout.h \
841 /usr/include/qt5/QtWidgets/qlayoutitem.h \
842 /usr/include/qt5/QtWidgets/qboxlayout.h \
843 /usr/include/qt5/QtWidgets/QLineEdit \
844 /usr/include/qt5/QtWidgets/qlineedit.h \
845 /usr/include/qt5/QtGui/qtextcursor.h \
846 /usr/include/qt5/QtGui/qtextformat.h \
847 /usr/include/qt5/QtGui/qpen.h \
848 /usr/include/qt5/QtGui/qtextoption.h \
849 /usr/include/qt5/QtGui/QRegExpValidator \
850 /usr/include/qt5/QtGui/qvalidator.h \
851 /usr/include/qt5/QtCore/qregularexpression.h \
852 arbitrarytime.h \
853 /usr/include/qt5/QtWidgets/QHBoxLayout \
854 /usr/include/qt5/QtWidgets/QVBoxLayout \
855 /usr/include/qt5/lppmon/parameterdump/tcpackettosend.h \
856 /usr/include/qt5/QtCore/QObject \
857 /usr/include/qt5/lppmon/parameterdump/parameterdump_global.h \
858 ../../DEV_PLE/header/TC_types.h \
859 ../../DEV_PLE/header/ccsds_types.h
860 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o systemtime.o systemtime.cpp
861
862 arbitrarytime.o: arbitrarytime.cpp arbitrarytime.h \
863 paulcommon_global.h \
864 /usr/include/qt5/QtCore/qglobal.h \
865 /usr/include/qt5/QtCore/qconfig.h \
866 /usr/include/qt5/QtCore/qconfig-64.h \
867 /usr/include/qt5/QtCore/qfeatures.h \
868 /usr/include/qt5/QtCore/qsystemdetection.h \
869 /usr/include/qt5/QtCore/qprocessordetection.h \
870 /usr/include/qt5/QtCore/qcompilerdetection.h \
871 /usr/include/qt5/QtCore/qglobalstatic.h \
872 /usr/include/qt5/QtCore/qatomic.h \
873 /usr/include/qt5/QtCore/qbasicatomic.h \
874 /usr/include/qt5/QtCore/qatomic_bootstrap.h \
875 /usr/include/qt5/QtCore/qgenericatomic.h \
876 /usr/include/qt5/QtCore/qatomic_msvc.h \
877 /usr/include/qt5/QtCore/qatomic_integrity.h \
878 /usr/include/qt5/QtCore/qoldbasicatomic.h \
879 /usr/include/qt5/QtCore/qatomic_vxworks.h \
880 /usr/include/qt5/QtCore/qatomic_power.h \
881 /usr/include/qt5/QtCore/qatomic_alpha.h \
882 /usr/include/qt5/QtCore/qatomic_armv7.h \
883 /usr/include/qt5/QtCore/qatomic_armv6.h \
884 /usr/include/qt5/QtCore/qatomic_armv5.h \
885 /usr/include/qt5/QtCore/qatomic_bfin.h \
886 /usr/include/qt5/QtCore/qatomic_ia64.h \
887 /usr/include/qt5/QtCore/qatomic_mips.h \
888 /usr/include/qt5/QtCore/qatomic_s390.h \
889 /usr/include/qt5/QtCore/qatomic_sh4a.h \
890 /usr/include/qt5/QtCore/qatomic_sparc.h \
891 /usr/include/qt5/QtCore/qatomic_x86.h \
892 /usr/include/qt5/QtCore/qatomic_cxx11.h \
893 /usr/include/qt5/QtCore/qatomic_gcc.h \
894 /usr/include/qt5/QtCore/qatomic_unix.h \
895 /usr/include/qt5/QtCore/qmutex.h \
896 /usr/include/qt5/QtCore/qlogging.h \
897 /usr/include/qt5/QtCore/qflags.h \
898 /usr/include/qt5/QtCore/qtypeinfo.h \
899 /usr/include/qt5/QtCore/qtypetraits.h \
900 /usr/include/qt5/QtCore/qsysinfo.h \
901 /usr/include/qt5/QtWidgets/QWidget \
902 /usr/include/qt5/QtWidgets/qwidget.h \
903 /usr/include/qt5/QtGui/qwindowdefs.h \
904 /usr/include/qt5/QtCore/qobjectdefs.h \
905 /usr/include/qt5/QtCore/qnamespace.h \
906 /usr/include/qt5/QtCore/qobjectdefs_impl.h \
907 /usr/include/qt5/QtGui/qwindowdefs_win.h \
908 /usr/include/qt5/QtCore/qobject.h \
909 /usr/include/qt5/QtCore/qstring.h \
910 /usr/include/qt5/QtCore/qchar.h \
911 /usr/include/qt5/QtCore/qbytearray.h \
912 /usr/include/qt5/QtCore/qrefcount.h \
913 /usr/include/qt5/QtCore/qarraydata.h \
914 /usr/include/qt5/QtCore/qstringbuilder.h \
915 /usr/include/qt5/QtCore/qlist.h \
916 /usr/include/qt5/QtCore/qalgorithms.h \
917 /usr/include/qt5/QtCore/qiterator.h \
918 /usr/include/qt5/QtCore/qcoreevent.h \
919 /usr/include/qt5/QtCore/qscopedpointer.h \
920 /usr/include/qt5/QtCore/qmetatype.h \
921 /usr/include/qt5/QtCore/qvarlengtharray.h \
922 /usr/include/qt5/QtCore/qcontainerfwd.h \
923 /usr/include/qt5/QtCore/qisenum.h \
924 /usr/include/qt5/QtCore/qobject_impl.h \
925 /usr/include/qt5/QtCore/qmargins.h \
926 /usr/include/qt5/QtCore/qrect.h \
927 /usr/include/qt5/QtCore/qsize.h \
928 /usr/include/qt5/QtCore/qpoint.h \
929 /usr/include/qt5/QtGui/qpaintdevice.h \
930 /usr/include/qt5/QtGui/qpalette.h \
931 /usr/include/qt5/QtGui/qcolor.h \
932 /usr/include/qt5/QtGui/qrgb.h \
933 /usr/include/qt5/QtCore/qstringlist.h \
934 /usr/include/qt5/QtCore/qdatastream.h \
935 /usr/include/qt5/QtCore/qiodevice.h \
936 /usr/include/qt5/QtCore/qpair.h \
937 /usr/include/qt5/QtCore/qregexp.h \
938 /usr/include/qt5/QtCore/qstringmatcher.h \
939 /usr/include/qt5/QtGui/qbrush.h \
940 /usr/include/qt5/QtCore/qvector.h \
941 /usr/include/qt5/QtGui/qmatrix.h \
942 /usr/include/qt5/QtGui/qpolygon.h \
943 /usr/include/qt5/QtGui/qregion.h \
944 /usr/include/qt5/QtCore/qline.h \
945 /usr/include/qt5/QtGui/qtransform.h \
946 /usr/include/qt5/QtGui/qpainterpath.h \
947 /usr/include/qt5/QtGui/qimage.h \
948 /usr/include/qt5/QtGui/qpixmap.h \
949 /usr/include/qt5/QtCore/qsharedpointer.h \
950 /usr/include/qt5/QtCore/qshareddata.h \
951 /usr/include/qt5/QtCore/qsharedpointer_impl.h \
952 /usr/include/qt5/QtCore/qhash.h \
953 /usr/include/qt5/QtGui/qfont.h \
954 /usr/include/qt5/QtGui/qfontmetrics.h \
955 /usr/include/qt5/QtGui/qfontinfo.h \
956 /usr/include/qt5/QtWidgets/qsizepolicy.h \
957 /usr/include/qt5/QtGui/qcursor.h \
958 /usr/include/qt5/QtGui/qkeysequence.h \
959 /usr/include/qt5/QtGui/qevent.h \
960 /usr/include/qt5/QtCore/qvariant.h \
961 /usr/include/qt5/QtCore/qmap.h \
962 /usr/include/qt5/QtCore/qdebug.h \
963 /usr/include/qt5/QtCore/qtextstream.h \
964 /usr/include/qt5/QtCore/qlocale.h \
965 /usr/include/qt5/QtCore/qset.h \
966 /usr/include/qt5/QtCore/qcontiguouscache.h \
967 /usr/include/qt5/QtCore/qurl.h \
968 /usr/include/qt5/QtCore/qurlquery.h \
969 /usr/include/qt5/QtCore/qfile.h \
970 /usr/include/qt5/QtCore/qfiledevice.h \
971 /usr/include/qt5/QtGui/qvector2d.h \
972 /usr/include/qt5/QtGui/qtouchdevice.h \
973 /usr/include/qt5/QtWidgets/QLabel \
974 /usr/include/qt5/QtWidgets/qlabel.h \
975 /usr/include/qt5/QtWidgets/qframe.h \
976 /usr/include/qt5/QtWidgets/QHBoxLayout \
977 /usr/include/qt5/QtWidgets/qboxlayout.h \
978 /usr/include/qt5/QtWidgets/qlayout.h \
979 /usr/include/qt5/QtWidgets/qlayoutitem.h \
980 /usr/include/qt5/QtWidgets/qgridlayout.h \
981 /usr/include/qt5/QtWidgets/QVBoxLayout \
982 /usr/include/qt5/QtWidgets/QLineEdit \
983 /usr/include/qt5/QtWidgets/qlineedit.h \
984 /usr/include/qt5/QtGui/qtextcursor.h \
985 /usr/include/qt5/QtGui/qtextformat.h \
986 /usr/include/qt5/QtGui/qpen.h \
987 /usr/include/qt5/QtGui/qtextoption.h \
988 /usr/include/qt5/QtGui/QRegExpValidator \
989 /usr/include/qt5/QtGui/qvalidator.h \
990 /usr/include/qt5/QtCore/qregularexpression.h \
991 /usr/include/qt5/lppmon/parameterdump/tcpackettosend.h \
992 /usr/include/qt5/QtCore/QObject \
993 /usr/include/qt5/lppmon/parameterdump/parameterdump_global.h \
994 ../../DEV_PLE/header/TC_types.h \
995 ../../DEV_PLE/header/ccsds_types.h
996 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o arbitrarytime.o arbitrarytime.cpp
997
998 moc_systemtime.o: moc_systemtime.cpp
999 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_systemtime.o moc_systemtime.cpp
1000
1001 moc_arbitrarytime.o: moc_arbitrarytime.cpp
1002 $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_arbitrarytime.o moc_arbitrarytime.cpp
1003
1004 ####### Install
1005
1006 install_header: first FORCE
1007 @test -d $(INSTALL_ROOT)/usr/include/qt5/lppmon/paulcommon || mkdir -p $(INSTALL_ROOT)/usr/include/qt5/lppmon/paulcommon
1008 -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/paulcommon/systemtime.h $(INSTALL_ROOT)/usr/include/qt5/lppmon/paulcommon/
1009 -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/paulcommon/paulcommon_global.h $(INSTALL_ROOT)/usr/include/qt5/lppmon/paulcommon/
1010 -$(INSTALL_FILE) /opt/LPPMON_PLUGINS_PAUL/paulcommon/arbitrarytime.h $(INSTALL_ROOT)/usr/include/qt5/lppmon/paulcommon/
1011
1012 uninstall_header: FORCE
1013 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/qt5/lppmon/paulcommon/arbitrarytime.h
1014 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/qt5/lppmon/paulcommon/paulcommon_global.h
1015 -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/qt5/lppmon/paulcommon/systemtime.h
1016 -$(DEL_DIR) $(INSTALL_ROOT)/usr/include/qt5/lppmon/paulcommon/
1017
1018
1019 install_target: first FORCE
1020 @test -d $(INSTALL_ROOT)/usr/lib64 || mkdir -p $(INSTALL_ROOT)/usr/lib64
1021 -$(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET)"
1022 -$(STRIP) --strip-unneeded "$(INSTALL_ROOT)/usr/lib64/$(TARGET)"
1023 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)"
1024 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)"
1025 -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)"
1026
1027 uninstall_target: FORCE
1028 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET)"
1029 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)"
1030 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)"
1031 -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)"
1032 -$(DEL_DIR) $(INSTALL_ROOT)/usr/lib64/
1033
1034
1035 install: install_header install_target FORCE
1036
1037 uninstall: uninstall_header uninstall_target FORCE
1038
1039 FORCE:
1040
@@ -1,10 +1,11
1 syntax: glob
1 syntax: glob
2 *.o
2 *.o
3 *.so
3 *.so
4 *.so.1
4 *.so.1
5 *.so.1.0
5 *.so.1.0
6 *.so.1.0.0
6 *.so.1.0.0
7 *~
7 *~
8 *moc_*
8 *moc_*
9 *.pro.user*
9
10
10 gse_lesia/lfrsgse
11 gse_lesia/lfrsgse
@@ -1,398 +1,398
1 <?xml version="1.0" encoding="UTF-8"?>
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE QtCreatorProject>
2 <!DOCTYPE QtCreatorProject>
3 <!-- Written by QtCreator 3.0.0, 2014-02-06T15:45:50. -->
3 <!-- Written by QtCreator 3.0.0, 2014-02-17T16:42:28. -->
4 <qtcreator>
4 <qtcreator>
5 <data>
5 <data>
6 <variable>ProjectExplorer.Project.ActiveTarget</variable>
6 <variable>ProjectExplorer.Project.ActiveTarget</variable>
7 <value type="int">1</value>
7 <value type="int">1</value>
8 </data>
8 </data>
9 <data>
9 <data>
10 <variable>ProjectExplorer.Project.EditorSettings</variable>
10 <variable>ProjectExplorer.Project.EditorSettings</variable>
11 <valuemap type="QVariantMap">
11 <valuemap type="QVariantMap">
12 <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
12 <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
13 <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
13 <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
14 <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
14 <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
15 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
15 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
16 <value type="QString" key="language">Cpp</value>
16 <value type="QString" key="language">Cpp</value>
17 <valuemap type="QVariantMap" key="value">
17 <valuemap type="QVariantMap" key="value">
18 <value type="QByteArray" key="CurrentPreferences">CppGlobal</value>
18 <value type="QByteArray" key="CurrentPreferences">CppGlobal</value>
19 </valuemap>
19 </valuemap>
20 </valuemap>
20 </valuemap>
21 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
21 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
22 <value type="QString" key="language">QmlJS</value>
22 <value type="QString" key="language">QmlJS</value>
23 <valuemap type="QVariantMap" key="value">
23 <valuemap type="QVariantMap" key="value">
24 <value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
24 <value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
25 </valuemap>
25 </valuemap>
26 </valuemap>
26 </valuemap>
27 <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
27 <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
28 <value type="QByteArray" key="EditorConfiguration.Codec">System</value>
28 <value type="QByteArray" key="EditorConfiguration.Codec">System</value>
29 <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
29 <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
30 <value type="int" key="EditorConfiguration.IndentSize">4</value>
30 <value type="int" key="EditorConfiguration.IndentSize">4</value>
31 <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
31 <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
32 <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
32 <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
33 <value type="int" key="EditorConfiguration.PaddingMode">1</value>
33 <value type="int" key="EditorConfiguration.PaddingMode">1</value>
34 <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
34 <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
35 <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
35 <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
36 <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
36 <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
37 <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
37 <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
38 <value type="int" key="EditorConfiguration.TabSize">8</value>
38 <value type="int" key="EditorConfiguration.TabSize">8</value>
39 <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
39 <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
40 <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
40 <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
41 <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
41 <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
42 <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
42 <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
43 <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
43 <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
44 <value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
44 <value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
45 </valuemap>
45 </valuemap>
46 </data>
46 </data>
47 <data>
47 <data>
48 <variable>ProjectExplorer.Project.PluginSettings</variable>
48 <variable>ProjectExplorer.Project.PluginSettings</variable>
49 <valuemap type="QVariantMap"/>
49 <valuemap type="QVariantMap"/>
50 </data>
50 </data>
51 <data>
51 <data>
52 <variable>ProjectExplorer.Project.Target.0</variable>
52 <variable>ProjectExplorer.Project.Target.0</variable>
53 <valuemap type="QVariantMap">
53 <valuemap type="QVariantMap">
54 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop-Qt 4.8.2 in PATH (System)</value>
54 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop-Qt 4.8.2 in PATH (System)</value>
55 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop-Qt 4.8.2 in PATH (System)</value>
55 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop-Qt 4.8.2 in PATH (System)</value>
56 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{5289e843-9ef2-45ce-88c6-ad27d8e08def}</value>
56 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{5289e843-9ef2-45ce-88c6-ad27d8e08def}</value>
57 <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
57 <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
58 <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
58 <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
59 <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
59 <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
60 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
60 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
61 <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL/gse_lesia</value>
61 <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL/gse_lesia</value>
62 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
62 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
63 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
63 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
64 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
64 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
65 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
65 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
66 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
66 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
67 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
67 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
68 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
68 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
69 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">false</value>
69 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">false</value>
70 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
70 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
71 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
71 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
72 </valuemap>
72 </valuemap>
73 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
73 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
74 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
74 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
75 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
75 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
76 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
76 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
77 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
77 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
78 <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
78 <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
79 <value type="QString">-w</value>
79 <value type="QString">-w</value>
80 <value type="QString">-r</value>
80 <value type="QString">-r</value>
81 </valuelist>
81 </valuelist>
82 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
82 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
83 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">-r -w </value>
83 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">-r -w </value>
84 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
84 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
85 </valuemap>
85 </valuemap>
86 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
86 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
87 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
87 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
88 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
88 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
89 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
89 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
90 </valuemap>
90 </valuemap>
91 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
91 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
92 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
92 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
93 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
93 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
94 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
94 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
95 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
95 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
96 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
96 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
97 <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
97 <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
98 <value type="QString">-w</value>
98 <value type="QString">-w</value>
99 <value type="QString">-r</value>
99 <value type="QString">-r</value>
100 </valuelist>
100 </valuelist>
101 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
101 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
102 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">-r -w clean</value>
102 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">-r -w clean</value>
103 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
103 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
104 </valuemap>
104 </valuemap>
105 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
105 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
106 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
106 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
107 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
107 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
108 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
108 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
109 </valuemap>
109 </valuemap>
110 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
110 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
111 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
111 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
112 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
112 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
113 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Release</value>
113 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Release</value>
114 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
114 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
115 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
115 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
116 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
116 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
117 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
117 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
118 </valuemap>
118 </valuemap>
119 <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">1</value>
119 <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">1</value>
120 <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
120 <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
121 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
121 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
122 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
122 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
123 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
123 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
124 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
124 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
125 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
125 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
126 </valuemap>
126 </valuemap>
127 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
127 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
128 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value>
128 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value>
129 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
129 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
130 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
130 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
131 </valuemap>
131 </valuemap>
132 <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
132 <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
133 <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
133 <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
134 <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
134 <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
135 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
135 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
136 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
136 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
137 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
137 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
138 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
138 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
139 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
139 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
140 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
140 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
141 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
141 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
142 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
142 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
143 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
143 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
144 <value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
144 <value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
145 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
145 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
146 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
146 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
147 <value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
147 <value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
148 <value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
148 <value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
149 <value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
149 <value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
150 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
150 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
151 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
151 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
152 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
152 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
153 <value type="int">0</value>
153 <value type="int">0</value>
154 <value type="int">1</value>
154 <value type="int">1</value>
155 <value type="int">2</value>
155 <value type="int">2</value>
156 <value type="int">3</value>
156 <value type="int">3</value>
157 <value type="int">4</value>
157 <value type="int">4</value>
158 <value type="int">5</value>
158 <value type="int">5</value>
159 <value type="int">6</value>
159 <value type="int">6</value>
160 <value type="int">7</value>
160 <value type="int">7</value>
161 <value type="int">8</value>
161 <value type="int">8</value>
162 <value type="int">9</value>
162 <value type="int">9</value>
163 <value type="int">10</value>
163 <value type="int">10</value>
164 <value type="int">11</value>
164 <value type="int">11</value>
165 <value type="int">12</value>
165 <value type="int">12</value>
166 <value type="int">13</value>
166 <value type="int">13</value>
167 <value type="int">14</value>
167 <value type="int">14</value>
168 </valuelist>
168 </valuelist>
169 <value type="int" key="PE.EnvironmentAspect.Base">2</value>
169 <value type="int" key="PE.EnvironmentAspect.Base">2</value>
170 <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
170 <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
171 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">gselesia</value>
171 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">gselesia</value>
172 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
172 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
173 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:/opt/LPPMON_PLUGINS_PAUL/gse_lesia/gselesia.pro</value>
173 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:/opt/LPPMON_PLUGINS_PAUL/gse_lesia/gselesia.pro</value>
174 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
174 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
175 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">gselesia.pro</value>
175 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">gselesia.pro</value>
176 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
176 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
177 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
177 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
178 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
178 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
179 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
179 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
180 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
180 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
181 <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">false</value>
181 <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">false</value>
182 <value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
182 <value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
183 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
183 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
184 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value>
184 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value>
185 </valuemap>
185 </valuemap>
186 <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
186 <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
187 </valuemap>
187 </valuemap>
188 </data>
188 </data>
189 <data>
189 <data>
190 <variable>ProjectExplorer.Project.Target.1</variable>
190 <variable>ProjectExplorer.Project.Target.1</variable>
191 <valuemap type="QVariantMap">
191 <valuemap type="QVariantMap">
192 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">QT5</value>
192 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">QT5</value>
193 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">QT5</value>
193 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">QT5</value>
194 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{5987874a-1025-45de-914b-5774064481bf}</value>
194 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{5987874a-1025-45de-914b-5774064481bf}</value>
195 <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">1</value>
195 <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">1</value>
196 <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
196 <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
197 <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
197 <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
198 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
198 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
199 <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL/gse_lesia</value>
199 <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL/gse_lesia</value>
200 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
200 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
201 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
201 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
202 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
202 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
203 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
203 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
204 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
204 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
205 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
205 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
206 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
206 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
207 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
207 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
208 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
208 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
209 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
209 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
210 </valuemap>
210 </valuemap>
211 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
211 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
212 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
212 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
213 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
213 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
214 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
214 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
215 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
215 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
216 <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
216 <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
217 <value type="QString">-w</value>
217 <value type="QString">-w</value>
218 <value type="QString">-r</value>
218 <value type="QString">-r</value>
219 </valuelist>
219 </valuelist>
220 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
220 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
221 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
221 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
222 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
222 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
223 </valuemap>
223 </valuemap>
224 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
224 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
225 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
225 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
226 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
226 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
227 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
227 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
228 </valuemap>
228 </valuemap>
229 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
229 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
230 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
230 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
231 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
231 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
232 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
232 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
233 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
233 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
234 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
234 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
235 <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
235 <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
236 <value type="QString">-w</value>
236 <value type="QString">-w</value>
237 <value type="QString">-r</value>
237 <value type="QString">-r</value>
238 </valuelist>
238 </valuelist>
239 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
239 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
240 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
240 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
241 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
241 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
242 </valuemap>
242 </valuemap>
243 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
243 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
244 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
244 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
245 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
245 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
246 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
246 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
247 </valuemap>
247 </valuemap>
248 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
248 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
249 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
249 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
250 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
250 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
251 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value>
251 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value>
252 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
252 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
253 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
253 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
254 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
254 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
255 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
255 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
256 </valuemap>
256 </valuemap>
257 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
257 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
258 <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL/gse_lesia</value>
258 <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL/gse_lesia</value>
259 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
259 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
260 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
260 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
261 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
261 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
262 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
262 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
263 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
263 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
264 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
264 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
265 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
265 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
266 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
266 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
267 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
267 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
268 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
268 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
269 </valuemap>
269 </valuemap>
270 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
270 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
271 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
271 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
272 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
272 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
273 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
273 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
274 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
274 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
275 <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
275 <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
276 <value type="QString">-w</value>
276 <value type="QString">-w</value>
277 <value type="QString">-r</value>
277 <value type="QString">-r</value>
278 </valuelist>
278 </valuelist>
279 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
279 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
280 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
280 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
281 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
281 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
282 </valuemap>
282 </valuemap>
283 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
283 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
284 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
284 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
285 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
285 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
286 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
286 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
287 </valuemap>
287 </valuemap>
288 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
288 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
289 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
289 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
290 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
290 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
291 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
291 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
292 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
292 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
293 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
293 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
294 <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
294 <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
295 <value type="QString">-w</value>
295 <value type="QString">-w</value>
296 <value type="QString">-r</value>
296 <value type="QString">-r</value>
297 </valuelist>
297 </valuelist>
298 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
298 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
299 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
299 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
300 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
300 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
301 </valuemap>
301 </valuemap>
302 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
302 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
303 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
303 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
304 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
304 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
305 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
305 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
306 </valuemap>
306 </valuemap>
307 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
307 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
308 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
308 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
309 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
309 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
310 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value>
310 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value>
311 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
311 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
312 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
312 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
313 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
313 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
314 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
314 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
315 </valuemap>
315 </valuemap>
316 <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
316 <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
317 <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
317 <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
318 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
318 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
319 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
319 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
320 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
320 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
321 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
321 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
322 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
322 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
323 </valuemap>
323 </valuemap>
324 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
324 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
325 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy locally</value>
325 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy locally</value>
326 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
326 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
327 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
327 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
328 </valuemap>
328 </valuemap>
329 <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
329 <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
330 <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
330 <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
331 <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
331 <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
332 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
332 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
333 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
333 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
334 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
334 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
335 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
335 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
336 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
336 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
337 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
337 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
338 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
338 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
339 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
339 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
340 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
340 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
341 <value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
341 <value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
342 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
342 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
343 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
343 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
344 <value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
344 <value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
345 <value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
345 <value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
346 <value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
346 <value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
347 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
347 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
348 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
348 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
349 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
349 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
350 <value type="int">0</value>
350 <value type="int">0</value>
351 <value type="int">1</value>
351 <value type="int">1</value>
352 <value type="int">2</value>
352 <value type="int">2</value>
353 <value type="int">3</value>
353 <value type="int">3</value>
354 <value type="int">4</value>
354 <value type="int">4</value>
355 <value type="int">5</value>
355 <value type="int">5</value>
356 <value type="int">6</value>
356 <value type="int">6</value>
357 <value type="int">7</value>
357 <value type="int">7</value>
358 <value type="int">8</value>
358 <value type="int">8</value>
359 <value type="int">9</value>
359 <value type="int">9</value>
360 <value type="int">10</value>
360 <value type="int">10</value>
361 <value type="int">11</value>
361 <value type="int">11</value>
362 <value type="int">12</value>
362 <value type="int">12</value>
363 <value type="int">13</value>
363 <value type="int">13</value>
364 <value type="int">14</value>
364 <value type="int">14</value>
365 </valuelist>
365 </valuelist>
366 <value type="int" key="PE.EnvironmentAspect.Base">2</value>
366 <value type="int" key="PE.EnvironmentAspect.Base">2</value>
367 <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
367 <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
368 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">gselesia</value>
368 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">gselesia</value>
369 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
369 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
370 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:/opt/LPPMON_PLUGINS_PAUL/gse_lesia/gselesia.pro</value>
370 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration:/opt/LPPMON_PLUGINS_PAUL/gse_lesia/gselesia.pro</value>
371 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
371 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value>
372 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">gselesia.pro</value>
372 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">gselesia.pro</value>
373 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
373 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value>
374 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
374 <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value>
375 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
375 <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value>
376 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
376 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
377 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
377 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
378 <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">false</value>
378 <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">false</value>
379 <value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
379 <value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
380 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
380 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
381 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
381 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
382 </valuemap>
382 </valuemap>
383 <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
383 <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
384 </valuemap>
384 </valuemap>
385 </data>
385 </data>
386 <data>
386 <data>
387 <variable>ProjectExplorer.Project.TargetCount</variable>
387 <variable>ProjectExplorer.Project.TargetCount</variable>
388 <value type="int">2</value>
388 <value type="int">2</value>
389 </data>
389 </data>
390 <data>
390 <data>
391 <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
391 <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
392 <value type="QByteArray">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value>
392 <value type="QByteArray">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value>
393 </data>
393 </data>
394 <data>
394 <data>
395 <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
395 <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
396 <value type="int">15</value>
396 <value type="int">15</value>
397 </data>
397 </data>
398 </qtcreator>
398 </qtcreator>
1 NO CONTENT: modified file, binary diff hidden
NO CONTENT: modified file, binary diff hidden
@@ -1,676 +1,730
1 #include "mainwindow.h"
1 #include "mainwindow.h"
2 #include <iostream>
2 #include <iostream>
3 #include <QNetworkInterface>
3 #include <QNetworkInterface>
4
4
5 MainWindow::MainWindow(QWidget *parent)
5 MainWindow::MainWindow(QWidget *parent)
6 : QMainWindow(parent)
6 : QMainWindow(parent)
7 {
7 {
8 parsingContinue = false;
8 parsingContinue = false;
9 totalOfBytes = 0;
9 totalOfBytes = 0;
10 totalOfPackets = 0;
10 totalOfPackets = 0;
11
11
12 spectraPacketNormalSpectrumF0 = new SpectraPacket(this, 128);
12 spectraPacketNormalSpectrumF0 = new SpectraPacket(this, 128);
13
13
14 //*********
14 //*********
15 // wfPacket
15 // wfPacket
16 wfPacketNormal[0] = new WFPacket(0, 2048);
16 wfPacketNormal[0] = new WFPacket(0, 2048);
17 wfPacketNormal[1] = new WFPacket(0, 2048);
17 wfPacketNormal[1] = new WFPacket(0, 2048);
18 wfPacketNormal[2] = new WFPacket(0, 2048);
18 wfPacketNormal[2] = new WFPacket(0, 2048);
19 wfPacketNormal[3] = new WFPacket(0, 2372);
19 wfPacketNormal[3] = new WFPacket(0, 2688);
20 wfPacketBurst = new WFPacket(0, 2372);
20 wfPacketBurst = new WFPacket(0, 2688);
21 wfPacketSBM1 = new WFPacket(0, 2372);
21 wfPacketSBM1 = new WFPacket(0, 2688);
22 wfPacketSBM2 = new WFPacket(0, 2372);
22 wfPacketSBM2 = new WFPacket(0, 2688);
23 wfPacketCWF_F3 = new WFPacket(0, 2688);
23
24
24 //****
25 //****
25 // XML
26 // XML
26 // xml handlers
27 // xml handlers
27 xmlHandler = new LFRXmlHandler();
28 xmlHandler = new LFRXmlHandler();
28 // xml sources
29 // xml sources
29 sourceTC = new QXmlInputSource();
30 sourceTC = new QXmlInputSource();
30 // xml writer
31 // xml writer
31 lfrXmlWriter = new LFRXmlWriter();
32 lfrXmlWriter = new LFRXmlWriter();
32 // setup xml parser for the echo bridge
33 // setup xml parser for the echo bridge
33 lfrXmlParser = new LFRXmlParser();
34 lfrXmlParser = new LFRXmlParser();
34
35
35 UI = new MainWindowUI();
36 UI = new MainWindowUI();
36 readSettings();
37 readSettings();
37 this->UI->serverTMEchoDialogBox->setIP(echoBridgeIP0, echoBridgeIP1, echoBridgeIP2, echoBridgeIP3);
38 this->UI->serverTMEchoDialogBox->setIP(echoBridgeIP0, echoBridgeIP1, echoBridgeIP2, echoBridgeIP3);
38
39
39 lfrXmlParser->generalCCSDSPacketStore = &this->generalCCSDSPacketStore;
40 lfrXmlParser->generalCCSDSPacketStore = &this->generalCCSDSPacketStore;
40
41
41 initSocketStatesList();
42 initSocketStatesList();
42
43
43 this->setCentralWidget(this->UI);
44 this->setCentralWidget(this->UI);
44 //this->setLayout(UI->layout());
45 //this->setLayout(UI->layout());
45
46
46 analyserSGSEServerTC = new QTcpServer();
47 analyserSGSEServerTC = new QTcpServer();
47 analyserSGSEServerTM = new QTcpServer();
48 analyserSGSEServerTM = new QTcpServer();
48
49
49 socketTC = NULL;
50 socketTC = NULL;
50 socketTM = NULL;
51 socketTM = NULL;
51 socketEchoServer = new QTcpSocket();
52 socketEchoServer = new QTcpSocket();
52
53
53 connect(this->UI->button_openServerTCTM, SIGNAL(clicked()), this, SLOT(listenOnTCTMPorts()));
54 connect(this->UI->button_openServerTCTM, SIGNAL(clicked()), this, SLOT(listenOnTCTMPorts()));
54 connect(this->UI->button_testServerTCTM, SIGNAL(clicked()), this, SLOT(testTCTMPorts()));
55 connect(this->UI->button_testServerTCTM, SIGNAL(clicked()), this, SLOT(testTCTMPorts()));
55 connect(this->UI->button_openSocketEchoServer, SIGNAL(clicked()), this, SLOT(openEchoServer()));
56 connect(this->UI->button_openSocketEchoServer, SIGNAL(clicked()), this, SLOT(openEchoServer()));
56 //
57 //
57 connect(this->analyserSGSEServerTC, SIGNAL(newConnection()), this, SLOT(newConnectionOnTCServer()));
58 connect(this->analyserSGSEServerTC, SIGNAL(newConnection()), this, SLOT(newConnectionOnTCServer()));
58 connect(this->analyserSGSEServerTM, SIGNAL(newConnection()), this, SLOT(newConnectionOnTMServer()));
59 connect(this->analyserSGSEServerTM, SIGNAL(newConnection()), this, SLOT(newConnectionOnTMServer()));
59 //
60 //
60 connect(this, SIGNAL(socketTMHasChanged(QTcpSocket*)), this->lfrXmlWriter, SLOT(setSocketTM(QTcpSocket*)));
61 connect(this, SIGNAL(socketTMHasChanged(QTcpSocket*)), this->lfrXmlWriter, SLOT(setSocketTM(QTcpSocket*)));
61 connect(this->UI->button_TCAcknowledgement, SIGNAL(clicked()), this->lfrXmlWriter, SLOT(sendXML_TC_Acknowledgment()));
62 connect(this->UI->button_TCAcknowledgement, SIGNAL(clicked()), this->lfrXmlWriter, SLOT(sendXML_TC_Acknowledgment()));
62 connect(this->UI->button_TCRejection, SIGNAL(clicked()), this->lfrXmlWriter, SLOT(sendXML_TC_rejection()));
63 connect(this->UI->button_TCRejection, SIGNAL(clicked()), this->lfrXmlWriter, SLOT(sendXML_TC_rejection()));
63 connect(this->UI->button_GSEHK, SIGNAL(clicked()), this->lfrXmlWriter, SLOT(sendXML_GSE_HK()));
64 connect(this->UI->button_GSEHK, SIGNAL(clicked()), this->lfrXmlWriter, SLOT(sendXML_GSE_HK()));
64
65
65 // socket echo server
66 // socket echo server
66 connect(this->socketEchoServer, SIGNAL(stateChanged(QAbstractSocket::SocketState)),
67 connect(this->socketEchoServer, SIGNAL(stateChanged(QAbstractSocket::SocketState)),
67 this, SLOT(socket_TMEcho_ServerHasChanged()));
68 this, SLOT(socket_TMEcho_ServerHasChanged()));
68 connect(this->socketEchoServer, SIGNAL(readyRead()),
69 connect(this->socketEchoServer, SIGNAL(readyRead()),
69 this, SLOT(readDataOnSocketEchoServer()));
70 this, SLOT(readDataOnSocketEchoServer()));
70
71
71 // display on console
72 // display on console
72 connect(this->xmlHandler, SIGNAL(displayMessage(QString)),
73 connect(this->xmlHandler, SIGNAL(displayMessage(QString)),
73 this, SLOT(displayOnConsole(QString)));
74 this, SLOT(displayOnConsole(QString)));
74 connect(this->UI->hkDisplay, SIGNAL(displayMessage(QString)),
75 connect(this->UI->hkDisplay, SIGNAL(displayMessage(QString)),
75 this, SLOT(displayOnConsole(QString)));
76 this, SLOT(displayOnConsole(QString)));
76 connect(this->lfrXmlParser, SIGNAL(sendMessage(QString)),
77 connect(this->lfrXmlParser, SIGNAL(sendMessage(QString)),
77 this, SLOT(displayOnConsole(QString)));
78 this, SLOT(displayOnConsole(QString)));
78 //
79 //
79 connect(this->lfrXmlParser, SIGNAL(processPacketStore()),
80 connect(this->lfrXmlParser, SIGNAL(processPacketStore()),
80 this, SLOT(processPacketStore()));
81 this, SLOT(processPacketStore()));
81 //
82 //
82 connect(this->UI->button_resetStatistics, SIGNAL(clicked()),
83 connect(this->UI->button_resetStatistics, SIGNAL(clicked()),
83 this, SLOT(resetStatistics()));
84 this, SLOT(resetStatistics()));
84
85
85 displayNetworkInterfaces();
86 displayNetworkInterfaces();
86
87
87 this->xmlHandler->packetStoreHasChanged(&generalCCSDSPacketStore);
88 this->xmlHandler->packetStoreHasChanged(&generalCCSDSPacketStore);
88 };
89 };
89
90
90 MainWindow::~MainWindow()
91 MainWindow::~MainWindow()
91 {
92 {
92 delete wfPacketNormal[0];
93 delete wfPacketNormal[0];
93 delete wfPacketNormal[1];
94 delete wfPacketNormal[1];
94 delete wfPacketNormal[2];
95 delete wfPacketNormal[2];
95 delete wfPacketNormal[3];
96 delete wfPacketNormal[3];
96 delete wfPacketBurst;
97 delete wfPacketBurst;
97 delete wfPacketSBM1;
98 delete wfPacketSBM1;
98 delete wfPacketSBM2;
99 delete wfPacketSBM2;
100 delete wfPacketCWF_F3;
99 }
101 }
100
102
101 void MainWindow::displayNetworkInterfaces()
103 void MainWindow::displayNetworkInterfaces()
102 {
104 {
103 QList<QHostAddress> list = QNetworkInterface::allAddresses();
105 QList<QHostAddress> list = QNetworkInterface::allAddresses();
104 this->displayOnConsole("Network interfaces:");
106 this->displayOnConsole("Network interfaces:");
105 for(int nIter=0; nIter<list.count(); nIter++)
107 for(int nIter=0; nIter<list.count(); nIter++)
106 {
108 {
107 this->UI->displayOnConsole(list[nIter].toString());
109 this->UI->displayOnConsole(list[nIter].toString());
108 }
110 }
109 }
111 }
110
112
111 void MainWindow::listenOnTCTMPorts()
113 void MainWindow::listenOnTCTMPorts()
112 {
114 {
113 QString str;
115 QString str;
114
116
115 //***
117 //***
116 // TC
118 // TC
117 analyserSGSEServerTC->listen(QHostAddress::Any, this->UI->getTCPort());
119 analyserSGSEServerTC->listen(QHostAddress::Any, this->UI->getTCPort());
118 str = analyserSGSEServerTC->errorString();
120 str = analyserSGSEServerTC->errorString();
119 if (!str.isEmpty())
121 if (!str.isEmpty())
120 {
122 {
121 this->displayOnConsole(str);
123 this->displayOnConsole(str);
122 }
124 }
123 this->displayOnConsole("Listening TC on port "
125 this->displayOnConsole("Listening TC on port "
124 + QString::number(this->UI->getTCPort())
126 + QString::number(this->UI->getTCPort())
125 );
127 );
126
128
127 //***
129 //***
128 // TM
130 // TM
129 analyserSGSEServerTM->listen(QHostAddress::Any, this->UI->getTMPort());
131 analyserSGSEServerTM->listen(QHostAddress::Any, this->UI->getTMPort());
130 str = analyserSGSEServerTM->errorString();
132 str = analyserSGSEServerTM->errorString();
131 if (!str.isEmpty())
133 if (!str.isEmpty())
132 {
134 {
133 this->displayOnConsole(str);
135 this->displayOnConsole(str);
134 }
136 }
135 this->displayOnConsole("Listening TM on port "
137 this->displayOnConsole("Listening TM on port "
136 + QString::number(this->UI->getTMPort())
138 + QString::number(this->UI->getTMPort())
137 );
139 );
138 }
140 }
139
141
140 void MainWindow::testTCTMPorts()
142 void MainWindow::testTCTMPorts()
141 {
143 {
142 if (socketTC != NULL)
144 if (socketTC != NULL)
143 {
145 {
144 this->displayOnConsole("TC socket *** " + socketStates.at(socketTC->state()) );
146 this->displayOnConsole("TC socket *** " + socketStates.at(socketTC->state()) );
145 }
147 }
146 else
148 else
147 {
149 {
148 this->displayOnConsole("TC socket *** not tested, (socketTC) is NULL" );
150 this->displayOnConsole("TC socket *** not tested, (socketTC) is NULL" );
149 }
151 }
150 if (socketTM != NULL)
152 if (socketTM != NULL)
151 {
153 {
152 this->displayOnConsole("TM socket *** " + socketStates.at(socketTM->state()) );
154 this->displayOnConsole("TM socket *** " + socketStates.at(socketTM->state()) );
153 }
155 }
154 else
156 else
155 {
157 {
156 this->displayOnConsole("TM socket *** not tested, (socketTM) is NULL" );
158 this->displayOnConsole("TM socket *** not tested, (socketTM) is NULL" );
157 }
159 }
158 }
160 }
159
161
160 void MainWindow::newConnectionOnTCServer()
162 void MainWindow::newConnectionOnTCServer()
161 {
163 {
162 this->displayOnConsole("got new connection on TC port");
164 this->displayOnConsole("got new connection on TC port");
163 socketTC = analyserSGSEServerTC->nextPendingConnection();
165 socketTC = analyserSGSEServerTC->nextPendingConnection();
164 this->displayOnConsole("TC socket *** " + socketStates.at(socketTC->state()) );
166 this->displayOnConsole("TC socket *** " + socketStates.at(socketTC->state()) );
165 connect(this->socketTC, SIGNAL(readyRead()), this, SLOT(readDataOnTCPort()));
167 connect(this->socketTC, SIGNAL(readyRead()), this, SLOT(readDataOnTCPort()));
166 }
168 }
167
169
168 void MainWindow::newConnectionOnTMServer()
170 void MainWindow::newConnectionOnTMServer()
169 {
171 {
170 this->displayOnConsole("got new connection on TM port");
172 this->displayOnConsole("got new connection on TM port");
171 socketTM = analyserSGSEServerTM->nextPendingConnection();
173 socketTM = analyserSGSEServerTM->nextPendingConnection();
172 this->displayOnConsole("TM socket *** " + socketStates.at(socketTM->state()) );
174 this->displayOnConsole("TM socket *** " + socketStates.at(socketTM->state()) );
173 connect(this->socketTM, SIGNAL(readyRead()), this, SLOT(readDataOnTMPort()));
175 connect(this->socketTM, SIGNAL(readyRead()), this, SLOT(readDataOnTMPort()));
174
176
175 emit socketTMHasChanged(this->socketTM);
177 emit socketTMHasChanged(this->socketTM);
176 }
178 }
177
179
178 void MainWindow::readDataOnTCPort()
180 void MainWindow::readDataOnTCPort()
179 {
181 {
180 bool ok;
182 bool ok;
181 int nbBytesAvailable = 0;
183 int nbBytesAvailable = 0;
182
184
183 nbBytesAvailable = socketTC->bytesAvailable();
185 nbBytesAvailable = socketTC->bytesAvailable();
184 buffer = (char *) malloc(nbBytesAvailable);
186 buffer = (char *) malloc(nbBytesAvailable);
185 socketTC->read(buffer, nbBytesAvailable);
187 socketTC->read(buffer, nbBytesAvailable);
186
188
187 this->displayOnConsole("readDataOnTCPort *** "
189 this->displayOnConsole("readDataOnTCPort *** "
188 + QString::number(nbBytesAvailable)
190 + QString::number(nbBytesAvailable)
189 + " read");
191 + " read");
190
192
191 QByteArray xmlData( buffer, nbBytesAvailable);
193 QByteArray xmlData( buffer, nbBytesAvailable);
192
194
193 free(buffer);
195 free(buffer);
194
196
195 sourceTC->setData( xmlData );
197 sourceTC->setData( xmlData );
196
198
197 xmlReader.setContentHandler(xmlHandler);
199 xmlReader.setContentHandler(xmlHandler);
198 xmlReader.setErrorHandler(xmlHandler);
200 xmlReader.setErrorHandler(xmlHandler);
199
201
200 ok = xmlReader.parse(sourceTC);
202 ok = xmlReader.parse(sourceTC);
201 if (!ok) {
203 if (!ok) {
202 std::cout << "Parsing failed." << std::endl;
204 std::cout << "Parsing failed." << std::endl;
203 }
205 }
204 else {
206 else {
205 QStringList names = xmlHandler->names();
207 QStringList names = xmlHandler->names();
206 QList<int> indentations = xmlHandler->indentations();
208 QList<int> indentations = xmlHandler->indentations();
207
209
208 int items = names.count();
210 int items = names.count();
209
211
210 for (int i = 0; i < items; ++i) {
212 for (int i = 0; i < items; ++i) {
211 displayOnConsole(
213 displayOnConsole(
212 names[i]
214 names[i]
213 + " --- identations: "
215 + " --- identations: "
214 + QString::number(indentations[i]));
216 + QString::number(indentations[i]));
215 }
217 }
216 }
218 }
217 }
219 }
218
220
219 void MainWindow::readDataOnTMPort()
221 void MainWindow::readDataOnTMPort()
220 {
222 {
221 this->displayOnConsole("TM data received, begin parsing");
223 this->displayOnConsole("TM data received, begin parsing");
222 }
224 }
223
225
224 void MainWindow::readDataOnSocketEchoServer()
226 void MainWindow::readDataOnSocketEchoServer()
225 {
227 {
226 QString dataString;
228 QString dataString;
227
229
228 dataArray.append(socketEchoServer->readAll());
230 dataArray.append(socketEchoServer->readAll());
229 // dataString = QString::fromAscii(dataArray);
231 // dataString = QString::fromAscii(dataArray);
230 dataString = QString::fromLatin1(dataArray);
232 dataString = QString::fromLatin1(dataArray);
231 this->lfrXmlParser->processIncomingStr(dataString);
233 this->lfrXmlParser->processIncomingStr(dataString);
232 dataArray.clear();
234 dataArray.clear();
233 }
235 }
234
236
235 void MainWindow::displayOnConsole(QString message)
237 void MainWindow::displayOnConsole(QString message)
236 {
238 {
237 this->UI->displayOnConsole( message );
239 this->UI->displayOnConsole( message );
238 }
240 }
239
241
240 void MainWindow::initSocketStatesList()
242 void MainWindow::initSocketStatesList()
241 {
243 {
242 socketStates.append("The socket is not connected");
244 socketStates.append("The socket is not connected");
243 socketStates.append("The socket is performing a host name lookup");
245 socketStates.append("The socket is performing a host name lookup");
244 socketStates.append("The socket has started establishing a connection");
246 socketStates.append("The socket has started establishing a connection");
245 socketStates.append("A connection is established");
247 socketStates.append("A connection is established");
246 socketStates.append("The socket is bound to an address and port (for servers)");
248 socketStates.append("The socket is bound to an address and port (for servers)");
247 socketStates.append("The socket is about to close (data may still be waiting to be written)");
249 socketStates.append("The socket is about to close (data may still be waiting to be written)");
248 socketStates.append("For internal use only");
250 socketStates.append("For internal use only");
249 }
251 }
250
252
251 void MainWindow::openEchoServer()
253 void MainWindow::openEchoServer()
252 {
254 {
253 socketEchoServer->connectToHost(this->UI->serverTMEchoDialogBox->getIP(),
255 socketEchoServer->connectToHost(this->UI->serverTMEchoDialogBox->getIP(),
254 this->UI->spinbox_serverTMEchoPort->value());
256 this->UI->spinbox_serverTMEchoPort->value());
255 //socketEchoServer->open();
257 //socketEchoServer->open();
256 }
258 }
257
259
258 void MainWindow::socket_TMEcho_ServerHasChanged()
260 void MainWindow::socket_TMEcho_ServerHasChanged()
259 {
261 {
260 this->displayOnConsole("TM Echo Socket socket *** " + socketStates.at(socketEchoServer->state()) );
262 this->displayOnConsole("TM Echo Socket socket *** " + socketStates.at(socketEchoServer->state()) );
261 }
263 }
262
264
263 void MainWindow::buildWFAndDisplay_SWF(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page)
265 void MainWindow::buildWFAndDisplay_SWF(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page)
264 {
266 {
265 unsigned int i = 0;
267 unsigned int i = 0;
266 unsigned int j = 0;
268 unsigned int j = 0;
267 unsigned char *data;
269 unsigned char *data;
268 unsigned char pa_lfr_pkt_nr;
270 unsigned char pa_lfr_pkt_nr;
269 unsigned int pa_lfr_swf_blk_nr = 0;
271 unsigned int pa_lfr_swf_blk_nr = 0;
270 static unsigned int coarseTime = 0;
272 static unsigned int coarseTime = 0;
271 static unsigned int fineTime = 0;
273 static unsigned int fineTime = 0;
272 float deltaT;
274 double deltaT;
273 unsigned int nbData;
275 unsigned int nbData;
274
276
275 switch(num_page)
277 switch(num_page)
276 {
278 {
277 case 0: // F0
279 case 0: // F0
278 deltaT = 1. / 24576;
280 deltaT = 1. / 24576;
279 break;
281 break;
280 case 1: // F1
282 case 1: // F1
281 deltaT = 1. / 4096;
283 deltaT = 1. / 4096;
282 break;
284 break;
283 case 2: // F2
285 case 2: // F2
284 deltaT = 1. / 256;
286 deltaT = 1. / 256;
285 break;
287 break;
286 default:
288 default:
287 deltaT = 0;
289 deltaT = 0;
288 break;
290 break;
289 }
291 }
290 pa_lfr_pkt_nr = packet->Value[23]; // PA_LFR_PKT_NR
292 pa_lfr_pkt_nr = packet->Value[23]; // PA_LFR_PKT_NR
291 pa_lfr_swf_blk_nr = packet->Value[30] * 256 + packet->Value[31]; // PA_LFR_SWF_BLK_NR
293 pa_lfr_swf_blk_nr = packet->Value[30] * 256 + packet->Value[31]; // PA_LFR_SWF_BLK_NR
292 data = &packet->Value[32]; // start of the first data block;
294 data = &packet->Value[32]; // start of the first data block;
293
295
294 if (pa_lfr_pkt_nr == 1) // the acquisition time of the first packet of the snapshot is taken as starting time
296 if (pa_lfr_pkt_nr == 1) // the acquisition time of the first packet of the snapshot is taken as starting time
295 {
297 {
296 coarseTime = ((packet->Value[24] & 0x7f) << 24)
298 coarseTime = ((packet->Value[24] & 0x7f) << 24)
297 + (packet->Value[25] << 16)
299 + (packet->Value[25] << 16)
298 + (packet->Value[26] << 8)
300 + (packet->Value[26] << 8)
299 + packet->Value[27];
301 + packet->Value[27];
300 fineTime = (packet->Value[28] << 8) + packet->Value[29];
302 fineTime = (packet->Value[28] << 8) + packet->Value[29];
301 }
303 }
302
304
303 j = (pa_lfr_pkt_nr-1) * BLK_NR_304;
305 j = (pa_lfr_pkt_nr-1) * BLK_NR_304;
304 for ( i=0; i<pa_lfr_swf_blk_nr; i++ ){
306 for ( i=0; i<pa_lfr_swf_blk_nr; i++ ){
305 wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) );
307 wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) );
306 wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) );
308 wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) );
307 wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) );
309 wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) );
308 wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) );
310 wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) );
309 wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) );
311 wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) );
310 wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) );
312 wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) );
311 }
313 }
312 if (pa_lfr_pkt_nr == 7)
314 if (pa_lfr_pkt_nr == 7)
313 {
315 {
314 nbData = j + pa_lfr_swf_blk_nr;
316 nbData = j + pa_lfr_swf_blk_nr;
315 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_v, num_page, 0, coarseTime, fineTime, deltaT, nbData);
317 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_v, num_page, 0, coarseTime, fineTime, deltaT, nbData);
316 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e1, num_page, 1, coarseTime, fineTime, deltaT, nbData);
318 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e1, num_page, 1, coarseTime, fineTime, deltaT, nbData);
317 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e2, num_page, 2, coarseTime, fineTime, deltaT, nbData);
319 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e2, num_page, 2, coarseTime, fineTime, deltaT, nbData);
318 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b1, num_page, 3, coarseTime, fineTime, deltaT, nbData);
320 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b1, num_page, 3, coarseTime, fineTime, deltaT, nbData);
319 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b2, num_page, 4, coarseTime, fineTime, deltaT, nbData);
321 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b2, num_page, 4, coarseTime, fineTime, deltaT, nbData);
320 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b3, num_page, 5, coarseTime, fineTime, deltaT, nbData);
322 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b3, num_page, 5, coarseTime, fineTime, deltaT, nbData);
321 }
323 }
322 }
324 }
323
325
324 void MainWindow::buildWFAndDisplay_CWF_LONG_F3(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page)
326 void MainWindow::buildWFAndDisplay_CWF_LONG_F3(TMPacketToRead *packet, WFPacket *wfPacket)
325 {
327 {
326 unsigned int i = 0;
328 unsigned int i = 0;
327 unsigned int j = 0;
329 unsigned int j = 0;
328 unsigned char *data;
330 unsigned char *data;
329 static unsigned char pkt_nr = 1;
331 static unsigned char pkt_nr = 1;
330 unsigned int blk_nr = 0;
332 unsigned int blk_nr = 0;
331 unsigned int coarseTime;
333 static unsigned int coarseTime;
332 unsigned int fineTime;
334 static unsigned int fineTime;
333 float deltaT;
335 unsigned int tmpCoarseTime;
336 unsigned int tmpFineTime;
337 double deltaT;
338 double DELTA;
334 unsigned int nbData;
339 unsigned int nbData;
335
340
336 deltaT = 1 / 16;
341 deltaT = 1 / 16.;
337
342
338 coarseTime = ((packet->Value[22] & 0x7f) << 24) + (packet->Value[23] << 16) + (packet->Value[24] << 8) + packet->Value[25];
343 if (pkt_nr == 1) // the acquisition time of the first packet of the snapshot is taken as starting time
339 fineTime = (packet->Value[26] << 8) + packet->Value[27];
344 {
345 tmpCoarseTime = coarseTime;
346 tmpFineTime = fineTime;
347 coarseTime = ((packet->Value[22] & 0x7f) << 24)
348 + (packet->Value[23] << 16)
349 + (packet->Value[24] << 8)
350 + packet->Value[25];
351 fineTime = (packet->Value[26] << 8) + packet->Value[27];
352 DELTA = (coarseTime + fineTime * 1. / 65536.)
353 - (tmpCoarseTime + tmpFineTime * 1. / 65536);
354 displayOnConsole( "DELTA = " + QString::number(DELTA, 'f', 10) );
355 }
340 blk_nr = packet->Value[28] * 256 + packet->Value[29]; // PA_LFR_CWFL3_BLK_NR
356 blk_nr = packet->Value[28] * 256 + packet->Value[29]; // PA_LFR_CWFL3_BLK_NR
341 data = &packet->Value[30]; // start of the first data block;
357 data = &packet->Value[30]; // start of the first data block;
342
358
343 j = (pkt_nr-1) * BLK_NR_CWF;
359 j = (pkt_nr-1) * BLK_NR_CWF;
344 for ( i=0; i<blk_nr; i++ ){
360 for ( i=0; i<blk_nr; i++ ){
345 wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) );
361 wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) );
346 wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) );
362 wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) );
347 wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) );
363 wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) );
348 wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) );
364 wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) );
349 wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) );
365 wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) );
350 wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) );
366 wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) );
351 }
367 }
352 pkt_nr = pkt_nr + 1;
368 pkt_nr = pkt_nr + 1;
353 if (pkt_nr == 8)
369 if (pkt_nr == (NB_PACKETS_PER_GROUP_OF_CWF+1))
354 {
370 {
355 nbData = j + blk_nr;
371 nbData = j + blk_nr;
356 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_v, num_page, 0, coarseTime, fineTime, deltaT, nbData);
372 this->UI->wfPage_CWF_F3->displayOnPlot(wfPacket->wf_v, 0, coarseTime, fineTime, deltaT, nbData);
357 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e1, num_page, 1, coarseTime, fineTime, deltaT, nbData);
373 this->UI->wfPage_CWF_F3->displayOnPlot(wfPacket->wf_e1, 1, coarseTime, fineTime, deltaT, nbData);
358 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e2, num_page, 2, coarseTime, fineTime, deltaT, nbData);
374 this->UI->wfPage_CWF_F3->displayOnPlot(wfPacket->wf_e2, 2, coarseTime, fineTime, deltaT, nbData);
359 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b1, num_page, 3, coarseTime, fineTime, deltaT, nbData);
375 this->UI->wfPage_CWF_F3->displayOnPlot(wfPacket->wf_b1, 3, coarseTime, fineTime, deltaT, nbData);
360 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b2, num_page, 4, coarseTime, fineTime, deltaT, nbData);
376 this->UI->wfPage_CWF_F3->displayOnPlot(wfPacket->wf_b2, 4, coarseTime, fineTime, deltaT, nbData);
361 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b3, num_page, 5, coarseTime, fineTime, deltaT, nbData);
377 this->UI->wfPage_CWF_F3->displayOnPlot(wfPacket->wf_b3, 5, coarseTime, fineTime, deltaT, nbData);
362 pkt_nr = 1;
378 pkt_nr = 1;
363 }
379 }
364 }
380 }
365
381
366 void MainWindow::buildWFAndDisplay_CWF_F3_light(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page)
382 void MainWindow::buildWFAndDisplay_CWF_F3_light(TMPacketToRead *packet, WFPacket *wfPacket)
367 {
383 {
368 unsigned int i = 0;
384 unsigned int i = 0;
369 unsigned int j = 0;
385 unsigned int j = 0;
370 unsigned char *data;
386 unsigned char *data;
371 static unsigned char pkt_nr = 1;
387 static unsigned char pkt_nr = 1;
372 unsigned int blk_nr = 0;
388 unsigned int blk_nr = 0;
373 unsigned int coarseTime;
389 static unsigned int coarseTime;
374 unsigned int fineTime;
390 static unsigned int fineTime;
375 float deltaT;
391 unsigned int tmpCoarseTime;
392 unsigned int tmpFineTime;
393 double deltaT;
394 double DELTA;
376 unsigned int nbData;
395 unsigned int nbData;
377
396
378 deltaT = 1 / 16;
397 deltaT = 1 / 16.;
379
398
380 coarseTime = ((packet->Value[22] & 0x7f) << 24) + (packet->Value[23] << 16) + (packet->Value[24] << 8) + packet->Value[25];
399 if (pkt_nr == 1) // the acquisition time of the first packet of the snapshot is taken as starting time
381 fineTime = (packet->Value[26] << 8) + packet->Value[27];
400 {
401 tmpCoarseTime = coarseTime;
402 tmpFineTime = fineTime;
403 coarseTime = ((packet->Value[22] & 0x7f) << 24)
404 + (packet->Value[23] << 16)
405 + (packet->Value[24] << 8)
406 + packet->Value[25];
407 fineTime = (packet->Value[26] << 8) + packet->Value[27];
408 DELTA = (coarseTime + fineTime * 1. / 65536.)
409 - (tmpCoarseTime + tmpFineTime * 1. / 65536);
410 displayOnConsole( "DELTA = " + QString::number(DELTA, 'f', 10) );
411 }
382 blk_nr = packet->Value[28] * 256 + packet->Value[29]; // PA_LFR_CWF3_BLK_NR
412 blk_nr = packet->Value[28] * 256 + packet->Value[29]; // PA_LFR_CWF3_BLK_NR
383 data = &packet->Value[30]; // start of the first data block;
413 data = &packet->Value[30]; // start of the first data block;
384
414
385 j = (pkt_nr-1) * BLK_NR_CWF_SHORT_F3;
415 j = (pkt_nr-1) * BLK_NR_CWF_SHORT_F3;
386 for ( i=0; i<blk_nr; i++ ){
416 for ( i=0; i<blk_nr; i++ ){
387 wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE_CWF3_LIGHT) ] << 8) + (data[ (i*BLK_SIZE_CWF3_LIGHT) + 1]) );
417 wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE_CWF3_LIGHT) ] << 8) + (data[ (i*BLK_SIZE_CWF3_LIGHT) + 1]) );
388 wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE_CWF3_LIGHT) + 2] << 8) + (data[ (i*BLK_SIZE_CWF3_LIGHT) + 3]) );
418 wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE_CWF3_LIGHT) + 2] << 8) + (data[ (i*BLK_SIZE_CWF3_LIGHT) + 3]) );
389 wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE_CWF3_LIGHT) + 4] << 8) + (data[ (i*BLK_SIZE_CWF3_LIGHT) + 5]) );
419 wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE_CWF3_LIGHT) + 4] << 8) + (data[ (i*BLK_SIZE_CWF3_LIGHT) + 5]) );
390 wfPacket->wf_b1[j + i] = 0;
420 wfPacket->wf_b1[j + i] = 0;
391 wfPacket->wf_b2[j + i] = 0;
421 wfPacket->wf_b2[j + i] = 0;
392 wfPacket->wf_b3[j + i] = 0;
422 wfPacket->wf_b3[j + i] = 0;
393 }
423 }
394 pkt_nr = pkt_nr + 1;
424 pkt_nr = pkt_nr + 1;
395 if (pkt_nr == 4)
425 if (pkt_nr == (NB_PACKETS_PER_GROUP_OF_CWF_LIGHT+1))
396 {
426 {
397 nbData = j + blk_nr;
427 nbData = j + blk_nr;
398 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_v, num_page, 0, coarseTime, fineTime, deltaT, nbData);
428 this->UI->wfPage_CWF_F3->displayOnPlot(wfPacket->wf_v, 0, coarseTime, fineTime, deltaT, nbData);
399 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e1, num_page, 1, coarseTime, fineTime, deltaT, nbData);
429 this->UI->wfPage_CWF_F3->displayOnPlot(wfPacket->wf_e1, 1, coarseTime, fineTime, deltaT, nbData);
400 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e2, num_page, 2, coarseTime, fineTime, deltaT, nbData);
430 this->UI->wfPage_CWF_F3->displayOnPlot(wfPacket->wf_e2, 2, coarseTime, fineTime, deltaT, nbData);
401 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b1, num_page, 3, coarseTime, fineTime, deltaT, nbData);
431 this->UI->wfPage_CWF_F3->displayOnPlot(wfPacket->wf_b1, 3, coarseTime, fineTime, deltaT, nbData);
402 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b2, num_page, 4, coarseTime, fineTime, deltaT, nbData);
432 this->UI->wfPage_CWF_F3->displayOnPlot(wfPacket->wf_b2, 4, coarseTime, fineTime, deltaT, nbData);
403 this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b3, num_page, 5, coarseTime, fineTime, deltaT, nbData);
433 this->UI->wfPage_CWF_F3->displayOnPlot(wfPacket->wf_b3, 5, coarseTime, fineTime, deltaT, nbData);
404 pkt_nr = 1;
434 pkt_nr = 1;
405 }
435 }
406 }
436 }
407
437
408 void MainWindow::buildWFAndDisplay_CWF_F1(TMPacketToRead *packet, WFPacket *wfPacket)
438 void MainWindow::buildWFAndDisplay_CWF_F1(TMPacketToRead *packet, WFPacket *wfPacket)
409 {
439 {
410 unsigned int i = 0;
440 unsigned int i = 0;
411 unsigned int j = 0;
441 unsigned int j = 0;
412 unsigned char *data;
442 unsigned char *data;
413 unsigned char *pData;
414 static unsigned char pkt_nr = 1;
443 static unsigned char pkt_nr = 1;
415 unsigned int blk_nr = 0;
444 unsigned int blk_nr = 0;
416 unsigned int coarseTime;
445 static unsigned int coarseTime;
417 unsigned int fineTime;
446 static unsigned int fineTime;
418 float deltaT;
447 unsigned int tmpCoarseTime;
448 unsigned int tmpFineTime;
449 double deltaT;
450 double DELTA;
419 unsigned int nbData;
451 unsigned int nbData;
420
452
421 deltaT = 1 / 4096;
453 deltaT = 1. / 4096.;
422
454
423 coarseTime = ((packet->Value[22] & 0x7f) << 24) + (packet->Value[23] << 16) + (packet->Value[24] << 8) + packet->Value[25];
455 if (pkt_nr == 1) // the acquisition time of the first packet of the snapshot is taken as starting time
424 fineTime = (packet->Value[26] << 8) + packet->Value[27];
456 {
425 blk_nr = packet->Value[28] * 256 + packet->Value[29]; // PA_LFR_CWF3_BLK_NR
457 tmpCoarseTime = coarseTime;
458 tmpFineTime = fineTime;
459 coarseTime = ((packet->Value[22] & 0x7f) << 24)
460 + (packet->Value[23] << 16)
461 + (packet->Value[24] << 8)
462 + packet->Value[25];
463 fineTime = (packet->Value[26] << 8) + packet->Value[27];
464 DELTA = (coarseTime + fineTime * 1. / 65536.)
465 - (tmpCoarseTime + tmpFineTime * 1. / 65536);
466 displayOnConsole( "DELTA = " + QString::number(DELTA, 'f', 10) );
467 }
468 blk_nr = packet->Value[28] * 256 + packet->Value[29]; // PA_LFR_CWF_BLK_NR
426 data = &packet->Value[30]; // start of the first data block;
469 data = &packet->Value[30]; // start of the first data block;
427
470
428 j = (pkt_nr-1) * BLK_NR_CWF;
471 j = (pkt_nr-1) * BLK_NR_CWF;
429 for ( i=0; i<blk_nr; i++ ){
472 for ( i=0; i<blk_nr; i++ ){
430 wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) );
473 wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) );
431 wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) );
474 wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) );
432 wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) );
475 wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) );
433 wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) );
476 wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) );
434 wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) );
477 wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) );
435 // wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) );
478 wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) );
436 pData = (unsigned char*) &wfPacket->wf_b3[j + i];
437 pData[0] = data[ (i*BLK_SIZE) + 11];
438 pData[1] = data[ (i*BLK_SIZE) + 10];
439 }
479 }
440 pkt_nr = pkt_nr + 1;
480 pkt_nr = pkt_nr + 1;
441 if (pkt_nr == 8)
481 if (pkt_nr == (NB_PACKETS_PER_GROUP_OF_CWF+1))
442 {
482 {
443 nbData = j + blk_nr;
483 nbData = j + blk_nr;
444 this->UI->wfPage_CWF_F1->displayOnPlot(wfPacket->wf_v, 0, coarseTime, fineTime, deltaT, nbData);
484 this->UI->wfPage_CWF_F1->displayOnPlot(wfPacket->wf_v, 0, coarseTime, fineTime, deltaT, nbData);
445 this->UI->wfPage_CWF_F1->displayOnPlot(wfPacket->wf_e1, 1, coarseTime, fineTime, deltaT, nbData);
485 this->UI->wfPage_CWF_F1->displayOnPlot(wfPacket->wf_e1, 1, coarseTime, fineTime, deltaT, nbData);
446 this->UI->wfPage_CWF_F1->displayOnPlot(wfPacket->wf_e2, 2, coarseTime, fineTime, deltaT, nbData);
486 this->UI->wfPage_CWF_F1->displayOnPlot(wfPacket->wf_e2, 2, coarseTime, fineTime, deltaT, nbData);
447 this->UI->wfPage_CWF_F1->displayOnPlot(wfPacket->wf_b1, 3, coarseTime, fineTime, deltaT, nbData);
487 this->UI->wfPage_CWF_F1->displayOnPlot(wfPacket->wf_b1, 3, coarseTime, fineTime, deltaT, nbData);
448 this->UI->wfPage_CWF_F1->displayOnPlot(wfPacket->wf_b2, 4, coarseTime, fineTime, deltaT, nbData);
488 this->UI->wfPage_CWF_F1->displayOnPlot(wfPacket->wf_b2, 4, coarseTime, fineTime, deltaT, nbData);
449 this->UI->wfPage_CWF_F1->displayOnPlot(wfPacket->wf_b3, 5, coarseTime, fineTime, deltaT, nbData);
489 this->UI->wfPage_CWF_F1->displayOnPlot(wfPacket->wf_b3, 5, coarseTime, fineTime, deltaT, nbData);
450 pkt_nr = 1;
490 pkt_nr = 1;
451 }
491 }
452 }
492 }
453
493
454 void MainWindow::buildWFAndDisplay_CWF_F2(TMPacketToRead *packet, WFPacket *wfPacket)
494 void MainWindow::buildWFAndDisplay_CWF_F2(TMPacketToRead *packet, WFPacket *wfPacket)
455 {
495 {
456 unsigned int i = 0;
496 unsigned int i = 0;
457 unsigned int j = 0;
497 unsigned int j = 0;
458 unsigned char *data;
498 unsigned char *data;
459 static unsigned char pkt_nr = 1;
499 static unsigned char pkt_nr = 1;
460 unsigned int blk_nr = 0;
500 unsigned int blk_nr = 0;
461 unsigned int coarseTime;
501 static unsigned int coarseTime;
462 unsigned int fineTime;
502 static unsigned int fineTime;
463 float deltaT;
503 unsigned int tmpCoarseTime;
504 unsigned int tmpFineTime;
505 double deltaT;
506 double DELTA;
464 unsigned int nbData;
507 unsigned int nbData;
465
508
466 deltaT = 1 / 256;
509 deltaT = 1. / 256.;
467
510
468 coarseTime = ((packet->Value[22] & 0x7f) << 24) + (packet->Value[23] << 16) + (packet->Value[24] << 8) + packet->Value[25];
511 if (pkt_nr == 1) // the acquisition time of the first packet of the snapshot is taken as starting time
469 fineTime = (packet->Value[26] << 8) + packet->Value[27];
512 {
513 tmpCoarseTime = coarseTime;
514 tmpFineTime = fineTime;
515 coarseTime = ((packet->Value[22] & 0x7f) << 24)
516 + (packet->Value[23] << 16)
517 + (packet->Value[24] << 8)
518 + packet->Value[25];
519 fineTime = (packet->Value[26] << 8) + packet->Value[27];
520 DELTA = (coarseTime + fineTime * 1. / 65536.)
521 - (tmpCoarseTime + tmpFineTime * 1. / 65536);
522 displayOnConsole( "DELTA = " + QString::number(DELTA, 'f', 10) );
523 }
470 blk_nr = packet->Value[28] * 256 + packet->Value[29]; // PA_LFR_CWF3_BLK_NR
524 blk_nr = packet->Value[28] * 256 + packet->Value[29]; // PA_LFR_CWF3_BLK_NR
471 data = &packet->Value[30]; // start of the first data block;
525 data = &packet->Value[30]; // start of the first data block;
472
526
473 j = (pkt_nr-1) * BLK_NR_CWF;
527 j = (pkt_nr-1) * BLK_NR_CWF;
474 for ( i=0; i<blk_nr; i++ ){
528 for ( i=0; i<blk_nr; i++ ){
475 wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) );
529 wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) );
476 wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) );
530 wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) );
477 wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) );
531 wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) );
478 wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) );
532 wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) );
479 wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) );
533 wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) );
480 wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) );
534 wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) );
481 }
535 }
482 pkt_nr = pkt_nr + 1;
536 pkt_nr = pkt_nr + 1;
483 if (pkt_nr == 8)
537 if (pkt_nr == (NB_PACKETS_PER_GROUP_OF_CWF+1))
484 {
538 {
485 nbData = j + blk_nr;
539 nbData = j + blk_nr;
486 this->UI->wfPage_CWF_F2->displayOnPlot(wfPacket->wf_v, 0, coarseTime, fineTime, deltaT, nbData);
540 this->UI->wfPage_CWF_F2->displayOnPlot(wfPacket->wf_v, 0, coarseTime, fineTime, deltaT, nbData);
487 this->UI->wfPage_CWF_F2->displayOnPlot(wfPacket->wf_e1, 1, coarseTime, fineTime, deltaT, nbData);
541 this->UI->wfPage_CWF_F2->displayOnPlot(wfPacket->wf_e1, 1, coarseTime, fineTime, deltaT, nbData);
488 this->UI->wfPage_CWF_F2->displayOnPlot(wfPacket->wf_e2, 2, coarseTime, fineTime, deltaT, nbData);
542 this->UI->wfPage_CWF_F2->displayOnPlot(wfPacket->wf_e2, 2, coarseTime, fineTime, deltaT, nbData);
489 this->UI->wfPage_CWF_F2->displayOnPlot(wfPacket->wf_b1, 3, coarseTime, fineTime, deltaT, nbData);
543 this->UI->wfPage_CWF_F2->displayOnPlot(wfPacket->wf_b1, 3, coarseTime, fineTime, deltaT, nbData);
490 this->UI->wfPage_CWF_F2->displayOnPlot(wfPacket->wf_b2, 4, coarseTime, fineTime, deltaT, nbData);
544 this->UI->wfPage_CWF_F2->displayOnPlot(wfPacket->wf_b2, 4, coarseTime, fineTime, deltaT, nbData);
491 this->UI->wfPage_CWF_F2->displayOnPlot(wfPacket->wf_b3, 5, coarseTime, fineTime, deltaT, nbData);
545 this->UI->wfPage_CWF_F2->displayOnPlot(wfPacket->wf_b3, 5, coarseTime, fineTime, deltaT, nbData);
492 pkt_nr = 1;
546 pkt_nr = 1;
493 }
547 }
494 }
548 }
495
549
496 void MainWindow::buildSpectrumAndDisplayNORM_F0(TMPacketToRead *packet, SpectraPacket *spectraPacket)
550 void MainWindow::buildSpectrumAndDisplayNORM_F0(TMPacketToRead *packet, SpectraPacket *spectraPacket)
497 {
551 {
498 unsigned int i = 0;
552 unsigned int i = 0;
499 unsigned int j = 0;
553 unsigned int j = 0;
500 unsigned char *data;
554 unsigned char *data;
501 char *aux;
555 char *aux;
502 unsigned char nrASM;
556 unsigned char nrASM;
503 unsigned int blkNR;
557 unsigned int blkNR;
504
558
505 nrASM = packet->Value[23];
559 nrASM = packet->Value[23];
506 blkNR = packet->Value[30] * 256 + packet->Value[31];
560 blkNR = packet->Value[30] * 256 + packet->Value[31];
507 data = &packet->Value[32]; // start of the first data block;
561 data = &packet->Value[32]; // start of the first data block;
508
562
509 j = (nrASM-1) * blkNR;
563 j = (nrASM-1) * blkNR;
510 for ( i=0; i<blkNR; i++ ){
564 for ( i=0; i<blkNR; i++ ){
511 aux = (char*) &spectraPacket->s11[j + i];
565 aux = (char*) &spectraPacket->s11[j + i];
512 aux[3] = data[ (i * 50 + 2*0) ];
566 aux[3] = data[ (i * 50 + 2*0) ];
513 aux[2] = data[ (i * 50 + 2*0) + 1];
567 aux[2] = data[ (i * 50 + 2*0) + 1];
514 aux = (char*) &spectraPacket->s22[j + i];
568 aux = (char*) &spectraPacket->s22[j + i];
515 aux[3] = data[ (i * 50 + 2*9) ];
569 aux[3] = data[ (i * 50 + 2*9) ];
516 aux[2] = data[ (i * 50 + 2*9) + 1];
570 aux[2] = data[ (i * 50 + 2*9) + 1];
517 aux = (char*) &spectraPacket->s33[j + i];
571 aux = (char*) &spectraPacket->s33[j + i];
518 aux[3] = data[ (i * 50 + 2*16) ];
572 aux[3] = data[ (i * 50 + 2*16) ];
519 aux[2] = data[ (i * 50 + 2*16) + 1];
573 aux[2] = data[ (i * 50 + 2*16) + 1];
520 aux = (char*) &spectraPacket->s44[j + i];
574 aux = (char*) &spectraPacket->s44[j + i];
521 aux[3] = data[ (i * 50 + 2*21) ];
575 aux[3] = data[ (i * 50 + 2*21) ];
522 aux[2] = data[ (i * 50 + 2*21) + 1];
576 aux[2] = data[ (i * 50 + 2*21) + 1];
523 aux = (char*) &spectraPacket->s55[j + i];
577 aux = (char*) &spectraPacket->s55[j + i];
524 aux[3] = data[ (i * 50 + 2*24) ];
578 aux[3] = data[ (i * 50 + 2*24) ];
525 aux[2] = data[ (i * 50 + 2*24) + 1];
579 aux[2] = data[ (i * 50 + 2*24) + 1];
526 }
580 }
527 if (nrASM == 2)
581 if (nrASM == 2)
528 {
582 {
529 this->UI->pageSpectraNORM->displayOnPlotFloat(spectraPacket->s11, 0);
583 this->UI->pageSpectraNORM->displayOnPlotFloat(spectraPacket->s11, 0);
530 this->UI->pageSpectraNORM->displayOnPlotFloat(spectraPacket->s22, 1);
584 this->UI->pageSpectraNORM->displayOnPlotFloat(spectraPacket->s22, 1);
531 this->UI->pageSpectraNORM->displayOnPlotFloat(spectraPacket->s33, 2);
585 this->UI->pageSpectraNORM->displayOnPlotFloat(spectraPacket->s33, 2);
532 this->UI->pageSpectraNORM->displayOnPlotFloat(spectraPacket->s44, 3);
586 this->UI->pageSpectraNORM->displayOnPlotFloat(spectraPacket->s44, 3);
533 this->UI->pageSpectraNORM->displayOnPlotFloat(spectraPacket->s55, 4);
587 this->UI->pageSpectraNORM->displayOnPlotFloat(spectraPacket->s55, 4);
534 }
588 }
535 }
589 }
536
590
537 void MainWindow::resetStatistics()
591 void MainWindow::resetStatistics()
538 {
592 {
539 totalOfBytes = 0;
593 totalOfBytes = 0;
540 totalOfPackets = 0;
594 totalOfPackets = 0;
541 this->UI->totalOfBytesHasChanged(totalOfBytes);
595 this->UI->totalOfBytesHasChanged(totalOfBytes);
542 this->UI->totalOfPacketsHasChanged(totalOfPackets);
596 this->UI->totalOfPacketsHasChanged(totalOfPackets);
543 }
597 }
544
598
545 //******************
599 //******************
546 // packet processing
600 // packet processing
547
601
548 void MainWindow::processPacketStore()
602 void MainWindow::processPacketStore()
549 {
603 {
550 TMPacketToRead *packet;
604 TMPacketToRead *packet;
551 while(!generalCCSDSPacketStore.isEmpty())
605 while(!generalCCSDSPacketStore.isEmpty())
552 {
606 {
553 packet = generalCCSDSPacketStore.takeFirst();
607 packet = generalCCSDSPacketStore.takeFirst();
554 processIncomingPacket(packet);
608 processIncomingPacket(packet);
555 delete(packet);
609 delete(packet);
556 }
610 }
557 }
611 }
558
612
559 void MainWindow::processIncomingPacket(TMPacketToRead *packet)
613 void MainWindow::processIncomingPacket(TMPacketToRead *packet)
560 {
614 {
561 totalOfBytes = totalOfBytes + packet->size;
615 totalOfBytes = totalOfBytes + packet->size;
562 totalOfPackets = totalOfPackets + 1;
616 totalOfPackets = totalOfPackets + 1;
563 this->UI->totalOfBytesHasChanged(totalOfBytes);
617 this->UI->totalOfBytesHasChanged(totalOfBytes);
564 this->UI->totalOfPacketsHasChanged(totalOfPackets);
618 this->UI->totalOfPacketsHasChanged(totalOfPackets);
565 preProcessPacket(packet);
619 preProcessPacket(packet);
566 }
620 }
567
621
568 void MainWindow::preProcessPacket(TMPacketToRead *packet)
622 void MainWindow::preProcessPacket(TMPacketToRead *packet)
569 {
623 {
570 unsigned char pid = 0;
624 unsigned char pid = 0;
571 unsigned char cat = 0;
625 unsigned char cat = 0;
572 unsigned char typ = 0;
626 unsigned char typ = 0;
573 unsigned char sub = 0;
627 unsigned char sub = 0;
574 unsigned int sid = 0;
628 unsigned int sid = 0;
575 unsigned int length = 0;
629 unsigned int length = 0;
576 unsigned int coarse_t = 0;
630 unsigned int coarse_t = 0;
577 unsigned int fine_t = 0;
631 unsigned int fine_t = 0;
578
632
579 //*********************************
633 //*********************************
580 // get the parameters of the packet
634 // get the parameters of the packet
581 pid = this->UI->tmStatistics->getPID( packet );
635 pid = this->UI->tmStatistics->getPID( packet );
582 cat = this->UI->tmStatistics->getCAT( packet );
636 cat = this->UI->tmStatistics->getCAT( packet );
583 typ = this->UI->tmStatistics->getTYPE( packet );
637 typ = this->UI->tmStatistics->getTYPE( packet );
584 sub = this->UI->tmStatistics->getSUBTYPE( packet );
638 sub = this->UI->tmStatistics->getSUBTYPE( packet );
585 length = this->UI->tmStatistics->getLENGTH( packet );
639 length = this->UI->tmStatistics->getLENGTH( packet );
586 coarse_t = this->UI->tmStatistics->getCoarseTime( packet );
640 coarse_t = this->UI->tmStatistics->getCoarseTime( packet );
587 fine_t = this->UI->tmStatistics->getFineTime( packet );
641 fine_t = this->UI->tmStatistics->getFineTime( packet );
588 sid = this->UI->tmStatistics->getSID( packet, pid, cat, typ, sub );
642 sid = this->UI->tmStatistics->getSID( packet, pid, cat, typ, sub );
589
643
590 this->UI->tmStatistics->updateStatistics(pid, cat, typ, sub, sid, length, coarse_t, fine_t);
644 this->UI->tmStatistics->updateStatistics(pid, cat, typ, sub, sid, length, coarse_t, fine_t);
591
645
592 // compare length in the packet with the size of the packet
646 // compare length in the packet with the size of the packet
593 if ( (length + 1 + 10) != (packet->size))
647 if ( (length + 1 + 10) != (packet->size))
594 {
648 {
595 displayOnConsole("reception of " + QString::number(packet->size)
649 displayOnConsole("reception of " + QString::number(packet->size)
596 + " bytes instead of " + QString::number(length + 1 + 10));
650 + " bytes instead of " + QString::number(length + 1 + 10));
597 }
651 }
598
652
599 //***************************************************
653 //***************************************************
600 // if the packet is an HK packet, display its content
654 // if the packet is an HK packet, display its content
601 if ( (pid == TM_PACKET_PID_DEFAULT) & (cat == TM_PACKET_CAT_HK)
655 if ( (pid == TM_PACKET_PID_DEFAULT) & (cat == TM_PACKET_CAT_HK)
602 & (typ == TM_TYPE_HK) & (sub == TM_SUBTYPE_HK) )
656 & (typ == TM_TYPE_HK) & (sub == TM_SUBTYPE_HK) )
603 {
657 {
604 this->UI->hkDisplay->displayPacket(packet);
658 this->UI->hkDisplay->displayPacket(packet);
605 }
659 }
606
660
607 //**************************************************************
661 //**************************************************************
608 // if the packet is a parameter dump packet, display its content
662 // if the packet is a parameter dump packet, display its content
609 if ( (pid == TM_PACKET_PID_DEFAULT) & (cat == TM_PACKET_CAT_PARAMETER_DUMP)
663 if ( (pid == TM_PACKET_PID_DEFAULT) & (cat == TM_PACKET_CAT_PARAMETER_DUMP)
610 & (typ == TM_TYPE_PARAMETER_DUMP) & (sub == TM_SUBTYPE_PARAMETER_DUMP) )
664 & (typ == TM_TYPE_PARAMETER_DUMP) & (sub == TM_SUBTYPE_PARAMETER_DUMP) )
611 {
665 {
612 this->UI->parameterDump->updateParameterDump(packet);
666 this->UI->parameterDump->updateParameterDump(packet);
613 }
667 }
614
668
615 //****************************************
669 //****************************************
616 // if the packet is a waveform, display it
670 // if the packet is a waveform, display it
617 if ( (typ == TM_TYPE_LFR_SCIENCE) & (sub == TM_SUBTYPE_LFR_SCIENCE) )
671 if ( (typ == TM_TYPE_LFR_SCIENCE) & (sub == TM_SUBTYPE_LFR_SCIENCE) )
618 {
672 {
619 //sid = packet->Value[20]; // SID
673 //sid = packet->Value[20]; // SID
620 switch (sid){
674 switch (sid){
621 case SID_NORMAL_SWF_F0:
675 case SID_NORMAL_SWF_F0:
622 buildWFAndDisplay_SWF(packet, wfPacketNormal[0], 0);
676 buildWFAndDisplay_SWF(packet, wfPacketNormal[0], 0);
623 break;
677 break;
624 case SID_NORMAL_SWF_F1:
678 case SID_NORMAL_SWF_F1:
625 buildWFAndDisplay_SWF(packet, wfPacketNormal[1], 1);
679 buildWFAndDisplay_SWF(packet, wfPacketNormal[1], 1);
626 break;
680 break;
627 case SID_NORMAL_SWF_F2:
681 case SID_NORMAL_SWF_F2:
628 buildWFAndDisplay_SWF(packet, wfPacketNormal[2], 2);
682 buildWFAndDisplay_SWF(packet, wfPacketNormal[2], 2);
629 break;
683 break;
630 case SID_NORMAL_CWF_F3:
684 case SID_NORMAL_CWF_F3:
631 buildWFAndDisplay_CWF_F3_light(packet, wfPacketNormal[3], 3);
685 buildWFAndDisplay_CWF_F3_light(packet, wfPacketCWF_F3);
632 break;
686 break;
633 case SID_NORMAL_CWF_LONG_F3:
687 case SID_NORMAL_CWF_LONG_F3:
634 buildWFAndDisplay_CWF_LONG_F3(packet, wfPacketNormal[3], 3);
688 buildWFAndDisplay_CWF_LONG_F3(packet, wfPacketCWF_F3);
635 break;
689 break;
636 case SID_BURST_CWF_F2:
690 case SID_BURST_CWF_F2:
637 buildWFAndDisplay_CWF_F2(packet, wfPacketBurst);
691 buildWFAndDisplay_CWF_F2(packet, wfPacketBurst);
638 break;
692 break;
639 case SID_SBM1_CWF_F1:
693 case SID_SBM1_CWF_F1:
640 buildWFAndDisplay_CWF_F1(packet, wfPacketSBM1);
694 buildWFAndDisplay_CWF_F1(packet, wfPacketSBM1);
641 break;
695 break;
642 case SID_SBM2_CWF_F2:
696 case SID_SBM2_CWF_F2:
643 buildWFAndDisplay_CWF_F2(packet, wfPacketSBM2);
697 buildWFAndDisplay_CWF_F2(packet, wfPacketSBM2);
644 break;
698 break;
645 case SID_NORMAL_ASM_F0:
699 case SID_NORMAL_ASM_F0:
646 buildSpectrumAndDisplayNORM_F0(packet, spectraPacketNormalSpectrumF0);
700 buildSpectrumAndDisplayNORM_F0(packet, spectraPacketNormalSpectrumF0);
647 break;
701 break;
648 }
702 }
649 }
703 }
650 }
704 }
651
705
652 //******************
706 //******************
653 // general functions
707 // general functions
654
708
655 void MainWindow::readSettings()
709 void MainWindow::readSettings()
656 {
710 {
657 QSettings settings("lpp", "lfrsgse");
711 QSettings settings("lpp", "lfrsgse");
658 echoBridgeIP0 = (unsigned char) settings.value("echoBridgeIP0", 127).toInt();
712 echoBridgeIP0 = (unsigned char) settings.value("echoBridgeIP0", 127).toInt();
659 echoBridgeIP1 = (unsigned char) settings.value("echoBridgeIP1", 0).toInt();
713 echoBridgeIP1 = (unsigned char) settings.value("echoBridgeIP1", 0).toInt();
660 echoBridgeIP2 = (unsigned char) settings.value("echoBridgeIP2", 0).toInt();
714 echoBridgeIP2 = (unsigned char) settings.value("echoBridgeIP2", 0).toInt();
661 echoBridgeIP3 = (unsigned char) settings.value("echoBridgeIP3", 1).toInt();
715 echoBridgeIP3 = (unsigned char) settings.value("echoBridgeIP3", 1).toInt();
662 }
716 }
663
717
664 void MainWindow::writeSettings()
718 void MainWindow::writeSettings()
665 {
719 {
666 QSettings settings("lpp", "lfrsgse");
720 QSettings settings("lpp", "lfrsgse");
667 settings.setValue("echoBridgeIP0", this->UI->serverTMEchoDialogBox->get_addressPart1());
721 settings.setValue("echoBridgeIP0", this->UI->serverTMEchoDialogBox->get_addressPart1());
668 settings.setValue("echoBridgeIP1", this->UI->serverTMEchoDialogBox->get_addressPart2());
722 settings.setValue("echoBridgeIP1", this->UI->serverTMEchoDialogBox->get_addressPart2());
669 settings.setValue("echoBridgeIP2", this->UI->serverTMEchoDialogBox->get_addressPart3());
723 settings.setValue("echoBridgeIP2", this->UI->serverTMEchoDialogBox->get_addressPart3());
670 settings.setValue("echoBridgeIP3", this->UI->serverTMEchoDialogBox->get_addressPart4());
724 settings.setValue("echoBridgeIP3", this->UI->serverTMEchoDialogBox->get_addressPart4());
671 }
725 }
672
726
673 void MainWindow::closeEvent(QCloseEvent *)
727 void MainWindow::closeEvent(QCloseEvent *)
674 {
728 {
675 writeSettings();
729 writeSettings();
676 }
730 }
@@ -1,111 +1,112
1 #ifndef MAINWINDOW_H
1 #ifndef MAINWINDOW_H
2 #define MAINWINDOW_H
2 #define MAINWINDOW_H
3
3
4 #include <QTcpServer>
4 #include <QTcpServer>
5 #include <QTcpSocket>
5 #include <QTcpSocket>
6 #include <QXmlSimpleReader>
6 #include <QXmlSimpleReader>
7 #include <QSettings>
7 #include <QSettings>
8 #include <QMainWindow>
8 #include <QMainWindow>
9
9
10 #include <lfrxmlhandler.h>
10 #include <lfrxmlhandler.h>
11 #include <lfrxmlwriter.h>
11 #include <lfrxmlwriter.h>
12 #include <mainwindowui.h>
12 #include <mainwindowui.h>
13 #include "tmpackettoread.h"
13 #include "tmpackettoread.h"
14 #include "wfpacket.h"
14 #include "wfpacket.h"
15 #include "lfrxmlparser.h"
15 #include "lfrxmlparser.h"
16 #include <spectrapacket.h>
16 #include <spectrapacket.h>
17
17
18 class MainWindow : public QMainWindow
18 class MainWindow : public QMainWindow
19 {
19 {
20 Q_OBJECT
20 Q_OBJECT
21
21
22 public:
22 public:
23 MainWindow(QWidget *parent = 0);
23 MainWindow(QWidget *parent = 0);
24 ~MainWindow();
24 ~MainWindow();
25
25
26 void displayNetworkInterfaces();
26 void displayNetworkInterfaces();
27 void initSocketStatesList();
27 void initSocketStatesList();
28 //
28 //
29 void preProcessPacket(TMPacketToRead *packet);
29 void preProcessPacket(TMPacketToRead *packet);
30 unsigned char getPID(TMPacketToRead *packet);
30 unsigned char getPID(TMPacketToRead *packet);
31 unsigned char getCAT(TMPacketToRead *packet);
31 unsigned char getCAT(TMPacketToRead *packet);
32 unsigned char getTYPE(TMPacketToRead *packet);
32 unsigned char getTYPE(TMPacketToRead *packet);
33 unsigned char getSUBTYPE(TMPacketToRead *packet);
33 unsigned char getSUBTYPE(TMPacketToRead *packet);
34 unsigned int getLENGTH(TMPacketToRead *packet);
34 unsigned int getLENGTH(TMPacketToRead *packet);
35 unsigned int getCoarseTime(TMPacketToRead *packet);
35 unsigned int getCoarseTime(TMPacketToRead *packet);
36 unsigned int getFineTime(TMPacketToRead *packet);
36 unsigned int getFineTime(TMPacketToRead *packet);
37 unsigned int getSID(TMPacketToRead *packet, unsigned char pid, unsigned char cat, unsigned char typ, unsigned char sub);
37 unsigned int getSID(TMPacketToRead *packet, unsigned char pid, unsigned char cat, unsigned char typ, unsigned char sub);
38 //
38 //
39 void buildWFAndDisplay_SWF(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page);
39 void buildWFAndDisplay_SWF(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page);
40 void buildWFAndDisplay_CWF_LONG_F3(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page);
40 void buildWFAndDisplay_CWF_LONG_F3(TMPacketToRead *packet, WFPacket *wfPacket);
41 void buildWFAndDisplay_CWF_F3_light(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page);
41 void buildWFAndDisplay_CWF_F3_light(TMPacketToRead *packet, WFPacket *wfPacket);
42 void buildWFAndDisplayBurst(TMPacketToRead *packet, WFPacket *wfPacket);
42 void buildWFAndDisplayBurst(TMPacketToRead *packet, WFPacket *wfPacket);
43 void buildWFAndDisplay_CWF_F1(TMPacketToRead *packet, WFPacket *wfPacket);
43 void buildWFAndDisplay_CWF_F1(TMPacketToRead *packet, WFPacket *wfPacket);
44 void buildWFAndDisplay_CWF_F2(TMPacketToRead *packet, WFPacket *wfPacket);
44 void buildWFAndDisplay_CWF_F2(TMPacketToRead *packet, WFPacket *wfPacket);
45 void buildSpectrumAndDisplayNORM_F0(TMPacketToRead *packet, SpectraPacket *spectraPacket);
45 void buildSpectrumAndDisplayNORM_F0(TMPacketToRead *packet, SpectraPacket *spectraPacket);
46
46
47 protected:
47 protected:
48 void closeEvent(QCloseEvent *);
48 void closeEvent(QCloseEvent *);
49
49
50 private:
50 private:
51 void readSettings();
51 void readSettings();
52 void writeSettings();
52 void writeSettings();
53 unsigned char echoBridgeIP0;
53 unsigned char echoBridgeIP0;
54 unsigned char echoBridgeIP1;
54 unsigned char echoBridgeIP1;
55 unsigned char echoBridgeIP2;
55 unsigned char echoBridgeIP2;
56 unsigned char echoBridgeIP3;
56 unsigned char echoBridgeIP3;
57
57
58 QByteArray dataArray;
58 QByteArray dataArray;
59
59
60 QList<TMPacketToRead*> generalCCSDSPacketStore;
60 QList<TMPacketToRead*> generalCCSDSPacketStore;
61
61
62 QTcpServer *analyserSGSEServerTC;
62 QTcpServer *analyserSGSEServerTC;
63 QTcpServer *analyserSGSEServerTM;
63 QTcpServer *analyserSGSEServerTM;
64 QTcpSocket *socketTC;
64 QTcpSocket *socketTC;
65 QTcpSocket *socketTM;
65 QTcpSocket *socketTM;
66 QTcpSocket *socketEchoServer;
66 QTcpSocket *socketEchoServer;
67
67
68 unsigned int totalOfBytes;
68 unsigned int totalOfBytes;
69 unsigned int totalOfPackets;
69 unsigned int totalOfPackets;
70
70
71 QXmlSimpleReader xmlReader;
71 QXmlSimpleReader xmlReader;
72 QXmlInputSource *sourceTC;
72 QXmlInputSource *sourceTC;
73 LFRXmlHandler *xmlHandler;
73 LFRXmlHandler *xmlHandler;
74 LFRXmlParser *lfrXmlParser;
74 LFRXmlParser *lfrXmlParser;
75
75
76 QList<QString> socketStates;
76 QList<QString> socketStates;
77
77
78 char *buffer;
78 char *buffer;
79
79
80 MainWindowUI *UI;
80 MainWindowUI *UI;
81
81
82 LFRXmlWriter *lfrXmlWriter;
82 LFRXmlWriter *lfrXmlWriter;
83
83
84 WFPacket *wfPacketNormal[4];
84 WFPacket *wfPacketNormal[4];
85 WFPacket *wfPacketBurst;
85 WFPacket *wfPacketBurst;
86 WFPacket *wfPacketSBM1;
86 WFPacket *wfPacketSBM1;
87 WFPacket *wfPacketSBM2;
87 WFPacket *wfPacketSBM2;
88 WFPacket *wfPacketCWF_F3;
88 SpectraPacket *spectraPacketNormalSpectrumF0;
89 SpectraPacket *spectraPacketNormalSpectrumF0;
89
90
90 bool parsingContinue;
91 bool parsingContinue;
91
92
92 signals:
93 signals:
93 void socketTMHasChanged(QTcpSocket *socket);
94 void socketTMHasChanged(QTcpSocket *socket);
94
95
95 public slots:
96 public slots:
96 void displayOnConsole(QString message);
97 void displayOnConsole(QString message);
97 void listenOnTCTMPorts();
98 void listenOnTCTMPorts();
98 void testTCTMPorts();
99 void testTCTMPorts();
99 void newConnectionOnTCServer();
100 void newConnectionOnTCServer();
100 void newConnectionOnTMServer();
101 void newConnectionOnTMServer();
101 void readDataOnTCPort();
102 void readDataOnTCPort();
102 void readDataOnTMPort();
103 void readDataOnTMPort();
103 void readDataOnSocketEchoServer();
104 void readDataOnSocketEchoServer();
104 void openEchoServer();
105 void openEchoServer();
105 void socket_TMEcho_ServerHasChanged();
106 void socket_TMEcho_ServerHasChanged();
106 void processIncomingPacket(TMPacketToRead *packet);
107 void processIncomingPacket(TMPacketToRead *packet);
107 void resetStatistics();
108 void resetStatistics();
108 void processPacketStore();
109 void processPacketStore();
109 };
110 };
110
111
111 #endif // MAINWINDOW_H
112 #endif // MAINWINDOW_H
@@ -1,196 +1,197
1 #include "mainwindowui.h"
1 #include "mainwindowui.h"
2
2
3 MainWindowUI::MainWindowUI(QWidget *parent) :
3 MainWindowUI::MainWindowUI(QWidget *parent) :
4 QWidget(parent)
4 QWidget(parent)
5 {
5 {
6 label_serverTMEcho = new QLabel(tr("TM Echo Server address"));
6 label_serverTMEcho = new QLabel(tr("TM Echo Server address"));
7 label_serverTMEchoPort = new QLabel(tr("TM Echo Server Port"));
7 label_serverTMEchoPort = new QLabel(tr("TM Echo Server Port"));
8 label_TMServerPort = new QLabel(tr("TM Server Port:"));
8 label_TMServerPort = new QLabel(tr("TM Server Port:"));
9 label_TCServerPort = new QLabel(tr("TC Server Port:"));
9 label_TCServerPort = new QLabel(tr("TC Server Port:"));
10 label_currentTCTMServer = new QLabel(tr("Current IP address:"));
10 label_currentTCTMServer = new QLabel(tr("Current IP address:"));
11 label_currentTCTMServerIP = new QLabel(tr("-"));
11 label_currentTCTMServerIP = new QLabel(tr("-"));
12 label_totalOfBytes = new QLabel(tr("Received Bytes: -"));
12 label_totalOfBytes = new QLabel(tr("Received Bytes: -"));
13 label_totalOfPackets = new QLabel(tr("Received Packets: -"));
13 label_totalOfPackets = new QLabel(tr("Received Packets: -"));
14
14
15 console = new QTextEdit();
15 console = new QTextEdit();
16
16
17 spwTabWidget = new QTabWidget();
17 spwTabWidget = new QTabWidget();
18 spwTabWidgetPage0 = new QWidget();
18 spwTabWidgetPage0 = new QWidget();
19 spwTabWidgetPage1 = new QWidget();
19 spwTabWidgetPage1 = new QWidget();
20 spwTabWidgetPage2 = new QWidget();
20 spwTabWidgetPage2 = new QWidget();
21 spwTabWidgetPage3 = new QWidget();
21 spwTabWidgetPage3 = new QWidget();
22
22
23 tmStatistics = new TMStatistics;
23 tmStatistics = new TMStatistics;
24
24
25 wfDisplay = new WFDisplay(0, 2048, 2048, 15000);
25 wfDisplay = new WFDisplay(0, 2048, 2048, 15000);
26 // wfPageBurst = new WFPage(0, 7 * BLK_NR_CWF, 7 * BLK_NR_CWF, 15000);
26 wfPage_CWF_F1 = new WFPage(0, 8 * BLK_NR_CWF, 8 * BLK_NR_CWF, 15000);
27 wfPage_CWF_F1 = new WFPage(0, 7 * BLK_NR_CWF, 7 * BLK_NR_CWF, 15000);
27 wfPage_CWF_F2 = new WFPage(0, 8 * BLK_NR_CWF, 8 * BLK_NR_CWF, 15000);
28 wfPage_CWF_F2 = new WFPage(0, 7 * BLK_NR_CWF, 7 * BLK_NR_CWF, 15000);
28 wfPage_CWF_F3 = new WFPage(0, 8 * BLK_NR_CWF, 8 * BLK_NR_CWF, 15000);
29 pageSpectraNORM = new PageSpectra();
29 pageSpectraNORM = new PageSpectra();
30 // wfPageBurst->pageTitle = "BURST_CWF_F2";
31 wfPage_CWF_F1->pageTitle = "SBM1_CWF_F1";
30 wfPage_CWF_F1->pageTitle = "SBM1_CWF_F1";
32 wfPage_CWF_F2->pageTitle = "SBM2_CWF_F2";
31 wfPage_CWF_F2->pageTitle = "SBM2_CWF_F2";
32 wfPage_CWF_F3->pageTitle = "NORM_CWF_F3";
33 pageSpectraNORM->pageTitle = "ASM f0";
33 pageSpectraNORM->pageTitle = "ASM f0";
34 hkDisplay = new HKDisplay();
34 hkDisplay = new HKDisplay();
35 recordPage = new RecordPage;
35 recordPage = new RecordPage;
36
36
37 spinbox_TMServerPort = new QSpinBox();
37 spinbox_TMServerPort = new QSpinBox();
38 spinbox_TCServerPort = new QSpinBox();
38 spinbox_TCServerPort = new QSpinBox();
39 spinbox_serverTMEchoPort = new QSpinBox();
39 spinbox_serverTMEchoPort = new QSpinBox();
40 spinbox_TMServerPort->setRange(59000, 65535);
40 spinbox_TMServerPort->setRange(59000, 65535);
41 spinbox_TCServerPort->setRange(59001, 65535);
41 spinbox_TCServerPort->setRange(59001, 65535);
42 spinbox_serverTMEchoPort->setRange(59002, 65535);
42 spinbox_serverTMEchoPort->setRange(59002, 65535);
43
43
44 button_openServerTCTM = new QPushButton(tr("Open TC / TM Ports"));
44 button_openServerTCTM = new QPushButton(tr("Open TC / TM Ports"));
45 button_testServerTCTM = new QPushButton(tr("Test TC / TM Ports"));
45 button_testServerTCTM = new QPushButton(tr("Test TC / TM Ports"));
46 button_openSocketEchoServer = new QPushButton(tr("Open Echo Server"));
46 button_openSocketEchoServer = new QPushButton(tr("Open Echo Server"));
47 button_TCAcknowledgement = new QPushButton(tr("send TC Acknowledgement"));
47 button_TCAcknowledgement = new QPushButton(tr("send TC Acknowledgement"));
48 button_TCRejection = new QPushButton(tr("send TC rejection"));
48 button_TCRejection = new QPushButton(tr("send TC rejection"));
49 button_GSEHK = new QPushButton(tr("send GSE HK"));
49 button_GSEHK = new QPushButton(tr("send GSE HK"));
50 button_clearConsole = new QPushButton(tr("Clear console"));
50 button_clearConsole = new QPushButton(tr("Clear console"));
51 button_resetStatistics = new QPushButton(tr("Reset statistics"));
51 button_resetStatistics = new QPushButton(tr("Reset statistics"));
52
52
53 serverTMEchoDialogBox = new QIPDialogBox();
53 serverTMEchoDialogBox = new QIPDialogBox();
54 serverTMEchoDialogBox->setIP(127, 0, 0, 1);
54 serverTMEchoDialogBox->setIP(127, 0, 0, 1);
55
55
56 groupbox_TMEcho = new QGroupBox(tr("TM Echo Server"));
56 groupbox_TMEcho = new QGroupBox(tr("TM Echo Server"));
57 groupbox_ports = new QGroupBox(tr("Ports for the TM and TC Servers"));
57 groupbox_ports = new QGroupBox(tr("Ports for the TM and TC Servers"));
58 groupbox_TMToForeignGSETester = new QGroupBox(tr("Send TM to the foreign GSE tester"));
58 groupbox_TMToForeignGSETester = new QGroupBox(tr("Send TM to the foreign GSE tester"));
59
59
60 layout_TMEcho = new QVBoxLayout();
60 layout_TMEcho = new QVBoxLayout();
61 layout_overallLayout = new QVBoxLayout();
61 layout_overallLayout = new QVBoxLayout();
62 layout_ports = new QGridLayout();
62 layout_ports = new QGridLayout();
63 layout_TMToForeignGSETester = new QVBoxLayout();
63 layout_TMToForeignGSETester = new QVBoxLayout();
64 mainLayout = new QGridLayout();
64 mainLayout = new QGridLayout();
65
65
66 parameterDump = new ParameterDump();
66 parameterDump = new ParameterDump();
67
67
68 layout_TMEcho->addWidget(label_serverTMEcho);
68 layout_TMEcho->addWidget(label_serverTMEcho);
69 layout_TMEcho->addWidget(serverTMEchoDialogBox);
69 layout_TMEcho->addWidget(serverTMEchoDialogBox);
70 layout_TMEcho->addWidget(label_serverTMEchoPort);
70 layout_TMEcho->addWidget(label_serverTMEchoPort);
71 layout_TMEcho->addWidget(spinbox_serverTMEchoPort);
71 layout_TMEcho->addWidget(spinbox_serverTMEchoPort);
72 layout_TMEcho->addWidget(button_openSocketEchoServer);
72 layout_TMEcho->addWidget(button_openSocketEchoServer);
73 layout_TMEcho->addWidget(label_totalOfPackets);
73 layout_TMEcho->addWidget(label_totalOfPackets);
74 layout_TMEcho->addWidget(label_totalOfBytes);
74 layout_TMEcho->addWidget(label_totalOfBytes);
75 layout_TMEcho->addWidget(button_resetStatistics);
75 layout_TMEcho->addWidget(button_resetStatistics);
76 groupbox_TMEcho->setLayout(layout_TMEcho);
76 groupbox_TMEcho->setLayout(layout_TMEcho);
77
77
78 layout_ports->addWidget(label_TMServerPort, 0, 0, 1, 1);
78 layout_ports->addWidget(label_TMServerPort, 0, 0, 1, 1);
79 layout_ports->addWidget(spinbox_TMServerPort, 0, 1, 1, 1);
79 layout_ports->addWidget(spinbox_TMServerPort, 0, 1, 1, 1);
80 layout_ports->addWidget(label_TCServerPort, 1, 0, 1, 1);
80 layout_ports->addWidget(label_TCServerPort, 1, 0, 1, 1);
81 layout_ports->addWidget(spinbox_TCServerPort, 1, 1, 1, 1);
81 layout_ports->addWidget(spinbox_TCServerPort, 1, 1, 1, 1);
82 layout_ports->addWidget(button_openServerTCTM, 2, 0, 1, 2);
82 layout_ports->addWidget(button_openServerTCTM, 2, 0, 1, 2);
83 layout_ports->addWidget(button_testServerTCTM, 3, 0, 1, 2);
83 layout_ports->addWidget(button_testServerTCTM, 3, 0, 1, 2);
84 groupbox_ports->setLayout(layout_ports);
84 groupbox_ports->setLayout(layout_ports);
85
85
86 layout_TMToForeignGSETester->addWidget(button_TCAcknowledgement);
86 layout_TMToForeignGSETester->addWidget(button_TCAcknowledgement);
87 layout_TMToForeignGSETester->addWidget(button_TCRejection);
87 layout_TMToForeignGSETester->addWidget(button_TCRejection);
88 layout_TMToForeignGSETester->addWidget(button_GSEHK);
88 layout_TMToForeignGSETester->addWidget(button_GSEHK);
89 groupbox_TMToForeignGSETester->setLayout(layout_TMToForeignGSETester);
89 groupbox_TMToForeignGSETester->setLayout(layout_TMToForeignGSETester);
90
90
91 mainLayout->addWidget(groupbox_TMEcho, 0, 0, 1, 1);
91 mainLayout->addWidget(groupbox_TMEcho, 0, 0, 1, 1);
92 mainLayout->addWidget(button_clearConsole, 1, 0, 1, 1);
92 mainLayout->addWidget(button_clearConsole, 1, 0, 1, 1);
93 mainLayout->addWidget(console, 0, 1, 2, 1);
93 mainLayout->addWidget(console, 0, 1, 2, 1);
94 mainLayout->addWidget(groupbox_ports, 2, 0, 1, 1);
94 mainLayout->addWidget(groupbox_ports, 2, 0, 1, 1);
95 mainLayout->addWidget(groupbox_TMToForeignGSETester, 2, 1, 1, 1);
95 mainLayout->addWidget(groupbox_TMToForeignGSETester, 2, 1, 1, 1);
96 mainLayout->setColumnStretch(2, 1);
96 mainLayout->setColumnStretch(2, 1);
97 mainLayout->setRowStretch(3, 1);
97 mainLayout->setRowStretch(3, 1);
98
98
99 spwTabWidget->addTab(spwTabWidgetPage0, tr("Connection"));
99 spwTabWidget->addTab(spwTabWidgetPage0, tr("Connection"));
100 spwTabWidget->addTab(spwTabWidgetPage1, tr("TM Statistics"));
100 spwTabWidget->addTab(spwTabWidgetPage1, tr("TM Statistics"));
101 spwTabWidget->addTab(spwTabWidgetPage3, tr("HK"));
101 spwTabWidget->addTab(spwTabWidgetPage3, tr("HK"));
102 spwTabWidget->addTab(parameterDump, tr("DUMP"));
102 spwTabWidget->addTab(parameterDump, tr("DUMP"));
103 spwTabWidget->addTab(recordPage, tr("REC"));
103 spwTabWidget->addTab(recordPage, tr("REC"));
104 spwTabWidget->addTab(spwTabWidgetPage2, tr("WFRM NORM"));
104 spwTabWidget->addTab(spwTabWidgetPage2, tr("WFRM NORM"));
105 spwTabWidget->addTab( wfPage_CWF_F1, tr("CWF_F1"));
105 spwTabWidget->addTab( wfPage_CWF_F1, tr("CWF_F1"));
106 spwTabWidget->addTab( wfPage_CWF_F2, tr("CWF_F2"));
106 spwTabWidget->addTab( wfPage_CWF_F2, tr("CWF_F2"));
107 spwTabWidget->addTab( wfPage_CWF_F3, tr("CWF_F3"));
107 spwTabWidget->addTab(pageSpectraNORM, tr("ASM f0"));
108 spwTabWidget->addTab(pageSpectraNORM, tr("ASM f0"));
108
109
109 spwTabWidgetPage0->setLayout(mainLayout);
110 spwTabWidgetPage0->setLayout(mainLayout);
110 spwTabWidgetPage1->setLayout(tmStatistics->layout());
111 spwTabWidgetPage1->setLayout(tmStatistics->layout());
111 spwTabWidgetPage2->setLayout(wfDisplay->layout());
112 spwTabWidgetPage2->setLayout(wfDisplay->layout());
112 spwTabWidgetPage3->setLayout(hkDisplay->layout());
113 spwTabWidgetPage3->setLayout(hkDisplay->layout());
113
114
114 layout_overallLayout->addWidget(spwTabWidget);
115 layout_overallLayout->addWidget(spwTabWidget);
115
116
116 this->setLayout(layout_overallLayout);
117 this->setLayout(layout_overallLayout);
117
118
118 connect(this->button_clearConsole, SIGNAL(clicked()), this, SLOT(clearConsole()));
119 connect(this->button_clearConsole, SIGNAL(clicked()), this, SLOT(clearConsole()));
119
120
120 // SWF_F0
121 // SWF_F0
121 connect(this->recordPage, SIGNAL(signal_store_swf_f0()),
122 connect(this->recordPage, SIGNAL(signal_store_swf_f0()),
122 this->wfDisplay->page_f0, SLOT(storeWfrm()));
123 this->wfDisplay->page_f0, SLOT(storeWfrm()));
123 connect(this->recordPage, SIGNAL(signal_defaultStorageDirectoryUpdated(QString)),
124 connect(this->recordPage, SIGNAL(signal_defaultStorageDirectoryUpdated(QString)),
124 this->wfDisplay->page_f0, SLOT(setDefaultStorageDirectory(QString)));
125 this->wfDisplay->page_f0, SLOT(setDefaultStorageDirectory(QString)));
125 // SWF_F1
126 // SWF_F1
126 connect(this->recordPage, SIGNAL(signal_store_swf_f1()),
127 connect(this->recordPage, SIGNAL(signal_store_swf_f1()),
127 this->wfDisplay->page_f1, SLOT(storeWfrm()));
128 this->wfDisplay->page_f1, SLOT(storeWfrm()));
128 connect(this->recordPage, SIGNAL(signal_defaultStorageDirectoryUpdated(QString)),
129 connect(this->recordPage, SIGNAL(signal_defaultStorageDirectoryUpdated(QString)),
129 this->wfDisplay->page_f1, SLOT(setDefaultStorageDirectory(QString)));
130 this->wfDisplay->page_f1, SLOT(setDefaultStorageDirectory(QString)));
130 // SWF_F2
131 // SWF_F2
131 connect(this->recordPage, SIGNAL(signal_store_swf_f2()),
132 connect(this->recordPage, SIGNAL(signal_store_swf_f2()),
132 this->wfDisplay->page_f2, SLOT(storeWfrm()));
133 this->wfDisplay->page_f2, SLOT(storeWfrm()));
133 connect(this->recordPage, SIGNAL(signal_defaultStorageDirectoryUpdated(QString)),
134 connect(this->recordPage, SIGNAL(signal_defaultStorageDirectoryUpdated(QString)),
134 this->wfDisplay->page_f2, SLOT(setDefaultStorageDirectory(QString)));
135 this->wfDisplay->page_f2, SLOT(setDefaultStorageDirectory(QString)));
135 // CWF_F3
136 connect(this->recordPage, SIGNAL(signal_store_cwf_f3()),
137 this->wfDisplay->page_f3, SLOT(storeWfrm()));
138 connect(this->recordPage, SIGNAL(signal_defaultStorageDirectoryUpdated(QString)),
139 this->wfDisplay->page_f3, SLOT(setDefaultStorageDirectory(QString)));
140 // CWF_F1
136 // CWF_F1
141 connect(this->recordPage, SIGNAL(signal_store_cwf_f1()),
137 connect(this->recordPage, SIGNAL(signal_store_cwf_f1()),
142 this->wfPage_CWF_F1, SLOT(storeWfrm()));
138 this->wfPage_CWF_F1, SLOT(storeWfrm()));
143 connect(this->recordPage, SIGNAL(signal_defaultStorageDirectoryUpdated(QString)),
139 connect(this->recordPage, SIGNAL(signal_defaultStorageDirectoryUpdated(QString)),
144 this->wfPage_CWF_F1, SLOT(setDefaultStorageDirectory(QString)));
140 this->wfPage_CWF_F1, SLOT(setDefaultStorageDirectory(QString)));
145 // CWF_F2
141 // CWF_F2
146 connect(this->recordPage, SIGNAL(signal_store_cwf_f2()),
142 connect(this->recordPage, SIGNAL(signal_store_cwf_f2()),
147 this->wfPage_CWF_F2, SLOT(storeWfrm()));
143 this->wfPage_CWF_F2, SLOT(storeWfrm()));
148 connect(this->recordPage, SIGNAL(signal_defaultStorageDirectoryUpdated(QString)),
144 connect(this->recordPage, SIGNAL(signal_defaultStorageDirectoryUpdated(QString)),
149 this->wfPage_CWF_F2, SLOT(setDefaultStorageDirectory(QString)));
145 this->wfPage_CWF_F2, SLOT(setDefaultStorageDirectory(QString)));
146 // CWF_F3
147 connect(this->recordPage, SIGNAL(signal_store_cwf_f3()),
148 this->wfPage_CWF_F3, SLOT(storeWfrm()));
149 connect(this->recordPage, SIGNAL(signal_defaultStorageDirectoryUpdated(QString)),
150 this->wfPage_CWF_F3, SLOT(setDefaultStorageDirectory(QString)));
150
151
151 emit this->recordPage->signal_defaultStorageDirectoryUpdated(this->recordPage->defaultStorageDirectory);
152 emit this->recordPage->signal_defaultStorageDirectoryUpdated(this->recordPage->defaultStorageDirectory);
152 }
153 }
153
154
154 QString MainWindowUI::getTMEchoServerAddress()
155 QString MainWindowUI::getTMEchoServerAddress()
155 {
156 {
156 return(serverTMEchoDialogBox->getIP());
157 return(serverTMEchoDialogBox->getIP());
157 }
158 }
158
159
159 void MainWindowUI::setTCTMServerAddressIP(QString address)
160 void MainWindowUI::setTCTMServerAddressIP(QString address)
160 {
161 {
161 label_currentTCTMServerIP->setText(address);
162 label_currentTCTMServerIP->setText(address);
162 }
163 }
163
164
164 int MainWindowUI::getTMPort()
165 int MainWindowUI::getTMPort()
165 {
166 {
166 return spinbox_TMServerPort->value();
167 return spinbox_TMServerPort->value();
167 }
168 }
168
169
169 int MainWindowUI::getTCPort()
170 int MainWindowUI::getTCPort()
170 {
171 {
171 return spinbox_TCServerPort->value();
172 return spinbox_TCServerPort->value();
172 }
173 }
173
174
174 void MainWindowUI::displayOnConsole(QString message)
175 void MainWindowUI::displayOnConsole(QString message)
175 {
176 {
176 console->append(message);
177 console->append(message);
177 }
178 }
178
179
179 void MainWindowUI::clearConsole()
180 void MainWindowUI::clearConsole()
180 {
181 {
181 console->clear();
182 console->clear();
182 }
183 }
183
184
184 void MainWindowUI::totalOfBytesHasChanged(unsigned int nbBytes)
185 void MainWindowUI::totalOfBytesHasChanged(unsigned int nbBytes)
185 {
186 {
186 label_totalOfBytes->setText(
187 label_totalOfBytes->setText(
187 "Received Bytes: "
188 "Received Bytes: "
188 + QString::number(nbBytes));
189 + QString::number(nbBytes));
189 }
190 }
190
191
191 void MainWindowUI::totalOfPacketsHasChanged(unsigned int nbPackets)
192 void MainWindowUI::totalOfPacketsHasChanged(unsigned int nbPackets)
192 {
193 {
193 label_totalOfPackets->setText(
194 label_totalOfPackets->setText(
194 "Received Packets: "
195 "Received Packets: "
195 + QString::number(nbPackets));
196 + QString::number(nbPackets));
196 }
197 }
@@ -1,103 +1,103
1 #ifndef MAINWINDOWUI_H
1 #ifndef MAINWINDOWUI_H
2 #define MAINWINDOWUI_H
2 #define MAINWINDOWUI_H
3
3
4 #include <QWidget>
4 #include <QWidget>
5 #include <qipdialogbox.h>
5 #include <qipdialogbox.h>
6 #include <QLabel>
6 #include <QLabel>
7 #include <QPushButton>
7 #include <QPushButton>
8 #include <QGridLayout>
8 #include <QGridLayout>
9 #include <QVBoxLayout>
9 #include <QVBoxLayout>
10 #include <QGroupBox>
10 #include <QGroupBox>
11 #include <QSpinBox>
11 #include <QSpinBox>
12 #include <QTextEdit>
12 #include <QTextEdit>
13 #include <QTabWidget>
13 #include <QTabWidget>
14
14
15 #include <wfdisplay.h>
15 #include <wfdisplay.h>
16 #include <pagespectra.h>
16 #include <pagespectra.h>
17 #include <parameterdump.h>
17 #include <parameterdump.h>
18
18
19 #include "tmstatistics.h"
19 #include "tmstatistics.h"
20 #include "hkdisplay.h"
20 #include "hkdisplay.h"
21 #include "recordpage.h"
21 #include "recordpage.h"
22
22
23 class MainWindowUI : public QWidget
23 class MainWindowUI : public QWidget
24 {
24 {
25 Q_OBJECT
25 Q_OBJECT
26 public:
26 public:
27 explicit MainWindowUI(QWidget *parent = 0);
27 explicit MainWindowUI(QWidget *parent = 0);
28
28
29 void setTCTMServerAddressIP(QString address);
29 void setTCTMServerAddressIP(QString address);
30 QString getTMEchoServerAddress();
30 QString getTMEchoServerAddress();
31 int getTMPort();
31 int getTMPort();
32 int getTCPort();
32 int getTCPort();
33 void displayOnConsole(QString message);
33 void displayOnConsole(QString message);
34
34
35 QTabWidget *spwTabWidget;
35 QTabWidget *spwTabWidget;
36 QWidget* spwTabWidgetPage0;
36 QWidget* spwTabWidgetPage0;
37 QWidget* spwTabWidgetPage1;
37 QWidget* spwTabWidgetPage1;
38 QWidget* spwTabWidgetPage2;
38 QWidget* spwTabWidgetPage2;
39 QWidget* spwTabWidgetPage3;
39 QWidget* spwTabWidgetPage3;
40
40
41 TMStatistics* tmStatistics;
41 TMStatistics* tmStatistics;
42
42
43 WFDisplay* wfDisplay;
43 WFDisplay* wfDisplay;
44 // WFPage* wfPageBurst;
45 WFPage* wfPage_CWF_F1;
44 WFPage* wfPage_CWF_F1;
46 WFPage* wfPage_CWF_F2;
45 WFPage* wfPage_CWF_F2;
46 WFPage* wfPage_CWF_F3;
47 PageSpectra* pageSpectraNORM;
47 PageSpectra* pageSpectraNORM;
48 HKDisplay* hkDisplay;
48 HKDisplay* hkDisplay;
49 RecordPage* recordPage;
49 RecordPage* recordPage;
50
50
51 QWidget* widget_spectrogram;
51 QWidget* widget_spectrogram;
52
52
53 ParameterDump* parameterDump;
53 ParameterDump* parameterDump;
54
54
55 QPushButton *button_openServerTCTM;
55 QPushButton *button_openServerTCTM;
56 QPushButton *button_testServerTCTM;
56 QPushButton *button_testServerTCTM;
57 QPushButton *button_openSocketEchoServer;
57 QPushButton *button_openSocketEchoServer;
58 QPushButton *button_TCAcknowledgement;
58 QPushButton *button_TCAcknowledgement;
59 QPushButton *button_TCRejection;
59 QPushButton *button_TCRejection;
60 QPushButton *button_GSEHK;
60 QPushButton *button_GSEHK;
61 QPushButton *button_clearConsole;
61 QPushButton *button_clearConsole;
62 QPushButton *button_resetStatistics;
62 QPushButton *button_resetStatistics;
63
63
64 QIPDialogBox *serverTMEchoDialogBox;
64 QIPDialogBox *serverTMEchoDialogBox;
65
65
66 QSpinBox *spinbox_serverTMEchoPort;
66 QSpinBox *spinbox_serverTMEchoPort;
67
67
68 signals:
68 signals:
69
69
70 public slots:
70 public slots:
71 void clearConsole();
71 void clearConsole();
72 void totalOfBytesHasChanged(unsigned int nbBytes);
72 void totalOfBytesHasChanged(unsigned int nbBytes);
73 void totalOfPacketsHasChanged(unsigned int nbPackets);
73 void totalOfPacketsHasChanged(unsigned int nbPackets);
74
74
75 private:
75 private:
76 QLabel *label_serverTMEcho;
76 QLabel *label_serverTMEcho;
77 QLabel *label_serverTMEchoPort;
77 QLabel *label_serverTMEchoPort;
78 QLabel *label_TMServerPort;
78 QLabel *label_TMServerPort;
79 QLabel *label_TCServerPort;
79 QLabel *label_TCServerPort;
80 QLabel *label_currentTCTMServer;
80 QLabel *label_currentTCTMServer;
81 QLabel *label_currentTCTMServerIP;
81 QLabel *label_currentTCTMServerIP;
82 QLabel *label_totalOfBytes;
82 QLabel *label_totalOfBytes;
83 QLabel *label_totalOfPackets;
83 QLabel *label_totalOfPackets;
84
84
85 QTextEdit *console;
85 QTextEdit *console;
86
86
87 QSpinBox *spinbox_TMServerPort;
87 QSpinBox *spinbox_TMServerPort;
88 QSpinBox *spinbox_TCServerPort;
88 QSpinBox *spinbox_TCServerPort;
89
89
90 QGroupBox *groupbox_TMEcho;
90 QGroupBox *groupbox_TMEcho;
91 QGroupBox *groupbox_ports;
91 QGroupBox *groupbox_ports;
92 QGroupBox *groupbox_TMToForeignGSETester;
92 QGroupBox *groupbox_TMToForeignGSETester;
93
93
94 QVBoxLayout *layout_TMEcho;
94 QVBoxLayout *layout_TMEcho;
95 QVBoxLayout *layout_TMToForeignGSETester;
95 QVBoxLayout *layout_TMToForeignGSETester;
96 QVBoxLayout *layout_overallLayout;
96 QVBoxLayout *layout_overallLayout;
97
97
98 QGridLayout *mainLayout;
98 QGridLayout *mainLayout;
99 QGridLayout *layout_ports;
99 QGridLayout *layout_ports;
100
100
101 };
101 };
102
102
103 #endif // MAINWINDOWUI_H
103 #endif // MAINWINDOWUI_H
@@ -1,881 +1,881
1 #include "stardundee.h"
1 #include "stardundee.h"
2 #include <lppmonengine.h>
2 #include <lppmonengine.h>
3 #include <QTime>
3 #include <QTime>
4 #include <QProgressBar>
4 #include <QProgressBar>
5 #include <math.h>
5 #include <math.h>
6 #include "ccsds.h"
6 #include "ccsds.h"
7
7
8 StarDundee::StarDundee(QWidget *parent) :
8 StarDundee::StarDundee(QWidget *parent) :
9 QWidget(parent)
9 QWidget(parent)
10 {
10 {
11 // Packet receiver
11 // Packet receiver
12 timer = new QTimer;
12 timer = new QTimer;
13 rmapPacketSEMAPHORE = new QSemaphore;
13 rmapPacketSEMAPHORE = new QSemaphore;
14 ccsdsPacketSEMAPHORE = new QSemaphore;
14 ccsdsPacketSEMAPHORE = new QSemaphore;
15 rmapPacket = (char*) malloc(RMAP_MAX_PACKET_LENGTH);
15 rmapPacket = (char*) malloc(RMAP_MAX_PACKET_LENGTH);
16 ccsdsPacket = (unsigned char*) malloc(CCSDS_MAX_PACKET_LENGTH);
16 ccsdsPacket = (unsigned char*) malloc(CCSDS_MAX_PACKET_LENGTH);
17 spwPacket = (char*) malloc( qMax(RMAP_MAX_PACKET_LENGTH, CCSDS_MAX_PACKET_LENGTH) );
17 spwPacket = (char*) malloc( qMax(RMAP_MAX_PACKET_LENGTH, CCSDS_MAX_PACKET_LENGTH) );
18
18
19 starDundeeStatusQueryDialog = new QDialog;
19 starDundeeStatusQueryDialog = new QDialog;
20
20
21 commandCode = invalid0; // initialization of the cmmand code for the RMAP transfers
21 commandCode = invalid0; // initialization of the cmmand code for the RMAP transfers
22 rmapTargetLogicalAddress = DEFAULT_TARGET;
22 rmapTargetLogicalAddress = DEFAULT_TARGET;
23 rmapSourceLogicalAddress = DEFAULT_SOURCE;
23 rmapSourceLogicalAddress = DEFAULT_SOURCE;
24
24
25 connection_LAYOUT = new QGridLayout;
25 connection_LAYOUT = new QGridLayout;
26
26
27 usbDeviceNumber_LABEL = new QLabel(tr("USB device number: "));
27 usbDeviceNumber_LABEL = new QLabel(tr("USB device number: "));
28 linkNumber_LABEL = new QLabel(tr("SpaceWire link number: "));
28 linkNumber_LABEL = new QLabel(tr("SpaceWire link number: "));
29 starDundeeStatusQueryDialogLabel = new QLabel(tr("SpaceWire link not running"));
29 starDundeeStatusQueryDialogLabel = new QLabel(tr("SpaceWire link not running"));
30
30
31 //*** QPUSHBUTTON ***//
31 //*** QPUSHBUTTON ***//
32 starDundeeStatusQueryRetryButton = new QPushButton(tr("Retry"));
32 starDundeeStatusQueryRetryButton = new QPushButton(tr("Retry"));
33 starDundeeStatusQueryAbortButton = new QPushButton(tr("Abort"));
33 starDundeeStatusQueryAbortButton = new QPushButton(tr("Abort"));
34
34
35 usbDeviceNumber_SPINBOX = new QSpinBox;
35 usbDeviceNumber_SPINBOX = new QSpinBox;
36 usbDeviceNumber_SPINBOX->setRange(0,32);
36 usbDeviceNumber_SPINBOX->setRange(0,32);
37 usbDeviceNumber_SPINBOX->setValue(0);
37 usbDeviceNumber_SPINBOX->setValue(0);
38 linkNumber_SPINBOX = new QSpinBox;
38 linkNumber_SPINBOX = new QSpinBox;
39 linkNumber_SPINBOX->setRange(1,2);
39 linkNumber_SPINBOX->setRange(1,2);
40 linkNumber_SPINBOX->setValue(1);
40 linkNumber_SPINBOX->setValue(1);
41
41
42 // STAR DUNDEE STATUS QUERY DIALOG
42 // STAR DUNDEE STATUS QUERY DIALOG
43 starDundeeStatusQueryDialogLayout = new QGridLayout;
43 starDundeeStatusQueryDialogLayout = new QGridLayout;
44 starDundeeStatusQueryDialogLayout->addWidget(starDundeeStatusQueryDialogLabel, 0, 0, 1, 2);
44 starDundeeStatusQueryDialogLayout->addWidget(starDundeeStatusQueryDialogLabel, 0, 0, 1, 2);
45 starDundeeStatusQueryDialogLayout->addWidget(starDundeeStatusQueryRetryButton, 1, 0, 0);
45 starDundeeStatusQueryDialogLayout->addWidget(starDundeeStatusQueryRetryButton, 1, 0, 0);
46 starDundeeStatusQueryDialogLayout->addWidget(starDundeeStatusQueryAbortButton, 1, 1, 0);
46 starDundeeStatusQueryDialogLayout->addWidget(starDundeeStatusQueryAbortButton, 1, 1, 0);
47 starDundeeStatusQueryDialog->setLayout(starDundeeStatusQueryDialogLayout);
47 starDundeeStatusQueryDialog->setLayout(starDundeeStatusQueryDialogLayout);
48
48
49 connection_LAYOUT->addWidget(usbDeviceNumber_LABEL, 0, 0, 1, 1);
49 connection_LAYOUT->addWidget(usbDeviceNumber_LABEL, 0, 0, 1, 1);
50 connection_LAYOUT->addWidget(usbDeviceNumber_SPINBOX, 0, 1, 1, 1);
50 connection_LAYOUT->addWidget(usbDeviceNumber_SPINBOX, 0, 1, 1, 1);
51 connection_LAYOUT->addWidget(linkNumber_LABEL, 1, 0, 1, 1);
51 connection_LAYOUT->addWidget(linkNumber_LABEL, 1, 0, 1, 1);
52 connection_LAYOUT->addWidget(linkNumber_SPINBOX, 1, 1, 1, 1);
52 connection_LAYOUT->addWidget(linkNumber_SPINBOX, 1, 1, 1, 1);
53
53
54 connection_LAYOUT->setRowStretch(2, 1);
54 connection_LAYOUT->setRowStretch(2, 1);
55 connection_LAYOUT->setColumnStretch(2, 1);
55 connection_LAYOUT->setColumnStretch(2, 1);
56
56
57 this->setLayout(connection_LAYOUT);
57 this->setLayout(connection_LAYOUT);
58
58
59 connect(starDundeeStatusQueryRetryButton, SIGNAL(clicked()), this, SLOT(reTestSPWLink()));
59 connect(starDundeeStatusQueryRetryButton, SIGNAL(clicked()), this, SLOT(reTestSPWLink()));
60 connect(starDundeeStatusQueryAbortButton, SIGNAL(clicked()), starDundeeStatusQueryDialog, SLOT(reject()));
60 connect(starDundeeStatusQueryAbortButton, SIGNAL(clicked()), starDundeeStatusQueryDialog, SLOT(reject()));
61
61
62 connect(this->timer, SIGNAL(timeout()), this, SLOT(receivePollingLoop()));
62 connect(this->timer, SIGNAL(timeout()), this, SLOT(receivePollingLoop()));
63 }
63 }
64
64
65 StarDundee::~StarDundee()
65 StarDundee::~StarDundee()
66 {
66 {
67 free(rmapPacket);
67 free(rmapPacket);
68 free(ccsdsPacket);
68 free(ccsdsPacket);
69 free(spwPacket);
69 free(spwPacket);
70 USBSpaceWire_Close(hDevice); // Close the device
70 USBSpaceWire_Close(hDevice); // Close the device
71 }
71 }
72
72
73 bool StarDundee::Open()
73 bool StarDundee::Open()
74 {
74 {
75 int status;
75 int status;
76 U32 statusControl;
76 U32 statusControl;
77
77
78 if (!USBSpaceWire_Open(&hDevice, usbDeviceNumber_SPINBOX->value())) // Open the USB device
78 if (!USBSpaceWire_Open(&hDevice, usbDeviceNumber_SPINBOX->value())) // Open the USB device
79 {
79 {
80 emit sendMessage("stardundee *** Open *** ERROR: USBSpaceWire_Open(&hDevice, 0))");
80 emit sendMessage("stardundee *** Open *** ERROR: USBSpaceWire_Open(&hDevice, 0))");
81 return false;
81 return false;
82 }
82 }
83 emit sendMessage("stardundee *** Open *** USBSpaceWire_Open successful, device number: "
83 emit sendMessage("stardundee *** Open *** USBSpaceWire_Open successful, device number: "
84 + QString::number(usbDeviceNumber_SPINBOX->value()));
84 + QString::number(usbDeviceNumber_SPINBOX->value()));
85
85
86 USBSpaceWire_EnableNetworkMode(hDevice, 0); // deactivate the network mode
86 USBSpaceWire_EnableNetworkMode(hDevice, 0); // deactivate the network mode
87 CFGSpaceWire_EnableRMAP(1); // Enable the use of RMAP for the StarDundee brick configuration
87 CFGSpaceWire_EnableRMAP(1); // Enable the use of RMAP for the StarDundee brick configuration
88 CFGSpaceWire_SetRMAPDestinationKey(0x20); // Set the destination key expected by STAR-Dundee devices
88 CFGSpaceWire_SetRMAPDestinationKey(0x20); // Set the destination key expected by STAR-Dundee devices
89
89
90 // Set the path and return path to the device
90 // Set the path and return path to the device
91 CFGSpaceWire_StackClear();
91 CFGSpaceWire_StackClear();
92 CFGSpaceWire_AddrStackPush(0);
92 CFGSpaceWire_AddrStackPush(0);
93 CFGSpaceWire_AddrStackPush(254);
93 CFGSpaceWire_AddrStackPush(254);
94 CFGSpaceWire_RetAddrStackPush(254);
94 CFGSpaceWire_RetAddrStackPush(254);
95
95
96 // set the base transmit rate to 100 MHz
96 // set the base transmit rate to 100 MHz
97 status = CFGSpaceWire_SetBrickBaseTransmitRate( hDevice, CFG_BRK_CLK_100_MHZ, CFG_BRK_DVDR_1, 0xff);
97 status = CFGSpaceWire_SetBrickBaseTransmitRate( hDevice, CFG_BRK_CLK_100_MHZ, CFG_BRK_DVDR_1, 0xff);
98 if (status != CFG_TRANSFER_SUCCESS)
98 if (status != CFG_TRANSFER_SUCCESS)
99 {
99 {
100 emit sendMessage("ERROR CFGSpaceWire_SetBrickBaseTransmitRate");
100 emit sendMessage("ERROR CFGSpaceWire_SetBrickBaseTransmitRate");
101 }
101 }
102 else emit sendMessage("OK CFGSpaceWire_SetBrickBaseTransmitRate, base rate = 100 MHz");
102 else emit sendMessage("OK CFGSpaceWire_SetBrickBaseTransmitRate, base rate = 100 MHz");
103 // read the link status
103 // read the link status
104 if (CFGSpaceWire_GetLinkStatusControl(hDevice, linkNumber_SPINBOX->value(), &statusControl) != CFG_TRANSFER_SUCCESS)
104 if (CFGSpaceWire_GetLinkStatusControl(hDevice, linkNumber_SPINBOX->value(), &statusControl) != CFG_TRANSFER_SUCCESS)
105 {
105 {
106 emit sendMessage("Could not read link status control for link " + QString::number(linkNumber_SPINBOX->value()));
106 emit sendMessage("Could not read link status control for link " + QString::number(linkNumber_SPINBOX->value()));
107 }
107 }
108 else
108 else
109 {
109 {
110 emit sendMessage("OK CFGSpaceWire_GetLinkStatusControl of link " + QString::number(linkNumber_SPINBOX->value()));
110 emit sendMessage("OK CFGSpaceWire_GetLinkStatusControl of link " + QString::number(linkNumber_SPINBOX->value()));
111
111
112 // Set the link status control register properties
112 // Set the link status control register properties
113 CFGSpaceWire_LSEnableAutoStart(&statusControl, 1);
113 CFGSpaceWire_LSEnableAutoStart(&statusControl, 1);
114 CFGSpaceWire_LSEnableStart(&statusControl, 1);
114 CFGSpaceWire_LSEnableStart(&statusControl, 1);
115 CFGSpaceWire_LSEnableDisabled(&statusControl, 0);
115 CFGSpaceWire_LSEnableDisabled(&statusControl, 0);
116 CFGSpaceWire_LSEnableTristate(&statusControl, 0);
116 CFGSpaceWire_LSEnableTristate(&statusControl, 0);
117 CFGSpaceWire_LSSetOperatingSpeed(&statusControl, 9); // sets the link speed to ( 100 MHz / (9+1) ) = 10 MHz
117 CFGSpaceWire_LSSetOperatingSpeed(&statusControl, 9); // sets the link speed to ( 100 MHz / (9+1) ) = 10 MHz
118
118
119 // Set the link status control register
119 // Set the link status control register
120 if (CFGSpaceWire_SetLinkStatusControl(hDevice, linkNumber_SPINBOX->value(), statusControl) != CFG_TRANSFER_SUCCESS)
120 if (CFGSpaceWire_SetLinkStatusControl(hDevice, linkNumber_SPINBOX->value(), statusControl) != CFG_TRANSFER_SUCCESS)
121 {
121 {
122 emit sendMessage("Could not set the link status control for link " + QString::number(linkNumber_SPINBOX->value()));
122 emit sendMessage("Could not set the link status control for link " + QString::number(linkNumber_SPINBOX->value()));
123 }
123 }
124 else emit sendMessage("Set the link status control for link " + QString::number(linkNumber_SPINBOX->value()));
124 else emit sendMessage("Set the link status control for link " + QString::number(linkNumber_SPINBOX->value()));
125 }
125 }
126
126
127 if (CFGSpaceWire_SetAsInterface(hDevice, 1, 0) != CFG_TRANSFER_SUCCESS)
127 if (CFGSpaceWire_SetAsInterface(hDevice, 1, 0) != CFG_TRANSFER_SUCCESS)
128 {
128 {
129 emit sendMessage("Could not set the device to be an interface");
129 emit sendMessage("Could not set the device to be an interface");
130 }
130 }
131 else
131 else
132 {
132 {
133 emit sendMessage("Device set to be an interface");
133 emit sendMessage("Device set to be an interface");
134 }
134 }
135
135
136 //setRoutingTableEntry(rmapTargetLogicalAddress, (1<<linkNumber_SPINBOX->value()));
136 //setRoutingTableEntry(rmapTargetLogicalAddress, (1<<linkNumber_SPINBOX->value()));
137 //setRoutingTableEntry(rmapSourceLogicalAddress, (1<<3));
137 //setRoutingTableEntry(rmapSourceLogicalAddress, (1<<3));
138 //GetRoutingTableEntry(rmapTargetLogicalAddress);
138 //GetRoutingTableEntry(rmapTargetLogicalAddress);
139 //GetRoutingTableEntry(rmapSourceLogicalAddress);
139 //GetRoutingTableEntry(rmapSourceLogicalAddress);
140
140
141 USBSpaceWire_RegisterReceiveOnAllPorts(hDevice); // Register to receive on all ports
141 USBSpaceWire_RegisterReceiveOnAllPorts(hDevice); // Register to receive on all ports
142 USBSpaceWire_ClearEndpoints(hDevice); // clear the USB endpoints
142 USBSpaceWire_ClearEndpoints(hDevice); // clear the USB endpoints
143
143
144 emit sendMessage("The driver's current send buffer size is " + QString::number(USBSpaceWire_GetDriverSendBufferSize(hDevice)) + " bytes");
144 emit sendMessage("The driver's current send buffer size is " + QString::number(USBSpaceWire_GetDriverSendBufferSize(hDevice)) + " bytes");
145 emit sendMessage("The driver's current read buffer size is " + QString::number(USBSpaceWire_GetDriverReadBufferSize(hDevice)) + " bytes");
145 emit sendMessage("The driver's current read buffer size is " + QString::number(USBSpaceWire_GetDriverReadBufferSize(hDevice)) + " bytes");
146 emit sendMessage("USBSpaceWire_IsReadThrottling is " + QString::number(USBSpaceWire_IsReadThrottling(hDevice)));
146 emit sendMessage("USBSpaceWire_IsReadThrottling is " + QString::number(USBSpaceWire_IsReadThrottling(hDevice)));
147
147
148 // initialize SPW packet semaphores
148 // initialize SPW packet semaphores
149 while (rmapPacketSEMAPHORE->available()!=0) rmapPacketSEMAPHORE->acquire();
149 while (rmapPacketSEMAPHORE->available()!=0) rmapPacketSEMAPHORE->acquire();
150 while (ccsdsPacketSEMAPHORE->available()!=0) ccsdsPacketSEMAPHORE->acquire();
150 while (ccsdsPacketSEMAPHORE->available()!=0) ccsdsPacketSEMAPHORE->acquire();
151
151
152 if (getLinkStatus(linkNumber_SPINBOX->value()))
152 if (getLinkStatus(linkNumber_SPINBOX->value()))
153 {
153 {
154 emit isOpen(true);
154 emit isOpen(true);
155 timer->start(100); // starts the periodical timer, period = 100ms
155 timer->start(1); // starts the periodical timer, period = 100ms
156 return true;
156 return true;
157 }
157 }
158 else
158 else
159 {
159 {
160 starDundeeStatusQueryDialog->exec();
160 starDundeeStatusQueryDialog->exec();
161 return false;
161 return false;
162 }
162 }
163 }
163 }
164
164
165 void StarDundee::Close()
165 void StarDundee::Close()
166 {
166 {
167 USBSpaceWire_Close(hDevice); // Close the device
167 USBSpaceWire_Close(hDevice); // Close the device
168 emit sendMessage("stardundee *** Close *** USBSpaceWire_Close, device: " + QString::number(usbDeviceNumber_SPINBOX->value()));
168 emit sendMessage("stardundee *** Close *** USBSpaceWire_Close, device: " + QString::number(usbDeviceNumber_SPINBOX->value()));
169
169
170 USBSpaceWire_UnregisterReceiveOnAllPorts(hDevice); // Stop receiving on all ports
170 USBSpaceWire_UnregisterReceiveOnAllPorts(hDevice); // Stop receiving on all ports
171
171
172 emit isOpen(false);
172 emit isOpen(false);
173 }
173 }
174
174
175 unsigned char StarDundee::setRoutingTableEntry(int tableEntry, U32 dwOutputPorts)
175 unsigned char StarDundee::setRoutingTableEntry(int tableEntry, U32 dwOutputPorts)
176 {
176 {
177 U32 routingTableEntry;
177 U32 routingTableEntry;
178 // SET THE ROUTING TABLE ENTRY FOR LOGICAL ADDRESSING, TARGET entryNumber
178 // SET THE ROUTING TABLE ENTRY FOR LOGICAL ADDRESSING, TARGET entryNumber
179 if (CFGSpaceWire_ClearRoutingTableEntry(hDevice, tableEntry) != CFG_TRANSFER_SUCCESS)
179 if (CFGSpaceWire_ClearRoutingTableEntry(hDevice, tableEntry) != CFG_TRANSFER_SUCCESS)
180 {
180 {
181 emit sendMessage("Could not clear routing table entry " + QString::number(tableEntry));
181 emit sendMessage("Could not clear routing table entry " + QString::number(tableEntry));
182 }
182 }
183 // Build the routing table entry
183 // Build the routing table entry
184 CFGSpaceWire_RTBuildRoutingTableEntry(&routingTableEntry,
184 CFGSpaceWire_RTBuildRoutingTableEntry(&routingTableEntry,
185 dwOutputPorts, // route out of port dwOutputPorts
185 dwOutputPorts, // route out of port dwOutputPorts
186 0, // header deletion disabled
186 0, // header deletion disabled
187 0); // priority normal
187 0); // priority normal
188 // Set the routing table entry for logical address tableEntry
188 // Set the routing table entry for logical address tableEntry
189 if (CFGSpaceWire_SetRoutingTableEntry(hDevice, tableEntry, routingTableEntry) != CFG_TRANSFER_SUCCESS)
189 if (CFGSpaceWire_SetRoutingTableEntry(hDevice, tableEntry, routingTableEntry) != CFG_TRANSFER_SUCCESS)
190 {
190 {
191 emit sendMessage("Could not set routing table entry [" + QString::number(tableEntry) + "]");
191 emit sendMessage("Could not set routing table entry [" + QString::number(tableEntry) + "]");
192 }
192 }
193 else emit sendMessage("Routing table entry [" + QString::number(tableEntry) + "] set" );
193 else emit sendMessage("Routing table entry [" + QString::number(tableEntry) + "] set" );
194 return 1;
194 return 1;
195 }
195 }
196
196
197 unsigned int StarDundee::GetRoutingTableEntry(int tableEntry)
197 unsigned int StarDundee::GetRoutingTableEntry(int tableEntry)
198 {
198 {
199 U32 routingTableEntry, outputPorts;
199 U32 routingTableEntry, outputPorts;
200 char enabled, delHead, priority;
200 char enabled, delHead, priority;
201 int portNum;
201 int portNum;
202
202
203 emit sendMessage("GetRoutingTableEntry [" + QString::number(tableEntry) + "]");
203 emit sendMessage("GetRoutingTableEntry [" + QString::number(tableEntry) + "]");
204 // Read the routing table entry
204 // Read the routing table entry
205 if (CFGSpaceWire_GetRoutingTableEntry(hDevice, tableEntry, &routingTableEntry) != CFG_TRANSFER_SUCCESS)
205 if (CFGSpaceWire_GetRoutingTableEntry(hDevice, tableEntry, &routingTableEntry) != CFG_TRANSFER_SUCCESS)
206 {
206 {
207 emit sendMessage("Could not read routing table entry [" + QString::number(tableEntry) + "]");
207 emit sendMessage("Could not read routing table entry [" + QString::number(tableEntry) + "]");
208 }
208 }
209 else
209 else
210 {
210 {
211 // Display the routing table entry properties
211 // Display the routing table entry properties
212 CFGSpaceWire_RTIsEnabled(routingTableEntry, &enabled);
212 CFGSpaceWire_RTIsEnabled(routingTableEntry, &enabled);
213 CFGSpaceWire_RTIsDelHead(routingTableEntry, &delHead);
213 CFGSpaceWire_RTIsDelHead(routingTableEntry, &delHead);
214 CFGSpaceWire_RTIsPriority(routingTableEntry, &priority);
214 CFGSpaceWire_RTIsPriority(routingTableEntry, &priority);
215 CFGSpaceWire_RTGetOutputPorts(routingTableEntry, &outputPorts);
215 CFGSpaceWire_RTGetOutputPorts(routingTableEntry, &outputPorts);
216 emit sendMessage("CFGSpaceWire_RTIsEnabled : " + QString::number(enabled));
216 emit sendMessage("CFGSpaceWire_RTIsEnabled : " + QString::number(enabled));
217 emit sendMessage("CFGSpaceWire_RTIsDelHead : " + QString::number(delHead));
217 emit sendMessage("CFGSpaceWire_RTIsDelHead : " + QString::number(delHead));
218 emit sendMessage("CFGSpaceWire_RTIsPriority : " + QString::number(priority));
218 emit sendMessage("CFGSpaceWire_RTIsPriority : " + QString::number(priority));
219 emit sendMessage("CFGSpaceWire_RTGetOutputPorts : ");
219 emit sendMessage("CFGSpaceWire_RTGetOutputPorts : ");
220 for (portNum = 0; portNum < 32; portNum++)
220 for (portNum = 0; portNum < 32; portNum++)
221 {
221 {
222 if (outputPorts & (1 << portNum))
222 if (outputPorts & (1 << portNum))
223 {
223 {
224 emit sendMessage(QString::number(portNum));
224 emit sendMessage(QString::number(portNum));
225 }
225 }
226 }
226 }
227 }
227 }
228
228
229 return 1;
229 return 1;
230 }
230 }
231
231
232 unsigned int StarDundee::Write(unsigned int *Value, unsigned int count, unsigned int address)
232 unsigned int StarDundee::Write(unsigned int *Value, unsigned int count, unsigned int address)
233 {
233 {
234 unsigned int remainingCount = count;
234 unsigned int remainingCount = count;
235 unsigned int iOffset = 0;
235 unsigned int iOffset = 0;
236 QString console_message;
236 QString console_message;
237 char* data;
237 char* data;
238
238
239 if(rmapPacketSEMAPHORE->available()!=0)
239 if(rmapPacketSEMAPHORE->available()!=0)
240 {
240 {
241 emit appendToLog("WARNING === in function WRITE of rmapplugin *** RMAP request already running, WRITE access stopped");
241 emit appendToLog("WARNING === in function WRITE of rmapplugin *** RMAP request already running, WRITE access stopped");
242 return 1;
242 return 1;
243 }
243 }
244
244
245 emit this->RMAP_write_reply_setText("reply to the write command required\nlast reply status: unavailable");
245 emit this->RMAP_write_reply_setText("reply to the write command required\nlast reply status: unavailable");
246
246
247 data = (char*) malloc(READ_WRITE_MAX_COUNTS*4);
247 data = (char*) malloc(READ_WRITE_MAX_COUNTS*4);
248
248
249 emit appendToLog(QString("*** START *** WRITE ")+ QString::number(count) + QString(" word(s) @0x")+ QString::number(address,16));
249 emit appendToLog(QString("*** START *** WRITE ")+ QString::number(count) + QString(" word(s) @0x")+ QString::number(address,16));
250
250
251 QProgressBar* progress=NULL;
251 QProgressBar* progress=NULL;
252 if (count > READ_WRITE_MAX_COUNTS)
252 if (count > READ_WRITE_MAX_COUNTS)
253 {
253 {
254 progress = lppmonEngine::getProgressBar("Reading on spw @0x"+QString::number(address,16)+" %v of "+QString::number(count)+" words ",count);
254 progress = lppmonEngine::getProgressBar("Reading on spw @0x"+QString::number(address,16)+" %v of "+QString::number(count)+" words ",count);
255 }
255 }
256
256
257 while (remainingCount > READ_WRITE_MAX_COUNTS)
257 while (remainingCount > READ_WRITE_MAX_COUNTS)
258 {
258 {
259 // progress bar
259 // progress bar
260 progress->setValue(count-remainingCount);
260 progress->setValue(count-remainingCount);
261 qApp->processEvents();
261 qApp->processEvents();
262
262
263 for (int i = 0; i<READ_WRITE_MAX_COUNTS; i++)
263 for (int i = 0; i<READ_WRITE_MAX_COUNTS; i++)
264 {
264 {
265 data[i*4+3] = (char) ((unsigned int) Value[i+iOffset]);
265 data[i*4+3] = (char) ((unsigned int) Value[i+iOffset]);
266 data[i*4+2] = (char) ((unsigned int) Value[i+iOffset]>>8);
266 data[i*4+2] = (char) ((unsigned int) Value[i+iOffset]>>8);
267 data[i*4+1] = (char) ((unsigned int) Value[i+iOffset]>>16);
267 data[i*4+1] = (char) ((unsigned int) Value[i+iOffset]>>16);
268 data[i*4+0] = (char) ((unsigned int) Value[i+iOffset]>>24);
268 data[i*4+0] = (char) ((unsigned int) Value[i+iOffset]>>24);
269 }
269 }
270
270
271 console_message.sprintf("remainingCount: %d => ", remainingCount);
271 console_message.sprintf("remainingCount: %d => ", remainingCount);
272 emit appendToLog(console_message + QString("Write ")+ QString::number(READ_WRITE_MAX_COUNTS*4) + QString(" byte(s) @0x")+ QString::number(address,16));
272 emit appendToLog(console_message + QString("Write ")+ QString::number(READ_WRITE_MAX_COUNTS*4) + QString(" byte(s) @0x")+ QString::number(address,16));
273
273
274 if(WriteBLOCK(data, READ_WRITE_MAX_COUNTS*4, address)==0)
274 if(WriteBLOCK(data, READ_WRITE_MAX_COUNTS*4, address)==0)
275 {
275 {
276 emit appendToLog("WARNING === in function WRITE of rmapplugin *** RMAP write command failed");
276 emit appendToLog("WARNING === in function WRITE of rmapplugin *** RMAP write command failed");
277 return 1;
277 return 1;
278 }
278 }
279
279
280 remainingCount = remainingCount - READ_WRITE_MAX_COUNTS;
280 remainingCount = remainingCount - READ_WRITE_MAX_COUNTS;
281 address = address + READ_WRITE_MAX_COUNTS * 4;
281 address = address + READ_WRITE_MAX_COUNTS * 4;
282 iOffset = iOffset + READ_WRITE_MAX_COUNTS;
282 iOffset = iOffset + READ_WRITE_MAX_COUNTS;
283 }
283 }
284
284
285 if (remainingCount > 0)
285 if (remainingCount > 0)
286 {
286 {
287 for (unsigned int i = 0; i<remainingCount; i++)
287 for (unsigned int i = 0; i<remainingCount; i++)
288 {
288 {
289 data[i*4+3] = (char) ((unsigned int) Value[i+iOffset]);
289 data[i*4+3] = (char) ((unsigned int) Value[i+iOffset]);
290 data[i*4+2] = (char) ((unsigned int) Value[i+iOffset]>>8);
290 data[i*4+2] = (char) ((unsigned int) Value[i+iOffset]>>8);
291 data[i*4+1] = (char) ((unsigned int) Value[i+iOffset]>>16);
291 data[i*4+1] = (char) ((unsigned int) Value[i+iOffset]>>16);
292 data[i*4+0] = (char) ((unsigned int) Value[i+iOffset]>>24);
292 data[i*4+0] = (char) ((unsigned int) Value[i+iOffset]>>24);
293 }
293 }
294
294
295 console_message.sprintf("remainingCount: %d => ", remainingCount);
295 console_message.sprintf("remainingCount: %d => ", remainingCount);
296 emit appendToLog(console_message + QString("Write ")+ QString::number(remainingCount*4) + QString(" byte(s) @0x")+ QString::number(address,16));
296 emit appendToLog(console_message + QString("Write ")+ QString::number(remainingCount*4) + QString(" byte(s) @0x")+ QString::number(address,16));
297
297
298 if (WriteBLOCK(data, remainingCount*4, address)==0)
298 if (WriteBLOCK(data, remainingCount*4, address)==0)
299 {
299 {
300 emit appendToLog("WARNING === in function WRITE of rmapplugin *** RMAP write command failed");
300 emit appendToLog("WARNING === in function WRITE of rmapplugin *** RMAP write command failed");
301 return 1;
301 return 1;
302 }
302 }
303 }
303 }
304
304
305 if (count > READ_WRITE_MAX_COUNTS)
305 if (count > READ_WRITE_MAX_COUNTS)
306 {
306 {
307 lppmonEngine::deleteProgressBar(progress);
307 lppmonEngine::deleteProgressBar(progress);
308 }
308 }
309
309
310 emit appendToLog(QString("*** STOP *** WRITE"));
310 emit appendToLog(QString("*** STOP *** WRITE"));
311
311
312 free(data);
312 free(data);
313 return count;
313 return count;
314 }
314 }
315
315
316 unsigned int StarDundee::Read(unsigned int *Value, unsigned int count, unsigned int address)
316 unsigned int StarDundee::Read(unsigned int *Value, unsigned int count, unsigned int address)
317 {
317 {
318 unsigned int remainingCount = count;
318 unsigned int remainingCount = count;
319 unsigned int iOffset = 0;
319 unsigned int iOffset = 0;
320 QString console_message;
320 QString console_message;
321
321
322 if(rmapPacketSEMAPHORE->available()!=0)
322 if(rmapPacketSEMAPHORE->available()!=0)
323 {
323 {
324 emit appendToLog("WARNING === in function READ of rmapplugin *** RMAP request already running, READ access stopped");
324 emit appendToLog("WARNING === in function READ of rmapplugin *** RMAP request already running, READ access stopped");
325 return 1;
325 return 1;
326 }
326 }
327
327
328 emit appendToLog(QString("*** START *** READ ")+ QString::number(count) + QString(" word(s) @0x")+ QString::number(address,16));
328 emit appendToLog(QString("*** START *** READ ")+ QString::number(count) + QString(" word(s) @0x")+ QString::number(address,16));
329
329
330 QProgressBar* progress=NULL;
330 QProgressBar* progress=NULL;
331 if (count > READ_WRITE_MAX_COUNTS)
331 if (count > READ_WRITE_MAX_COUNTS)
332 {
332 {
333 progress = lppmonEngine::getProgressBar("Reading on spw @0x"+QString::number(address,16)+" %v of "+QString::number(count)+" words ",count);
333 progress = lppmonEngine::getProgressBar("Reading on spw @0x"+QString::number(address,16)+" %v of "+QString::number(count)+" words ",count);
334 }
334 }
335
335
336 while (remainingCount > READ_WRITE_MAX_COUNTS)
336 while (remainingCount > READ_WRITE_MAX_COUNTS)
337 {
337 {
338 // progress bar
338 // progress bar
339 progress->setValue(count-remainingCount);
339 progress->setValue(count-remainingCount);
340 qApp->processEvents();
340 qApp->processEvents();
341
341
342 console_message.sprintf("remainingCount: %d => ", remainingCount);
342 console_message.sprintf("remainingCount: %d => ", remainingCount);
343 emit appendToLog(console_message + QString("Read ")+ QString::number(4*READ_WRITE_MAX_COUNTS) + QString(" byte(s) @0x")+ QString::number(address,16));
343 emit appendToLog(console_message + QString("Read ")+ QString::number(4*READ_WRITE_MAX_COUNTS) + QString(" byte(s) @0x")+ QString::number(address,16));
344
344
345 if (this->ReadBLOCK(READ_WRITE_MAX_COUNTS*4, address)==0)
345 if (this->ReadBLOCK(READ_WRITE_MAX_COUNTS*4, address)==0)
346 {
346 {
347 emit appendToLog("WARNING === in function READ of rmapplugin *** RMAP packet not received");
347 emit appendToLog("WARNING === in function READ of rmapplugin *** RMAP packet not received");
348 return 1;
348 return 1;
349 }
349 }
350
350
351 for(int i=0;i<READ_WRITE_MAX_COUNTS;i++)
351 for(int i=0;i<READ_WRITE_MAX_COUNTS;i++)
352 {
352 {
353 Value[i+iOffset] = (unsigned char) rmapPacket[i*4+RMAP_READ_REPLY_HEADER_LENGTH];
353 Value[i+iOffset] = (unsigned char) rmapPacket[i*4+RMAP_READ_REPLY_HEADER_LENGTH];
354 for(int j=1;j<4;j++)
354 for(int j=1;j<4;j++)
355 {
355 {
356 Value[i+iOffset]= ((unsigned char) (rmapPacket[i*4+j+RMAP_READ_REPLY_HEADER_LENGTH]))
356 Value[i+iOffset]= ((unsigned char) (rmapPacket[i*4+j+RMAP_READ_REPLY_HEADER_LENGTH]))
357 + Value[i+iOffset]*256;
357 + Value[i+iOffset]*256;
358 }
358 }
359 }
359 }
360
360
361 remainingCount = remainingCount - READ_WRITE_MAX_COUNTS;
361 remainingCount = remainingCount - READ_WRITE_MAX_COUNTS;
362 address = address + READ_WRITE_MAX_COUNTS * 4;
362 address = address + READ_WRITE_MAX_COUNTS * 4;
363 iOffset = iOffset + READ_WRITE_MAX_COUNTS;
363 iOffset = iOffset + READ_WRITE_MAX_COUNTS;
364 this->acquireRMAPSemaphore();
364 this->acquireRMAPSemaphore();
365 }
365 }
366
366
367 if (remainingCount > 0)
367 if (remainingCount > 0)
368 {
368 {
369 console_message.sprintf("remainingCount: %d => ", remainingCount);
369 console_message.sprintf("remainingCount: %d => ", remainingCount);
370 emit appendToLog(console_message + QString("Read ")+ QString::number(4*remainingCount) + QString(" byte(s) @0x")+ QString::number(address,16));
370 emit appendToLog(console_message + QString("Read ")+ QString::number(4*remainingCount) + QString(" byte(s) @0x")+ QString::number(address,16));
371
371
372 if (this->ReadBLOCK(4*remainingCount, address)==0)
372 if (this->ReadBLOCK(4*remainingCount, address)==0)
373 {
373 {
374 emit appendToLog("WARNING === in function READ of rmapplugin *** RMAP packet not received");
374 emit appendToLog("WARNING === in function READ of rmapplugin *** RMAP packet not received");
375 return 1;
375 return 1;
376 }
376 }
377
377
378 for(unsigned int i=0;i<remainingCount;i++)
378 for(unsigned int i=0;i<remainingCount;i++)
379 {
379 {
380 Value[i+iOffset] = (unsigned char) rmapPacket[i*4+RMAP_READ_REPLY_HEADER_LENGTH];
380 Value[i+iOffset] = (unsigned char) rmapPacket[i*4+RMAP_READ_REPLY_HEADER_LENGTH];
381 for(int j=1;j<4;j++)
381 for(int j=1;j<4;j++)
382 {
382 {
383 Value[i+iOffset]= ((unsigned char)(rmapPacket[i*4+j+RMAP_READ_REPLY_HEADER_LENGTH])) + Value[i+iOffset]*256;
383 Value[i+iOffset]= ((unsigned char)(rmapPacket[i*4+j+RMAP_READ_REPLY_HEADER_LENGTH])) + Value[i+iOffset]*256;
384 }
384 }
385 }
385 }
386 this->acquireRMAPSemaphore();
386 this->acquireRMAPSemaphore();
387 }
387 }
388
388
389 if (count > READ_WRITE_MAX_COUNTS)
389 if (count > READ_WRITE_MAX_COUNTS)
390 {
390 {
391 lppmonEngine::deleteProgressBar(progress);
391 lppmonEngine::deleteProgressBar(progress);
392 }
392 }
393
393
394 emit appendToLog(QString("*** STOP *** READ "));
394 emit appendToLog(QString("*** STOP *** READ "));
395 return count;
395 return count;
396 }
396 }
397
397
398 unsigned int StarDundee::WriteBLOCK(char *data, unsigned int nbBytes, unsigned int address)
398 unsigned int StarDundee::WriteBLOCK(char *data, unsigned int nbBytes, unsigned int address)
399 {
399 {
400 RMAP *RMAPCommand;
400 RMAP *RMAPCommand;
401 char * packet;
401 char * packet;
402 char* aux;
402 char* aux;
403 unsigned char offset, headerSize, CRCSize;
403 unsigned char offset, headerSize, CRCSize;
404 unsigned int totalSize;
404 unsigned int totalSize;
405 int errorCode;
405 int errorCode;
406 QString console_message;
406 QString console_message;
407
407
408 if (getLinkStatus(this->linkNumber_SPINBOX->value()) == 0)
408 if (getLinkStatus(this->linkNumber_SPINBOX->value()) == 0)
409 {
409 {
410 this->Close();
410 this->Close();
411 return 1;
411 return 1;
412 }
412 }
413
413
414 RMAPCommand = new RMAP(this->commandCode,
414 RMAPCommand = new RMAP(this->commandCode,
415 rmapTargetLogicalAddress,
415 rmapTargetLogicalAddress,
416 rmapSourceLogicalAddress,
416 rmapSourceLogicalAddress,
417 address,
417 address,
418 nbBytes,
418 nbBytes,
419 data);
419 data);
420 headerSize = sizeof(RMAPCommand->RMAPHeader);
420 headerSize = sizeof(RMAPCommand->RMAPHeader);
421 CRCSize = 1;
421 CRCSize = 1;
422
422
423 //*************************
423 //*************************
424 // BUILD THE PACKET TO SEND
424 // BUILD THE PACKET TO SEND
425 totalSize = headerSize + nbBytes + CRCSize + PATH_ADDRESSING_OFFSET;
425 totalSize = headerSize + nbBytes + CRCSize + PATH_ADDRESSING_OFFSET;
426 packet = (char*) malloc( totalSize );
426 packet = (char*) malloc( totalSize );
427 aux = (char*) ((void*) &RMAPCommand->RMAPHeader);
427 aux = (char*) ((void*) &RMAPCommand->RMAPHeader);
428 packet[0] = this->linkNumber_SPINBOX->value();
428 packet[0] = this->linkNumber_SPINBOX->value();
429 for(unsigned int i = 0; i<headerSize; i++) packet[i+PATH_ADDRESSING_OFFSET] = aux[i];
429 for(unsigned int i = 0; i<headerSize; i++) packet[i+PATH_ADDRESSING_OFFSET] = aux[i];
430 offset = headerSize;
430 offset = headerSize;
431 for(unsigned int i = 0; i<nbBytes; i++)
431 for(unsigned int i = 0; i<nbBytes; i++)
432 {
432 {
433 packet[i+offset+PATH_ADDRESSING_OFFSET] = data[i];
433 packet[i+offset+PATH_ADDRESSING_OFFSET] = data[i];
434 }
434 }
435 packet[nbBytes+offset+PATH_ADDRESSING_OFFSET] = RMAPCommand->dataCRC;
435 packet[nbBytes+offset+PATH_ADDRESSING_OFFSET] = RMAPCommand->dataCRC;
436
436
437 //****************
437 //****************
438 // SEND THE PACKET
438 // SEND THE PACKET
439 result = USBSpaceWire_SendPacket(hDevice,
439 result = USBSpaceWire_SendPacket(hDevice,
440 packet,
440 packet,
441 totalSize,
441 totalSize,
442 BWAIT_1, &pIdentifier);
442 BWAIT_1, &pIdentifier);
443 if (result != TRANSFER_SUCCESS)
443 if (result != TRANSFER_SUCCESS)
444 {
444 {
445 emit sendMessage("ERROR *** WriteStarDundee when sending packet of size "
445 emit sendMessage("ERROR *** WriteStarDundee when sending packet of size "
446 + QString::number(totalSize) +", with code: " + QString::number(result));
446 + QString::number(totalSize) +", with code: " + QString::number(result));
447 USBSpaceWire_FreeSend(hDevice, pIdentifier);
447 USBSpaceWire_FreeSend(hDevice, pIdentifier);
448 free(data);
448 free(data);
449 return 1;
449 return 1;
450 }
450 }
451 // else emit sendMessage("OK *** WriteStarDundee when sending packet of size " + QString::number(totalSize));
451 // else emit sendMessage("OK *** WriteStarDundee when sending packet of size " + QString::number(totalSize));
452
452
453 //**************
453 //**************
454 // Free the send
454 // Free the send
455 USBSpaceWire_FreeSend(hDevice, pIdentifier);
455 USBSpaceWire_FreeSend(hDevice, pIdentifier);
456 free(packet);
456 free(packet);
457
457
458 if ( (commandCode == writeSingle_noVer_Rep) | (commandCode == writeInc_noVer_Rep) |
458 if ( (commandCode == writeSingle_noVer_Rep) | (commandCode == writeInc_noVer_Rep) |
459 (commandCode == writeSingle_ver_rep) | (commandCode == writeInc_ver_rep) )
459 (commandCode == writeSingle_ver_rep) | (commandCode == writeInc_ver_rep) )
460 {
460 {
461 // WAIT FOR THE RMAP REPLY PACKET
461 // WAIT FOR THE RMAP REPLY PACKET
462 errorCode = this->receiveSPWPacket(1);
462 errorCode = this->receiveSPWPacket(1);
463 if (errorCode<=0)
463 if (errorCode<=0)
464 {
464 {
465 emit appendToLog("WARNING === in function WriteBLOCK of rmapplugin *** RMAP packet reception failed with code " + QString::number(errorCode));
465 emit appendToLog("WARNING === in function WriteBLOCK of rmapplugin *** RMAP packet reception failed with code " + QString::number(errorCode));
466 return 0;
466 return 0;
467 }
467 }
468 if(rmapPacketSize != 8)
468 if(rmapPacketSize != 8)
469 {
469 {
470 console_message.sprintf("WARNING === in function WRITE (with reply) of rmapplugin *** write reply format not compliant\n");
470 console_message.sprintf("WARNING === in function WRITE (with reply) of rmapplugin *** write reply format not compliant\n");
471 emit appendToLog(console_message);
471 emit appendToLog(console_message);
472 return 0;
472 return 0;
473 }
473 }
474 switch (this->rmapPacket[3]) // byte 4 is the status byte in the reply
474 switch (this->rmapPacket[3]) // byte 4 is the status byte in the reply
475 {
475 {
476 case 0:
476 case 0:
477 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: 0 Successfull");
477 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: 0 Successfull");
478 break;
478 break;
479 case 1:
479 case 1:
480 emit appendToLog("WARNING === in function WRITE (with reply) of rmapplugin *** General error code");
480 emit appendToLog("WARNING === in function WRITE (with reply) of rmapplugin *** General error code");
481 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: 1 General error code");
481 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: 1 General error code");
482 break;
482 break;
483 case 2:
483 case 2:
484 emit appendToLog("WARNING === in function WRITE (with reply) of rmapplugin *** Unused RMAP packet type or command code");
484 emit appendToLog("WARNING === in function WRITE (with reply) of rmapplugin *** Unused RMAP packet type or command code");
485 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: 2 Unused RMAP packet type or command code");
485 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: 2 Unused RMAP packet type or command code");
486 break;
486 break;
487 case 3:
487 case 3:
488 emit appendToLog("WARNING === in function WRITE (with reply) of rmapplugin *** Invalid key");
488 emit appendToLog("WARNING === in function WRITE (with reply) of rmapplugin *** Invalid key");
489 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: 3 Invalid key");
489 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: 3 Invalid key");
490 break;
490 break;
491 case 4:
491 case 4:
492 emit appendToLog("WARNING === in function WRITE (with reply) of rmapplugin *** Invalid data CRC");
492 emit appendToLog("WARNING === in function WRITE (with reply) of rmapplugin *** Invalid data CRC");
493 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: 4 Invalid data CRC");
493 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: 4 Invalid data CRC");
494 break;
494 break;
495 case 5:
495 case 5:
496 emit appendToLog("WARNING === in function WRITE (with reply) of rmapplugin *** Early EOP");
496 emit appendToLog("WARNING === in function WRITE (with reply) of rmapplugin *** Early EOP");
497 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: 5 Early EOP");
497 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: 5 Early EOP");
498 break;
498 break;
499 case 6:
499 case 6:
500 emit appendToLog("WARNING === in function WRITE (with reply) of rmapplugin *** Too much data");
500 emit appendToLog("WARNING === in function WRITE (with reply) of rmapplugin *** Too much data");
501 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: 6 Too much data");
501 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: 6 Too much data");
502 break;
502 break;
503 case 7:
503 case 7:
504 emit appendToLog("WARNING === in function WRITE (with reply) of rmapplugin *** EEP");
504 emit appendToLog("WARNING === in function WRITE (with reply) of rmapplugin *** EEP");
505 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: 7 EEP");
505 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: 7 EEP");
506 break;
506 break;
507 case 8:
507 case 8:
508 emit appendToLog("WARNING === in function WRITE (with reply) of rmapplugin *** Reserved");
508 emit appendToLog("WARNING === in function WRITE (with reply) of rmapplugin *** Reserved");
509 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: 8 Reserved");
509 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: 8 Reserved");
510 break;
510 break;
511 case 9:
511 case 9:
512 emit appendToLog("WARNING === in function WRITE (with reply) of rmapplugin *** Verify buffer overrun");
512 emit appendToLog("WARNING === in function WRITE (with reply) of rmapplugin *** Verify buffer overrun");
513 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: 9 Verify buffer overrun");
513 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: 9 Verify buffer overrun");
514 break;
514 break;
515 case 10:
515 case 10:
516 emit appendToLog("WARNING === in function WRITE (with reply) of rmapplugin *** RMAP command not implemented or not authorised");
516 emit appendToLog("WARNING === in function WRITE (with reply) of rmapplugin *** RMAP command not implemented or not authorised");
517 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: 10 RMAP command not implemented or not authorised");
517 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: 10 RMAP command not implemented or not authorised");
518 break;
518 break;
519 case 11:
519 case 11:
520 emit appendToLog("WARNING === in function WRITE (with reply) of rmapplugin *** RMW data length error");
520 emit appendToLog("WARNING === in function WRITE (with reply) of rmapplugin *** RMW data length error");
521 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: 11 RMAP RMW data length error");
521 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: 11 RMAP RMW data length error");
522 break;
522 break;
523 case 12:
523 case 12:
524 emit appendToLog("WARNING === in function WRITE (with reply) of rmapplugin *** Invalid target logical address");
524 emit appendToLog("WARNING === in function WRITE (with reply) of rmapplugin *** Invalid target logical address");
525 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: 12 Invalid target logical address");
525 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: 12 Invalid target logical address");
526 break;
526 break;
527 }
527 }
528 this->acquireRMAPSemaphore();
528 this->acquireRMAPSemaphore();
529 }
529 }
530 else
530 else
531 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: unavailable");
531 emit RMAP_write_reply_setText("reply to the write command required\nlast reply status: unavailable");
532
532
533 return nbBytes;
533 return nbBytes;
534 }
534 }
535
535
536 unsigned int StarDundee::ReadBLOCK(unsigned int nbBytes, unsigned int address)
536 unsigned int StarDundee::ReadBLOCK(unsigned int nbBytes, unsigned int address)
537 {
537 {
538 int errorCode;
538 int errorCode;
539 RMAP *RMAPCommand;
539 RMAP *RMAPCommand;
540 char *packet;
540 char *packet;
541 char *aux;
541 char *aux;
542 unsigned int dataLength = 0;
542 unsigned int dataLength = 0;
543 unsigned int totalSize = 0;
543 unsigned int totalSize = 0;
544
544
545 //**********************
545 //**********************
546 // Check the link status
546 // Check the link status
547 if ( getLinkStatus( this->linkNumber_SPINBOX->value() ) == 0 )
547 if ( getLinkStatus( this->linkNumber_SPINBOX->value() ) == 0 )
548 {
548 {
549 this->Close();
549 this->Close();
550 emit appendToLog("WARNING === in function WriteSPW of StarDundee *** SPW link not running\n");
550 emit appendToLog("WARNING === in function WriteSPW of StarDundee *** SPW link not running\n");
551 return 0;
551 return 0;
552 }
552 }
553
553
554 //**********************
554 //**********************
555 // SEND THE READ COMMAND
555 // SEND THE READ COMMAND
556 if (nbBytes > 4)
556 if (nbBytes > 4)
557 {
557 {
558 RMAPCommand = new RMAP(read_Inc,
558 RMAPCommand = new RMAP(read_Inc,
559 rmapTargetLogicalAddress,
559 rmapTargetLogicalAddress,
560 rmapSourceLogicalAddress,
560 rmapSourceLogicalAddress,
561 address,
561 address,
562 nbBytes,
562 nbBytes,
563 NULL);
563 NULL);
564 }
564 }
565 else
565 else
566 {
566 {
567 RMAPCommand = new RMAP(read_Single,
567 RMAPCommand = new RMAP(read_Single,
568 rmapTargetLogicalAddress,
568 rmapTargetLogicalAddress,
569 rmapSourceLogicalAddress,
569 rmapSourceLogicalAddress,
570 address,
570 address,
571 nbBytes,
571 nbBytes,
572 NULL);
572 NULL);
573 }
573 }
574
574
575 //*************************
575 //*************************
576 // BUILD THE PACKET TO SEND
576 // BUILD THE PACKET TO SEND
577 totalSize = sizeof(RMAPCommand->RMAPHeader) + PATH_ADDRESSING_OFFSET;
577 totalSize = sizeof(RMAPCommand->RMAPHeader) + PATH_ADDRESSING_OFFSET;
578 packet = (char*) malloc( totalSize );
578 packet = (char*) malloc( totalSize );
579 aux = (char*) ((void*) &RMAPCommand->RMAPHeader);
579 aux = (char*) ((void*) &RMAPCommand->RMAPHeader);
580 packet[0] = this->linkNumber_SPINBOX->value();
580 packet[0] = this->linkNumber_SPINBOX->value();
581 for (unsigned int i = 0; i<sizeof(RMAPCommand->RMAPHeader); i++)
581 for (unsigned int i = 0; i<sizeof(RMAPCommand->RMAPHeader); i++)
582 packet[i+PATH_ADDRESSING_OFFSET] = aux[i];
582 packet[i+PATH_ADDRESSING_OFFSET] = aux[i];
583
583
584 //****************
584 //****************
585 // SEND THE PACKET
585 // SEND THE PACKET
586 result = USBSpaceWire_SendPacket(hDevice,
586 result = USBSpaceWire_SendPacket(hDevice,
587 packet,
587 packet,
588 totalSize,
588 totalSize,
589 BWAIT_1, &pIdentifier);
589 BWAIT_1, &pIdentifier);
590 if (result != TRANSFER_SUCCESS) emit sendMessage("ERR *** ReadStarDundee *** ReadBLOCK *** sending the READ command ");
590 if (result != TRANSFER_SUCCESS) emit sendMessage("ERR *** ReadStarDundee *** ReadBLOCK *** sending the READ command ");
591 else
591 else
592 {
592 {
593 // emit sendMessage("OK *** ReadStarDundee *** ReadBLOCK *** sending the READ command");
593 // emit sendMessage("OK *** ReadStarDundee *** ReadBLOCK *** sending the READ command");
594 // emit appendToLog("packet sent, B0 = " + QString::number(packet[0], 16)
594 // emit appendToLog("packet sent, B0 = " + QString::number(packet[0], 16)
595 // + " *** B1 = " + QString::number(packet[1], 16)
595 // + " *** B1 = " + QString::number(packet[1], 16)
596 // + " *** B2 = " + QString::number(packet[2], 16)
596 // + " *** B2 = " + QString::number(packet[2], 16)
597 // + " *** B3 = " + QString::number(packet[3], 16)
597 // + " *** B3 = " + QString::number(packet[3], 16)
598 // + " *** B4 = " + QString::number(packet[4], 16)
598 // + " *** B4 = " + QString::number(packet[4], 16)
599 // + " *** B5 = " + QString::number(packet[5], 16)
599 // + " *** B5 = " + QString::number(packet[5], 16)
600 // );
600 // );
601 }
601 }
602
602
603 //**************
603 //**************
604 // Free the send
604 // Free the send
605 USBSpaceWire_FreeSend(hDevice, pIdentifier);
605 USBSpaceWire_FreeSend(hDevice, pIdentifier);
606 free(packet);
606 free(packet);
607
607
608 //*********************************
608 //*********************************
609 // RECEIVE THE INCOMING RMAP PACKET
609 // RECEIVE THE INCOMING RMAP PACKET
610 errorCode = this->receiveSPWPacket(1); // request ID 1 is for RMAP packet
610 errorCode = this->receiveSPWPacket(1); // request ID 1 is for RMAP packet
611 if (errorCode<=0)
611 if (errorCode<=0)
612 {
612 {
613 emit appendToLog("WARNING === in function ReadBLOCK of StarDundee *** RMAP packet reception failed with code " + QString::number(errorCode));
613 emit appendToLog("WARNING === in function ReadBLOCK of StarDundee *** RMAP packet reception failed with code " + QString::number(errorCode));
614 return 0;
614 return 0;
615 }
615 }
616 dataLength = rmapPacketSize - RMAP_READ_REPLY_HEADER_LENGTH - RMAP_DATA_CRC_LENGTH;
616 dataLength = rmapPacketSize - RMAP_READ_REPLY_HEADER_LENGTH - RMAP_DATA_CRC_LENGTH;
617 if(dataLength != nbBytes)
617 if(dataLength != nbBytes)
618 {
618 {
619 emit appendToLog("WARNING === in function READ of StarDundee *** number of data received ("
619 emit appendToLog("WARNING === in function READ of StarDundee *** number of data received ("
620 +QString::number(dataLength)
620 +QString::number(dataLength)
621 +") not equal to number of data requested ("
621 +") not equal to number of data requested ("
622 +QString::number(nbBytes)
622 +QString::number(nbBytes)
623 +")");
623 +")");
624 return 0;
624 return 0;
625 }
625 }
626 return dataLength;
626 return dataLength;
627 }
627 }
628
628
629 unsigned int StarDundee::WriteSPW(char *Value, unsigned int count, char targetLogicalAddress, char userApplication)
629 unsigned int StarDundee::WriteSPW(char *Value, unsigned int count, char targetLogicalAddress, char userApplication)
630 {
630 {
631 char protocoleIdentifier = 0x02;
631 char protocoleIdentifier = 0x02;
632 char reserved = 0x00;
632 char reserved = 0x00;
633 char *SPWData;
633 char *SPWData;
634 unsigned int totalSize;
634 unsigned int totalSize;
635
635
636 if (count>248)
636 if (count>248)
637 {
637 {
638 emit appendToLog("WARNING === in function WRITE of rmapplugin *** CCSDS packet size > 248 bytes\n");
638 emit appendToLog("WARNING === in function WRITE of rmapplugin *** CCSDS packet size > 248 bytes\n");
639 return 1;
639 return 1;
640 }
640 }
641
641
642 emit appendToLog("*** START *** Send CCSDS packet of "+ QString::number(count) + " byte(s)");
642 emit appendToLog("*** START *** Send CCSDS packet of "+ QString::number(count) + " byte(s)");
643
643
644 if ( getLinkStatus( this->linkNumber_SPINBOX->value() ) == 0 )
644 if ( getLinkStatus( this->linkNumber_SPINBOX->value() ) == 0 )
645 {
645 {
646 this->Close();
646 this->Close();
647 emit appendToLog("WARNING === in function WriteSPW of StarDundee *** SPW link not running\n");
647 emit appendToLog("WARNING === in function WriteSPW of StarDundee *** SPW link not running\n");
648 return 1;
648 return 1;
649 }
649 }
650
650
651 totalSize = count + 4 + PATH_ADDRESSING_OFFSET; // The StarDundee brick is in PATH addressing
651 totalSize = count + 4 + PATH_ADDRESSING_OFFSET; // The StarDundee brick is in PATH addressing
652 SPWData = (char*) malloc(totalSize);
652 SPWData = (char*) malloc(totalSize);
653 // SPW HEADER
653 // SPW HEADER
654 SPWData[0] = this->linkNumber_SPINBOX->value(); // 1 by default, value can be 1 or 2
654 SPWData[0] = this->linkNumber_SPINBOX->value(); // 1 by default, value can be 1 or 2
655 SPWData[0+PATH_ADDRESSING_OFFSET] = targetLogicalAddress;
655 SPWData[0+PATH_ADDRESSING_OFFSET] = targetLogicalAddress;
656 SPWData[1+PATH_ADDRESSING_OFFSET] = protocoleIdentifier;
656 SPWData[1+PATH_ADDRESSING_OFFSET] = protocoleIdentifier;
657 SPWData[2+PATH_ADDRESSING_OFFSET] = reserved;
657 SPWData[2+PATH_ADDRESSING_OFFSET] = reserved;
658 SPWData[3+PATH_ADDRESSING_OFFSET] = userApplication;
658 SPWData[3+PATH_ADDRESSING_OFFSET] = userApplication;
659 // CCSDS PACKET
659 // CCSDS PACKET
660 for (unsigned int i = 0; i<count; i++)
660 for (unsigned int i = 0; i<count; i++)
661 {
661 {
662 SPWData[i+4+PATH_ADDRESSING_OFFSET] = Value[i];
662 SPWData[i+4+PATH_ADDRESSING_OFFSET] = Value[i];
663 }
663 }
664
664
665 //****************
665 //****************
666 // SEND THE PACKET
666 // SEND THE PACKET
667 result = USBSpaceWire_SendPacket(hDevice,
667 result = USBSpaceWire_SendPacket(hDevice,
668 SPWData,
668 SPWData,
669 totalSize,
669 totalSize,
670 BWAIT_1, &pIdentifier);
670 BWAIT_1, &pIdentifier);
671 if (result != TRANSFER_SUCCESS)
671 if (result != TRANSFER_SUCCESS)
672 {
672 {
673 emit sendMessage("ERROR *** WriteSPW when sending packet of size "
673 emit sendMessage("ERROR *** WriteSPW when sending packet of size "
674 + QString::number(totalSize) +", with code: " + QString::number(result));
674 + QString::number(totalSize) +", with code: " + QString::number(result));
675 USBSpaceWire_FreeSend(hDevice, pIdentifier);
675 USBSpaceWire_FreeSend(hDevice, pIdentifier);
676 free(SPWData);
676 free(SPWData);
677 return 0;
677 return 0;
678 }
678 }
679 else emit sendMessage("OK *** WriteSPW when sending packet of size " + QString::number(totalSize-1));
679 else emit sendMessage("OK *** WriteSPW when sending packet of size " + QString::number(totalSize-1));
680 emit appendToLog("packet sent, B0 = " + QString::number(SPWData[0])
680 emit appendToLog("packet sent, B0 = " + QString::number(SPWData[0])
681 + " *** B1 = " + QString::number(SPWData[1])
681 + " *** B1 = " + QString::number(SPWData[1])
682 + " *** B2 = " + QString::number(SPWData[2])
682 + " *** B2 = " + QString::number(SPWData[2])
683 + " *** B3 = " + QString::number(SPWData[3])
683 + " *** B3 = " + QString::number(SPWData[3])
684 + " *** B4 = " + QString::number(SPWData[4])
684 + " *** B4 = " + QString::number(SPWData[4])
685 + " *** B5 = " + QString::number(SPWData[5])
685 + " *** B5 = " + QString::number(SPWData[5])
686 + " *** B6 = " + QString::number(SPWData[6])
686 + " *** B6 = " + QString::number(SPWData[6])
687 + " *** B7 = " + QString::number(SPWData[7])
687 + " *** B7 = " + QString::number(SPWData[7])
688 + " *** B8 = " + QString::number(SPWData[8])
688 + " *** B8 = " + QString::number(SPWData[8])
689 + " *** B9 = " + QString::number(SPWData[9])
689 + " *** B9 = " + QString::number(SPWData[9])
690 + " *** B10 = " + QString::number(SPWData[10])
690 + " *** B10 = " + QString::number(SPWData[10])
691 + " *** B11 = " + QString::number(SPWData[11])
691 + " *** B11 = " + QString::number(SPWData[11])
692 + " *** B12 = " + QString::number(SPWData[12])
692 + " *** B12 = " + QString::number(SPWData[12])
693 );
693 );
694
694
695 //**************
695 //**************
696 // Free the send
696 // Free the send
697 USBSpaceWire_FreeSend(hDevice, pIdentifier);
697 USBSpaceWire_FreeSend(hDevice, pIdentifier);
698 free(SPWData);
698 free(SPWData);
699
699
700 emit appendToLog(QString("*** CCSDS packet sent"));
700 emit appendToLog(QString("*** CCSDS packet sent"));
701
701
702 return 1;
702 return 1;
703 }
703 }
704
704
705 unsigned int StarDundee::getLinkStatus(unsigned char link)
705 unsigned int StarDundee::getLinkStatus(unsigned char link)
706 {
706 {
707 U32 statusControl, errorStatus, portType;
707 U32 statusControl, errorStatus, portType;
708 U32 linkStatus, operatingSpeed, outputPortConnection;
708 U32 linkStatus, operatingSpeed, outputPortConnection;
709 char isLinkRunning, isAutoStart, isStart, isDisabled, isTristate;
709 char isLinkRunning, isAutoStart, isStart, isDisabled, isTristate;
710
710
711 // Read the link status control register
711 // Read the link status control register
712 if (CFGSpaceWire_GetLinkStatusControl(hDevice, 1, &statusControl) != CFG_TRANSFER_SUCCESS)
712 if (CFGSpaceWire_GetLinkStatusControl(hDevice, 1, &statusControl) != CFG_TRANSFER_SUCCESS)
713 {
713 {
714 emit appendToLog("Could not read link status control for link" + QString::number(link));
714 emit appendToLog("Could not read link status control for link" + QString::number(link));
715 }
715 }
716 else
716 else
717 {
717 {
718 // Display the link status control register properties
718 // Display the link status control register properties
719 CFGSpaceWire_LSPortType(statusControl, &portType);
719 CFGSpaceWire_LSPortType(statusControl, &portType);
720 if (portType == CFG_CONFIGURATION_PORT)
720 if (portType == CFG_CONFIGURATION_PORT)
721 {
721 {
722 CFGSpaceWire_LSConfigErrorStatus(statusControl, &errorStatus);
722 CFGSpaceWire_LSConfigErrorStatus(statusControl, &errorStatus);
723 //emit appendToLog("Configuration port error status = " + QString::number(errorStatus));
723 //emit appendToLog("Configuration port error status = " + QString::number(errorStatus));
724 }
724 }
725 else if (portType == CFG_SPACEWIRE_EXTERNAL_PORT)
725 else if (portType == CFG_SPACEWIRE_EXTERNAL_PORT)
726 {
726 {
727 CFGSpaceWire_LSExternalErrorStatus(statusControl, &errorStatus);
727 CFGSpaceWire_LSExternalErrorStatus(statusControl, &errorStatus);
728 //emit appendToLog("External port error status = " + QString::number(errorStatus));
728 //emit appendToLog("External port error status = " + QString::number(errorStatus));
729 }
729 }
730 else
730 else
731 {
731 {
732 CFGSpaceWire_LSErrorStatus(statusControl, &errorStatus);
732 CFGSpaceWire_LSErrorStatus(statusControl, &errorStatus);
733 //emit appendToLog("SpaceWire link error status = " + QString::number(errorStatus));
733 //emit appendToLog("SpaceWire link error status = " + QString::number(errorStatus));
734 }
734 }
735 CFGSpaceWire_LSLinkState(statusControl, &linkStatus);
735 CFGSpaceWire_LSLinkState(statusControl, &linkStatus);
736 CFGSpaceWire_LSIsLinkRunning(statusControl, &isLinkRunning);
736 CFGSpaceWire_LSIsLinkRunning(statusControl, &isLinkRunning);
737 CFGSpaceWire_LSIsAutoStart(statusControl, &isAutoStart);
737 CFGSpaceWire_LSIsAutoStart(statusControl, &isAutoStart);
738 CFGSpaceWire_LSIsStart(statusControl, &isStart);
738 CFGSpaceWire_LSIsStart(statusControl, &isStart);
739 CFGSpaceWire_LSIsDisabled(statusControl, &isDisabled);
739 CFGSpaceWire_LSIsDisabled(statusControl, &isDisabled);
740 CFGSpaceWire_LSIsTristate(statusControl, &isTristate);
740 CFGSpaceWire_LSIsTristate(statusControl, &isTristate);
741 CFGSpaceWire_LSOperatingSpeed(statusControl, &operatingSpeed);
741 CFGSpaceWire_LSOperatingSpeed(statusControl, &operatingSpeed);
742 CFGSpaceWire_LSOutputPortConnection(statusControl, &outputPortConnection);
742 CFGSpaceWire_LSOutputPortConnection(statusControl, &outputPortConnection);
743 //emit appendToLog("The link state is = " + QString::number(linkStatus));
743 //emit appendToLog("The link state is = " + QString::number(linkStatus));
744 //emit appendToLog("The link is running = " + QString::number(isLinkRunning));
744 //emit appendToLog("The link is running = " + QString::number(isLinkRunning));
745 //emit appendToLog("The autostart bit is enabled = " + QString::number(isAutoStart));
745 //emit appendToLog("The autostart bit is enabled = " + QString::number(isAutoStart));
746 //emit appendToLog("The start bit is enabled = " + QString::number(isStart));
746 //emit appendToLog("The start bit is enabled = " + QString::number(isStart));
747 //emit appendToLog("The link is disabled = " + QString::number(isDisabled));
747 //emit appendToLog("The link is disabled = " + QString::number(isDisabled));
748 //emit appendToLog("The tri-state bit is enabled = " + QString::number(isAutoStart));
748 //emit appendToLog("The tri-state bit is enabled = " + QString::number(isAutoStart));
749 //emit appendToLog("The operating speed is = " + QString::number(operatingSpeed));
749 //emit appendToLog("The operating speed is = " + QString::number(operatingSpeed));
750 //emit appendToLog("This port is currently connected to output port = " + QString::number(outputPortConnection));
750 //emit appendToLog("This port is currently connected to output port = " + QString::number(outputPortConnection));
751 }
751 }
752 if (linkStatus == 5) return 1;
752 if (linkStatus == 5) return 1;
753 else return 0;
753 else return 0;
754 }
754 }
755
755
756 void StarDundee::receivePollingLoop()
756 void StarDundee::receivePollingLoop()
757 {
757 {
758 timer->blockSignals(true);
758 timer->blockSignals(true);
759 if (USBSpaceWire_WaitOnReadPacketAvailable(hDevice, 0)) receiveSPWPacketLoop(0);
759 if (USBSpaceWire_WaitOnReadPacketAvailable(hDevice, 0)) receiveSPWPacketLoop(0);
760 timer->blockSignals(false);
760 timer->blockSignals(false);
761 }
761 }
762
762
763 int StarDundee::receiveSPWPacketLoop(unsigned char requestID)
763 int StarDundee::receiveSPWPacketLoop(unsigned char requestID)
764 {
764 {
765 int result = 0;
765 int result = 0;
766 emit appendToLog("Number of packets dropped by the driver: " +
766 emit appendToLog("Number of packets dropped by the driver: " +
767 QString::number(USBSpaceWire_GetDriverDroppedPackets(hDevice)));
767 QString::number(USBSpaceWire_GetDriverDroppedPackets(hDevice)));
768
768
769 while (USBSpaceWire_WaitOnReadPacketAvailable(hDevice, 0))
769 while (USBSpaceWire_WaitOnReadPacketAvailable(hDevice, 0))
770 {
770 {
771 result = receiveSPWPacket(requestID);
771 result = receiveSPWPacket(requestID);
772 }
772 }
773
773
774 return result;
774 return result;
775 }
775 }
776
776
777 int StarDundee::receiveSPWPacket(unsigned char requestID) // SLOT
777 int StarDundee::receiveSPWPacket(unsigned char requestID) // SLOT
778 {
778 {
779 unsigned int packetLength;
779 unsigned int packetLength;
780 unsigned int nbBytes;
780 unsigned int nbBytes;
781 unsigned nPacketNum;
781 unsigned nPacketNum;
782 USB_SPACEWIRE_PACKET_PROPERTIES properties; // The properties of the read
782 USB_SPACEWIRE_PACKET_PROPERTIES properties; // The properties of the read
783
783
784 if (requestID==1)
784 if (requestID==1)
785 {
785 {
786 if (rmapPacketSEMAPHORE->available())
786 if (rmapPacketSEMAPHORE->available())
787 {
787 {
788 return rmapPacketSize;
788 return rmapPacketSize;
789 }
789 }
790 }
790 }
791
791
792 //********************
792 //********************
793 // TRY TO RECEIVE DATA
793 // TRY TO RECEIVE DATA
794 nbBytes = qMax(RMAP_MAX_PACKET_LENGTH, CCSDS_MAX_PACKET_LENGTH); // maximum size of the packet to receive
794 nbBytes = qMax(RMAP_MAX_PACKET_LENGTH, CCSDS_MAX_PACKET_LENGTH); // maximum size of the packet to receive
795 nPacketNum = 1;
795 nPacketNum = 1;
796 result = USBSpaceWire_ReadPackets(hDevice, spwPacket, nbBytes, nPacketNum, BWAIT_1, &properties, &pIdentifierRead);
796 result = USBSpaceWire_ReadPackets(hDevice, spwPacket, nbBytes, nPacketNum, BWAIT_1, &properties, &pIdentifierRead);
797 if (result != TRANSFER_SUCCESS)
797 if (result != TRANSFER_SUCCESS)
798 {
798 {
799 emit sendMessage("Error: Could not receive the packet");
799 emit sendMessage("Error: Could not receive the packet");
800 USBSpaceWire_FreeRead(hDevice, pIdentifierRead); // Free the read buffer
800 USBSpaceWire_FreeRead(hDevice, pIdentifierRead); // Free the read buffer
801 return 0;
801 return 0;
802 }
802 }
803 else
803 else
804 {
804 {
805 packetLength = properties.len;
805 packetLength = properties.len;
806 if (properties.eop == SPACEWIRE_USB_NO_EOP)
806 if (properties.eop == SPACEWIRE_USB_NO_EOP)
807 {
807 {
808 emit appendToLog("No end of packet marker received");
808 emit appendToLog("No end of packet marker received");
809 }
809 }
810 // else if (properties.eop == SPACEWIRE_USB_EOP)
810 // else if (properties.eop == SPACEWIRE_USB_EOP)
811 // {
811 // {
812 // emit appendToLog("Normal end of packet marker received");
812 // emit appendToLog("Normal end of packet marker received");
813 // }
813 // }
814 else if (properties.eop == SPACEWIRE_USB_EEP)
814 else if (properties.eop == SPACEWIRE_USB_EEP)
815 {
815 {
816 emit appendToLog("Error end of packet marker received");
816 emit appendToLog("Error end of packet marker received");
817 }
817 }
818
818
819 USBSpaceWire_FreeRead(hDevice, pIdentifierRead); // Free the read buffer
819 USBSpaceWire_FreeRead(hDevice, pIdentifierRead); // Free the read buffer
820 }
820 }
821
821
822 switch(spwPacket[1]) // byte 1 is the protocole identifier in the SPW packet
822 switch(spwPacket[1]) // byte 1 is the protocole identifier in the SPW packet
823 {
823 {
824 case 1: // 0x01 is the protocole identifier for RMAP packets
824 case 1: // 0x01 is the protocole identifier for RMAP packets
825 if (rmapPacketSEMAPHORE->available()!=0) return -3; // ERROR === previous RMAP packet not processed yet
825 if (rmapPacketSEMAPHORE->available()!=0) return -3; // ERROR === previous RMAP packet not processed yet
826 for(unsigned int i=0; i<packetLength; i++) rmapPacket[i] = spwPacket[i];
826 for(unsigned int i=0; i<packetLength; i++) rmapPacket[i] = spwPacket[i];
827 rmapPacketSize = packetLength;
827 rmapPacketSize = packetLength;
828 rmapPacketSEMAPHORE->release();
828 rmapPacketSEMAPHORE->release();
829 // emit appendToLog("RMAP packet of size " + QString::number(packetLength) + " received");
829 // emit appendToLog("RMAP packet of size " + QString::number(packetLength) + " received");
830 // emit appendToLog("packet received, B0 = " + QString::number(spwPacket[0], 16)
830 // emit appendToLog("packet received, B0 = " + QString::number(spwPacket[0], 16)
831 // + " *** B1 = " + QString::number(spwPacket[1], 16)
831 // + " *** B1 = " + QString::number(spwPacket[1], 16)
832 // + " *** B2 = " + QString::number(spwPacket[2], 16)
832 // + " *** B2 = " + QString::number(spwPacket[2], 16)
833 // + " *** B3 = " + QString::number(spwPacket[3], 16)
833 // + " *** B3 = " + QString::number(spwPacket[3], 16)
834 // + " *** B4 = " + QString::number(spwPacket[4], 16)
834 // + " *** B4 = " + QString::number(spwPacket[4], 16)
835 // + " *** B5 = " + QString::number(spwPacket[5], 16)
835 // + " *** B5 = " + QString::number(spwPacket[5], 16)
836 // );
836 // );
837 return packetLength;
837 return packetLength;
838
838
839 case 2: // 0x02 is the protocole identifier for CCSDS packets
839 case 2: // 0x02 is the protocole identifier for CCSDS packets
840 if (ccsdsPacketSEMAPHORE->available()!=0)
840 if (ccsdsPacketSEMAPHORE->available()!=0)
841 {
841 {
842 emit sendMessage("in function [receiveSPWPacket] === ERROR === previous CCSDS packet not processed yet");
842 emit sendMessage("in function [receiveSPWPacket] === ERROR === previous CCSDS packet not processed yet");
843 return -4; // ERROR === previous CCSDS packet not processed yet
843 return -4; // ERROR === previous CCSDS packet not processed yet
844 }
844 }
845 for(unsigned int i=0; i<packetLength; i++) ccsdsPacket[i] = spwPacket[i];
845 for(unsigned int i=0; i<packetLength; i++) ccsdsPacket[i] = spwPacket[i];
846 ccsdsPacketSize = packetLength;
846 ccsdsPacketSize = packetLength;
847 emit appendToLog("CCSDS packet of size " + QString::number(packetLength) + " received");
847 emit appendToLog("CCSDS packet of size " + QString::number(packetLength) + " received");
848 emit appendToLog("packet received, byte0 " + QString::number(spwPacket[0], 16)
848 emit appendToLog("packet received, byte0 " + QString::number(spwPacket[0], 16)
849 + " *** byte1 " + QString::number(spwPacket[1], 16)
849 + " *** byte1 " + QString::number(spwPacket[1], 16)
850 + " *** byte2 " + QString::number(spwPacket[2], 16)
850 + " *** byte2 " + QString::number(spwPacket[2], 16)
851 + " *** byte3 " + QString::number(spwPacket[3], 16));
851 + " *** byte3 " + QString::number(spwPacket[3], 16));
852 storeCCSDSPacket(ccsdsPacket, packetLength);
852 storeCCSDSPacket(ccsdsPacket, packetLength);
853 return packetLength;
853 return packetLength;
854 default:
854 default:
855 emit appendToLog("packet received, byte0 " + QString::number(spwPacket[0], 16)
855 emit appendToLog("packet received, byte0 " + QString::number(spwPacket[0], 16)
856 + " *** byte1 " + QString::number(spwPacket[1], 16)
856 + " *** byte1 " + QString::number(spwPacket[1], 16)
857 + " *** byte2 " + QString::number(spwPacket[2], 16)
857 + " *** byte2 " + QString::number(spwPacket[2], 16)
858 + " *** byte3 " + QString::number(spwPacket[3], 16));
858 + " *** byte3 " + QString::number(spwPacket[3], 16));
859 return 0;
859 return 0;
860 }
860 }
861 return 0;
861 return 0;
862 }
862 }
863
863
864 unsigned int StarDundee::storeCCSDSPacket(unsigned char *ccsdsPacket, unsigned int size)
864 unsigned int StarDundee::storeCCSDSPacket(unsigned char *ccsdsPacket, unsigned int size)
865 {
865 {
866 TMPacketToRead *generalPacket;
866 TMPacketToRead *generalPacket;
867
867
868 generalPacket = new TMPacketToRead(ccsdsPacket, size);
868 generalPacket = new TMPacketToRead(ccsdsPacket, size);
869 emit sendPacket(generalPacket);
869 emit sendPacket(generalPacket);
870
870
871 return 1;
871 return 1;
872 }
872 }
873
873
874 void StarDundee::reTestSPWLink() // SLOT
874 void StarDundee::reTestSPWLink() // SLOT
875 {
875 {
876 if (getLinkStatus(linkNumber_SPINBOX->value()))
876 if (getLinkStatus(linkNumber_SPINBOX->value()))
877 {
877 {
878 emit isOpen(true);
878 emit isOpen(true);
879 starDundeeStatusQueryDialog->accept();
879 starDundeeStatusQueryDialog->accept();
880 }
880 }
881 }
881 }
@@ -1,57 +1,57
1 #include "wfdisplay.h"
1 #include "wfdisplay.h"
2
2
3
3
4 WFDisplay::WFDisplay(QWidget *parent, unsigned int bufferSize, unsigned int xMAX, unsigned int yMAX) :
4 WFDisplay::WFDisplay(QWidget *parent, unsigned int bufferSize, unsigned int xMAX, unsigned int yMAX) :
5 QWidget(parent)
5 QWidget(parent)
6 {
6 {
7 waveforms_LAYOUT = new QVBoxLayout;
7 waveforms_LAYOUT = new QVBoxLayout;
8
8
9 spwTabWidget = new QTabWidget;
9 spwTabWidget = new QTabWidget;
10
10
11 page_f0 = new WFPage( 0, bufferSize, xMAX, yMAX );
11 page_f0 = new WFPage( 0, bufferSize, xMAX, yMAX );
12 page_f1 = new WFPage( 0, bufferSize, xMAX, yMAX );
12 page_f1 = new WFPage( 0, bufferSize, xMAX, yMAX );
13 page_f2 = new WFPage( 0, bufferSize, xMAX, yMAX );
13 page_f2 = new WFPage( 0, bufferSize, xMAX, yMAX );
14 page_f3 = new WFPage( 0, bufferSize, xMAX, yMAX );
14 page_f3 = new WFPage( 0, bufferSize, xMAX, yMAX );
15
15
16 page_f0->pageTitle = "NORM_SWF_F0";
16 page_f0->pageTitle = "NORM_SWF_F0";
17 page_f1->pageTitle = "NORM_SWF_F1";
17 page_f1->pageTitle = "NORM_SWF_F1";
18 page_f2->pageTitle = "NORM_SWF_F2";
18 page_f2->pageTitle = "NORM_SWF_F2";
19 page_f3->pageTitle = "NORM_CWF_F3";
19 page_f3->pageTitle = "NORM_CWF_F3";
20
20
21 spwTabWidget->addTab(page_f0, tr("f0 (24576 Hz)"));
21 spwTabWidget->addTab(page_f0, tr("f0 (24576 Hz)"));
22 spwTabWidget->addTab(page_f1, tr("f1 (4096 Hz"));
22 spwTabWidget->addTab(page_f1, tr("f1 (4096 Hz"));
23 spwTabWidget->addTab(page_f2, tr("f2 (256 Hz)"));
23 spwTabWidget->addTab(page_f2, tr("f2 (256 Hz)"));
24 spwTabWidget->addTab(page_f3, tr("f3 (16 Hz)"));
24 spwTabWidget->addTab(page_f3, tr("f3 (16 Hz)"));
25
25
26 waveforms_LAYOUT->addWidget(spwTabWidget);
26 waveforms_LAYOUT->addWidget(spwTabWidget);
27
27
28 this->setLayout(waveforms_LAYOUT);
28 this->setLayout(waveforms_LAYOUT);
29
29
30 }
30 }
31
31
32 void WFDisplay::displayOnPlot(short *data, unsigned char num_page, unsigned char num,
32 void WFDisplay::displayOnPlot(short *data, unsigned char num_page, unsigned char num,
33 unsigned int coarseTime, unsigned int fineTime, float deltaT, unsigned int nbData)
33 unsigned int coarseTime, unsigned int fineTime, double deltaT, unsigned int nbData)
34 {
34 {
35 QVector<double> x(nbData), y(nbData);
35 QVector<double> x(nbData), y(nbData);
36
36
37 for (unsigned int i=0; i<nbData; ++i)
37 for (unsigned int i=0; i<nbData; ++i)
38 {
38 {
39 x[i] = i;
39 x[i] = i;
40 y[i] = (double) data[i];
40 y[i] = (double) data[i];
41 }
41 }
42 switch(num_page){
42 switch(num_page){
43 case 0:
43 case 0:
44 page_f0->displayOnPlot(data, num, coarseTime, fineTime, deltaT, nbData);
44 page_f0->displayOnPlot(data, num, coarseTime, fineTime, deltaT, nbData);
45 break;
45 break;
46 case 1:
46 case 1:
47 page_f1->displayOnPlot(data, num, coarseTime, fineTime, deltaT, nbData);
47 page_f1->displayOnPlot(data, num, coarseTime, fineTime, deltaT, nbData);
48 break;
48 break;
49 case 2:
49 case 2:
50 page_f2->displayOnPlot(data, num, coarseTime, fineTime, deltaT, nbData);
50 page_f2->displayOnPlot(data, num, coarseTime, fineTime, deltaT, nbData);
51 break;
51 break;
52 case 3:
52 case 3:
53 page_f3->displayOnPlot(data, num, coarseTime, fineTime, deltaT, nbData);
53 page_f3->displayOnPlot(data, num, coarseTime, fineTime, deltaT, nbData);
54 break;
54 break;
55 }
55 }
56
56
57 }
57 }
@@ -1,38 +1,37
1 #ifndef WFDISPLAY_H
1 #ifndef WFDISPLAY_H
2 #define WFDISPLAY_H
2 #define WFDISPLAY_H
3
3
4 #include "wfdisplay_global.h"
4 #include "wfdisplay_global.h"
5
5
6 #include <QWidget>
6 #include <QWidget>
7 #include <QGridLayout>
7 #include <QGridLayout>
8 #include <QVBoxLayout>
8 #include <QVBoxLayout>
9 #include <QTabWidget>
9 #include <QTabWidget>
10 #include <wfpage.h>
10 #include <wfpage.h>
11
11
12 class WFDisplay : public QWidget
12 class WFDisplay : public QWidget
13 {
13 {
14 Q_OBJECT
14 Q_OBJECT
15 public:
15 public:
16 explicit WFDisplay(QWidget *parent = 0, unsigned int bufferSize = 0, unsigned int xMAX = 0, unsigned int yMAX = 0);
16 explicit WFDisplay(QWidget *parent = 0, unsigned int bufferSize = 0, unsigned int xMAX = 0, unsigned int yMAX = 0);
17
17
18 WFPage * page_f0;
18 WFPage * page_f0;
19 WFPage * page_f1;
19 WFPage * page_f1;
20 WFPage * page_f2;
20 WFPage * page_f2;
21 WFPage * page_f3;
21 WFPage * page_f3;
22
22
23 QTabWidget *spwTabWidget;
23 QTabWidget *spwTabWidget;
24
24
25 QVBoxLayout *waveforms_LAYOUT;
25 QVBoxLayout *waveforms_LAYOUT;
26
26
27 void displayOnPlot(short *data, unsigned char num_page, unsigned char num,
27 void displayOnPlot(short *data, unsigned char num_page, unsigned char num,
28 unsigned int coarseTime, unsigned int fineTime, float deltaT, unsigned int nbData);
28 unsigned int coarseTime, unsigned int fineTime, double deltaT, unsigned int nbData);
29
30
29
31 signals:
30 signals:
32
31
33 public slots:
32 public slots:
34
33
35 };
34 };
36
35
37
36
38 #endif // WFDISPLAY_H
37 #endif // WFDISPLAY_H
@@ -1,396 +1,396
1 <?xml version="1.0" encoding="UTF-8"?>
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE QtCreatorProject>
2 <!DOCTYPE QtCreatorProject>
3 <!-- Written by QtCreator 3.0.0, 2014-02-06T07:20:08. -->
3 <!-- Written by QtCreator 3.0.0, 2014-02-17T16:08:51. -->
4 <qtcreator>
4 <qtcreator>
5 <data>
5 <data>
6 <variable>ProjectExplorer.Project.ActiveTarget</variable>
6 <variable>ProjectExplorer.Project.ActiveTarget</variable>
7 <value type="int">1</value>
7 <value type="int">1</value>
8 </data>
8 </data>
9 <data>
9 <data>
10 <variable>ProjectExplorer.Project.EditorSettings</variable>
10 <variable>ProjectExplorer.Project.EditorSettings</variable>
11 <valuemap type="QVariantMap">
11 <valuemap type="QVariantMap">
12 <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
12 <value type="bool" key="EditorConfiguration.AutoIndent">true</value>
13 <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
13 <value type="bool" key="EditorConfiguration.AutoSpacesForTabs">false</value>
14 <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
14 <value type="bool" key="EditorConfiguration.CamelCaseNavigation">true</value>
15 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
15 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0">
16 <value type="QString" key="language">Cpp</value>
16 <value type="QString" key="language">Cpp</value>
17 <valuemap type="QVariantMap" key="value">
17 <valuemap type="QVariantMap" key="value">
18 <value type="QByteArray" key="CurrentPreferences">CppGlobal</value>
18 <value type="QByteArray" key="CurrentPreferences">CppGlobal</value>
19 </valuemap>
19 </valuemap>
20 </valuemap>
20 </valuemap>
21 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
21 <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1">
22 <value type="QString" key="language">QmlJS</value>
22 <value type="QString" key="language">QmlJS</value>
23 <valuemap type="QVariantMap" key="value">
23 <valuemap type="QVariantMap" key="value">
24 <value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
24 <value type="QByteArray" key="CurrentPreferences">QmlJSGlobal</value>
25 </valuemap>
25 </valuemap>
26 </valuemap>
26 </valuemap>
27 <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
27 <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value>
28 <value type="QByteArray" key="EditorConfiguration.Codec">System</value>
28 <value type="QByteArray" key="EditorConfiguration.Codec">System</value>
29 <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
29 <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value>
30 <value type="int" key="EditorConfiguration.IndentSize">4</value>
30 <value type="int" key="EditorConfiguration.IndentSize">4</value>
31 <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
31 <value type="bool" key="EditorConfiguration.KeyboardTooltips">false</value>
32 <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
32 <value type="bool" key="EditorConfiguration.MouseNavigation">true</value>
33 <value type="int" key="EditorConfiguration.PaddingMode">1</value>
33 <value type="int" key="EditorConfiguration.PaddingMode">1</value>
34 <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
34 <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value>
35 <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
35 <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value>
36 <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
36 <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value>
37 <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
37 <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value>
38 <value type="int" key="EditorConfiguration.TabSize">8</value>
38 <value type="int" key="EditorConfiguration.TabSize">8</value>
39 <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
39 <value type="bool" key="EditorConfiguration.UseGlobal">true</value>
40 <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
40 <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value>
41 <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
41 <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value>
42 <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
42 <value type="bool" key="EditorConfiguration.cleanIndentation">true</value>
43 <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
43 <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value>
44 <value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
44 <value type="bool" key="EditorConfiguration.inEntireDocument">false</value>
45 </valuemap>
45 </valuemap>
46 </data>
46 </data>
47 <data>
47 <data>
48 <variable>ProjectExplorer.Project.PluginSettings</variable>
48 <variable>ProjectExplorer.Project.PluginSettings</variable>
49 <valuemap type="QVariantMap"/>
49 <valuemap type="QVariantMap"/>
50 </data>
50 </data>
51 <data>
51 <data>
52 <variable>ProjectExplorer.Project.Target.0</variable>
52 <variable>ProjectExplorer.Project.Target.0</variable>
53 <valuemap type="QVariantMap">
53 <valuemap type="QVariantMap">
54 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop-Qt 4.8.2 in PATH (System)</value>
54 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop-Qt 4.8.2 in PATH (System)</value>
55 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop-Qt 4.8.2 in PATH (System)</value>
55 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop-Qt 4.8.2 in PATH (System)</value>
56 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{5289e843-9ef2-45ce-88c6-ad27d8e08def}</value>
56 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{5289e843-9ef2-45ce-88c6-ad27d8e08def}</value>
57 <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
57 <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value>
58 <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
58 <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
59 <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
59 <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
60 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
60 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
61 <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay</value>
61 <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay</value>
62 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
62 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
63 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
63 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
64 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
64 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
65 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
65 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
66 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
66 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
67 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
67 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
68 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
68 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
69 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">false</value>
69 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">false</value>
70 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
70 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
71 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
71 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
72 </valuemap>
72 </valuemap>
73 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
73 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
74 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
74 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
75 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
75 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
76 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
76 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
77 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
77 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
78 <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
78 <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
79 <value type="QString">-w</value>
79 <value type="QString">-w</value>
80 <value type="QString">-r</value>
80 <value type="QString">-r</value>
81 </valuelist>
81 </valuelist>
82 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
82 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
83 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">-r -w </value>
83 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">-r -w </value>
84 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
84 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
85 </valuemap>
85 </valuemap>
86 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
86 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
87 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
87 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
88 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
88 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
89 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
89 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
90 </valuemap>
90 </valuemap>
91 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
91 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
92 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
92 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
93 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
93 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
94 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
94 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
95 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
95 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
96 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
96 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
97 <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
97 <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
98 <value type="QString">-w</value>
98 <value type="QString">-w</value>
99 <value type="QString">-r</value>
99 <value type="QString">-r</value>
100 </valuelist>
100 </valuelist>
101 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
101 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
102 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">-r -w clean</value>
102 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">-r -w clean</value>
103 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
103 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
104 </valuemap>
104 </valuemap>
105 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
105 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
106 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
106 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
107 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
107 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
108 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
108 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
109 </valuemap>
109 </valuemap>
110 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
110 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
111 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
111 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
112 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
112 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
113 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Release</value>
113 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Release</value>
114 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
114 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
115 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
115 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
116 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
116 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
117 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
117 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value>
118 </valuemap>
118 </valuemap>
119 <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">1</value>
119 <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">1</value>
120 <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
120 <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
121 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
121 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
122 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
122 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
123 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
123 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
124 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
124 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
125 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
125 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
126 </valuemap>
126 </valuemap>
127 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
127 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
128 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value>
128 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value>
129 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
129 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
130 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
130 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
131 </valuemap>
131 </valuemap>
132 <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
132 <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
133 <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
133 <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
134 <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
134 <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
135 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
135 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
136 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
136 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
137 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
137 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
138 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
138 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
139 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
139 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
140 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
140 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
141 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
141 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
142 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
142 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
143 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
143 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
144 <value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
144 <value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
145 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
145 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
146 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
146 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
147 <value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
147 <value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
148 <value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
148 <value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
149 <value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
149 <value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
150 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
150 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
151 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
151 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
152 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
152 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
153 <value type="int">0</value>
153 <value type="int">0</value>
154 <value type="int">1</value>
154 <value type="int">1</value>
155 <value type="int">2</value>
155 <value type="int">2</value>
156 <value type="int">3</value>
156 <value type="int">3</value>
157 <value type="int">4</value>
157 <value type="int">4</value>
158 <value type="int">5</value>
158 <value type="int">5</value>
159 <value type="int">6</value>
159 <value type="int">6</value>
160 <value type="int">7</value>
160 <value type="int">7</value>
161 <value type="int">8</value>
161 <value type="int">8</value>
162 <value type="int">9</value>
162 <value type="int">9</value>
163 <value type="int">10</value>
163 <value type="int">10</value>
164 <value type="int">11</value>
164 <value type="int">11</value>
165 <value type="int">12</value>
165 <value type="int">12</value>
166 <value type="int">13</value>
166 <value type="int">13</value>
167 <value type="int">14</value>
167 <value type="int">14</value>
168 </valuelist>
168 </valuelist>
169 <value type="int" key="PE.EnvironmentAspect.Base">2</value>
169 <value type="int" key="PE.EnvironmentAspect.Base">2</value>
170 <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
170 <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
171 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value>
171 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value>
172 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable"></value>
172 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable"></value>
173 <value type="bool" key="ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal">false</value>
173 <value type="bool" key="ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal">false</value>
174 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory">%{buildDir}</value>
174 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory">%{buildDir}</value>
175 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Custom Executable</value>
175 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Custom Executable</value>
176 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
176 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
177 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value>
177 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value>
178 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
178 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
179 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
179 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
180 <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">false</value>
180 <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">false</value>
181 <value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
181 <value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
182 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
182 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
183 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value>
183 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value>
184 </valuemap>
184 </valuemap>
185 <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
185 <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
186 </valuemap>
186 </valuemap>
187 </data>
187 </data>
188 <data>
188 <data>
189 <variable>ProjectExplorer.Project.Target.1</variable>
189 <variable>ProjectExplorer.Project.Target.1</variable>
190 <valuemap type="QVariantMap">
190 <valuemap type="QVariantMap">
191 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">QT5</value>
191 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">QT5</value>
192 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">QT5</value>
192 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">QT5</value>
193 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{5987874a-1025-45de-914b-5774064481bf}</value>
193 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">{5987874a-1025-45de-914b-5774064481bf}</value>
194 <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">1</value>
194 <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">1</value>
195 <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
195 <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value>
196 <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
196 <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value>
197 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
197 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0">
198 <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay</value>
198 <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay</value>
199 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
199 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
200 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
200 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
201 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
201 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
202 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
202 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
203 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
203 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
204 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
204 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
205 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
205 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
206 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
206 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
207 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
207 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
208 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
208 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
209 </valuemap>
209 </valuemap>
210 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
210 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
211 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
211 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
212 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
212 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
213 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
213 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
214 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
214 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
215 <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
215 <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
216 <value type="QString">-w</value>
216 <value type="QString">-w</value>
217 <value type="QString">-r</value>
217 <value type="QString">-r</value>
218 </valuelist>
218 </valuelist>
219 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
219 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
220 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
220 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
221 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
221 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
222 </valuemap>
222 </valuemap>
223 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
223 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
224 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
224 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
225 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
225 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
226 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
226 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
227 </valuemap>
227 </valuemap>
228 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
228 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
229 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
229 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
230 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
230 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
231 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
231 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
232 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
232 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
233 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
233 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
234 <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
234 <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
235 <value type="QString">-w</value>
235 <value type="QString">-w</value>
236 <value type="QString">-r</value>
236 <value type="QString">-r</value>
237 </valuelist>
237 </valuelist>
238 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
238 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
239 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
239 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
240 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
240 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
241 </valuemap>
241 </valuemap>
242 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
242 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
243 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
243 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
244 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
244 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
245 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
245 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
246 </valuemap>
246 </valuemap>
247 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
247 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
248 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
248 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
249 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
249 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
250 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value>
250 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Debug</value>
251 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
251 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
252 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
252 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
253 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
253 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value>
254 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
254 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
255 </valuemap>
255 </valuemap>
256 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
256 <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1">
257 <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay</value>
257 <value type="QString" key="ProjectExplorer.BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL/wfdisplay/wfdisplay</value>
258 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
258 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
259 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
259 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
260 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
260 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
261 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
261 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value>
262 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
262 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
263 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
263 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value>
264 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
264 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value>
265 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
265 <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value>
266 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
266 <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value>
267 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
267 <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value>
268 </valuemap>
268 </valuemap>
269 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
269 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1">
270 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
270 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
271 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
271 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
272 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
272 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
273 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
273 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
274 <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
274 <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
275 <value type="QString">-w</value>
275 <value type="QString">-w</value>
276 <value type="QString">-r</value>
276 <value type="QString">-r</value>
277 </valuelist>
277 </valuelist>
278 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
278 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value>
279 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
279 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value>
280 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
280 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
281 </valuemap>
281 </valuemap>
282 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
282 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value>
283 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
283 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value>
284 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
284 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
285 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
285 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value>
286 </valuemap>
286 </valuemap>
287 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
287 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1">
288 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
288 <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0">
289 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
289 <value type="bool" key="ProjectExplorer.BuildStep.Enabled">true</value>
290 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
290 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value>
291 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
291 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
292 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
292 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value>
293 <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
293 <valuelist type="QVariantList" key="Qt4ProjectManager.MakeStep.AutomaticallyAddedMakeArguments">
294 <value type="QString">-w</value>
294 <value type="QString">-w</value>
295 <value type="QString">-r</value>
295 <value type="QString">-r</value>
296 </valuelist>
296 </valuelist>
297 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
297 <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value>
298 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
298 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value>
299 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
299 <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value>
300 </valuemap>
300 </valuemap>
301 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
301 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value>
302 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
302 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value>
303 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
303 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
304 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
304 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value>
305 </valuemap>
305 </valuemap>
306 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
306 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value>
307 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
307 <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value>
308 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
308 <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/>
309 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value>
309 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Release</value>
310 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
310 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
311 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
311 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value>
312 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
312 <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value>
313 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
313 <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">true</value>
314 </valuemap>
314 </valuemap>
315 <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
315 <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value>
316 <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
316 <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0">
317 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
317 <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0">
318 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
318 <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value>
319 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
319 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value>
320 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
320 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
321 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
321 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value>
322 </valuemap>
322 </valuemap>
323 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
323 <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value>
324 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy locally</value>
324 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy locally</value>
325 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
325 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
326 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
326 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value>
327 </valuemap>
327 </valuemap>
328 <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
328 <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value>
329 <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
329 <valuemap type="QVariantMap" key="ProjectExplorer.Target.PluginSettings"/>
330 <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
330 <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0">
331 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
331 <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/>
332 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
332 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value>
333 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
333 <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value>
334 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
334 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value>
335 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
335 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value>
336 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
336 <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value>
337 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
337 <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value>
338 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
338 <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value>
339 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
339 <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value>
340 <value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
340 <value type="int" key="Analyzer.Valgrind.LeakCheckOnFinish">1</value>
341 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
341 <value type="int" key="Analyzer.Valgrind.NumCallers">25</value>
342 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
342 <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/>
343 <value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
343 <value type="int" key="Analyzer.Valgrind.SelfModifyingCodeDetection">1</value>
344 <value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
344 <value type="bool" key="Analyzer.Valgrind.Settings.UseGlobalSettings">true</value>
345 <value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
345 <value type="bool" key="Analyzer.Valgrind.ShowReachable">false</value>
346 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
346 <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value>
347 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
347 <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value>
348 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
348 <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds">
349 <value type="int">0</value>
349 <value type="int">0</value>
350 <value type="int">1</value>
350 <value type="int">1</value>
351 <value type="int">2</value>
351 <value type="int">2</value>
352 <value type="int">3</value>
352 <value type="int">3</value>
353 <value type="int">4</value>
353 <value type="int">4</value>
354 <value type="int">5</value>
354 <value type="int">5</value>
355 <value type="int">6</value>
355 <value type="int">6</value>
356 <value type="int">7</value>
356 <value type="int">7</value>
357 <value type="int">8</value>
357 <value type="int">8</value>
358 <value type="int">9</value>
358 <value type="int">9</value>
359 <value type="int">10</value>
359 <value type="int">10</value>
360 <value type="int">11</value>
360 <value type="int">11</value>
361 <value type="int">12</value>
361 <value type="int">12</value>
362 <value type="int">13</value>
362 <value type="int">13</value>
363 <value type="int">14</value>
363 <value type="int">14</value>
364 </valuelist>
364 </valuelist>
365 <value type="int" key="PE.EnvironmentAspect.Base">2</value>
365 <value type="int" key="PE.EnvironmentAspect.Base">2</value>
366 <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
366 <valuelist type="QVariantList" key="PE.EnvironmentAspect.Changes"/>
367 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value>
367 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value>
368 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable"></value>
368 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable"></value>
369 <value type="bool" key="ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal">false</value>
369 <value type="bool" key="ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal">false</value>
370 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory">%{buildDir}</value>
370 <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory">%{buildDir}</value>
371 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Custom Executable</value>
371 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Custom Executable</value>
372 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
372 <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value>
373 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value>
373 <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value>
374 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
374 <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value>
375 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
375 <value type="bool" key="RunConfiguration.UseCppDebugger">true</value>
376 <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">false</value>
376 <value type="bool" key="RunConfiguration.UseCppDebuggerAuto">false</value>
377 <value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
377 <value type="bool" key="RunConfiguration.UseMultiProcess">false</value>
378 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
378 <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value>
379 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
379 <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value>
380 </valuemap>
380 </valuemap>
381 <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
381 <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value>
382 </valuemap>
382 </valuemap>
383 </data>
383 </data>
384 <data>
384 <data>
385 <variable>ProjectExplorer.Project.TargetCount</variable>
385 <variable>ProjectExplorer.Project.TargetCount</variable>
386 <value type="int">2</value>
386 <value type="int">2</value>
387 </data>
387 </data>
388 <data>
388 <data>
389 <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
389 <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable>
390 <value type="QByteArray">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value>
390 <value type="QByteArray">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value>
391 </data>
391 </data>
392 <data>
392 <data>
393 <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
393 <variable>ProjectExplorer.Project.Updater.FileVersion</variable>
394 <value type="int">15</value>
394 <value type="int">15</value>
395 </data>
395 </data>
396 </qtcreator>
396 </qtcreator>
@@ -1,628 +1,624
1 #include "wfpage.h"
1 #include "wfpage.h"
2 #include <stdio.h>
2 #include <stdio.h>
3
3
4 WFPage::WFPage(QWidget *parent, unsigned int bufferSize, unsigned int xMAX, unsigned int yMAX) :
4 WFPage::WFPage(QWidget *parent, unsigned int bufferSize, unsigned int xMAX, unsigned int yMAX) :
5 QMainWindow(parent)
5 QMainWindow(parent)
6 {
6 {
7 unsigned int i;
7 unsigned int i;
8 localBufferSize = bufferSize;
8 localBufferSize = bufferSize;
9 // memory allocation of the data buffer
9 // memory allocation of the data buffer
10 dataBuffer = (QByteArray**) malloc( localBufferSize * sizeof(QByteArray*) );
10 dataBuffer = (QByteArray**) malloc( localBufferSize * sizeof(QByteArray*) );
11 for (i=0; i<localBufferSize; i++)
11 for (i=0; i<localBufferSize; i++)
12 {
12 {
13 dataBuffer[i] = new QByteArray;
13 dataBuffer[i] = new QByteArray;
14 }
14 }
15
15
16 pageTitle = "default";
16 pageTitle = "default";
17 wfPlot_v = new WFPlot(this, xMAX, yMAX);
17 wfPlot_v = new WFPlot(this, xMAX, yMAX);
18 wfPlot_e1 = new WFPlot(this, xMAX, yMAX);
18 wfPlot_e1 = new WFPlot(this, xMAX, yMAX);
19 wfPlot_e2 = new WFPlot(this, xMAX, yMAX);
19 wfPlot_e2 = new WFPlot(this, xMAX, yMAX);
20 wfPlot_b1 = new WFPlot(this, xMAX, yMAX);
20 wfPlot_b1 = new WFPlot(this, xMAX, yMAX);
21 wfPlot_b2 = new WFPlot(this, xMAX, yMAX);
21 wfPlot_b2 = new WFPlot(this, xMAX, yMAX);
22 wfPlot_b3 = new WFPlot(this, xMAX, yMAX);
22 wfPlot_b3 = new WFPlot(this, xMAX, yMAX);
23 //
23 //
24 wfPlot_v->customPlot->setTitle("v");
24 wfPlot_v->customPlot->setTitle("v");
25 wfPlot_e1->customPlot->setTitle("e1");
25 wfPlot_e1->customPlot->setTitle("e1");
26 wfPlot_e2->customPlot->setTitle("e2");
26 wfPlot_e2->customPlot->setTitle("e2");
27 wfPlot_b1->customPlot->setTitle("b1");
27 wfPlot_b1->customPlot->setTitle("b1");
28 wfPlot_b2->customPlot->setTitle("b2");
28 wfPlot_b2->customPlot->setTitle("b2");
29 wfPlot_b3->customPlot->setTitle("b3");
29 wfPlot_b3->customPlot->setTitle("b3");
30 //
30 //
31 /*mainLayout = new QGridLayout;
31 /*mainLayout = new QGridLayout;
32 mainLayout->addWidget(wfPlot_v, 0, 0, 1, 1);
32 mainLayout->addWidget(wfPlot_v, 0, 0, 1, 1);
33 mainLayout->addWidget(wfPlot_e1, 0, 1, 1, 1);
33 mainLayout->addWidget(wfPlot_e1, 0, 1, 1, 1);
34 mainLayout->addWidget(wfPlot_e2, 0, 2, 1, 1);
34 mainLayout->addWidget(wfPlot_e2, 0, 2, 1, 1);
35 mainLayout->addWidget(wfPlot_b1, 1, 0, 1, 1);
35 mainLayout->addWidget(wfPlot_b1, 1, 0, 1, 1);
36 mainLayout->addWidget(wfPlot_b2, 1, 1, 1, 1);
36 mainLayout->addWidget(wfPlot_b2, 1, 1, 1, 1);
37 mainLayout->addWidget(wfPlot_b3, 1, 2, 1, 1);*/
37 mainLayout->addWidget(wfPlot_b3, 1, 2, 1, 1);*/
38 //
38 //
39 dockV = NULL;
39 dockV = NULL;
40 dockE1 = NULL;
40 dockE1 = NULL;
41 dockE2 = NULL;
41 dockE2 = NULL;
42 dockB1 = NULL;
42 dockB1 = NULL;
43 dockB2 = NULL;
43 dockB2 = NULL;
44 dockB3 = NULL;
44 dockB3 = NULL;
45
45
46 titleWidgetV = new QWidget();
46 titleWidgetV = new QWidget();
47 titleWidgetE1 = new QWidget();
47 titleWidgetE1 = new QWidget();
48 titleWidgetE2 = new QWidget();
48 titleWidgetE2 = new QWidget();
49 titleWidgetB1 = new QWidget();
49 titleWidgetB1 = new QWidget();
50 titleWidgetB2 = new QWidget();
50 titleWidgetB2 = new QWidget();
51 titleWidgetB3 = new QWidget();
51 titleWidgetB3 = new QWidget();
52
52
53 logFileName = new QLabel();
53 logFileName = new QLabel();
54 logFile = new QFile();
54 logFile = new QFile();
55
55
56 logFileEn = false;
56 logFileEn = false;
57 storageEnabled = false;
57 storageEnabled = false;
58 allowDataStorage = false;
58 allowDataStorage = false;
59
59
60 indexOffset = 0;
61
62 createToolBar();
60 createToolBar();
63 readSettings();
61 readSettings();
64 }
62 }
65
63
66 WFPage::~WFPage()
64 WFPage::~WFPage()
67 {
65 {
68 unsigned int i;
66 unsigned int i;
69 // deallocation of the data buffer
67 // deallocation of the data buffer
70 for (i=0; i<localBufferSize; i++)
68 for (i=0; i<localBufferSize; i++)
71 {
69 {
72 delete dataBuffer[i];
70 delete dataBuffer[i];
73 }
71 }
74 free(dataBuffer);
72 free(dataBuffer);
75 }
73 }
76
74
77 void WFPage::displayOnPlot(short *data, unsigned char num, unsigned int coarseTime, unsigned int fineTime, float deltaT, unsigned int nbData)
75 void WFPage::displayOnPlot(short *data, unsigned char num, unsigned int coarseTime, unsigned int fineTime, double deltaT, unsigned int nbData)
78 {
76 {
79 fillDataBuffer( data, num, coarseTime, fineTime, deltaT, nbData );
77 fillDataBuffer( data, num, coarseTime, fineTime, deltaT, nbData );
80
78
81 switch(num){
79 switch(num){
82 case 0:
80 case 0:
83 wfPlot_v->displayOnPlot(data, nbData);
81 wfPlot_v->displayOnPlot(data, nbData);
84 break;
82 break;
85
83
86 case 1:
84 case 1:
87 wfPlot_e1->displayOnPlot(data, nbData);
85 wfPlot_e1->displayOnPlot(data, nbData);
88 break;
86 break;
89
87
90 case 2:
88 case 2:
91 wfPlot_e2->displayOnPlot(data, nbData);
89 wfPlot_e2->displayOnPlot(data, nbData);
92 break;
90 break;
93
91
94 case 3:
92 case 3:
95 wfPlot_b1->displayOnPlot(data, nbData);
93 wfPlot_b1->displayOnPlot(data, nbData);
96 break;
94 break;
97
95
98 case 4:
96 case 4:
99 wfPlot_b2->displayOnPlot(data, nbData);
97 wfPlot_b2->displayOnPlot(data, nbData);
100 break;
98 break;
101
99
102 case 5:
100 case 5:
103 wfPlot_b3->displayOnPlot(data, nbData);
101 wfPlot_b3->displayOnPlot(data, nbData);
104 break;
102 break;
105 }
103 }
106 }
104 }
107
105
108 void WFPage::initDataBuffer()
106 void WFPage::initDataBuffer()
109 {
107 {
110 for (unsigned int i = 0; i < localBufferSize; i++)
108 for (unsigned int i = 0; i < localBufferSize; i++)
111 {
109 {
112 dataBuffer[i]->clear();
110 dataBuffer[i]->clear();
113 }
111 }
114 }
112 }
115
113
116 void WFPage::fillDataBuffer(short *data, unsigned char num, unsigned int coarseTime, unsigned int fineTime, float deltaT, unsigned int nbData)
114 void WFPage::fillDataBuffer(short *data, unsigned char num, unsigned int coarseTime, unsigned int fineTime, double deltaT, unsigned int nbData)
117 {
115 {
118 double sampleTime;
116 double sampleTime;
119 QByteArray sampleTimeQByteArray;
117 QByteArray sampleTimeQByteArray;
120
118
121 if ( (storageEnabled == true) | (allowDataStorage==true) ) // store data in buffers
119 if ( (storageEnabled == true) | (allowDataStorage==true) ) // store data in buffers
122 {
120 {
123 switch(num) {
121 switch(num) {
124
122
125 case 0 :
123 case 0 :
126 initDataBuffer();
124 initDataBuffer();
127 sampleTime = 0;
125 sampleTime = 0;
128 for (unsigned int i=0; i<nbData; i++)
126 for (unsigned int i=0; i<nbData; i++)
129 {
127 {
130 sampleTime = (double) (coarseTime)
128 sampleTime = (double) (coarseTime)
131 + ((double) (fineTime)) * 1. / 65535
129 + ((double) (fineTime)) * 1. / 65536.
132 + deltaT * ((double) i);
130 + deltaT * ((double) i);
133 sampleTimeQByteArray.setNum( sampleTime, 'f', 10 );
131 sampleTimeQByteArray.setNum( sampleTime, 'f', 10 );
134 dataBuffer[i]->append( sampleTimeQByteArray + ' ' + QByteArray::number(data[i]) );
132 dataBuffer[i]->append( sampleTimeQByteArray + ' ' + QByteArray::number(data[i]) );
135 }
133 }
136 allowDataStorage = true;
134 allowDataStorage = true;
137 break;
135 break;
138
136
139 case 1 :
137 case 1 :
140 case 2 :
138 case 2 :
141 case 3 :
139 case 3 :
142 case 4 :
140 case 4 :
143 if (allowDataStorage==true) {
141 if (allowDataStorage==true) {
144 for (unsigned int i=0; i<nbData; i++)
142 for (unsigned int i=0; i<nbData; i++)
145 {
143 {
146 dataBuffer[i]->append( ' ' + QByteArray::number(data[i]) );
144 dataBuffer[i]->append( ' ' + QByteArray::number(data[i]) );
147 }
145 }
148 }
146 }
149 break;
147 break;
150
148
151 case 5 :
149 case 5 :
152 if (allowDataStorage==true) {
150 if (allowDataStorage==true) {
153 for (unsigned int i=0; i<nbData; i++)
151 for (unsigned int i=0; i<nbData; i++)
154 {
152 {
155 dataBuffer[i]->append( ' ' + QByteArray::number(data[i]) );
153 dataBuffer[i]->append( ' ' + QByteArray::number(data[i]) );
156 }
154 }
157 storeDataBuffer();
155 storeDataBuffer( nbData );
158 allowDataStorage = false;
156 allowDataStorage = false;
159 }
157 }
160 break;
158 break;
161
159
162 default:
160 default:
163 break;
161 break;
164
162
165 }
163 }
166 }
164 }
167 }
165 }
168
166
169 void WFPage::storeDataBuffer()
167 void WFPage::storeDataBuffer( unsigned int nbData)
170 {
168 {
171 for (int i = 0; i < DEFAULT_SIZE; i++ )
169 for (unsigned int i = 0; i < nbData; i++ )
172 {
170 {
173 *(this->logFileStrm) << *dataBuffer[i] << endl;
171 *(this->logFileStrm) << *dataBuffer[i] << endl;
174 }
172 }
175 indexOffset = indexOffset + DEFAULT_SIZE;
176 if (storageEnabled == false){
173 if (storageEnabled == false){
177 this->logFileStrm->flush();
174 this->logFileStrm->flush();
178 this->logFile->waitForBytesWritten(3000);
175 this->logFile->waitForBytesWritten(3000);
179 this->logFile->close();
176 this->logFile->close();
180 }
177 }
181 }
178 }
182
179
183 void WFPage::createToolBar()
180 void WFPage::createToolBar()
184 {
181 {
185 radio_v = new QRadioButton(tr("v"));
182 radio_v = new QRadioButton(tr("v"));
186 radio_e1 = new QRadioButton(tr("e1"));
183 radio_e1 = new QRadioButton(tr("e1"));
187 radio_e2 = new QRadioButton(tr("e2"));
184 radio_e2 = new QRadioButton(tr("e2"));
188 radio_b1 = new QRadioButton(tr("b1"));
185 radio_b1 = new QRadioButton(tr("b1"));
189 radio_b2 = new QRadioButton(tr("b2"));
186 radio_b2 = new QRadioButton(tr("b2"));
190 radio_b3 = new QRadioButton(tr("b3"));
187 radio_b3 = new QRadioButton(tr("b3"));
191 radio_tabify = new QRadioButton(tr("tabify"));
188 radio_tabify = new QRadioButton(tr("tabify"));
192
189
193 radio_v->setAutoExclusive(false);
190 radio_v->setAutoExclusive(false);
194 radio_e1->setAutoExclusive(false);
191 radio_e1->setAutoExclusive(false);
195 radio_e2->setAutoExclusive(false);
192 radio_e2->setAutoExclusive(false);
196 radio_b1->setAutoExclusive(false);
193 radio_b1->setAutoExclusive(false);
197 radio_b2->setAutoExclusive(false);
194 radio_b2->setAutoExclusive(false);
198 radio_b3->setAutoExclusive(false);
195 radio_b3->setAutoExclusive(false);
199 radio_tabify->setAutoExclusive(false);
196 radio_tabify->setAutoExclusive(false);
200
197
201 button_selectAll = new QPushButton(tr("select all"));
198 button_selectAll = new QPushButton(tr("select all"));
202
199
203 label_storeWfrm = new QLabel("-");
200 label_storeWfrm = new QLabel("-");
204
201
205 myToolBar = new QToolBar("select");
202 myToolBar = new QToolBar("select");
206
203
207 myToolBar->addWidget(radio_v);
204 myToolBar->addWidget(radio_v);
208 myToolBar->addWidget(radio_e1);
205 myToolBar->addWidget(radio_e1);
209 myToolBar->addWidget(radio_e2);
206 myToolBar->addWidget(radio_e2);
210 myToolBar->addWidget(radio_b1);
207 myToolBar->addWidget(radio_b1);
211 myToolBar->addWidget(radio_b2);
208 myToolBar->addWidget(radio_b2);
212 myToolBar->addWidget(radio_b3);
209 myToolBar->addWidget(radio_b3);
213 myToolBar->addSeparator();
210 myToolBar->addSeparator();
214 myToolBar->addWidget(button_selectAll);
211 myToolBar->addWidget(button_selectAll);
215 myToolBar->addWidget(radio_tabify);
212 myToolBar->addWidget(radio_tabify);
216 myToolBar->addSeparator();
213 myToolBar->addSeparator();
217 myToolBar->addWidget(label_storeWfrm);
214 myToolBar->addWidget(label_storeWfrm);
218
215
219 addToolBar(Qt::LeftToolBarArea, myToolBar);
216 addToolBar(Qt::LeftToolBarArea, myToolBar);
220
217
221 radio_tabify->setChecked(true);
218 radio_tabify->setChecked(true);
222
219
223 connect(this->radio_v, SIGNAL(clicked(bool)), this, SLOT(actionRadioV(bool)));
220 connect(this->radio_v, SIGNAL(clicked(bool)), this, SLOT(actionRadioV(bool)));
224 connect(this->radio_e1, SIGNAL(clicked(bool)), this, SLOT(actionRadioE1(bool)));
221 connect(this->radio_e1, SIGNAL(clicked(bool)), this, SLOT(actionRadioE1(bool)));
225 connect(this->radio_e2, SIGNAL(clicked(bool)), this, SLOT(actionRadioE2(bool)));
222 connect(this->radio_e2, SIGNAL(clicked(bool)), this, SLOT(actionRadioE2(bool)));
226 connect(this->radio_b1, SIGNAL(clicked(bool)), this, SLOT(actionRadioB1(bool)));
223 connect(this->radio_b1, SIGNAL(clicked(bool)), this, SLOT(actionRadioB1(bool)));
227 connect(this->radio_b2, SIGNAL(clicked(bool)), this, SLOT(actionRadioB2(bool)));
224 connect(this->radio_b2, SIGNAL(clicked(bool)), this, SLOT(actionRadioB2(bool)));
228 connect(this->radio_b3, SIGNAL(clicked(bool)), this, SLOT(actionRadioB3(bool)));
225 connect(this->radio_b3, SIGNAL(clicked(bool)), this, SLOT(actionRadioB3(bool)));
229 connect(this->button_selectAll, SIGNAL(clicked()), this, SLOT(selectAll()));
226 connect(this->button_selectAll, SIGNAL(clicked()), this, SLOT(selectAll()));
230 connect(this->radio_tabify, SIGNAL(clicked(bool)), this, SLOT(organizeDocks()));
227 connect(this->radio_tabify, SIGNAL(clicked(bool)), this, SLOT(organizeDocks()));
231 }
228 }
232
229
233 void WFPage::actionRadioV(bool state)
230 void WFPage::actionRadioV(bool state)
234 {
231 {
235 if (state == true)
232 if (state == true)
236 {
233 {
237 if (dockV == NULL)
234 if (dockV == NULL)
238 {
235 {
239 dockV = new QDockWidget("V", this);
236 dockV = new QDockWidget("V", this);
240 dockV->setWidget(wfPlot_v);
237 dockV->setWidget(wfPlot_v);
241 dockV->setTitleBarWidget(titleWidgetV);
238 dockV->setTitleBarWidget(titleWidgetV);
242 }
239 }
243 }
240 }
244 else
241 else
245 {
242 {
246 this->removeDockWidget(dockV);
243 this->removeDockWidget(dockV);
247 }
244 }
248 organizeDocks();
245 organizeDocks();
249 }
246 }
250
247
251 void WFPage::actionRadioE1(bool state)
248 void WFPage::actionRadioE1(bool state)
252 {
249 {
253 if (state == true)
250 if (state == true)
254 {
251 {
255 if (dockE1 == NULL)
252 if (dockE1 == NULL)
256 {
253 {
257 dockE1 = new QDockWidget("E1", this);
254 dockE1 = new QDockWidget("E1", this);
258 dockE1->setWidget(wfPlot_e1);
255 dockE1->setWidget(wfPlot_e1);
259 dockE1->setTitleBarWidget(titleWidgetE1);
256 dockE1->setTitleBarWidget(titleWidgetE1);
260 }
257 }
261 }
258 }
262 else
259 else
263 {
260 {
264 this->removeDockWidget(dockE1);
261 this->removeDockWidget(dockE1);
265 }
262 }
266 organizeDocks();
263 organizeDocks();
267 }
264 }
268
265
269 void WFPage::actionRadioE2(bool state)
266 void WFPage::actionRadioE2(bool state)
270 {
267 {
271 if (state == true)
268 if (state == true)
272 {
269 {
273 if (dockE2 == NULL)
270 if (dockE2 == NULL)
274 {
271 {
275 dockE2 = new QDockWidget("E2", this);
272 dockE2 = new QDockWidget("E2", this);
276 dockE2->setWidget(wfPlot_e2);
273 dockE2->setWidget(wfPlot_e2);
277 dockE2->setTitleBarWidget(titleWidgetE2);
274 dockE2->setTitleBarWidget(titleWidgetE2);
278 }
275 }
279 }
276 }
280 else
277 else
281 {
278 {
282 this->removeDockWidget(dockE2);
279 this->removeDockWidget(dockE2);
283 }
280 }
284 organizeDocks();
281 organizeDocks();
285 }
282 }
286
283
287 void WFPage::actionRadioB1(bool state)
284 void WFPage::actionRadioB1(bool state)
288 {
285 {
289 if (state == true)
286 if (state == true)
290 {
287 {
291 if (dockB1 == NULL)
288 if (dockB1 == NULL)
292 {
289 {
293 dockB1 = new QDockWidget("B1", this);
290 dockB1 = new QDockWidget("B1", this);
294 dockB1->setWidget(wfPlot_b1);
291 dockB1->setWidget(wfPlot_b1);
295 dockB1->setTitleBarWidget(titleWidgetB1);
292 dockB1->setTitleBarWidget(titleWidgetB1);
296 }
293 }
297 }
294 }
298 else
295 else
299 {
296 {
300 this->removeDockWidget(dockB1);
297 this->removeDockWidget(dockB1);
301 }
298 }
302 organizeDocks();
299 organizeDocks();
303 }
300 }
304
301
305 void WFPage::actionRadioB2(bool state)
302 void WFPage::actionRadioB2(bool state)
306 {
303 {
307 if (state == true)
304 if (state == true)
308 {
305 {
309 if (dockB2 == NULL)
306 if (dockB2 == NULL)
310 {
307 {
311 dockB2 = new QDockWidget("B2", this);
308 dockB2 = new QDockWidget("B2", this);
312 dockB2->setWidget(wfPlot_b2);
309 dockB2->setWidget(wfPlot_b2);
313 dockB2->setTitleBarWidget(titleWidgetB2);
310 dockB2->setTitleBarWidget(titleWidgetB2);
314 }
311 }
315 }
312 }
316 else
313 else
317 {
314 {
318 this->removeDockWidget(dockB2);
315 this->removeDockWidget(dockB2);
319 }
316 }
320 organizeDocks();
317 organizeDocks();
321 }
318 }
322
319
323 void WFPage::actionRadioB3(bool state)
320 void WFPage::actionRadioB3(bool state)
324 {
321 {
325 if (state == true)
322 if (state == true)
326 {
323 {
327 if (dockB3 == NULL)
324 if (dockB3 == NULL)
328 {
325 {
329 dockB3 = new QDockWidget("B3", this);
326 dockB3 = new QDockWidget("B3", this);
330 dockB3->setWidget(wfPlot_b3);
327 dockB3->setWidget(wfPlot_b3);
331 dockB3->setTitleBarWidget(titleWidgetB3);
328 dockB3->setTitleBarWidget(titleWidgetB3);
332 }
329 }
333 }
330 }
334 else
331 else
335 {
332 {
336 this->removeDockWidget(dockB3);
333 this->removeDockWidget(dockB3);
337 }
334 }
338 organizeDocks();
335 organizeDocks();
339 }
336 }
340
337
341 void WFPage::buildDockList()
338 void WFPage::buildDockList()
342 {
339 {
343 dockList.clear();
340 dockList.clear();
344
341
345 if (radio_v->isChecked())
342 if (radio_v->isChecked())
346 {
343 {
347 dockList.append(dockV);
344 dockList.append(dockV);
348 removeDockWidget(dockV);
345 removeDockWidget(dockV);
349 }
346 }
350 if (radio_e1->isChecked())
347 if (radio_e1->isChecked())
351 {
348 {
352 dockList.append(dockE1);
349 dockList.append(dockE1);
353 removeDockWidget(dockE1);
350 removeDockWidget(dockE1);
354 }
351 }
355 if (radio_e2->isChecked())
352 if (radio_e2->isChecked())
356 {
353 {
357 dockList.append(dockE2);
354 dockList.append(dockE2);
358 removeDockWidget(dockE2);
355 removeDockWidget(dockE2);
359 }
356 }
360 if (radio_b1->isChecked())
357 if (radio_b1->isChecked())
361 {
358 {
362 dockList.append(dockB1);
359 dockList.append(dockB1);
363 removeDockWidget(dockB1);
360 removeDockWidget(dockB1);
364 }
361 }
365 if (radio_b2->isChecked())
362 if (radio_b2->isChecked())
366 {
363 {
367 dockList.append(dockB2);
364 dockList.append(dockB2);
368 removeDockWidget(dockB2);
365 removeDockWidget(dockB2);
369 }
366 }
370 if (radio_b3->isChecked())
367 if (radio_b3->isChecked())
371 {
368 {
372 dockList.append(dockB3);
369 dockList.append(dockB3);
373 removeDockWidget(dockB3);
370 removeDockWidget(dockB3);
374 }
371 }
375 }
372 }
376
373
377 void WFPage::organizeDocks()
374 void WFPage::organizeDocks()
378 {
375 {
379 if (radio_tabify->isChecked())
376 if (radio_tabify->isChecked())
380 {
377 {
381 tabify();
378 tabify();
382 }
379 }
383 else
380 else
384 {
381 {
385 unTabify();
382 unTabify();
386 }
383 }
387 wfPlot_v->resize(wfPlot_v->minimumSizeHint());
384 wfPlot_v->resize(wfPlot_v->minimumSizeHint());
388 wfPlot_e1->resize(wfPlot_e1->minimumSizeHint());
385 wfPlot_e1->resize(wfPlot_e1->minimumSizeHint());
389 wfPlot_e2->resize(wfPlot_e2->minimumSizeHint());
386 wfPlot_e2->resize(wfPlot_e2->minimumSizeHint());
390 wfPlot_b1->resize(wfPlot_b1->minimumSizeHint());
387 wfPlot_b1->resize(wfPlot_b1->minimumSizeHint());
391 wfPlot_b2->resize(wfPlot_b2->minimumSizeHint());
388 wfPlot_b2->resize(wfPlot_b2->minimumSizeHint());
392 wfPlot_b3->resize(wfPlot_b3->minimumSizeHint());
389 wfPlot_b3->resize(wfPlot_b3->minimumSizeHint());
393 this->resize(this->minimumSizeHint());
390 this->resize(this->minimumSizeHint());
394 }
391 }
395
392
396 void WFPage::unTabify()
393 void WFPage::unTabify()
397 {
394 {
398 buildDockList();
395 buildDockList();
399
396
400 switch(dockList.size())
397 switch(dockList.size())
401 {
398 {
402 case 0:
399 case 0:
403 break;
400 break;
404 case 1:
401 case 1:
405 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
402 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
406 dockList.at(0)->show();
403 dockList.at(0)->show();
407 break;
404 break;
408 case 2:
405 case 2:
409 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
406 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
410 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
407 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
411 dockList.at(0)->show();
408 dockList.at(0)->show();
412 dockList.at(1)->show();
409 dockList.at(1)->show();
413 break;
410 break;
414 case 3:
411 case 3:
415 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
412 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
416 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
413 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
417 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(2));
414 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(2));
418 dockList.at(0)->show();
415 dockList.at(0)->show();
419 dockList.at(1)->show();
416 dockList.at(1)->show();
420 dockList.at(2)->show();
417 dockList.at(2)->show();
421 break;
418 break;
422 case 4:
419 case 4:
423 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
420 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
424 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
421 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
425 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(2));
422 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(2));
426 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3));
423 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3));
427 dockList.at(0)->show();
424 dockList.at(0)->show();
428 dockList.at(1)->show();
425 dockList.at(1)->show();
429 dockList.at(2)->show();
426 dockList.at(2)->show();
430 dockList.at(3)->show();
427 dockList.at(3)->show();
431 break;
428 break;
432 case 5:
429 case 5:
433 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
430 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
434 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
431 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
435 addDockWidget(Qt::TopDockWidgetArea, dockList.at(2));
432 addDockWidget(Qt::TopDockWidgetArea, dockList.at(2));
436 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3));
433 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3));
437 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(4));
434 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(4));
438 dockList.at(0)->show();
435 dockList.at(0)->show();
439 dockList.at(1)->show();
436 dockList.at(1)->show();
440 dockList.at(2)->show();
437 dockList.at(2)->show();
441 dockList.at(3)->show();
438 dockList.at(3)->show();
442 dockList.at(4)->show();
439 dockList.at(4)->show();
443 break;
440 break;
444 case 6:
441 case 6:
445 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
442 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
446 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
443 addDockWidget(Qt::TopDockWidgetArea, dockList.at(1));
447 addDockWidget(Qt::TopDockWidgetArea, dockList.at(2));
444 addDockWidget(Qt::TopDockWidgetArea, dockList.at(2));
448 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3));
445 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(3));
449 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(4));
446 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(4));
450 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(5));
447 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(5));
451 dockList.at(0)->show();
448 dockList.at(0)->show();
452 dockList.at(1)->show();
449 dockList.at(1)->show();
453 dockList.at(2)->show();
450 dockList.at(2)->show();
454 dockList.at(3)->show();
451 dockList.at(3)->show();
455 dockList.at(4)->show();
452 dockList.at(4)->show();
456 dockList.at(5)->show();
453 dockList.at(5)->show();
457 break;
454 break;
458 default:
455 default:
459 break;
456 break;
460 }
457 }
461 }
458 }
462
459
463 void WFPage::tabify()
460 void WFPage::tabify()
464 {
461 {
465 buildDockList();
462 buildDockList();
466
463
467 switch(dockList.size())
464 switch(dockList.size())
468 {
465 {
469 case 0:
466 case 0:
470 break;
467 break;
471 case 1:
468 case 1:
472 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
469 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
473 dockList.at(0)->show();
470 dockList.at(0)->show();
474 break;
471 break;
475 case 2:
472 case 2:
476 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
473 addDockWidget(Qt::TopDockWidgetArea, dockList.at(0));
477 tabifyDockWidget(dockList.at(0), dockList.at(1));
474 tabifyDockWidget(dockList.at(0), dockList.at(1));
478 dockList.at(0)->show();
475 dockList.at(0)->show();
479 dockList.at(1)->show();
476 dockList.at(1)->show();
480 break;
477 break;
481 case 3:
478 case 3:
482 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
479 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
483 tabifyDockWidget(dockList.at(0), dockList.at(1));
480 tabifyDockWidget(dockList.at(0), dockList.at(1));
484 tabifyDockWidget(dockList.at(1), dockList.at(2));
481 tabifyDockWidget(dockList.at(1), dockList.at(2));
485 dockList.at(0)->show();
482 dockList.at(0)->show();
486 dockList.at(1)->show();
483 dockList.at(1)->show();
487 dockList.at(2)->show();
484 dockList.at(2)->show();
488 break;
485 break;
489 case 4:
486 case 4:
490 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
487 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
491 tabifyDockWidget(dockList.at(0), dockList.at(1));
488 tabifyDockWidget(dockList.at(0), dockList.at(1));
492 tabifyDockWidget(dockList.at(1), dockList.at(2));
489 tabifyDockWidget(dockList.at(1), dockList.at(2));
493 tabifyDockWidget(dockList.at(2), dockList.at(3));
490 tabifyDockWidget(dockList.at(2), dockList.at(3));
494 dockList.at(0)->show();
491 dockList.at(0)->show();
495 dockList.at(1)->show();
492 dockList.at(1)->show();
496 dockList.at(2)->show();
493 dockList.at(2)->show();
497 dockList.at(3)->show();
494 dockList.at(3)->show();
498 break;
495 break;
499 case 5:
496 case 5:
500 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
497 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
501 tabifyDockWidget(dockList.at(0), dockList.at(1));
498 tabifyDockWidget(dockList.at(0), dockList.at(1));
502 tabifyDockWidget(dockList.at(1), dockList.at(2));
499 tabifyDockWidget(dockList.at(1), dockList.at(2));
503 tabifyDockWidget(dockList.at(2), dockList.at(3));
500 tabifyDockWidget(dockList.at(2), dockList.at(3));
504 tabifyDockWidget(dockList.at(3), dockList.at(4));
501 tabifyDockWidget(dockList.at(3), dockList.at(4));
505 dockList.at(0)->show();
502 dockList.at(0)->show();
506 dockList.at(1)->show();
503 dockList.at(1)->show();
507 dockList.at(2)->show();
504 dockList.at(2)->show();
508 dockList.at(3)->show();
505 dockList.at(3)->show();
509 dockList.at(4)->show();
506 dockList.at(4)->show();
510 break;
507 break;
511 case 6:
508 case 6:
512 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
509 addDockWidget(Qt::BottomDockWidgetArea, dockList.at(0));
513 tabifyDockWidget(dockList.at(0), dockList.at(1));
510 tabifyDockWidget(dockList.at(0), dockList.at(1));
514 tabifyDockWidget(dockList.at(1), dockList.at(2));
511 tabifyDockWidget(dockList.at(1), dockList.at(2));
515 tabifyDockWidget(dockList.at(2), dockList.at(3));
512 tabifyDockWidget(dockList.at(2), dockList.at(3));
516 tabifyDockWidget(dockList.at(3), dockList.at(4));
513 tabifyDockWidget(dockList.at(3), dockList.at(4));
517 tabifyDockWidget(dockList.at(4), dockList.at(5));
514 tabifyDockWidget(dockList.at(4), dockList.at(5));
518 dockList.at(0)->show();
515 dockList.at(0)->show();
519 dockList.at(1)->show();
516 dockList.at(1)->show();
520 dockList.at(2)->show();
517 dockList.at(2)->show();
521 dockList.at(3)->show();
518 dockList.at(3)->show();
522 dockList.at(4)->show();
519 dockList.at(4)->show();
523 dockList.at(5)->show();
520 dockList.at(5)->show();
524 break;
521 break;
525 default:
522 default:
526 break;
523 break;
527 }
524 }
528 }
525 }
529
526
530 void WFPage::selectAll()
527 void WFPage::selectAll()
531 {
528 {
532 radio_v->click();
529 radio_v->click();
533 radio_e1->click();
530 radio_e1->click();
534 radio_e2->click();
531 radio_e2->click();
535 radio_b1->click();
532 radio_b1->click();
536 radio_b2->click();
533 radio_b2->click();
537 radio_b3->click();
534 radio_b3->click();
538 }
535 }
539
536
540 void WFPage::storeWfrm()
537 void WFPage::storeWfrm()
541 {
538 {
542 if (logFileEn == false)
539 if (logFileEn == false)
543 {
540 {
544 buildFileName();
541 buildFileName();
545 indexOffset = 0;
546 label_storeWfrm->setText("Recording...");
542 label_storeWfrm->setText("Recording...");
547 logFileEn = true;
543 logFileEn = true;
548 }
544 }
549 else
545 else
550 {
546 {
551 // disable storage
547 // disable storage
552 storageEnabled = false;
548 storageEnabled = false;
553 label_storeWfrm->setText("-");
549 label_storeWfrm->setText("-");
554 logFileEn = false;
550 logFileEn = false;
555 }
551 }
556 }
552 }
557
553
558 void WFPage::buildFileName()
554 void WFPage::buildFileName()
559 {
555 {
560 QTime time;
556 QTime time;
561 QDate date;
557 QDate date;
562 QString dateTime;
558 QString dateTime;
563 QString prefix;
559 QString prefix;
564
560
565 date = QDate::currentDate();
561 date = QDate::currentDate();
566 time = QTime::currentTime();
562 time = QTime::currentTime();
567
563
568 dateTime = QString::number( date.year() ) + "_"
564 dateTime = QString::number( date.year() ) + "_"
569 + QString::number( date.month() ) + "_"
565 + QString::number( date.month() ) + "_"
570 + QString::number( date.day() ) + "-"
566 + QString::number( date.day() ) + "-"
571 + QString::number( time.hour() ) + "_"
567 + QString::number( time.hour() ) + "_"
572 + QString::number( time.minute() ) + "_"
568 + QString::number( time.minute() ) + "_"
573 + QString::number( time.second() );
569 + QString::number( time.second() );
574
570
575 prefix = defaultStorageDirectory + "/" + dateTime + "_" + pageTitle ;
571 prefix = defaultStorageDirectory + "/" + dateTime + "_" + pageTitle ;
576
572
577 if(this->logFile->isOpen()) this->logFile->close();
573 if(this->logFile->isOpen()) this->logFile->close();
578 this->logFile->setFileName( prefix + ".data");
574 this->logFile->setFileName( prefix + ".data");
579 if(this->logFile->open(QIODevice::WriteOnly)) this->logFileStrm = new QTextStream(this->logFile);
575 if(this->logFile->open(QIODevice::WriteOnly)) this->logFileStrm = new QTextStream(this->logFile);
580
576
581 *(this->logFileStrm) << "time V E1 E2 B1 B2 B3" << endl;
577 *(this->logFileStrm) << "time V E1 E2 B1 B2 B3" << endl;
582
578
583 storageEnabled = true;
579 storageEnabled = true;
584
580
585 }
581 }
586
582
587 void WFPage::logFileEnDisable(bool state)
583 void WFPage::logFileEnDisable(bool state)
588 {
584 {
589 if(state==true)
585 if(state==true)
590 {
586 {
591 this->logFileEn = true;
587 this->logFileEn = true;
592 }
588 }
593 else if(state==false)
589 else if(state==false)
594 {
590 {
595 this->logFileEn = false;
591 this->logFileEn = false;
596 }
592 }
597 }
593 }
598
594
599 void WFPage::closeEvent(QCloseEvent *event)
595 void WFPage::closeEvent(QCloseEvent *event)
600 {
596 {
601 writeSettings();
597 writeSettings();
602 event->accept();
598 event->accept();
603 }
599 }
604
600
605 void WFPage::readSettings()
601 void WFPage::readSettings()
606 {
602 {
607 QSettings settings("lpp", "lfrsgse");
603 QSettings settings("lpp", "lfrsgse");
608 defaultStorageDirectory = settings.value("defaultStorageDirectory", QDir::homePath()).toString();
604 defaultStorageDirectory = settings.value("defaultStorageDirectory", QDir::homePath()).toString();
609 }
605 }
610
606
611 void WFPage::writeSettings()
607 void WFPage::writeSettings()
612 {
608 {
613 QSettings settings("lpp", "lfrsgse");
609 QSettings settings("lpp", "lfrsgse");
614 settings.setValue("defaultStorageDirectory", defaultStorageDirectory);
610 settings.setValue("defaultStorageDirectory", defaultStorageDirectory);
615 }
611 }
616
612
617 void WFPage::chooseDir()
613 void WFPage::chooseDir()
618 {
614 {
619 defaultStorageDirectory = QFileDialog::getExistingDirectory(this,
615 defaultStorageDirectory = QFileDialog::getExistingDirectory(this,
620 "choose the directory",
616 "choose the directory",
621 QDir::homePath(),
617 QDir::homePath(),
622 QFileDialog::ShowDirsOnly);
618 QFileDialog::ShowDirsOnly);
623 }
619 }
624
620
625 void WFPage::setDefaultStorageDirectory(QString nameOfTheDirectory)
621 void WFPage::setDefaultStorageDirectory(QString nameOfTheDirectory)
626 {
622 {
627 defaultStorageDirectory = nameOfTheDirectory;
623 defaultStorageDirectory = nameOfTheDirectory;
628 }
624 }
@@ -1,119 +1,117
1 #ifndef WFPAGE_H
1 #ifndef WFPAGE_H
2 #define WFPAGE_H
2 #define WFPAGE_H
3
3
4 #include "wfdisplay_global.h"
4 #include "wfdisplay_global.h"
5
5
6 #include <QMainWindow>
6 #include <QMainWindow>
7 #include <QRadioButton>
7 #include <QRadioButton>
8 #include <QPushButton>
8 #include <QPushButton>
9 #include <QDockWidget>
9 #include <QDockWidget>
10 #include <QToolBar>
10 #include <QToolBar>
11 #include <QLabel>
11 #include <QLabel>
12 #include <QFile>
12 #include <QFile>
13 #include <QTextStream>
13 #include <QTextStream>
14 #include <QFileDialog>
14 #include <QFileDialog>
15 #include <QSettings>
15 #include <QSettings>
16
16
17 #include <wfplot.h>
17 #include <wfplot.h>
18 #include <wfdisplay_params.h>
18 #include <wfdisplay_params.h>
19
19
20 class WFPage : public QMainWindow
20 class WFPage : public QMainWindow
21 {
21 {
22 Q_OBJECT
22 Q_OBJECT
23 public:
23 public:
24 explicit WFPage(QWidget *parent = 0, unsigned int bufferSize = 0, unsigned int xMAX = 0, unsigned int yMAX = 0);
24 explicit WFPage(QWidget *parent = 0, unsigned int bufferSize = 0, unsigned int xMAX = 0, unsigned int yMAX = 0);
25 ~WFPage();
25 ~WFPage();
26
26
27 void createToolBar();
27 void createToolBar();
28 void buildDockList();
28 void buildDockList();
29 void unTabify();
29 void unTabify();
30 void tabify();
30 void tabify();
31 // STORE
31 // STORE
32 void buildFileName();
32 void buildFileName();
33 void closeEvent(QCloseEvent *event);
33 void closeEvent(QCloseEvent *event);
34 void readSettings();
34 void readSettings();
35 void writeSettings();
35 void writeSettings();
36
36
37 bool logFileEn;
37 bool logFileEn;
38 bool storageEnabled;
38 bool storageEnabled;
39
39
40 QLabel *logFileName;
40 QLabel *logFileName;
41 QLabel *label_storeWfrm;
41 QLabel *label_storeWfrm;
42
42
43 QWidget *titleWidgetV;
43 QWidget *titleWidgetV;
44 QWidget *titleWidgetE1;
44 QWidget *titleWidgetE1;
45 QWidget *titleWidgetE2;
45 QWidget *titleWidgetE2;
46 QWidget *titleWidgetB1;
46 QWidget *titleWidgetB1;
47 QWidget *titleWidgetB2;
47 QWidget *titleWidgetB2;
48 QWidget *titleWidgetB3;
48 QWidget *titleWidgetB3;
49
49
50 // QByteArray dataBuffer[DEFAULT_SIZE];
50 // QByteArray dataBuffer[DEFAULT_SIZE];
51 unsigned int localBufferSize;
51 unsigned int localBufferSize;
52 QByteArray **dataBuffer;
52 QByteArray **dataBuffer;
53
53
54 QList<QDockWidget*> dockList;
54 QList<QDockWidget*> dockList;
55
55
56 QDockWidget *dockV;
56 QDockWidget *dockV;
57 QDockWidget *dockE1;
57 QDockWidget *dockE1;
58 QDockWidget *dockE2;
58 QDockWidget *dockE2;
59 QDockWidget *dockB1;
59 QDockWidget *dockB1;
60 QDockWidget *dockB2;
60 QDockWidget *dockB2;
61 QDockWidget *dockB3;
61 QDockWidget *dockB3;
62
62
63 QRadioButton *radio_v;
63 QRadioButton *radio_v;
64 QRadioButton *radio_e1;
64 QRadioButton *radio_e1;
65 QRadioButton *radio_e2;
65 QRadioButton *radio_e2;
66 QRadioButton *radio_b1;
66 QRadioButton *radio_b1;
67 QRadioButton *radio_b2;
67 QRadioButton *radio_b2;
68 QRadioButton *radio_b3;
68 QRadioButton *radio_b3;
69 QRadioButton *radio_tabify;
69 QRadioButton *radio_tabify;
70
70
71 QPushButton *button_selectAll;
71 QPushButton *button_selectAll;
72 QPushButton *button_storeWfrm;
72 QPushButton *button_storeWfrm;
73
73
74 QToolBar *myToolBar;
74 QToolBar *myToolBar;
75
75
76 WFPlot *wfPlot_v;
76 WFPlot *wfPlot_v;
77 WFPlot *wfPlot_e1;
77 WFPlot *wfPlot_e1;
78 WFPlot *wfPlot_e2;
78 WFPlot *wfPlot_e2;
79 WFPlot *wfPlot_b1;
79 WFPlot *wfPlot_b1;
80 WFPlot *wfPlot_b2;
80 WFPlot *wfPlot_b2;
81 WFPlot *wfPlot_b3;
81 WFPlot *wfPlot_b3;
82
82
83 QFile *logFile;
83 QFile *logFile;
84
84
85 QTextStream *logFileStrm;
85 QTextStream *logFileStrm;
86
86
87 unsigned int indexOffset;
88
89 QString pageTitle;
87 QString pageTitle;
90 QString defaultStorageDirectory;
88 QString defaultStorageDirectory;
91
89
92 //QGridLayout *mainLayout;
90 //QGridLayout *mainLayout;
93
91
94 void displayOnPlot(short *data, unsigned char num, unsigned int coarseTime, unsigned int fineTime, float deltaT, unsigned int nbData);
92 void displayOnPlot(short *data, unsigned char num, unsigned int coarseTime, unsigned int fineTime, double deltaT, unsigned int nbData);
95 void initDataBuffer();
93 void initDataBuffer();
96 void fillDataBuffer(short *data, unsigned char num, unsigned int coarseTime, unsigned int fineTime, float deltaT, unsigned int nbData);
94 void fillDataBuffer(short *data, unsigned char num, unsigned int coarseTime, unsigned int fineTime, double deltaT, unsigned int nbData);
97 void storeDataBuffer();
95 void storeDataBuffer(unsigned int nbData);
98
96
99 bool allowDataStorage;
97 bool allowDataStorage;
100
98
101 signals:
99 signals:
102
100
103 public slots:
101 public slots:
104 void actionRadioV(bool state);
102 void actionRadioV(bool state);
105 void actionRadioE1(bool state);
103 void actionRadioE1(bool state);
106 void actionRadioE2(bool state);
104 void actionRadioE2(bool state);
107 void actionRadioB1(bool state);
105 void actionRadioB1(bool state);
108 void actionRadioB2(bool state);
106 void actionRadioB2(bool state);
109 void actionRadioB3(bool state);
107 void actionRadioB3(bool state);
110 void organizeDocks();
108 void organizeDocks();
111 void selectAll();
109 void selectAll();
112 void storeWfrm();
110 void storeWfrm();
113 void logFileEnDisable(bool state);
111 void logFileEnDisable(bool state);
114 void chooseDir();
112 void chooseDir();
115 void setDefaultStorageDirectory(QString nameOfTheDirectory);
113 void setDefaultStorageDirectory(QString nameOfTheDirectory);
116
114
117 };
115 };
118
116
119 #endif // WFPAGE_H
117 #endif // WFPAGE_H
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
This diff has been collapsed as it changes many lines, (690 lines changed) Show them Hide them
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
This diff has been collapsed as it changes many lines, (656 lines changed) Show them Hide them
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed, binary diff hidden
NO CONTENT: file was removed, binary diff hidden
1 NO CONTENT: file was removed, binary diff hidden
NO CONTENT: file was removed, binary diff hidden
1 NO CONTENT: file was removed
NO CONTENT: file was removed
This diff has been collapsed as it changes many lines, (690 lines changed) Show them Hide them
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
This diff has been collapsed as it changes many lines, (659 lines changed) Show them Hide them
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed, binary diff hidden
NO CONTENT: file was removed, binary diff hidden
1 NO CONTENT: file was removed, binary diff hidden
NO CONTENT: file was removed, binary diff hidden
1 NO CONTENT: file was removed
NO CONTENT: file was removed
This diff has been collapsed as it changes many lines, (690 lines changed) Show them Hide them
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
This diff has been collapsed as it changes many lines, (659 lines changed) Show them Hide them
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed, binary diff hidden
NO CONTENT: file was removed, binary diff hidden
1 NO CONTENT: file was removed, binary diff hidden
NO CONTENT: file was removed, binary diff hidden
1 NO CONTENT: file was removed
NO CONTENT: file was removed
This diff has been collapsed as it changes many lines, (674 lines changed) Show them Hide them
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
This diff has been collapsed as it changes many lines, (15033 lines changed) Show them Hide them
1 NO CONTENT: file was removed
NO CONTENT: file was removed
This diff has been collapsed as it changes many lines, (2171 lines changed) Show them Hide them
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed
NO CONTENT: file was removed
1 NO CONTENT: file was removed, binary diff hidden
NO CONTENT: file was removed, binary diff hidden
General Comments 0
You need to be logged in to leave comments. Login now