@@ -1,342 +1,342 | |||||
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 Qt Creator 2.4.1, 2013-06-18T15: |
|
3 | <!-- Written by Qt Creator 2.4.1, 2013-06-18T15:38:00. --> | |
4 | <qtcreator> |
|
4 | <qtcreator> | |
5 | <data> |
|
5 | <data> | |
6 | <variable>ProjectExplorer.Project.ActiveTarget</variable> |
|
6 | <variable>ProjectExplorer.Project.ActiveTarget</variable> | |
7 | <value type="int">0</value> |
|
7 | <value type="int">0</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 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0"> |
|
14 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.0"> | |
15 | <value type="QString" key="language">Cpp</value> |
|
15 | <value type="QString" key="language">Cpp</value> | |
16 | <valuemap type="QVariantMap" key="value"> |
|
16 | <valuemap type="QVariantMap" key="value"> | |
17 | <value type="QString" key="CurrentPreferences">CppGlobal</value> |
|
17 | <value type="QString" key="CurrentPreferences">CppGlobal</value> | |
18 | </valuemap> |
|
18 | </valuemap> | |
19 | </valuemap> |
|
19 | </valuemap> | |
20 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1"> |
|
20 | <valuemap type="QVariantMap" key="EditorConfiguration.CodeStyle.1"> | |
21 | <value type="QString" key="language">QmlJS</value> |
|
21 | <value type="QString" key="language">QmlJS</value> | |
22 | <valuemap type="QVariantMap" key="value"> |
|
22 | <valuemap type="QVariantMap" key="value"> | |
23 | <value type="QString" key="CurrentPreferences">QmlJSGlobal</value> |
|
23 | <value type="QString" key="CurrentPreferences">QmlJSGlobal</value> | |
24 | </valuemap> |
|
24 | </valuemap> | |
25 | </valuemap> |
|
25 | </valuemap> | |
26 | <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value> |
|
26 | <value type="int" key="EditorConfiguration.CodeStyle.Count">2</value> | |
27 | <value type="QByteArray" key="EditorConfiguration.Codec">System</value> |
|
27 | <value type="QByteArray" key="EditorConfiguration.Codec">System</value> | |
28 | <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value> |
|
28 | <value type="bool" key="EditorConfiguration.ConstrainTooltips">false</value> | |
29 | <value type="int" key="EditorConfiguration.IndentSize">4</value> |
|
29 | <value type="int" key="EditorConfiguration.IndentSize">4</value> | |
30 | <value type="bool" key="EditorConfiguration.MouseNavigation">true</value> |
|
30 | <value type="bool" key="EditorConfiguration.MouseNavigation">true</value> | |
31 | <value type="int" key="EditorConfiguration.PaddingMode">1</value> |
|
31 | <value type="int" key="EditorConfiguration.PaddingMode">1</value> | |
32 | <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value> |
|
32 | <value type="bool" key="EditorConfiguration.ScrollWheelZooming">true</value> | |
33 | <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value> |
|
33 | <value type="int" key="EditorConfiguration.SmartBackspaceBehavior">0</value> | |
34 | <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value> |
|
34 | <value type="bool" key="EditorConfiguration.SpacesForTabs">true</value> | |
35 | <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value> |
|
35 | <value type="int" key="EditorConfiguration.TabKeyBehavior">0</value> | |
36 | <value type="int" key="EditorConfiguration.TabSize">8</value> |
|
36 | <value type="int" key="EditorConfiguration.TabSize">8</value> | |
37 | <value type="bool" key="EditorConfiguration.UseGlobal">true</value> |
|
37 | <value type="bool" key="EditorConfiguration.UseGlobal">true</value> | |
38 | <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value> |
|
38 | <value type="int" key="EditorConfiguration.Utf8BomBehavior">1</value> | |
39 | <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value> |
|
39 | <value type="bool" key="EditorConfiguration.addFinalNewLine">true</value> | |
40 | <value type="bool" key="EditorConfiguration.cleanIndentation">true</value> |
|
40 | <value type="bool" key="EditorConfiguration.cleanIndentation">true</value> | |
41 | <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value> |
|
41 | <value type="bool" key="EditorConfiguration.cleanWhitespace">true</value> | |
42 | <value type="bool" key="EditorConfiguration.inEntireDocument">false</value> |
|
42 | <value type="bool" key="EditorConfiguration.inEntireDocument">false</value> | |
43 | </valuemap> |
|
43 | </valuemap> | |
44 | </data> |
|
44 | </data> | |
45 | <data> |
|
45 | <data> | |
46 | <variable>ProjectExplorer.Project.PluginSettings</variable> |
|
46 | <variable>ProjectExplorer.Project.PluginSettings</variable> | |
47 | <valuemap type="QVariantMap"/> |
|
47 | <valuemap type="QVariantMap"/> | |
48 | </data> |
|
48 | </data> | |
49 | <data> |
|
49 | <data> | |
50 | <variable>ProjectExplorer.Project.Target.0</variable> |
|
50 | <variable>ProjectExplorer.Project.Target.0</variable> | |
51 | <valuemap type="QVariantMap"> |
|
51 | <valuemap type="QVariantMap"> | |
52 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value> |
|
52 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Desktop</value> | |
53 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value> |
|
53 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName">Desktop</value> | |
54 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Target.DesktopTarget</value> |
|
54 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Target.DesktopTarget</value> | |
55 | <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value> |
|
55 | <value type="int" key="ProjectExplorer.Target.ActiveBuildConfiguration">0</value> | |
56 | <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> |
|
56 | <value type="int" key="ProjectExplorer.Target.ActiveDeployConfiguration">0</value> | |
57 | <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> |
|
57 | <value type="int" key="ProjectExplorer.Target.ActiveRunConfiguration">0</value> | |
58 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> |
|
58 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.0"> | |
59 | <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value> |
|
59 | <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value> | |
60 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
60 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |
61 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
61 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |
62 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> |
|
62 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> | |
63 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
63 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
64 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> |
|
64 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |
65 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> |
|
65 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> | |
66 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value> |
|
66 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value> | |
67 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> |
|
67 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |
68 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> |
|
68 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |
69 | </valuemap> |
|
69 | </valuemap> | |
70 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> |
|
70 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |
71 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
71 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |
72 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
72 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
73 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
73 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |
74 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> |
|
74 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |
75 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> |
|
75 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> | |
76 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
76 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |
77 | </valuemap> |
|
77 | </valuemap> | |
78 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> |
|
78 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |
79 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> |
|
79 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |
80 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
80 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
81 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> |
|
81 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |
82 | </valuemap> |
|
82 | </valuemap> | |
83 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> |
|
83 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |
84 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
84 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |
85 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
85 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |
86 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
86 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
87 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
87 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |
88 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> |
|
88 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |
89 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> |
|
89 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> | |
90 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
90 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |
91 | </valuemap> |
|
91 | </valuemap> | |
92 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> |
|
92 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |
93 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> |
|
93 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |
94 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
94 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
95 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> |
|
95 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |
96 | </valuemap> |
|
96 | </valuemap> | |
97 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> |
|
97 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |
98 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> |
|
98 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |
99 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> |
|
99 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |
100 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Release</value> |
|
100 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Release</value> | |
101 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
101 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
102 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> |
|
102 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |
103 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> |
|
103 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">0</value> | |
104 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL</value> |
|
104 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL</value> | |
105 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value> |
|
105 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value> | |
106 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> |
|
106 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> | |
107 | </valuemap> |
|
107 | </valuemap> | |
108 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1"> |
|
108 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.BuildConfiguration.1"> | |
109 | <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value> |
|
109 | <value type="QString" key="ProjectExplorer.BuildCOnfiguration.ToolChain">ProjectExplorer.ToolChain.Gcc:/usr/bin/g++.x86-linux-generic-elf-64bit./usr/bin/gdb</value> | |
110 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
110 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |
111 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
111 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |
112 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> |
|
112 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">qmake</value> | |
113 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
113 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
114 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> |
|
114 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">QtProjectManager.QMakeBuildStep</value> | |
115 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> |
|
115 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibrary">false</value> | |
116 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value> |
|
116 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">true</value> | |
117 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> |
|
117 | <value type="QString" key="QtProjectManager.QMakeBuildStep.QMakeArguments"></value> | |
118 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> |
|
118 | <value type="bool" key="QtProjectManager.QMakeBuildStep.QMakeForced">false</value> | |
119 | </valuemap> |
|
119 | </valuemap> | |
120 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> |
|
120 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.1"> | |
121 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
121 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |
122 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
122 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
123 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
123 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |
124 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> |
|
124 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">false</value> | |
125 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> |
|
125 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments"></value> | |
126 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
126 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |
127 | </valuemap> |
|
127 | </valuemap> | |
128 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> |
|
128 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">2</value> | |
129 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> |
|
129 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Build</value> | |
130 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
130 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
131 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> |
|
131 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Build</value> | |
132 | </valuemap> |
|
132 | </valuemap> | |
133 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> |
|
133 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.1"> | |
134 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> |
|
134 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildStepList.Step.0"> | |
135 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> |
|
135 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Make</value> | |
136 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
136 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
137 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> |
|
137 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.MakeStep</value> | |
138 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> |
|
138 | <value type="bool" key="Qt4ProjectManager.MakeStep.Clean">true</value> | |
139 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> |
|
139 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeArguments">clean</value> | |
140 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> |
|
140 | <value type="QString" key="Qt4ProjectManager.MakeStep.MakeCommand"></value> | |
141 | </valuemap> |
|
141 | </valuemap> | |
142 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> |
|
142 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">1</value> | |
143 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> |
|
143 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Clean</value> | |
144 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
144 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
145 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> |
|
145 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Clean</value> | |
146 | </valuemap> |
|
146 | </valuemap> | |
147 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> |
|
147 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">2</value> | |
148 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> |
|
148 | <value type="bool" key="ProjectExplorer.BuildConfiguration.ClearSystemEnvironment">false</value> | |
149 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> |
|
149 | <valuelist type="QVariantList" key="ProjectExplorer.BuildConfiguration.UserEnvironmentChanges"/> | |
150 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Debug</value> |
|
150 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.2 in PATH (System) Debug</value> | |
151 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
151 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
152 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> |
|
152 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4BuildConfiguration</value> | |
153 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value> |
|
153 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildConfiguration">2</value> | |
154 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL</value> |
|
154 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/opt/LPPMON_PLUGINS_PAUL</value> | |
155 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value> |
|
155 | <value type="int" key="Qt4ProjectManager.Qt4BuildConfiguration.QtVersionId">1</value> | |
156 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> |
|
156 | <value type="bool" key="Qt4ProjectManager.Qt4BuildConfiguration.UseShadowBuild">false</value> | |
157 | </valuemap> |
|
157 | </valuemap> | |
158 | <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value> |
|
158 | <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">2</value> | |
159 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> |
|
159 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> | |
160 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
160 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |
161 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> |
|
161 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> | |
162 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> |
|
162 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> | |
163 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
163 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
164 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> |
|
164 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> | |
165 | </valuemap> |
|
165 | </valuemap> | |
166 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> |
|
166 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> | |
167 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value> |
|
167 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value> | |
168 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
168 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
169 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> |
|
169 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> | |
170 | </valuemap> |
|
170 | </valuemap> | |
171 | <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> |
|
171 | <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> | |
172 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> |
|
172 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> | |
173 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> |
|
173 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> | |
174 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> |
|
174 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> | |
175 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> |
|
175 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> | |
176 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> |
|
176 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> | |
177 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> |
|
177 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> | |
178 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> |
|
178 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> | |
179 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> |
|
179 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> | |
180 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> |
|
180 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> | |
181 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> |
|
181 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> | |
182 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> |
|
182 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> | |
183 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> |
|
183 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> | |
184 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> |
|
184 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> | |
185 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> |
|
185 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> | |
186 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> |
|
186 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> | |
187 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> |
|
187 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> | |
188 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> |
|
188 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> | |
189 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> |
|
189 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> | |
190 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> |
|
190 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> | |
191 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> |
|
191 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> | |
192 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> |
|
192 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> | |
193 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> |
|
193 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> | |
194 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> |
|
194 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> | |
195 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> |
|
195 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> | |
196 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> |
|
196 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> | |
197 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> |
|
197 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> | |
198 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> |
|
198 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> | |
199 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> |
|
199 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> | |
200 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> |
|
200 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> | |
201 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> |
|
201 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> | |
202 | <value type="int">0</value> |
|
202 | <value type="int">0</value> | |
203 | <value type="int">1</value> |
|
203 | <value type="int">1</value> | |
204 | <value type="int">2</value> |
|
204 | <value type="int">2</value> | |
205 | <value type="int">3</value> |
|
205 | <value type="int">3</value> | |
206 | <value type="int">4</value> |
|
206 | <value type="int">4</value> | |
207 | <value type="int">5</value> |
|
207 | <value type="int">5</value> | |
208 | <value type="int">6</value> |
|
208 | <value type="int">6</value> | |
209 | <value type="int">7</value> |
|
209 | <value type="int">7</value> | |
210 | <value type="int">8</value> |
|
210 | <value type="int">8</value> | |
211 | <value type="int">9</value> |
|
211 | <value type="int">9</value> | |
212 | <value type="int">10</value> |
|
212 | <value type="int">10</value> | |
213 | <value type="int">11</value> |
|
213 | <value type="int">11</value> | |
214 | <value type="int">12</value> |
|
214 | <value type="int">12</value> | |
215 | <value type="int">13</value> |
|
215 | <value type="int">13</value> | |
216 | <value type="int">14</value> |
|
216 | <value type="int">14</value> | |
217 | </valuelist> |
|
217 | </valuelist> | |
218 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> |
|
218 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> | |
219 | <value type="int">0</value> |
|
219 | <value type="int">0</value> | |
220 | <value type="int">1</value> |
|
220 | <value type="int">1</value> | |
221 | <value type="int">2</value> |
|
221 | <value type="int">2</value> | |
222 | <value type="int">3</value> |
|
222 | <value type="int">3</value> | |
223 | <value type="int">4</value> |
|
223 | <value type="int">4</value> | |
224 | <value type="int">5</value> |
|
224 | <value type="int">5</value> | |
225 | <value type="int">6</value> |
|
225 | <value type="int">6</value> | |
226 | <value type="int">7</value> |
|
226 | <value type="int">7</value> | |
227 | <value type="int">8</value> |
|
227 | <value type="int">8</value> | |
228 | <value type="int">9</value> |
|
228 | <value type="int">9</value> | |
229 | <value type="int">10</value> |
|
229 | <value type="int">10</value> | |
230 | <value type="int">11</value> |
|
230 | <value type="int">11</value> | |
231 | <value type="int">12</value> |
|
231 | <value type="int">12</value> | |
232 | <value type="int">13</value> |
|
232 | <value type="int">13</value> | |
233 | <value type="int">14</value> |
|
233 | <value type="int">14</value> | |
234 | </valuelist> |
|
234 | </valuelist> | |
235 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value> |
|
235 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Arguments"></value> | |
236 | <value type="int" key="ProjectExplorer.CustomExecutableRunConfiguration.BaseEnvironmentBase">2</value> |
|
236 | <value type="int" key="ProjectExplorer.CustomExecutableRunConfiguration.BaseEnvironmentBase">2</value> | |
237 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable">lppmon</value> |
|
237 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.Executable">lppmon</value> | |
238 | <value type="bool" key="ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal">false</value> |
|
238 | <value type="bool" key="ProjectExplorer.CustomExecutableRunConfiguration.UseTerminal">false</value> | |
239 | <valuelist type="QVariantList" key="ProjectExplorer.CustomExecutableRunConfiguration.UserEnvironmentChanges"/> |
|
239 | <valuelist type="QVariantList" key="ProjectExplorer.CustomExecutableRunConfiguration.UserEnvironmentChanges"/> | |
240 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory">%{buildDir}</value> |
|
240 | <value type="QString" key="ProjectExplorer.CustomExecutableRunConfiguration.WorkingDirectory">%{buildDir}</value> | |
241 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Run lppmon</value> |
|
241 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Run lppmon</value> | |
242 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
242 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
243 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value> |
|
243 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.CustomExecutableRunConfiguration</value> | |
244 | <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> |
|
244 | <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> | |
245 | <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> |
|
245 | <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> | |
246 | <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> |
|
246 | <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> | |
247 | <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value> |
|
247 | <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value> | |
248 | </valuemap> |
|
248 | </valuemap> | |
249 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.1"> |
|
249 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.1"> | |
250 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> |
|
250 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> | |
251 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> |
|
251 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> | |
252 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> |
|
252 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> | |
253 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> |
|
253 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> | |
254 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> |
|
254 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> | |
255 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> |
|
255 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> | |
256 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> |
|
256 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> | |
257 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> |
|
257 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> | |
258 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> |
|
258 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> | |
259 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> |
|
259 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> | |
260 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> |
|
260 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> | |
261 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> |
|
261 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> | |
262 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> |
|
262 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> | |
263 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> |
|
263 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> | |
264 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> |
|
264 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> | |
265 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> |
|
265 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> | |
266 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> |
|
266 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> | |
267 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> |
|
267 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> | |
268 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> |
|
268 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> | |
269 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> |
|
269 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> | |
270 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> |
|
270 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> | |
271 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> |
|
271 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> | |
272 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> |
|
272 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> | |
273 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> |
|
273 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> | |
274 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> |
|
274 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> | |
275 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> |
|
275 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> | |
276 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> |
|
276 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> | |
277 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> |
|
277 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> | |
278 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> |
|
278 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> | |
279 | <value type="int">0</value> |
|
279 | <value type="int">0</value> | |
280 | <value type="int">1</value> |
|
280 | <value type="int">1</value> | |
281 | <value type="int">2</value> |
|
281 | <value type="int">2</value> | |
282 | <value type="int">3</value> |
|
282 | <value type="int">3</value> | |
283 | <value type="int">4</value> |
|
283 | <value type="int">4</value> | |
284 | <value type="int">5</value> |
|
284 | <value type="int">5</value> | |
285 | <value type="int">6</value> |
|
285 | <value type="int">6</value> | |
286 | <value type="int">7</value> |
|
286 | <value type="int">7</value> | |
287 | <value type="int">8</value> |
|
287 | <value type="int">8</value> | |
288 | <value type="int">9</value> |
|
288 | <value type="int">9</value> | |
289 | <value type="int">10</value> |
|
289 | <value type="int">10</value> | |
290 | <value type="int">11</value> |
|
290 | <value type="int">11</value> | |
291 | <value type="int">12</value> |
|
291 | <value type="int">12</value> | |
292 | <value type="int">13</value> |
|
292 | <value type="int">13</value> | |
293 | <value type="int">14</value> |
|
293 | <value type="int">14</value> | |
294 | </valuelist> |
|
294 | </valuelist> | |
295 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> |
|
295 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> | |
296 | <value type="int">0</value> |
|
296 | <value type="int">0</value> | |
297 | <value type="int">1</value> |
|
297 | <value type="int">1</value> | |
298 | <value type="int">2</value> |
|
298 | <value type="int">2</value> | |
299 | <value type="int">3</value> |
|
299 | <value type="int">3</value> | |
300 | <value type="int">4</value> |
|
300 | <value type="int">4</value> | |
301 | <value type="int">5</value> |
|
301 | <value type="int">5</value> | |
302 | <value type="int">6</value> |
|
302 | <value type="int">6</value> | |
303 | <value type="int">7</value> |
|
303 | <value type="int">7</value> | |
304 | <value type="int">8</value> |
|
304 | <value type="int">8</value> | |
305 | <value type="int">9</value> |
|
305 | <value type="int">9</value> | |
306 | <value type="int">10</value> |
|
306 | <value type="int">10</value> | |
307 | <value type="int">11</value> |
|
307 | <value type="int">11</value> | |
308 | <value type="int">12</value> |
|
308 | <value type="int">12</value> | |
309 | <value type="int">13</value> |
|
309 | <value type="int">13</value> | |
310 | <value type="int">14</value> |
|
310 | <value type="int">14</value> | |
311 | </valuelist> |
|
311 | </valuelist> | |
312 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">spwtimegenerator</value> |
|
312 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">spwtimegenerator</value> | |
313 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
313 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
314 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration</value> |
|
314 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration</value> | |
315 | <value type="int" key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase">2</value> |
|
315 | <value type="int" key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase">2</value> | |
316 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value> |
|
316 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value> | |
317 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">spwtimegenerator/spwtimegenerator/spwtimegenerator.pro</value> |
|
317 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">spwtimegenerator/spwtimegenerator/spwtimegenerator.pro</value> | |
318 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value> |
|
318 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value> | |
319 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value> |
|
319 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value> | |
320 | <valuelist type="QVariantList" key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges"/> |
|
320 | <valuelist type="QVariantList" key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges"/> | |
321 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value> |
|
321 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value> | |
322 | <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> |
|
322 | <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> | |
323 | <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> |
|
323 | <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> | |
324 | <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> |
|
324 | <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> | |
325 | <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value> |
|
325 | <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">true</value> | |
326 | </valuemap> |
|
326 | </valuemap> | |
327 | <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">2</value> |
|
327 | <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">2</value> | |
328 | </valuemap> |
|
328 | </valuemap> | |
329 | </data> |
|
329 | </data> | |
330 | <data> |
|
330 | <data> | |
331 | <variable>ProjectExplorer.Project.TargetCount</variable> |
|
331 | <variable>ProjectExplorer.Project.TargetCount</variable> | |
332 | <value type="int">1</value> |
|
332 | <value type="int">1</value> | |
333 | </data> |
|
333 | </data> | |
334 | <data> |
|
334 | <data> | |
335 | <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable> |
|
335 | <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable> | |
336 | <value type="QString">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value> |
|
336 | <value type="QString">{2e58a81f-9962-4bba-ae6b-760177f0656c}</value> | |
337 | </data> |
|
337 | </data> | |
338 | <data> |
|
338 | <data> | |
339 | <variable>ProjectExplorer.Project.Updater.FileVersion</variable> |
|
339 | <variable>ProjectExplorer.Project.Updater.FileVersion</variable> | |
340 | <value type="int">10</value> |
|
340 | <value type="int">10</value> | |
341 | </data> |
|
341 | </data> | |
342 | </qtcreator> |
|
342 | </qtcreator> |
@@ -1,253 +1,253 | |||||
1 | #include "tmechobridge.h" |
|
1 | #include "tmechobridge.h" | |
2 |
|
2 | |||
3 | TMEchoBridge::TMEchoBridge(QWidget *parent) : |
|
3 | TMEchoBridge::TMEchoBridge(QWidget *parent) : | |
4 | QWidget(parent) |
|
4 | QWidget(parent) | |
5 | { |
|
5 | { | |
6 | totalOfBytes = 0; |
|
6 | totalOfBytes = 0; | |
7 | totalOfPackets = 0; |
|
7 | totalOfPackets = 0; | |
8 | totalOfPacketsDropped = 0; |
|
8 | totalOfPacketsDropped = 0; | |
9 |
|
9 | |||
10 | tmEchoBridgeServer = new QTcpServer(); |
|
10 | tmEchoBridgeServer = new QTcpServer(); | |
11 | tmEchoBridgeSocket = new QTcpSocket(); |
|
11 | tmEchoBridgeSocket = new QTcpSocket(); | |
12 | xmlWriter = new QXmlStreamWriter(); |
|
12 | xmlWriter = new QXmlStreamWriter(); | |
13 |
|
13 | |||
14 | console = new QTextEdit(); |
|
14 | console = new QTextEdit(); | |
15 |
|
15 | |||
16 | label_TMServerPort = new QLabel(tr("TM Server Port:")); |
|
16 | label_TMServerPort = new QLabel(tr("TM Server Port:")); | |
17 | label_totalOfBytes = new QLabel(tr("Number of TM bytes sent: -")); |
|
17 | label_totalOfBytes = new QLabel(tr("Number of TM bytes sent: -")); | |
18 | label_totalOfPackets = new QLabel(tr("Number of TM packets sent: -")); |
|
18 | label_totalOfPackets = new QLabel(tr("Number of TM packets sent: -")); | |
19 | label_totalOfPacketsDropped = new QLabel(tr("Number of TM packets dropped: -")); |
|
19 | label_totalOfPacketsDropped = new QLabel(tr("Number of TM packets dropped: -")); | |
20 |
|
20 | |||
21 | spinbox_TMServerPort = new QSpinBox(); |
|
21 | spinbox_TMServerPort = new QSpinBox(); | |
22 | spinbox_TMServerPort->setRange(59002, 65535); |
|
22 | spinbox_TMServerPort->setRange(59002, 65535); | |
23 |
|
23 | |||
24 | button_openServerTCTM = new QPushButton(tr("Open Port")); |
|
24 | button_openServerTCTM = new QPushButton(tr("Open Port")); | |
25 | button_testServerTCTM = new QPushButton(tr("Test Port")); |
|
25 | button_testServerTCTM = new QPushButton(tr("Test Port")); | |
26 | button_sendTestPacket = new QPushButton(tr("Send a test packet")); |
|
26 | button_sendTestPacket = new QPushButton(tr("Send a test packet")); | |
27 | button_clearConsole = new QPushButton(tr("Clear console")); |
|
27 | button_clearConsole = new QPushButton(tr("Clear console")); | |
28 | button_resetTMStatistics = new QPushButton(tr("Reset TM Statistics")); |
|
28 | button_resetTMStatistics = new QPushButton(tr("Reset TM Statistics")); | |
29 |
|
29 | |||
30 | groupbox_ports = new QGroupBox(tr("Port of the TM Echo Bridge")); |
|
30 | groupbox_ports = new QGroupBox(tr("Port of the TM Echo Bridge")); | |
31 |
|
31 | |||
32 | layout_ports = new QGridLayout(); |
|
32 | layout_ports = new QGridLayout(); | |
33 | mainLayout = new QGridLayout(); |
|
33 | mainLayout = new QGridLayout(); | |
34 |
|
34 | |||
35 | initSocketStatesList(); |
|
35 | initSocketStatesList(); | |
36 |
|
36 | |||
37 | layout_ports->addWidget(label_TMServerPort, 0, 0, 1, 1); |
|
37 | layout_ports->addWidget(label_TMServerPort, 0, 0, 1, 1); | |
38 | layout_ports->addWidget(spinbox_TMServerPort, 0, 1, 1, 1); |
|
38 | layout_ports->addWidget(spinbox_TMServerPort, 0, 1, 1, 1); | |
39 | layout_ports->addWidget(button_openServerTCTM, 2, 0, 1, 2); |
|
39 | layout_ports->addWidget(button_openServerTCTM, 2, 0, 1, 2); | |
40 | layout_ports->addWidget(button_testServerTCTM, 3, 0, 1, 2); |
|
40 | layout_ports->addWidget(button_testServerTCTM, 3, 0, 1, 2); | |
41 | layout_ports->addWidget(button_sendTestPacket, 4, 0, 1, 2); |
|
41 | layout_ports->addWidget(button_sendTestPacket, 4, 0, 1, 2); | |
42 | layout_ports->addWidget(label_totalOfPackets, 5, 0, 1, 2); |
|
42 | layout_ports->addWidget(label_totalOfPackets, 5, 0, 1, 2); | |
43 | layout_ports->addWidget(label_totalOfBytes, 6, 0, 1, 2); |
|
43 | layout_ports->addWidget(label_totalOfBytes, 6, 0, 1, 2); | |
44 | layout_ports->addWidget(label_totalOfPacketsDropped, 7, 0, 1, 2); |
|
44 | layout_ports->addWidget(label_totalOfPacketsDropped, 7, 0, 1, 2); | |
45 | layout_ports->addWidget(button_resetTMStatistics, 8, 0, 1, 2); |
|
45 | layout_ports->addWidget(button_resetTMStatistics, 8, 0, 1, 2); | |
46 | layout_ports->setRowStretch(9, 1); |
|
46 | layout_ports->setRowStretch(9, 1); | |
47 | layout_ports->setColumnStretch(2, 1); |
|
47 | layout_ports->setColumnStretch(2, 1); | |
48 |
|
48 | |||
49 | groupbox_ports->setLayout(layout_ports); |
|
49 | groupbox_ports->setLayout(layout_ports); | |
50 |
|
50 | |||
51 | mainLayout->addWidget(groupbox_ports, 0, 0, 1, 1); |
|
51 | mainLayout->addWidget(groupbox_ports, 0, 0, 1, 1); | |
52 | mainLayout->addWidget(console, 0, 1, 1, 1); |
|
52 | mainLayout->addWidget(console, 0, 1, 1, 1); | |
53 | mainLayout->addWidget(button_clearConsole, 1, 1, 1, 1); |
|
53 | mainLayout->addWidget(button_clearConsole, 1, 1, 1, 1); | |
54 |
|
54 | |||
55 | this->setLayout(mainLayout); |
|
55 | this->setLayout(mainLayout); | |
56 |
|
56 | |||
57 | connect(this->tmEchoBridgeServer, SIGNAL(newConnection()), this, SLOT(newConnectionOnTMEchoBridgeServer())); |
|
57 | connect(this->tmEchoBridgeServer, SIGNAL(newConnection()), this, SLOT(newConnectionOnTMEchoBridgeServer())); | |
58 | connect(this->button_openServerTCTM, SIGNAL(clicked()), this, SLOT(listenOnTMEchoBridgePort())); |
|
58 | connect(this->button_openServerTCTM, SIGNAL(clicked()), this, SLOT(listenOnTMEchoBridgePort())); | |
59 | connect(this->button_testServerTCTM, SIGNAL(clicked()), this, SLOT(testTMEchoBridgePort())); |
|
59 | connect(this->button_testServerTCTM, SIGNAL(clicked()), this, SLOT(testTMEchoBridgePort())); | |
60 | connect(this->button_sendTestPacket, SIGNAL(clicked()), this, SLOT(sendXML_GSE_HK())); |
|
60 | connect(this->button_sendTestPacket, SIGNAL(clicked()), this, SLOT(sendXML_GSE_HK())); | |
61 | connect(this->button_clearConsole, SIGNAL(clicked()), this, SLOT(clearConsole())); |
|
61 | connect(this->button_clearConsole, SIGNAL(clicked()), this, SLOT(clearConsole())); | |
62 | connect(this->button_resetTMStatistics, SIGNAL(clicked()), this, SLOT(resetTMStatistics())); |
|
62 | connect(this->button_resetTMStatistics, SIGNAL(clicked()), this, SLOT(resetTMStatistics())); | |
63 | } |
|
63 | } | |
64 |
|
64 | |||
65 | void TMEchoBridge::listenOnTMEchoBridgePort() |
|
65 | void TMEchoBridge::listenOnTMEchoBridgePort() | |
66 | { |
|
66 | { | |
67 | QString str; |
|
67 | QString str; | |
68 |
|
68 | |||
69 | tmEchoBridgeServer->listen(QHostAddress::Any, this->getTMPort()); |
|
69 | tmEchoBridgeServer->listen(QHostAddress::Any, this->getTMPort()); | |
70 | str = tmEchoBridgeServer->errorString(); |
|
70 | str = tmEchoBridgeServer->errorString(); | |
71 | if (!str.isEmpty()) |
|
71 | if (!str.isEmpty()) | |
72 | { |
|
72 | { | |
73 | this->displayOnConsole(str); |
|
73 | this->displayOnConsole(str); | |
74 | } |
|
74 | } | |
75 | this->displayOnConsole("Listening TM on port " |
|
75 | this->displayOnConsole("Listening TM on port " | |
76 | + QString::number(this->getTMPort()) |
|
76 | + QString::number(this->getTMPort()) | |
77 | ); |
|
77 | ); | |
78 | } |
|
78 | } | |
79 |
|
79 | |||
80 | void TMEchoBridge::testTMEchoBridgePort() |
|
80 | void TMEchoBridge::testTMEchoBridgePort() | |
81 | { |
|
81 | { | |
82 | if (tmEchoBridgeSocket != NULL) |
|
82 | if (tmEchoBridgeSocket != NULL) | |
83 | { |
|
83 | { | |
84 | this->displayOnConsole("TM socket *** " + socketStates.at(tmEchoBridgeSocket->state()) ); |
|
84 | this->displayOnConsole("TM socket *** " + socketStates.at(tmEchoBridgeSocket->state()) ); | |
85 | } |
|
85 | } | |
86 | else |
|
86 | else | |
87 | { |
|
87 | { | |
88 | this->displayOnConsole("TC socket *** not tested, (socketTC) is NULL" ); |
|
88 | this->displayOnConsole("TC socket *** not tested, (socketTC) is NULL" ); | |
89 | } |
|
89 | } | |
90 | } |
|
90 | } | |
91 |
|
91 | |||
92 | void TMEchoBridge::newConnectionOnTMEchoBridgeServer() |
|
92 | void TMEchoBridge::newConnectionOnTMEchoBridgeServer() | |
93 | { |
|
93 | { | |
94 | this->displayOnConsole("got new connection on TM port"); |
|
94 | this->displayOnConsole("got new connection on TM port"); | |
95 | tmEchoBridgeSocket = tmEchoBridgeServer->nextPendingConnection(); |
|
95 | tmEchoBridgeSocket = tmEchoBridgeServer->nextPendingConnection(); | |
96 | this->displayOnConsole("TM socket *** " + socketStates.at(tmEchoBridgeSocket->state()) ); |
|
96 | this->displayOnConsole("TM socket *** " + socketStates.at(tmEchoBridgeSocket->state()) ); | |
97 | xmlWriter->setDevice(this->tmEchoBridgeSocket); |
|
97 | xmlWriter->setDevice(this->tmEchoBridgeSocket); | |
98 | } |
|
98 | } | |
99 |
|
99 | |||
100 | int TMEchoBridge::getTMPort() |
|
100 | int TMEchoBridge::getTMPort() | |
101 | { |
|
101 | { | |
102 | return spinbox_TMServerPort->value(); |
|
102 | return spinbox_TMServerPort->value(); | |
103 | } |
|
103 | } | |
104 |
|
104 | |||
105 | void TMEchoBridge::displayOnConsole(QString message) |
|
105 | void TMEchoBridge::displayOnConsole(QString message) | |
106 | { |
|
106 | { | |
107 | console->append(message); |
|
107 | console->append(message); | |
108 | } |
|
108 | } | |
109 |
|
109 | |||
110 | void TMEchoBridge::initSocketStatesList() |
|
110 | void TMEchoBridge::initSocketStatesList() | |
111 | { |
|
111 | { | |
112 | socketStates.append("The socket is not connected"); |
|
112 | socketStates.append("The socket is not connected"); | |
113 | socketStates.append("The socket is performing a host name lookup"); |
|
113 | socketStates.append("The socket is performing a host name lookup"); | |
114 | socketStates.append("The socket has started establishing a connection"); |
|
114 | socketStates.append("The socket has started establishing a connection"); | |
115 | socketStates.append("A connection is established"); |
|
115 | socketStates.append("A connection is established"); | |
116 | socketStates.append("The socket is bound to an address and port (for servers)"); |
|
116 | socketStates.append("The socket is bound to an address and port (for servers)"); | |
117 | socketStates.append("The socket is about to close (data may still be waiting to be written)"); |
|
117 | socketStates.append("The socket is about to close (data may still be waiting to be written)"); | |
118 | socketStates.append("For internal use only"); |
|
118 | socketStates.append("For internal use only"); | |
119 | } |
|
119 | } | |
120 |
|
120 | |||
121 | void TMEchoBridge::sendXML_GSE_HK() |
|
121 | void TMEchoBridge::sendXML_GSE_HK() | |
122 | { |
|
122 | { | |
123 | char data[10]; |
|
123 | char data[10]; | |
124 | for (int i = 0; i <10; i++) |
|
124 | for (int i = 0; i <10; i++) | |
125 | { |
|
125 | { | |
126 | data[i] = i; |
|
126 | data[i] = i; | |
127 | } |
|
127 | } | |
128 | if (tmEchoBridgeSocket->state() == QAbstractSocket::ConnectedState) |
|
128 | if (tmEchoBridgeSocket->state() == QAbstractSocket::ConnectedState) | |
129 | { |
|
129 | { | |
130 | xmlWriter->writeStartDocument(); |
|
130 | xmlWriter->writeStartDocument(); | |
131 |
|
131 | |||
132 | xmlWriter->writeStartElement("Event"); |
|
132 | xmlWriter->writeStartElement("Event"); | |
133 |
|
133 | |||
134 | // EventDate |
|
134 | // EventDate | |
135 | xmlWriter->writeStartElement("EventDate"); |
|
135 | xmlWriter->writeStartElement("EventDate"); | |
136 | xmlWriter->writeEndElement(); |
|
136 | xmlWriter->writeEndElement(); | |
137 |
|
137 | |||
138 | // Event Time |
|
138 | // Event Time | |
139 | xmlWriter->writeStartElement("EventTime"); |
|
139 | xmlWriter->writeStartElement("EventTime"); | |
140 | xmlWriter->writeEndElement(); |
|
140 | xmlWriter->writeEndElement(); | |
141 |
|
141 | |||
142 | // EventBinary |
|
142 | // EventBinary | |
143 | xmlWriter->writeStartElement("EventBinary"); |
|
143 | xmlWriter->writeStartElement("EventBinary"); | |
144 | xmlWriter->writeCharacters("FFFFCC0099"); |
|
144 | xmlWriter->writeCharacters("FFFFCC0099"); | |
145 | xmlWriter->writeCharacters(QString::fromLocal8Bit(data, 10)); |
|
145 | xmlWriter->writeCharacters(QString::fromLocal8Bit(data, 10)); | |
146 | xmlWriter->writeEndElement(); |
|
146 | xmlWriter->writeEndElement(); | |
147 |
|
147 | |||
148 | xmlWriter->writeEndElement(); |
|
148 | xmlWriter->writeEndElement(); | |
149 |
|
149 | |||
150 | xmlWriter->writeEndDocument(); |
|
150 | xmlWriter->writeEndDocument(); | |
151 | } |
|
151 | } | |
152 | else |
|
152 | else | |
153 | { |
|
153 | { | |
154 | this->displayOnConsole("TM socket *** " + socketStates.at(tmEchoBridgeSocket->state()) ); |
|
154 | this->displayOnConsole("TM socket *** " + socketStates.at(tmEchoBridgeSocket->state()) ); | |
155 | } |
|
155 | } | |
156 | } |
|
156 | } | |
157 |
|
157 | |||
158 | void TMEchoBridge::sendTMPacket(TMPacketToRead *tmPacketToRead) |
|
158 | void TMEchoBridge::sendTMPacket(TMPacketToRead *tmPacketToRead) | |
159 | { |
|
159 | { | |
160 | if (tmEchoBridgeSocket->state() == QAbstractSocket::ConnectedState) |
|
160 | if (tmEchoBridgeSocket->state() == QAbstractSocket::ConnectedState) | |
161 | { |
|
161 | { | |
162 | // START DOCUMENT |
|
162 | // START DOCUMENT | |
163 | //xmlWriter->writeStartDocument(); |
|
163 | //xmlWriter->writeStartDocument(); | |
164 |
|
164 | |||
165 | // <Event> |
|
165 | // <Event> | |
166 | xmlWriter->writeStartElement("Event"); |
|
166 | xmlWriter->writeStartElement("Event"); | |
167 |
|
167 | |||
168 | // <EventDate> |
|
168 | // <EventDate> | |
169 | xmlWriter->writeStartElement("EventDate"); |
|
169 | xmlWriter->writeStartElement("EventDate"); | |
170 | xmlWriter->writeEndElement(); |
|
170 | xmlWriter->writeEndElement(); | |
171 |
|
171 | |||
172 | // <Event Time> |
|
172 | // <Event Time> | |
173 | xmlWriter->writeStartElement("EventTime"); |
|
173 | xmlWriter->writeStartElement("EventTime"); | |
174 | xmlWriter->writeEndElement(); |
|
174 | xmlWriter->writeEndElement(); | |
175 |
|
175 | |||
176 | // <EventBinary> |
|
176 | // <EventBinary> | |
177 | xmlWriter->writeStartElement("EventBinary"); |
|
177 | xmlWriter->writeStartElement("EventBinary"); | |
178 | xmlWriter->writeCharacters( |
|
178 | xmlWriter->writeCharacters( | |
179 | QByteArray::fromRawData( (char*) tmPacketToRead->Value, tmPacketToRead->size).toHex() |
|
179 | QByteArray::fromRawData( (char*) tmPacketToRead->Value, tmPacketToRead->size).toHex() | |
180 | ); |
|
180 | ); | |
181 | //tmEchoBridgeSocket->write(QByteArray::fromRawData( (char*) tmPacketToRead->Value, tmPacketToRead->size)); |
|
181 | //tmEchoBridgeSocket->write(QByteArray::fromRawData( (char*) tmPacketToRead->Value, tmPacketToRead->size)); | |
182 | xmlWriter->writeEndElement(); |
|
182 | xmlWriter->writeEndElement(); | |
183 |
|
183 | |||
184 | // </Event> |
|
184 | // </Event> | |
185 | xmlWriter->writeEndElement(); |
|
185 | xmlWriter->writeEndElement(); | |
186 |
|
186 | |||
187 | // END DOCUMENT |
|
187 | // END DOCUMENT | |
188 | xmlWriter->writeEndDocument(); |
|
188 | xmlWriter->writeEndDocument(); | |
189 |
|
189 | |||
190 | tmEchoBridgeSocket->flush(); |
|
190 | tmEchoBridgeSocket->flush(); | |
191 |
|
191 | |||
192 | totalOfBytes = totalOfBytes + tmPacketToRead->size; |
|
192 | totalOfBytes = totalOfBytes + tmPacketToRead->size; | |
193 | totalOfPackets = totalOfPackets + 1; |
|
193 | totalOfPackets = totalOfPackets + 1; | |
194 | label_totalOfBytes->setText("Number of TM bytes sent: " + QString::number(totalOfBytes)); |
|
194 | label_totalOfBytes->setText("Number of TM bytes sent: " + QString::number(totalOfBytes)); | |
195 | label_totalOfPackets->setText("Number of TM packets sent: " + QString::number(totalOfPackets)); |
|
195 | label_totalOfPackets->setText("Number of TM packets sent: " + QString::number(totalOfPackets)); | |
196 | } |
|
196 | } | |
197 | else |
|
197 | else | |
198 | { |
|
198 | { | |
199 | totalOfPacketsDropped = totalOfPacketsDropped + 1; |
|
199 | totalOfPacketsDropped = totalOfPacketsDropped + 1; | |
200 | label_totalOfPackets->setText("Number of TM packets dropped: " + QString::number(totalOfPacketsDropped)); |
|
200 | label_totalOfPacketsDropped->setText("Number of TM packets dropped: " + QString::number(totalOfPacketsDropped)); | |
201 | } |
|
201 | } | |
202 | } |
|
202 | } | |
203 |
|
203 | |||
204 | void TMEchoBridge::sendTMPacket_v2(TMPacketToRead *tmPacketToRead) |
|
204 | void TMEchoBridge::sendTMPacket_v2(TMPacketToRead *tmPacketToRead) | |
205 | { |
|
205 | { | |
206 | QByteArray ccsdsArray; |
|
206 | QByteArray ccsdsArray; | |
207 | QTime echoBridgeTimeout; |
|
207 | QTime echoBridgeTimeout; | |
208 |
|
208 | |||
209 | if (tmEchoBridgeSocket->state() == QAbstractSocket::ConnectedState) |
|
209 | if (tmEchoBridgeSocket->state() == QAbstractSocket::ConnectedState) | |
210 | { |
|
210 | { | |
211 | ccsdsArray.append("<Event>"); |
|
211 | ccsdsArray.append("<Event>"); | |
212 |
|
212 | |||
213 | ccsdsArray.append("<EventDate>"); |
|
213 | ccsdsArray.append("<EventDate>"); | |
214 | ccsdsArray.append("</EventDate>"); |
|
214 | ccsdsArray.append("</EventDate>"); | |
215 |
|
215 | |||
216 | ccsdsArray.append("<EventTime>"); |
|
216 | ccsdsArray.append("<EventTime>"); | |
217 | ccsdsArray.append("</EventTime>"); |
|
217 | ccsdsArray.append("</EventTime>"); | |
218 |
|
218 | |||
219 | ccsdsArray.append("<EventBinary>"); |
|
219 | ccsdsArray.append("<EventBinary>"); | |
220 | ccsdsArray.append(QByteArray::fromRawData( (char*) tmPacketToRead->Value, tmPacketToRead->size).toHex()); |
|
220 | ccsdsArray.append(QByteArray::fromRawData( (char*) tmPacketToRead->Value, tmPacketToRead->size).toHex()); | |
221 | ccsdsArray.append("</EventBinary>"); |
|
221 | ccsdsArray.append("</EventBinary>"); | |
222 |
|
222 | |||
223 | ccsdsArray.append("</Event>"); |
|
223 | ccsdsArray.append("</Event>"); | |
224 |
|
224 | |||
225 | tmEchoBridgeSocket->write(ccsdsArray); |
|
225 | tmEchoBridgeSocket->write(ccsdsArray); | |
226 | tmEchoBridgeSocket->flush(); |
|
226 | tmEchoBridgeSocket->flush(); | |
227 |
|
227 | |||
228 | totalOfBytes = totalOfBytes + tmPacketToRead->size; |
|
228 | totalOfBytes = totalOfBytes + tmPacketToRead->size; | |
229 | totalOfPackets = totalOfPackets + 1; |
|
229 | totalOfPackets = totalOfPackets + 1; | |
230 | label_totalOfBytes->setText("Number of TM bytes sent: " + QString::number(totalOfBytes)); |
|
230 | label_totalOfBytes->setText("Number of TM bytes sent: " + QString::number(totalOfBytes)); | |
231 | label_totalOfPackets->setText("Number of TM packets sent: " + QString::number(totalOfPackets)); |
|
231 | label_totalOfPackets->setText("Number of TM packets sent: " + QString::number(totalOfPackets)); | |
232 | } |
|
232 | } | |
233 | else |
|
233 | else | |
234 | { |
|
234 | { | |
235 | totalOfPacketsDropped = totalOfPacketsDropped + 1; |
|
235 | totalOfPacketsDropped = totalOfPacketsDropped + 1; | |
236 | label_totalOfPackets->setText("Number of TM packets dropped: " + QString::number(totalOfPacketsDropped)); |
|
236 | label_totalOfPacketsDropped->setText("Number of TM packets dropped: " + QString::number(totalOfPacketsDropped)); | |
237 | } |
|
237 | } | |
238 | } |
|
238 | } | |
239 |
|
239 | |||
240 | void TMEchoBridge::clearConsole() |
|
240 | void TMEchoBridge::clearConsole() | |
241 | { |
|
241 | { | |
242 | this->console->clear(); |
|
242 | this->console->clear(); | |
243 | } |
|
243 | } | |
244 |
|
244 | |||
245 | void TMEchoBridge::resetTMStatistics() |
|
245 | void TMEchoBridge::resetTMStatistics() | |
246 | { |
|
246 | { | |
247 | label_totalOfBytes->setText("Number of TM bytes sent: -"); |
|
247 | label_totalOfBytes->setText("Number of TM bytes sent: -"); | |
248 | label_totalOfPackets->setText("Number of TM packets sent: -"); |
|
248 | label_totalOfPackets->setText("Number of TM packets sent: -"); | |
249 | label_totalOfPacketsDropped->setText("Number of TM packets dropped: -"); |
|
249 | label_totalOfPacketsDropped->setText("Number of TM packets dropped: -"); | |
250 | totalOfBytes = 0; |
|
250 | totalOfBytes = 0; | |
251 | totalOfPackets = 0; |
|
251 | totalOfPackets = 0; | |
252 | totalOfPacketsDropped = 0; |
|
252 | totalOfPacketsDropped = 0; | |
253 | } |
|
253 | } |
General Comments 0
You need to be logged in to leave comments.
Login now