@@ -1,409 +1,430 | |||||
1 | #include "hkdisplay.h" |
|
1 | #include "hkdisplay.h" | |
2 |
|
2 | |||
3 | HKDisplay::HKDisplay(QWidget *parent) : |
|
3 | HKDisplay::HKDisplay(QWidget *parent) : | |
4 | QWidget(parent) |
|
4 | QWidget(parent) | |
5 | { |
|
5 | { | |
6 | QFont font; |
|
6 | QFont font; | |
7 | font = QFont(this->fontInfo().family(), HK_INFORMATION_FONT_SIZE, QFont::Light); |
|
7 | font = QFont(this->fontInfo().family(), HK_INFORMATION_FONT_SIZE, QFont::Light); | |
8 |
|
8 | |||
9 | mainLayout = new QGridLayout(); |
|
9 | mainLayout = new QGridLayout(); | |
10 |
|
10 | |||
11 | setupLFRStatusWord(); |
|
11 | setupLFRStatusWord(); | |
12 | setupLFRSWVersion(); |
|
12 | setupLFRSWVersion(); | |
13 | setupTCStatistics(); |
|
13 | setupTCStatistics(); | |
14 | setupAnomalyStatistics(); |
|
14 | setupAnomalyStatistics(); | |
15 | setupSpaceWireIFStatistics(); |
|
15 | setupSpaceWireIFStatistics(); | |
16 | setupErrorCountersSpaceWire(); |
|
16 | setupErrorCountersSpaceWire(); | |
17 |
|
17 | |||
18 | groupbox_lfrStatusWord->setFont(font); |
|
18 | groupbox_lfrStatusWord->setFont(font); | |
19 | groupbox_lfrSWVersion->setFont(font); |
|
19 | groupbox_lfrSWVersion->setFont(font); | |
20 | groupbox_tcStatistics->setFont(font); |
|
20 | groupbox_tcStatistics->setFont(font); | |
21 | groupbox_anomalyStatistics->setFont(font); |
|
21 | groupbox_anomalyStatistics->setFont(font); | |
22 | groupbox_spacewireIFStatisctics->setFont(font); |
|
22 | groupbox_spacewireIFStatisctics->setFont(font); | |
23 | groupbox_errorCountersSpaceWire->setFont(font); |
|
23 | groupbox_errorCountersSpaceWire->setFont(font); | |
24 |
|
24 | |||
25 | mainLayout->addWidget(groupbox_lfrStatusWord, 0,0,1,1); |
|
25 | mainLayout->addWidget(groupbox_lfrStatusWord, 0,0,1,1); | |
26 | mainLayout->addWidget(groupbox_lfrSWVersion, 0,1,1,1); |
|
26 | mainLayout->addWidget(groupbox_lfrSWVersion, 0,1,1,1); | |
27 | mainLayout->addWidget(groupbox_anomalyStatistics, 0,2,1,1); |
|
27 | mainLayout->addWidget(groupbox_anomalyStatistics, 0,2,1,1); | |
28 | mainLayout->addWidget(groupbox_tcStatistics, 1,0,1,1); |
|
28 | mainLayout->addWidget(groupbox_tcStatistics, 1,0,1,1); | |
29 | mainLayout->addWidget(groupbox_spacewireIFStatisctics, 1, 1, 1, 1); |
|
29 | mainLayout->addWidget(groupbox_spacewireIFStatisctics, 1, 1, 1, 1); | |
30 | mainLayout->addWidget(groupbox_errorCountersSpaceWire, 1, 2, 1, 1); |
|
30 | mainLayout->addWidget(groupbox_errorCountersSpaceWire, 1, 2, 1, 1); | |
31 | mainLayout->setColumnStretch(3, 1); |
|
31 | mainLayout->setColumnStretch(3, 1); | |
32 | mainLayout->setRowStretch(2, 1); |
|
32 | mainLayout->setRowStretch(2, 1); | |
33 |
|
33 | |||
34 | this->setLayout(mainLayout); |
|
34 | this->setLayout(mainLayout); | |
35 | } |
|
35 | } | |
36 |
|
36 | |||
37 | void HKDisplay::setupLFRStatusWord() |
|
37 | void HKDisplay::setupLFRStatusWord() | |
38 | { |
|
38 | { | |
39 | groupbox_lfrStatusWord = new QGroupBox("LFR Status Word"); |
|
39 | groupbox_lfrStatusWord = new QGroupBox("LFR Status Word"); | |
40 | box_lfrStatusWord = new QVBoxLayout(); |
|
40 | box_lfrStatusWord = new QVBoxLayout(); | |
41 | hk_lfr_mode = new QLabel("hk_lfr_mode: -"); |
|
41 | hk_lfr_mode = new QLabel("hk_lfr_mode: -"); | |
42 | hk_lfr_dpu_spw_enabled = new QLabel("hk_lfr_dpu_spw_enabled: -"); |
|
42 | hk_lfr_dpu_spw_enabled = new QLabel("hk_lfr_dpu_spw_enabled: -"); | |
43 | hk_lfr_dpu_link_state = new QLabel("hk_lfr_dpu_link_state: -"); |
|
43 | hk_lfr_dpu_link_state = new QLabel("hk_lfr_dpu_link_state: -"); | |
44 | sy_lfr_watchdog_enabled = new QLabel("sy_lfr_watchdog_enabled: -"); |
|
44 | sy_lfr_watchdog_enabled = new QLabel("sy_lfr_watchdog_enabled: -"); | |
45 | hk_lfr_calib_enabled = new QLabel("hk_lfr_calib_enabled: -"); |
|
45 | hk_lfr_calib_enabled = new QLabel("hk_lfr_calib_enabled: -"); | |
46 | hk_lfr_reset_cause = new QLabel("hk_lfr_reset_cause: -"); |
|
46 | hk_lfr_reset_cause = new QLabel("hk_lfr_reset_cause: -"); | |
47 | box_lfrStatusWord->addWidget(hk_lfr_mode); |
|
47 | box_lfrStatusWord->addWidget(hk_lfr_mode); | |
48 | box_lfrStatusWord->addWidget(hk_lfr_dpu_spw_enabled); |
|
48 | box_lfrStatusWord->addWidget(hk_lfr_dpu_spw_enabled); | |
49 | box_lfrStatusWord->addWidget(hk_lfr_dpu_link_state); |
|
49 | box_lfrStatusWord->addWidget(hk_lfr_dpu_link_state); | |
50 | box_lfrStatusWord->addWidget(sy_lfr_watchdog_enabled); |
|
50 | box_lfrStatusWord->addWidget(sy_lfr_watchdog_enabled); | |
51 | box_lfrStatusWord->addWidget(hk_lfr_calib_enabled); |
|
51 | box_lfrStatusWord->addWidget(hk_lfr_calib_enabled); | |
52 | box_lfrStatusWord->addWidget(hk_lfr_reset_cause); |
|
52 | box_lfrStatusWord->addWidget(hk_lfr_reset_cause); | |
53 | box_lfrStatusWord->insertStretch(6); |
|
53 | box_lfrStatusWord->insertStretch(6); | |
54 | groupbox_lfrStatusWord->setLayout(box_lfrStatusWord); |
|
54 | groupbox_lfrStatusWord->setLayout(box_lfrStatusWord); | |
55 | } |
|
55 | } | |
56 |
|
56 | |||
57 | void HKDisplay::setupLFRSWVersion() |
|
57 | void HKDisplay::setupLFRSWVersion() | |
58 | { |
|
58 | { | |
59 | groupbox_lfrSWVersion = new QGroupBox("LFR Software Version"); |
|
59 | groupbox_lfrSWVersion = new QGroupBox("LFR Software Version"); | |
60 | box_lfrSWVersion = new QVBoxLayout(); |
|
60 | box_lfrSWVersion = new QVBoxLayout(); | |
61 | sy_lfr_sw_version_n1 = new QLabel("sy_lfr_sw_version_n1: -"); |
|
61 | sy_lfr_sw_version_n1 = new QLabel("sy_lfr_sw_version_n1: -"); | |
62 | sy_lfr_sw_version_n2 = new QLabel("sy_lfr_sw_version_n2: -"); |
|
62 | sy_lfr_sw_version_n2 = new QLabel("sy_lfr_sw_version_n2: -"); | |
63 | sy_lfr_sw_version_n3 = new QLabel("sy_lfr_sw_version_n3: -"); |
|
63 | sy_lfr_sw_version_n3 = new QLabel("sy_lfr_sw_version_n3: -"); | |
64 | sy_lfr_sw_version_n4 = new QLabel("sy_lfr_sw_version_n4: -"); |
|
64 | sy_lfr_sw_version_n4 = new QLabel("sy_lfr_sw_version_n4: -"); | |
65 | box_lfrSWVersion->addWidget(sy_lfr_sw_version_n1); |
|
65 | box_lfrSWVersion->addWidget(sy_lfr_sw_version_n1); | |
66 | box_lfrSWVersion->addWidget(sy_lfr_sw_version_n2); |
|
66 | box_lfrSWVersion->addWidget(sy_lfr_sw_version_n2); | |
67 | box_lfrSWVersion->addWidget(sy_lfr_sw_version_n3); |
|
67 | box_lfrSWVersion->addWidget(sy_lfr_sw_version_n3); | |
68 | box_lfrSWVersion->addWidget(sy_lfr_sw_version_n4); |
|
68 | box_lfrSWVersion->addWidget(sy_lfr_sw_version_n4); | |
69 | box_lfrSWVersion->insertStretch(4); |
|
69 | box_lfrSWVersion->insertStretch(4); | |
70 | groupbox_lfrSWVersion->setLayout(box_lfrSWVersion); |
|
70 | groupbox_lfrSWVersion->setLayout(box_lfrSWVersion); | |
71 | } |
|
71 | } | |
72 |
|
72 | |||
73 | void HKDisplay::setupTCStatistics() |
|
73 | void HKDisplay::setupTCStatistics() | |
74 | { |
|
74 | { | |
75 | groupbox_tcStatistics = new QGroupBox("TC Statistics"); |
|
75 | groupbox_tcStatistics = new QGroupBox("TC Statistics"); | |
76 | box_tcStatistics = new QVBoxLayout(); |
|
76 | box_tcStatistics = new QVBoxLayout(); | |
77 | hk_lfr_update_info_tc_cnt = new QLabel("hk_lfr_update_info_tc_cnt: -"); |
|
77 | hk_lfr_update_info_tc_cnt = new QLabel("hk_lfr_update_info_tc_cnt: -"); | |
78 | hk_lfr_update_time_tc_cnt = new QLabel("hk_lfr_update_time_tc_cnt: -"); |
|
78 | hk_lfr_update_time_tc_cnt = new QLabel("hk_lfr_update_time_tc_cnt: -"); | |
79 | hk_dpu_exe_tc_lfr_cnt = new QLabel("hk_dpu_exe_tc_lfr_cnt: -"); |
|
79 | hk_dpu_exe_tc_lfr_cnt = new QLabel("hk_dpu_exe_tc_lfr_cnt: -"); | |
80 | hk_dpu_rej_tc_lfr_cnt = new QLabel("hk_dpu_rej_tc_lfr_cnt: -"); |
|
80 | hk_dpu_rej_tc_lfr_cnt = new QLabel("hk_dpu_rej_tc_lfr_cnt: -"); | |
81 | hk_lfr_last_exe_tc_id = new QLabel("hk_lfr_last_exe_tc_id: -"); |
|
81 | hk_lfr_last_exe_tc_id = new QLabel("hk_lfr_last_exe_tc_id: -"); | |
82 | hk_lfr_last_exe_tc_type = new QLabel("hk_lfr_last_exe_tc_type: -"); |
|
82 | hk_lfr_last_exe_tc_type = new QLabel("hk_lfr_last_exe_tc_type: -"); | |
83 | hk_lfr_last_exe_tc_subtype = new QLabel("hk_lfr_last_exe_tc_subtype: -"); |
|
83 | hk_lfr_last_exe_tc_subtype = new QLabel("hk_lfr_last_exe_tc_subtype: -"); | |
84 | hk_lfr_last_exe_tc_time = new QLabel("hk_lfr_last_exe_tc_time: -"); |
|
84 | hk_lfr_last_exe_tc_time = new QLabel("hk_lfr_last_exe_tc_time: -"); | |
85 | hk_lfr_last_rej_tc_id = new QLabel("hk_lfr_last_rej_tc_id: -"); |
|
85 | hk_lfr_last_rej_tc_id = new QLabel("hk_lfr_last_rej_tc_id: -"); | |
86 | hk_lfr_last_rej_tc_type = new QLabel("hk_lfr_last_rej_tc_type: -"); |
|
86 | hk_lfr_last_rej_tc_type = new QLabel("hk_lfr_last_rej_tc_type: -"); | |
87 | hk_lfr_last_rej_tc_subtype = new QLabel("hk_lfr_last_rej_tc_subtype: -"); |
|
87 | hk_lfr_last_rej_tc_subtype = new QLabel("hk_lfr_last_rej_tc_subtype: -"); | |
88 | hk_lfr_last_rej_tc_time = new QLabel("hk_lfr_last_rej_tc_time: -"); |
|
88 | hk_lfr_last_rej_tc_time = new QLabel("hk_lfr_last_rej_tc_time: -"); | |
89 | box_tcStatistics->addWidget(hk_lfr_update_info_tc_cnt); |
|
89 | box_tcStatistics->addWidget(hk_lfr_update_info_tc_cnt); | |
90 | box_tcStatistics->addWidget(hk_lfr_update_time_tc_cnt); |
|
90 | box_tcStatistics->addWidget(hk_lfr_update_time_tc_cnt); | |
91 | box_tcStatistics->addWidget(hk_dpu_exe_tc_lfr_cnt); |
|
91 | box_tcStatistics->addWidget(hk_dpu_exe_tc_lfr_cnt); | |
92 | box_tcStatistics->addWidget(hk_dpu_rej_tc_lfr_cnt); |
|
92 | box_tcStatistics->addWidget(hk_dpu_rej_tc_lfr_cnt); | |
93 | box_tcStatistics->addWidget(hk_lfr_last_exe_tc_id); |
|
93 | box_tcStatistics->addWidget(hk_lfr_last_exe_tc_id); | |
94 | box_tcStatistics->addWidget(hk_lfr_last_exe_tc_type); |
|
94 | box_tcStatistics->addWidget(hk_lfr_last_exe_tc_type); | |
95 | box_tcStatistics->addWidget(hk_lfr_last_exe_tc_subtype); |
|
95 | box_tcStatistics->addWidget(hk_lfr_last_exe_tc_subtype); | |
96 | box_tcStatistics->addWidget(hk_lfr_last_exe_tc_time); |
|
96 | box_tcStatistics->addWidget(hk_lfr_last_exe_tc_time); | |
97 | box_tcStatistics->addWidget(hk_lfr_last_rej_tc_id); |
|
97 | box_tcStatistics->addWidget(hk_lfr_last_rej_tc_id); | |
98 | box_tcStatistics->addWidget(hk_lfr_last_rej_tc_type); |
|
98 | box_tcStatistics->addWidget(hk_lfr_last_rej_tc_type); | |
99 | box_tcStatistics->addWidget(hk_lfr_last_rej_tc_subtype); |
|
99 | box_tcStatistics->addWidget(hk_lfr_last_rej_tc_subtype); | |
100 | box_tcStatistics->addWidget(hk_lfr_last_rej_tc_time); |
|
100 | box_tcStatistics->addWidget(hk_lfr_last_rej_tc_time); | |
101 | box_tcStatistics->insertStretch(12, 1); |
|
101 | box_tcStatistics->insertStretch(12, 1); | |
102 | groupbox_tcStatistics->setLayout(box_tcStatistics); |
|
102 | groupbox_tcStatistics->setLayout(box_tcStatistics); | |
103 | } |
|
103 | } | |
104 |
|
104 | |||
105 | void HKDisplay::setupAnomalyStatistics() |
|
105 | void HKDisplay::setupAnomalyStatistics() | |
106 | { |
|
106 | { | |
107 | groupbox_anomalyStatistics = new QGroupBox("Anomaly Statistics"); |
|
107 | groupbox_anomalyStatistics = new QGroupBox("Anomaly Statistics"); | |
108 | box_anomalyStatistics = new QVBoxLayout(); |
|
108 | box_anomalyStatistics = new QVBoxLayout(); | |
109 | hk_lfr_le_cnt = new QLabel("hk_lfr_le_cnt: -"); |
|
109 | hk_lfr_le_cnt = new QLabel("hk_lfr_le_cnt: -"); | |
110 | hk_lfr_me_cnt = new QLabel("hk_lfr_me_cnt: -"); |
|
110 | hk_lfr_me_cnt = new QLabel("hk_lfr_me_cnt: -"); | |
111 | hk_lfr_he_cnt = new QLabel("hk_lfr_he_cnt: -"); |
|
111 | hk_lfr_he_cnt = new QLabel("hk_lfr_he_cnt: -"); | |
112 | hk_lfr_last_er_rid = new QLabel("hk_lfr_last_er_rid: -"); |
|
112 | hk_lfr_last_er_rid = new QLabel("hk_lfr_last_er_rid: -"); | |
113 | hk_lfr_last_er_code = new QLabel("hk_lfr_last_er_code: -"); |
|
113 | hk_lfr_last_er_code = new QLabel("hk_lfr_last_er_code: -"); | |
114 | hk_lfr_last_er_time = new QLabel("hk_lfr_last_er_time: -"); |
|
114 | hk_lfr_last_er_time = new QLabel("hk_lfr_last_er_time: -"); | |
115 | box_anomalyStatistics->addWidget(hk_lfr_le_cnt); |
|
115 | box_anomalyStatistics->addWidget(hk_lfr_le_cnt); | |
116 | box_anomalyStatistics->addWidget(hk_lfr_me_cnt); |
|
116 | box_anomalyStatistics->addWidget(hk_lfr_me_cnt); | |
117 | box_anomalyStatistics->addWidget(hk_lfr_he_cnt); |
|
117 | box_anomalyStatistics->addWidget(hk_lfr_he_cnt); | |
118 | box_anomalyStatistics->addWidget(hk_lfr_last_er_rid); |
|
118 | box_anomalyStatistics->addWidget(hk_lfr_last_er_rid); | |
119 | box_anomalyStatistics->addWidget(hk_lfr_last_er_code); |
|
119 | box_anomalyStatistics->addWidget(hk_lfr_last_er_code); | |
120 | box_anomalyStatistics->addWidget(hk_lfr_last_er_time); |
|
120 | box_anomalyStatistics->addWidget(hk_lfr_last_er_time); | |
121 | box_anomalyStatistics->insertStretch(6, 1); |
|
121 | box_anomalyStatistics->insertStretch(6, 1); | |
122 | groupbox_anomalyStatistics->setLayout(box_anomalyStatistics); |
|
122 | groupbox_anomalyStatistics->setLayout(box_anomalyStatistics); | |
123 | } |
|
123 | } | |
124 |
|
124 | |||
125 | void HKDisplay::setupSpaceWireIFStatistics() |
|
125 | void HKDisplay::setupSpaceWireIFStatistics() | |
126 | { |
|
126 | { | |
127 | groupbox_spacewireIFStatisctics = new QGroupBox("SpaceWire IF Statistics"); |
|
127 | groupbox_spacewireIFStatisctics = new QGroupBox("SpaceWire IF Statistics"); | |
128 | box_spacewireIFStatisctics = new QVBoxLayout(); |
|
128 | box_spacewireIFStatisctics = new QVBoxLayout(); | |
129 |
|
129 | |||
130 | hk_lfr_dpu_spw_pkt_rcv_cnt = new QLabel("hk_lfr_dpu_spw_pkt_rcv_cnt: -"); |
|
130 | hk_lfr_dpu_spw_pkt_rcv_cnt = new QLabel("hk_lfr_dpu_spw_pkt_rcv_cnt: -"); | |
131 | hk_lfr_dpu_spw_pkt_sent_cnt = new QLabel("hk_lfr_dpu_spw_pkt_sent_cnt: -"); |
|
131 | hk_lfr_dpu_spw_pkt_sent_cnt = new QLabel("hk_lfr_dpu_spw_pkt_sent_cnt: -"); | |
132 | hk_lfr_dpu_spw_tick_out_cnt = new QLabel("hk_lfr_dpu_spw_tick_out_cnt: -"); |
|
132 | hk_lfr_dpu_spw_tick_out_cnt = new QLabel("hk_lfr_dpu_spw_tick_out_cnt: -"); | |
133 | hk_lfr_dpu_spw_last_timc = new QLabel("hk_lfr_dpu_spw_last_timc: -"); |
|
133 | hk_lfr_dpu_spw_last_timc = new QLabel("hk_lfr_dpu_spw_last_timc: -"); | |
134 |
|
134 | |||
135 | box_spacewireIFStatisctics->addWidget(hk_lfr_dpu_spw_pkt_rcv_cnt); |
|
135 | box_spacewireIFStatisctics->addWidget(hk_lfr_dpu_spw_pkt_rcv_cnt); | |
136 | box_spacewireIFStatisctics->addWidget(hk_lfr_dpu_spw_pkt_sent_cnt); |
|
136 | box_spacewireIFStatisctics->addWidget(hk_lfr_dpu_spw_pkt_sent_cnt); | |
137 | box_spacewireIFStatisctics->addWidget(hk_lfr_dpu_spw_tick_out_cnt); |
|
137 | box_spacewireIFStatisctics->addWidget(hk_lfr_dpu_spw_tick_out_cnt); | |
138 | box_spacewireIFStatisctics->addWidget(hk_lfr_dpu_spw_last_timc); |
|
138 | box_spacewireIFStatisctics->addWidget(hk_lfr_dpu_spw_last_timc); | |
139 | box_spacewireIFStatisctics->insertStretch(5); |
|
139 | box_spacewireIFStatisctics->insertStretch(5); | |
140 |
|
140 | |||
141 | groupbox_spacewireIFStatisctics->setLayout(box_spacewireIFStatisctics->layout()); |
|
141 | groupbox_spacewireIFStatisctics->setLayout(box_spacewireIFStatisctics->layout()); | |
142 | } |
|
142 | } | |
143 |
|
143 | |||
144 | void HKDisplay::setupErrorCountersSpaceWire() |
|
144 | void HKDisplay::setupErrorCountersSpaceWire() | |
145 | { |
|
145 | { | |
146 | groupbox_errorCountersSpaceWire = new QGroupBox("SpaceWire Error Counters"); |
|
146 | groupbox_errorCountersSpaceWire = new QGroupBox("SpaceWire Error Counters"); | |
147 | box_errorCountersSpaceWire = new QVBoxLayout(); |
|
147 | box_errorCountersSpaceWire = new QVBoxLayout(); | |
148 |
|
148 | |||
149 | hk_lfr_dpu_spw_parity = new QLabel("hk_lfr_dpu_spw_parity: -"); |
|
149 | hk_lfr_dpu_spw_parity = new QLabel("hk_lfr_dpu_spw_parity: -"); | |
150 | hk_lfr_dpu_spw_disconnect = new QLabel("hk_lfr_dpu_spw_disconnect: -"); |
|
150 | hk_lfr_dpu_spw_disconnect = new QLabel("hk_lfr_dpu_spw_disconnect: -"); | |
151 | hk_lfr_dpu_spw_escape = new QLabel("hk_lfr_dpu_spw_escape: -"); |
|
151 | hk_lfr_dpu_spw_escape = new QLabel("hk_lfr_dpu_spw_escape: -"); | |
152 | hk_lfr_dpu_spw_credit = new QLabel("hk_lfr_dpu_spw_credit: -"); |
|
152 | hk_lfr_dpu_spw_credit = new QLabel("hk_lfr_dpu_spw_credit: -"); | |
153 | hk_lfr_dpu_spw_write_sync = new QLabel("hk_lfr_dpu_spw_write_sync: -"); |
|
153 | hk_lfr_dpu_spw_write_sync = new QLabel("hk_lfr_dpu_spw_write_sync: -"); | |
154 | hk_lfr_dpu_spw_rx_ahb = new QLabel("hk_lfr_dpu_spw_rx_ahb: -"); |
|
154 | hk_lfr_dpu_spw_rx_ahb = new QLabel("hk_lfr_dpu_spw_rx_ahb: -"); | |
155 | hk_lfr_dpu_spw_tx_ahb = new QLabel("hk_lfr_dpu_spw_tx_ahb: -"); |
|
155 | hk_lfr_dpu_spw_tx_ahb = new QLabel("hk_lfr_dpu_spw_tx_ahb: -"); | |
156 | hk_lfr_dpu_spw_header_crc = new QLabel("hk_lfr_dpu_spw_header_crc: -"); |
|
156 | hk_lfr_dpu_spw_header_crc = new QLabel("hk_lfr_dpu_spw_header_crc: -"); | |
157 | hk_lfr_dpu_spw_data_crc = new QLabel("hk_lfr_dpu_spw_data_crc: -"); |
|
157 | hk_lfr_dpu_spw_data_crc = new QLabel("hk_lfr_dpu_spw_data_crc: -"); | |
158 | hk_lfr_dpu_spw_early_eop = new QLabel("hk_lfr_dpu_spw_early_eop: -"); |
|
158 | hk_lfr_dpu_spw_early_eop = new QLabel("hk_lfr_dpu_spw_early_eop: -"); | |
159 | hk_lfr_dpu_spw_invalid_addr = new QLabel("hk_lfr_dpu_spw_invalid_addr: -"); |
|
159 | hk_lfr_dpu_spw_invalid_addr = new QLabel("hk_lfr_dpu_spw_invalid_addr: -"); | |
160 | hk_lfr_dpu_spw_eep = new QLabel("hk_lfr_dpu_spw_eep: -"); |
|
160 | hk_lfr_dpu_spw_eep = new QLabel("hk_lfr_dpu_spw_eep: -"); | |
161 | hk_lfr_dpu_spw_rx_too_big = new QLabel("hk_lfr_dpu_spw_rx_too_big: -"); |
|
161 | hk_lfr_dpu_spw_rx_too_big = new QLabel("hk_lfr_dpu_spw_rx_too_big: -"); | |
162 |
|
162 | |||
163 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_parity); |
|
163 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_parity); | |
164 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_disconnect); |
|
164 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_disconnect); | |
165 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_escape); |
|
165 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_escape); | |
166 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_credit); |
|
166 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_credit); | |
167 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_write_sync); |
|
167 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_write_sync); | |
168 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_rx_ahb); |
|
168 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_rx_ahb); | |
169 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_tx_ahb); |
|
169 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_tx_ahb); | |
170 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_header_crc); |
|
170 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_header_crc); | |
171 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_data_crc); |
|
171 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_data_crc); | |
172 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_early_eop); |
|
172 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_early_eop); | |
173 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_invalid_addr); |
|
173 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_invalid_addr); | |
174 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_eep); |
|
174 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_eep); | |
175 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_rx_too_big); |
|
175 | box_errorCountersSpaceWire->addWidget(hk_lfr_dpu_spw_rx_too_big); | |
176 |
|
176 | |||
177 | groupbox_errorCountersSpaceWire->setLayout(box_errorCountersSpaceWire->layout()); |
|
177 | groupbox_errorCountersSpaceWire->setLayout(box_errorCountersSpaceWire->layout()); | |
178 | } |
|
178 | } | |
179 |
|
179 | |||
180 | void HKDisplay::displayPacket(TMPacketToRead *tmPacketToRead) |
|
180 | void HKDisplay::displayPacket(TMPacketToRead *tmPacketToRead) | |
181 | { |
|
181 | { | |
182 | Packet_TM_LFR_HK_t *housekeepingPacket; |
|
182 | Packet_TM_LFR_HK_t *housekeepingPacket; | |
183 | if (tmPacketToRead->size != HK_PACKET_SIZE) { |
|
183 | if (tmPacketToRead->size != HK_PACKET_SIZE) { | |
184 | emit displayMessage("in displayPacket *** HK packet size is " |
|
184 | emit displayMessage("in displayPacket *** HK packet size is " | |
185 | + QString::number(tmPacketToRead->size) |
|
185 | + QString::number(tmPacketToRead->size) | |
186 | + " instead of " |
|
186 | + " instead of " | |
187 | + QString::number(HK_PACKET_SIZE)); |
|
187 | + QString::number(HK_PACKET_SIZE)); | |
188 | } |
|
188 | } | |
189 | else { |
|
189 | else { | |
190 | housekeepingPacket = (Packet_TM_LFR_HK_t *) tmPacketToRead->Value; |
|
190 | housekeepingPacket = (Packet_TM_LFR_HK_t *) tmPacketToRead->Value; | |
191 |
|
191 | |||
192 | updateLFRMode(housekeepingPacket); |
|
192 | updateLFRMode(housekeepingPacket); | |
193 | updateSWVersion(housekeepingPacket); |
|
193 | updateSWVersion(housekeepingPacket); | |
194 | updateTCStatistics(housekeepingPacket); |
|
194 | updateTCStatistics(housekeepingPacket); | |
195 | updateAnomalyStatistics(housekeepingPacket); |
|
195 | updateAnomalyStatistics(housekeepingPacket); | |
196 | updateSpaceWireIFStatistics(housekeepingPacket); |
|
196 | updateSpaceWireIFStatistics(housekeepingPacket); | |
197 | updateErrorCountersSpaceWire(housekeepingPacket); |
|
197 | updateErrorCountersSpaceWire(housekeepingPacket); | |
198 | } |
|
198 | } | |
199 | } |
|
199 | } | |
200 |
|
200 | |||
|
201 | void HKDisplay::displayPacketLESIA(TMPacketToRead *tmPacketToRead) | |||
|
202 | { | |||
|
203 | Packet_TM_LFR_HK_t *housekeepingPacket; | |||
|
204 | if (tmPacketToRead->size != (HK_PACKET_SIZE - 4)) { | |||
|
205 | emit displayMessage("in displayPacket *** HK packet size is " | |||
|
206 | + QString::number(tmPacketToRead->size) | |||
|
207 | + " instead of " | |||
|
208 | + QString::number(HK_PACKET_SIZE-4)); | |||
|
209 | } | |||
|
210 | else { | |||
|
211 | housekeepingPacket = (Packet_TM_LFR_HK_t *) (tmPacketToRead->Value-4); | |||
|
212 | ||||
|
213 | updateLFRMode(housekeepingPacket); | |||
|
214 | updateSWVersion(housekeepingPacket); | |||
|
215 | updateTCStatistics(housekeepingPacket); | |||
|
216 | updateAnomalyStatistics(housekeepingPacket); | |||
|
217 | updateSpaceWireIFStatistics(housekeepingPacket); | |||
|
218 | updateErrorCountersSpaceWire(housekeepingPacket); | |||
|
219 | } | |||
|
220 | } | |||
|
221 | ||||
201 | void HKDisplay::updateLFRMode(Packet_TM_LFR_HK_t *housekeepingPacket) |
|
222 | void HKDisplay::updateLFRMode(Packet_TM_LFR_HK_t *housekeepingPacket) | |
202 | { |
|
223 | { | |
203 | hk_lfr_mode->setText("hk_lfr_mode: " |
|
224 | hk_lfr_mode->setText("hk_lfr_mode: " | |
204 | +QString::number( ( (housekeepingPacket->lfr_status_word[0] & 0x70) >> 4 ) ) |
|
225 | +QString::number( ( (housekeepingPacket->lfr_status_word[0] & 0x70) >> 4 ) ) | |
205 | ); |
|
226 | ); | |
206 |
|
227 | |||
207 | } |
|
228 | } | |
208 |
|
229 | |||
209 | void HKDisplay::updateSWVersion(Packet_TM_LFR_HK_t *housekeepingPacket) |
|
230 | void HKDisplay::updateSWVersion(Packet_TM_LFR_HK_t *housekeepingPacket) | |
210 | { |
|
231 | { | |
211 | sy_lfr_sw_version_n1->setText("sy_lfr_sw_version_n1: " |
|
232 | sy_lfr_sw_version_n1->setText("sy_lfr_sw_version_n1: " | |
212 | +QString::number( housekeepingPacket->lfr_sw_version[0] ) |
|
233 | +QString::number( housekeepingPacket->lfr_sw_version[0] ) | |
213 | ); |
|
234 | ); | |
214 | sy_lfr_sw_version_n2->setText("sy_lfr_sw_version_n2: " |
|
235 | sy_lfr_sw_version_n2->setText("sy_lfr_sw_version_n2: " | |
215 | +QString::number( housekeepingPacket->lfr_sw_version[1] ) |
|
236 | +QString::number( housekeepingPacket->lfr_sw_version[1] ) | |
216 | ); |
|
237 | ); | |
217 | sy_lfr_sw_version_n3->setText("sy_lfr_sw_version_n3: " |
|
238 | sy_lfr_sw_version_n3->setText("sy_lfr_sw_version_n3: " | |
218 | +QString::number( housekeepingPacket->lfr_sw_version[2] ) |
|
239 | +QString::number( housekeepingPacket->lfr_sw_version[2] ) | |
219 | ); |
|
240 | ); | |
220 | sy_lfr_sw_version_n4->setText("sy_lfr_sw_version_n4: " |
|
241 | sy_lfr_sw_version_n4->setText("sy_lfr_sw_version_n4: " | |
221 | +QString::number( housekeepingPacket->lfr_sw_version[3] ) |
|
242 | +QString::number( housekeepingPacket->lfr_sw_version[3] ) | |
222 | ); |
|
243 | ); | |
223 | } |
|
244 | } | |
224 |
|
245 | |||
225 | void HKDisplay::updateTCStatistics(Packet_TM_LFR_HK_t *housekeepingPacket) |
|
246 | void HKDisplay::updateTCStatistics(Packet_TM_LFR_HK_t *housekeepingPacket) | |
226 | { |
|
247 | { | |
227 | // TC Statistics |
|
248 | // TC Statistics | |
228 | hk_lfr_update_info_tc_cnt->setText("hk_lfr_update_info_tc_cnt: " |
|
249 | hk_lfr_update_info_tc_cnt->setText("hk_lfr_update_info_tc_cnt: " | |
229 | + QString::number( |
|
250 | + QString::number( | |
230 | housekeepingPacket->hk_lfr_update_info_tc_cnt[0] * 256 |
|
251 | housekeepingPacket->hk_lfr_update_info_tc_cnt[0] * 256 | |
231 | + housekeepingPacket->hk_lfr_update_info_tc_cnt[1]) |
|
252 | + housekeepingPacket->hk_lfr_update_info_tc_cnt[1]) | |
232 | ); |
|
253 | ); | |
233 | hk_lfr_update_time_tc_cnt->setText("hk_lfr_update_time_tc_cnt: " |
|
254 | hk_lfr_update_time_tc_cnt->setText("hk_lfr_update_time_tc_cnt: " | |
234 | + QString::number( |
|
255 | + QString::number( | |
235 | housekeepingPacket->hk_lfr_update_time_tc_cnt[0] * 256 |
|
256 | housekeepingPacket->hk_lfr_update_time_tc_cnt[0] * 256 | |
236 | + housekeepingPacket->hk_lfr_update_time_tc_cnt[1]) |
|
257 | + housekeepingPacket->hk_lfr_update_time_tc_cnt[1]) | |
237 | ); |
|
258 | ); | |
238 | hk_dpu_exe_tc_lfr_cnt->setText("hk_dpu_exe_tc_lfr_cnt: " |
|
259 | hk_dpu_exe_tc_lfr_cnt->setText("hk_dpu_exe_tc_lfr_cnt: " | |
239 | + QString::number( |
|
260 | + QString::number( | |
240 | housekeepingPacket->hk_dpu_exe_tc_lfr_cnt[0] * 256 |
|
261 | housekeepingPacket->hk_dpu_exe_tc_lfr_cnt[0] * 256 | |
241 | + housekeepingPacket->hk_dpu_exe_tc_lfr_cnt[1]) |
|
262 | + housekeepingPacket->hk_dpu_exe_tc_lfr_cnt[1]) | |
242 | ); |
|
263 | ); | |
243 | hk_dpu_rej_tc_lfr_cnt->setText("hk_dpu_rej_tc_lfr_cnt: " |
|
264 | hk_dpu_rej_tc_lfr_cnt->setText("hk_dpu_rej_tc_lfr_cnt: " | |
244 | + QString::number( |
|
265 | + QString::number( | |
245 | housekeepingPacket->hk_dpu_rej_tc_lfr_cnt[0] * 256 |
|
266 | housekeepingPacket->hk_dpu_rej_tc_lfr_cnt[0] * 256 | |
246 | + housekeepingPacket->hk_dpu_rej_tc_lfr_cnt[1]) |
|
267 | + housekeepingPacket->hk_dpu_rej_tc_lfr_cnt[1]) | |
247 | ); |
|
268 | ); | |
248 | hk_lfr_last_exe_tc_id->setText("hk_lfr_last_exe_tc_id: " |
|
269 | hk_lfr_last_exe_tc_id->setText("hk_lfr_last_exe_tc_id: " | |
249 | + QString::number( |
|
270 | + QString::number( | |
250 | housekeepingPacket->hk_lfr_last_exe_tc_id[0] * 256 |
|
271 | housekeepingPacket->hk_lfr_last_exe_tc_id[0] * 256 | |
251 | + housekeepingPacket->hk_lfr_last_exe_tc_id[1], 16) |
|
272 | + housekeepingPacket->hk_lfr_last_exe_tc_id[1], 16) | |
252 | ); |
|
273 | ); | |
253 | hk_lfr_last_exe_tc_type->setText("hk_lfr_last_exe_tc_type: " |
|
274 | hk_lfr_last_exe_tc_type->setText("hk_lfr_last_exe_tc_type: " | |
254 | + QString::number( |
|
275 | + QString::number( | |
255 | housekeepingPacket->hk_lfr_last_exe_tc_type[0] * 256 |
|
276 | housekeepingPacket->hk_lfr_last_exe_tc_type[0] * 256 | |
256 | + housekeepingPacket->hk_lfr_last_exe_tc_type[1]) |
|
277 | + housekeepingPacket->hk_lfr_last_exe_tc_type[1]) | |
257 | ); |
|
278 | ); | |
258 | hk_lfr_last_exe_tc_subtype->setText("hk_lfr_last_exe_tc_subtype: " |
|
279 | hk_lfr_last_exe_tc_subtype->setText("hk_lfr_last_exe_tc_subtype: " | |
259 | + QString::number( |
|
280 | + QString::number( | |
260 | housekeepingPacket->hk_lfr_last_exe_tc_subtype[0] * 256 |
|
281 | housekeepingPacket->hk_lfr_last_exe_tc_subtype[0] * 256 | |
261 | + housekeepingPacket->hk_lfr_last_exe_tc_subtype[1]) |
|
282 | + housekeepingPacket->hk_lfr_last_exe_tc_subtype[1]) | |
262 | ); |
|
283 | ); | |
263 | hk_lfr_last_exe_tc_time->setText("hk_lfr_last_exe_tc_time: " |
|
284 | hk_lfr_last_exe_tc_time->setText("hk_lfr_last_exe_tc_time: " | |
264 | + QString::number( |
|
285 | + QString::number( | |
265 | (housekeepingPacket->hk_lfr_last_exe_tc_time[0] << 24) |
|
286 | (housekeepingPacket->hk_lfr_last_exe_tc_time[0] << 24) | |
266 | + (housekeepingPacket->hk_lfr_last_exe_tc_time[1] << 16) |
|
287 | + (housekeepingPacket->hk_lfr_last_exe_tc_time[1] << 16) | |
267 | + (housekeepingPacket->hk_lfr_last_exe_tc_time[2] << 8) |
|
288 | + (housekeepingPacket->hk_lfr_last_exe_tc_time[2] << 8) | |
268 | + (housekeepingPacket->hk_lfr_last_exe_tc_time[3]), 16 |
|
289 | + (housekeepingPacket->hk_lfr_last_exe_tc_time[3]), 16 | |
269 | ) |
|
290 | ) | |
270 | ); |
|
291 | ); | |
271 | hk_lfr_last_rej_tc_id->setText("hk_lfr_last_rej_tc_id: " |
|
292 | hk_lfr_last_rej_tc_id->setText("hk_lfr_last_rej_tc_id: " | |
272 | + QString::number( |
|
293 | + QString::number( | |
273 | housekeepingPacket->hk_lfr_last_rej_tc_id[0] * 256 |
|
294 | housekeepingPacket->hk_lfr_last_rej_tc_id[0] * 256 | |
274 | + housekeepingPacket->hk_lfr_last_rej_tc_id[1], 16) |
|
295 | + housekeepingPacket->hk_lfr_last_rej_tc_id[1], 16) | |
275 | ); |
|
296 | ); | |
276 | hk_lfr_last_rej_tc_type->setText("hk_lfr_last_rej_tc_type: " |
|
297 | hk_lfr_last_rej_tc_type->setText("hk_lfr_last_rej_tc_type: " | |
277 | + QString::number( |
|
298 | + QString::number( | |
278 | housekeepingPacket->hk_lfr_last_rej_tc_type[0] * 256 |
|
299 | housekeepingPacket->hk_lfr_last_rej_tc_type[0] * 256 | |
279 | + housekeepingPacket->hk_lfr_last_rej_tc_type[1]) |
|
300 | + housekeepingPacket->hk_lfr_last_rej_tc_type[1]) | |
280 | ); |
|
301 | ); | |
281 | hk_lfr_last_rej_tc_subtype->setText("hk_lfr_last_rej_tc_subtype: " |
|
302 | hk_lfr_last_rej_tc_subtype->setText("hk_lfr_last_rej_tc_subtype: " | |
282 | + QString::number( |
|
303 | + QString::number( | |
283 | housekeepingPacket->hk_lfr_last_rej_tc_subtype[0] * 256 |
|
304 | housekeepingPacket->hk_lfr_last_rej_tc_subtype[0] * 256 | |
284 | + housekeepingPacket->hk_lfr_last_rej_tc_subtype[1]) |
|
305 | + housekeepingPacket->hk_lfr_last_rej_tc_subtype[1]) | |
285 | ); |
|
306 | ); | |
286 | hk_lfr_last_rej_tc_time->setText("hk_lfr_last_rej_tc_time: " |
|
307 | hk_lfr_last_rej_tc_time->setText("hk_lfr_last_rej_tc_time: " | |
287 | + QString::number( |
|
308 | + QString::number( | |
288 | (housekeepingPacket->hk_lfr_last_rej_tc_time[0] << 24) |
|
309 | (housekeepingPacket->hk_lfr_last_rej_tc_time[0] << 24) | |
289 | + (housekeepingPacket->hk_lfr_last_rej_tc_time[1] << 16) |
|
310 | + (housekeepingPacket->hk_lfr_last_rej_tc_time[1] << 16) | |
290 | + (housekeepingPacket->hk_lfr_last_rej_tc_time[2] << 8) |
|
311 | + (housekeepingPacket->hk_lfr_last_rej_tc_time[2] << 8) | |
291 | + (housekeepingPacket->hk_lfr_last_rej_tc_time[3]), 16 |
|
312 | + (housekeepingPacket->hk_lfr_last_rej_tc_time[3]), 16 | |
292 | ) |
|
313 | ) | |
293 | ); |
|
314 | ); | |
294 | } |
|
315 | } | |
295 |
|
316 | |||
296 | void HKDisplay::updateAnomalyStatistics(Packet_TM_LFR_HK_t *housekeepingPacket) |
|
317 | void HKDisplay::updateAnomalyStatistics(Packet_TM_LFR_HK_t *housekeepingPacket) | |
297 | { |
|
318 | { | |
298 | // Anomaly Statistics |
|
319 | // Anomaly Statistics | |
299 | hk_lfr_le_cnt->setText("hk_lfr_le_cnt: " |
|
320 | hk_lfr_le_cnt->setText("hk_lfr_le_cnt: " | |
300 | + QString::number( |
|
321 | + QString::number( | |
301 | housekeepingPacket->hk_lfr_le_cnt[0] * 256 |
|
322 | housekeepingPacket->hk_lfr_le_cnt[0] * 256 | |
302 | + housekeepingPacket->hk_lfr_le_cnt[1]) |
|
323 | + housekeepingPacket->hk_lfr_le_cnt[1]) | |
303 | ); |
|
324 | ); | |
304 | hk_lfr_me_cnt->setText("hk_lfr_me_cnt: " |
|
325 | hk_lfr_me_cnt->setText("hk_lfr_me_cnt: " | |
305 | + QString::number( |
|
326 | + QString::number( | |
306 | housekeepingPacket->hk_lfr_me_cnt[0] * 256 |
|
327 | housekeepingPacket->hk_lfr_me_cnt[0] * 256 | |
307 | + housekeepingPacket->hk_lfr_me_cnt[1]) |
|
328 | + housekeepingPacket->hk_lfr_me_cnt[1]) | |
308 | ); |
|
329 | ); | |
309 | hk_lfr_he_cnt->setText("hk_lfr_he_cnt: " |
|
330 | hk_lfr_he_cnt->setText("hk_lfr_he_cnt: " | |
310 | + QString::number( |
|
331 | + QString::number( | |
311 | housekeepingPacket->hk_lfr_he_cnt[0] * 256 |
|
332 | housekeepingPacket->hk_lfr_he_cnt[0] * 256 | |
312 | + housekeepingPacket->hk_lfr_he_cnt[1]) |
|
333 | + housekeepingPacket->hk_lfr_he_cnt[1]) | |
313 | ); |
|
334 | ); | |
314 | hk_lfr_last_er_rid->setText("hk_lfr_last_er_rid: " |
|
335 | hk_lfr_last_er_rid->setText("hk_lfr_last_er_rid: " | |
315 | + QString::number( |
|
336 | + QString::number( | |
316 | housekeepingPacket->hk_lfr_last_er_rid[0] * 256 |
|
337 | housekeepingPacket->hk_lfr_last_er_rid[0] * 256 | |
317 | + housekeepingPacket->hk_lfr_last_er_rid[1]) |
|
338 | + housekeepingPacket->hk_lfr_last_er_rid[1]) | |
318 | ); |
|
339 | ); | |
319 | hk_lfr_last_er_code->setText("hk_lfr_last_er_code: " |
|
340 | hk_lfr_last_er_code->setText("hk_lfr_last_er_code: " | |
320 | + QString::number( |
|
341 | + QString::number( | |
321 | housekeepingPacket->hk_lfr_last_er_code) |
|
342 | housekeepingPacket->hk_lfr_last_er_code) | |
322 | ); |
|
343 | ); | |
323 | hk_lfr_last_er_time->setText("hk_lfr_last_er_time: " |
|
344 | hk_lfr_last_er_time->setText("hk_lfr_last_er_time: " | |
324 | + QString::number( |
|
345 | + QString::number( | |
325 | (housekeepingPacket->hk_lfr_last_er_time[0] << 24) |
|
346 | (housekeepingPacket->hk_lfr_last_er_time[0] << 24) | |
326 | + (housekeepingPacket->hk_lfr_last_er_time[1] << 16) |
|
347 | + (housekeepingPacket->hk_lfr_last_er_time[1] << 16) | |
327 | + (housekeepingPacket->hk_lfr_last_er_time[2] << 8) |
|
348 | + (housekeepingPacket->hk_lfr_last_er_time[2] << 8) | |
328 | + (housekeepingPacket->hk_lfr_last_er_time[3]), 16 |
|
349 | + (housekeepingPacket->hk_lfr_last_er_time[3]), 16 | |
329 | ) |
|
350 | ) | |
330 | ); |
|
351 | ); | |
331 | } |
|
352 | } | |
332 |
|
353 | |||
333 | void HKDisplay::updateSpaceWireIFStatistics(Packet_TM_LFR_HK_t *housekeepingPacket) |
|
354 | void HKDisplay::updateSpaceWireIFStatistics(Packet_TM_LFR_HK_t *housekeepingPacket) | |
334 | { |
|
355 | { | |
335 | hk_lfr_dpu_spw_pkt_rcv_cnt->setText("hk_lfr_dpu_spw_pkt_rcv_cnt: " |
|
356 | hk_lfr_dpu_spw_pkt_rcv_cnt->setText("hk_lfr_dpu_spw_pkt_rcv_cnt: " | |
336 | + QString::number( |
|
357 | + QString::number( | |
337 | housekeepingPacket->hk_lfr_dpu_spw_pkt_rcv_cnt[0] * 256 |
|
358 | housekeepingPacket->hk_lfr_dpu_spw_pkt_rcv_cnt[0] * 256 | |
338 | + housekeepingPacket->hk_lfr_dpu_spw_pkt_rcv_cnt[1]) |
|
359 | + housekeepingPacket->hk_lfr_dpu_spw_pkt_rcv_cnt[1]) | |
339 | ); |
|
360 | ); | |
340 | hk_lfr_dpu_spw_pkt_sent_cnt->setText("hk_lfr_dpu_spw_pkt_sent_cnt: " |
|
361 | hk_lfr_dpu_spw_pkt_sent_cnt->setText("hk_lfr_dpu_spw_pkt_sent_cnt: " | |
341 | + QString::number( |
|
362 | + QString::number( | |
342 | housekeepingPacket->hk_lfr_dpu_spw_pkt_sent_cnt[0] * 256 |
|
363 | housekeepingPacket->hk_lfr_dpu_spw_pkt_sent_cnt[0] * 256 | |
343 | + housekeepingPacket->hk_lfr_dpu_spw_pkt_sent_cnt[1]) |
|
364 | + housekeepingPacket->hk_lfr_dpu_spw_pkt_sent_cnt[1]) | |
344 | ); |
|
365 | ); | |
345 | hk_lfr_dpu_spw_tick_out_cnt->setText("hk_lfr_dpu_spw_tick_out_cnt: " |
|
366 | hk_lfr_dpu_spw_tick_out_cnt->setText("hk_lfr_dpu_spw_tick_out_cnt: " | |
346 | + QString::number( |
|
367 | + QString::number( | |
347 | housekeepingPacket->hk_lfr_dpu_spw_tick_out_cnt) |
|
368 | housekeepingPacket->hk_lfr_dpu_spw_tick_out_cnt) | |
348 | ); |
|
369 | ); | |
349 | hk_lfr_dpu_spw_last_timc->setText("hk_lfr_dpu_spw_last_timc: " |
|
370 | hk_lfr_dpu_spw_last_timc->setText("hk_lfr_dpu_spw_last_timc: " | |
350 | + QString::number( |
|
371 | + QString::number( | |
351 | housekeepingPacket->hk_lfr_dpu_spw_last_timc) |
|
372 | housekeepingPacket->hk_lfr_dpu_spw_last_timc) | |
352 | ); |
|
373 | ); | |
353 | } |
|
374 | } | |
354 |
|
375 | |||
355 | void HKDisplay::updateErrorCountersSpaceWire(Packet_TM_LFR_HK_t *housekeepingPacket) |
|
376 | void HKDisplay::updateErrorCountersSpaceWire(Packet_TM_LFR_HK_t *housekeepingPacket) | |
356 | { |
|
377 | { | |
357 | hk_lfr_dpu_spw_parity->setText("hk_lfr_dpu_spw_parity: " |
|
378 | hk_lfr_dpu_spw_parity->setText("hk_lfr_dpu_spw_parity: " | |
358 | + QString::number( |
|
379 | + QString::number( | |
359 | housekeepingPacket->hk_lfr_dpu_spw_parity) |
|
380 | housekeepingPacket->hk_lfr_dpu_spw_parity) | |
360 | ); |
|
381 | ); | |
361 | hk_lfr_dpu_spw_disconnect->setText("hk_lfr_dpu_spw_disconnect: " |
|
382 | hk_lfr_dpu_spw_disconnect->setText("hk_lfr_dpu_spw_disconnect: " | |
362 | + QString::number( |
|
383 | + QString::number( | |
363 | housekeepingPacket->hk_lfr_dpu_spw_disconnect) |
|
384 | housekeepingPacket->hk_lfr_dpu_spw_disconnect) | |
364 | ); |
|
385 | ); | |
365 | hk_lfr_dpu_spw_escape->setText("hk_lfr_dpu_spw_escape: " |
|
386 | hk_lfr_dpu_spw_escape->setText("hk_lfr_dpu_spw_escape: " | |
366 | + QString::number( |
|
387 | + QString::number( | |
367 | housekeepingPacket->hk_lfr_dpu_spw_escape) |
|
388 | housekeepingPacket->hk_lfr_dpu_spw_escape) | |
368 | ); |
|
389 | ); | |
369 | hk_lfr_dpu_spw_credit->setText("hk_lfr_dpu_spw_credit: " |
|
390 | hk_lfr_dpu_spw_credit->setText("hk_lfr_dpu_spw_credit: " | |
370 | + QString::number( |
|
391 | + QString::number( | |
371 | housekeepingPacket->hk_lfr_dpu_spw_credit) |
|
392 | housekeepingPacket->hk_lfr_dpu_spw_credit) | |
372 | ); |
|
393 | ); | |
373 | hk_lfr_dpu_spw_write_sync->setText("hk_lfr_dpu_spw_write_sync: " |
|
394 | hk_lfr_dpu_spw_write_sync->setText("hk_lfr_dpu_spw_write_sync: " | |
374 | + QString::number( |
|
395 | + QString::number( | |
375 | housekeepingPacket->hk_lfr_dpu_spw_write_sync) |
|
396 | housekeepingPacket->hk_lfr_dpu_spw_write_sync) | |
376 | ); |
|
397 | ); | |
377 | hk_lfr_dpu_spw_rx_ahb->setText("hk_lfr_dpu_spw_rx_ahb: " |
|
398 | hk_lfr_dpu_spw_rx_ahb->setText("hk_lfr_dpu_spw_rx_ahb: " | |
378 | + QString::number( |
|
399 | + QString::number( | |
379 | housekeepingPacket->hk_lfr_dpu_spw_rx_ahb) |
|
400 | housekeepingPacket->hk_lfr_dpu_spw_rx_ahb) | |
380 | ); |
|
401 | ); | |
381 | hk_lfr_dpu_spw_tx_ahb->setText("hk_lfr_dpu_spw_tx_ahb: " |
|
402 | hk_lfr_dpu_spw_tx_ahb->setText("hk_lfr_dpu_spw_tx_ahb: " | |
382 | + QString::number( |
|
403 | + QString::number( | |
383 | housekeepingPacket->hk_lfr_dpu_spw_tx_ahb) |
|
404 | housekeepingPacket->hk_lfr_dpu_spw_tx_ahb) | |
384 | ); |
|
405 | ); | |
385 | hk_lfr_dpu_spw_header_crc->setText("hk_lfr_dpu_spw_header_crc: " |
|
406 | hk_lfr_dpu_spw_header_crc->setText("hk_lfr_dpu_spw_header_crc: " | |
386 | + QString::number( |
|
407 | + QString::number( | |
387 | housekeepingPacket->hk_lfr_dpu_spw_header_crc) |
|
408 | housekeepingPacket->hk_lfr_dpu_spw_header_crc) | |
388 | ); |
|
409 | ); | |
389 | hk_lfr_dpu_spw_data_crc->setText("hk_lfr_dpu_spw_data_crc: " |
|
410 | hk_lfr_dpu_spw_data_crc->setText("hk_lfr_dpu_spw_data_crc: " | |
390 | + QString::number( |
|
411 | + QString::number( | |
391 | housekeepingPacket->hk_lfr_dpu_spw_data_crc) |
|
412 | housekeepingPacket->hk_lfr_dpu_spw_data_crc) | |
392 | ); |
|
413 | ); | |
393 | hk_lfr_dpu_spw_early_eop->setText("hk_lfr_dpu_spw_early_eop: " |
|
414 | hk_lfr_dpu_spw_early_eop->setText("hk_lfr_dpu_spw_early_eop: " | |
394 | + QString::number( |
|
415 | + QString::number( | |
395 | housekeepingPacket->hk_lfr_dpu_spw_early_eop) |
|
416 | housekeepingPacket->hk_lfr_dpu_spw_early_eop) | |
396 | ); |
|
417 | ); | |
397 | hk_lfr_dpu_spw_invalid_addr->setText("hk_lfr_dpu_spw_invalid_addr: " |
|
418 | hk_lfr_dpu_spw_invalid_addr->setText("hk_lfr_dpu_spw_invalid_addr: " | |
398 | + QString::number( |
|
419 | + QString::number( | |
399 | housekeepingPacket->hk_lfr_dpu_spw_invalid_addr) |
|
420 | housekeepingPacket->hk_lfr_dpu_spw_invalid_addr) | |
400 | ); |
|
421 | ); | |
401 | hk_lfr_dpu_spw_eep->setText("hk_lfr_dpu_spw_eep: " |
|
422 | hk_lfr_dpu_spw_eep->setText("hk_lfr_dpu_spw_eep: " | |
402 | + QString::number( |
|
423 | + QString::number( | |
403 | housekeepingPacket->hk_lfr_dpu_spw_eep) |
|
424 | housekeepingPacket->hk_lfr_dpu_spw_eep) | |
404 | ); |
|
425 | ); | |
405 | hk_lfr_dpu_spw_rx_too_big->setText("hk_lfr_dpu_spw_rx_too_big: " |
|
426 | hk_lfr_dpu_spw_rx_too_big->setText("hk_lfr_dpu_spw_rx_too_big: " | |
406 | + QString::number( |
|
427 | + QString::number( | |
407 | housekeepingPacket->hk_lfr_dpu_spw_rx_too_big) |
|
428 | housekeepingPacket->hk_lfr_dpu_spw_rx_too_big) | |
408 | ); |
|
429 | ); | |
409 | } |
|
430 | } |
@@ -1,169 +1,170 | |||||
1 | #ifndef HKDISPLAY_H |
|
1 | #ifndef HKDISPLAY_H | |
2 | #define HKDISPLAY_H |
|
2 | #define HKDISPLAY_H | |
3 |
|
3 | |||
4 | #include <QWidget> |
|
4 | #include <QWidget> | |
5 | #include <QLabel> |
|
5 | #include <QLabel> | |
6 | #include <QGroupBox> |
|
6 | #include <QGroupBox> | |
7 | #include <QVBoxLayout> |
|
7 | #include <QVBoxLayout> | |
8 | #include <QGridLayout> |
|
8 | #include <QGridLayout> | |
9 | #include "tmpackettoread.h" |
|
9 | #include "tmpackettoread.h" | |
10 | #include "ccsds_types.h" |
|
10 | #include "ccsds_types.h" | |
11 |
|
11 | |||
12 | #define HK_PACKET_SIZE 126 + 4 |
|
12 | #define HK_PACKET_SIZE 126 + 4 | |
13 | #define HK_INFORMATION_FONT_SIZE 9 |
|
13 | #define HK_INFORMATION_FONT_SIZE 9 | |
14 |
|
14 | |||
15 | class HKDisplay : public QWidget |
|
15 | class HKDisplay : public QWidget | |
16 | { |
|
16 | { | |
17 | Q_OBJECT |
|
17 | Q_OBJECT | |
18 | public: |
|
18 | public: | |
19 | explicit HKDisplay(QWidget *parent = 0); |
|
19 | explicit HKDisplay(QWidget *parent = 0); | |
20 | void displayPacket(TMPacketToRead *tmPacketToRead); |
|
20 | void displayPacket(TMPacketToRead *tmPacketToRead); | |
|
21 | void displayPacketLESIA(TMPacketToRead *tmPacketToRead); | |||
21 |
|
22 | |||
22 | void setupLFRStatusWord(); |
|
23 | void setupLFRStatusWord(); | |
23 | void setupLFRSWVersion(); |
|
24 | void setupLFRSWVersion(); | |
24 | void setupTCStatistics(); |
|
25 | void setupTCStatistics(); | |
25 | void setupAnomalyStatistics(); |
|
26 | void setupAnomalyStatistics(); | |
26 | void setupSpaceWireIFStatistics(); |
|
27 | void setupSpaceWireIFStatistics(); | |
27 | void setupErrorCountersSpaceWire(); |
|
28 | void setupErrorCountersSpaceWire(); | |
28 |
|
29 | |||
29 | void updateLFRMode(Packet_TM_LFR_HK_t *housekeepingPacket); |
|
30 | void updateLFRMode(Packet_TM_LFR_HK_t *housekeepingPacket); | |
30 | void updateSWVersion(Packet_TM_LFR_HK_t *housekeepingPacket); |
|
31 | void updateSWVersion(Packet_TM_LFR_HK_t *housekeepingPacket); | |
31 | void updateTCStatistics(Packet_TM_LFR_HK_t *housekeepingPacket); |
|
32 | void updateTCStatistics(Packet_TM_LFR_HK_t *housekeepingPacket); | |
32 | void updateAnomalyStatistics(Packet_TM_LFR_HK_t *housekeepingPacket); |
|
33 | void updateAnomalyStatistics(Packet_TM_LFR_HK_t *housekeepingPacket); | |
33 | void updateSpaceWireIFStatistics(Packet_TM_LFR_HK_t *housekeepingPacket); |
|
34 | void updateSpaceWireIFStatistics(Packet_TM_LFR_HK_t *housekeepingPacket); | |
34 | void updateErrorCountersSpaceWire(Packet_TM_LFR_HK_t *housekeepingPacket); |
|
35 | void updateErrorCountersSpaceWire(Packet_TM_LFR_HK_t *housekeepingPacket); | |
35 |
|
36 | |||
36 | signals: |
|
37 | signals: | |
37 | void displayMessage(QString message); |
|
38 | void displayMessage(QString message); | |
38 |
|
39 | |||
39 | public slots: |
|
40 | public slots: | |
40 |
|
41 | |||
41 | private: |
|
42 | private: | |
42 | QGroupBox *groupbox_lfrStatusWord; |
|
43 | QGroupBox *groupbox_lfrStatusWord; | |
43 | QGroupBox *groupbox_lfrSWVersion; |
|
44 | QGroupBox *groupbox_lfrSWVersion; | |
44 | QGroupBox *groupbox_tcStatistics; |
|
45 | QGroupBox *groupbox_tcStatistics; | |
45 | QGroupBox *groupbox_anomalyStatistics; |
|
46 | QGroupBox *groupbox_anomalyStatistics; | |
46 | //*********************************** |
|
47 | //*********************************** | |
47 | //*********************************** |
|
48 | //*********************************** | |
48 | QGroupBox *groupbox_vhdlBlockStatus; |
|
49 | QGroupBox *groupbox_vhdlBlockStatus; | |
49 | QGroupBox *groupbox_spacewireIFStatisctics; |
|
50 | QGroupBox *groupbox_spacewireIFStatisctics; | |
50 | QGroupBox *groupbox_ahbErrorStatistics; |
|
51 | QGroupBox *groupbox_ahbErrorStatistics; | |
51 | QGroupBox *groupbox_temperatures; |
|
52 | QGroupBox *groupbox_temperatures; | |
52 | QGroupBox *groupbox_errorCountersSpaceWire; |
|
53 | QGroupBox *groupbox_errorCountersSpaceWire; | |
53 | QGroupBox *groupbox_errorCountersTime; |
|
54 | QGroupBox *groupbox_errorCountersTime; | |
54 |
|
55 | |||
55 | QGridLayout *mainLayout; |
|
56 | QGridLayout *mainLayout; | |
56 | QVBoxLayout *box_lfrStatusWord; |
|
57 | QVBoxLayout *box_lfrStatusWord; | |
57 | QVBoxLayout *box_lfrSWVersion; |
|
58 | QVBoxLayout *box_lfrSWVersion; | |
58 | QVBoxLayout *box_tcStatistics; |
|
59 | QVBoxLayout *box_tcStatistics; | |
59 | QVBoxLayout *box_anomalyStatistics; |
|
60 | QVBoxLayout *box_anomalyStatistics; | |
60 | //*********************************** |
|
61 | //*********************************** | |
61 | //*********************************** |
|
62 | //*********************************** | |
62 | QVBoxLayout *box_vhdlBlockStatus; |
|
63 | QVBoxLayout *box_vhdlBlockStatus; | |
63 | QVBoxLayout *box_spacewireIFStatisctics; |
|
64 | QVBoxLayout *box_spacewireIFStatisctics; | |
64 | QVBoxLayout *box_ahbErrorStatistics; |
|
65 | QVBoxLayout *box_ahbErrorStatistics; | |
65 | QVBoxLayout *box_temperatures; |
|
66 | QVBoxLayout *box_temperatures; | |
66 | QVBoxLayout *box_errorCountersSpaceWire; |
|
67 | QVBoxLayout *box_errorCountersSpaceWire; | |
67 | QVBoxLayout *box_errorCountersTime; |
|
68 | QVBoxLayout *box_errorCountersTime; | |
68 |
|
69 | |||
69 | QLabel *hk_lfr_mode; |
|
70 | QLabel *hk_lfr_mode; | |
70 | QLabel *hk_lfr_dpu_spw_enabled; |
|
71 | QLabel *hk_lfr_dpu_spw_enabled; | |
71 | QLabel *hk_lfr_dpu_link_state; |
|
72 | QLabel *hk_lfr_dpu_link_state; | |
72 | QLabel *sy_lfr_watchdog_enabled; |
|
73 | QLabel *sy_lfr_watchdog_enabled; | |
73 | QLabel *hk_lfr_calib_enabled; |
|
74 | QLabel *hk_lfr_calib_enabled; | |
74 | QLabel *hk_lfr_reset_cause; |
|
75 | QLabel *hk_lfr_reset_cause; | |
75 | // sy_lfr_sw_version_ |
|
76 | // sy_lfr_sw_version_ | |
76 | QLabel *sy_lfr_sw_version_n1; |
|
77 | QLabel *sy_lfr_sw_version_n1; | |
77 | QLabel *sy_lfr_sw_version_n2; |
|
78 | QLabel *sy_lfr_sw_version_n2; | |
78 | QLabel *sy_lfr_sw_version_n3; |
|
79 | QLabel *sy_lfr_sw_version_n3; | |
79 | QLabel *sy_lfr_sw_version_n4; |
|
80 | QLabel *sy_lfr_sw_version_n4; | |
80 | QLabel *hk_lfr_update_info_tc_cnt; |
|
81 | QLabel *hk_lfr_update_info_tc_cnt; | |
81 | QLabel *hk_lfr_update_time_tc_cnt; |
|
82 | QLabel *hk_lfr_update_time_tc_cnt; | |
82 | QLabel *hk_dpu_exe_tc_lfr_cnt; |
|
83 | QLabel *hk_dpu_exe_tc_lfr_cnt; | |
83 | QLabel *hk_dpu_rej_tc_lfr_cnt; |
|
84 | QLabel *hk_dpu_rej_tc_lfr_cnt; | |
84 | // hk_lfr_last_exe_tc_ |
|
85 | // hk_lfr_last_exe_tc_ | |
85 | QLabel *hk_lfr_last_exe_tc_id; |
|
86 | QLabel *hk_lfr_last_exe_tc_id; | |
86 | QLabel *hk_lfr_last_exe_tc_type; |
|
87 | QLabel *hk_lfr_last_exe_tc_type; | |
87 | QLabel *hk_lfr_last_exe_tc_subtype; |
|
88 | QLabel *hk_lfr_last_exe_tc_subtype; | |
88 | QLabel *hk_lfr_last_exe_tc_time; |
|
89 | QLabel *hk_lfr_last_exe_tc_time; | |
89 | // hk_lfr_last_rej_tc_ |
|
90 | // hk_lfr_last_rej_tc_ | |
90 | QLabel *hk_lfr_last_rej_tc_id; |
|
91 | QLabel *hk_lfr_last_rej_tc_id; | |
91 | QLabel *hk_lfr_last_rej_tc_type; |
|
92 | QLabel *hk_lfr_last_rej_tc_type; | |
92 | QLabel *hk_lfr_last_rej_tc_subtype; |
|
93 | QLabel *hk_lfr_last_rej_tc_subtype; | |
93 | QLabel *hk_lfr_last_rej_tc_time; |
|
94 | QLabel *hk_lfr_last_rej_tc_time; | |
94 |
|
95 | |||
95 | QLabel *hk_lfr_le_cnt; |
|
96 | QLabel *hk_lfr_le_cnt; | |
96 | QLabel *hk_lfr_me_cnt; |
|
97 | QLabel *hk_lfr_me_cnt; | |
97 | QLabel *hk_lfr_he_cnt; |
|
98 | QLabel *hk_lfr_he_cnt; | |
98 | // hk_lfr_last_er |
|
99 | // hk_lfr_last_er | |
99 | QLabel *hk_lfr_last_er_rid; |
|
100 | QLabel *hk_lfr_last_er_rid; | |
100 | QLabel *hk_lfr_last_er_code; |
|
101 | QLabel *hk_lfr_last_er_code; | |
101 | QLabel *hk_lfr_last_er_time; |
|
102 | QLabel *hk_lfr_last_er_time; | |
102 | //*********************************** |
|
103 | //*********************************** | |
103 | //*********************************** |
|
104 | //*********************************** | |
104 | //hk_lfr_vhdl_ |
|
105 | //hk_lfr_vhdl_ | |
105 | QLabel *hk_lfr_vhdl_aa; |
|
106 | QLabel *hk_lfr_vhdl_aa; | |
106 | QLabel *hk_lfr_vhdl_sm; |
|
107 | QLabel *hk_lfr_vhdl_sm; | |
107 | QLabel *hk_lfr_vhdl_fft; |
|
108 | QLabel *hk_lfr_vhdl_fft; | |
108 | QLabel *hk_lfr_vhdl_sr; |
|
109 | QLabel *hk_lfr_vhdl_sr; | |
109 | QLabel *hk_lfr_vhdl_cic; |
|
110 | QLabel *hk_lfr_vhdl_cic; | |
110 | QLabel *hk_lfr_vhdl_hk; |
|
111 | QLabel *hk_lfr_vhdl_hk; | |
111 | QLabel *hk_lfr_vhdl_iir; |
|
112 | QLabel *hk_lfr_vhdl_iir; | |
112 | QLabel *hk_lfr_vhdl_cal; |
|
113 | QLabel *hk_lfr_vhdl_cal; | |
113 | // hk_lfr_dpu_spw_ |
|
114 | // hk_lfr_dpu_spw_ | |
114 | QLabel *hk_lfr_dpu_spw_pkt_rcv_cnt; |
|
115 | QLabel *hk_lfr_dpu_spw_pkt_rcv_cnt; | |
115 | QLabel *hk_lfr_dpu_spw_pkt_sent_cnt; |
|
116 | QLabel *hk_lfr_dpu_spw_pkt_sent_cnt; | |
116 | QLabel *hk_lfr_dpu_spw_tick_out_cnt; |
|
117 | QLabel *hk_lfr_dpu_spw_tick_out_cnt; | |
117 | QLabel *hk_lfr_dpu_spw_last_timc; |
|
118 | QLabel *hk_lfr_dpu_spw_last_timc; | |
118 | // hk_lfr_last_fail_addr |
|
119 | // hk_lfr_last_fail_addr | |
119 | QLabel *hk_lfr_last_fail_addr; |
|
120 | QLabel *hk_lfr_last_fail_addr; | |
120 | // hk_lfr_temp_ |
|
121 | // hk_lfr_temp_ | |
121 | QLabel *hk_lfr_temp_scm; |
|
122 | QLabel *hk_lfr_temp_scm; | |
122 | QLabel *hk_lfr_temp_pcb; |
|
123 | QLabel *hk_lfr_temp_pcb; | |
123 | QLabel *hk_lfr_temp_fpga; |
|
124 | QLabel *hk_lfr_temp_fpga; | |
124 | // hk_lfr_dpu_spw_ |
|
125 | // hk_lfr_dpu_spw_ | |
125 | QLabel *hk_lfr_dpu_spw_parity; |
|
126 | QLabel *hk_lfr_dpu_spw_parity; | |
126 | QLabel *hk_lfr_dpu_spw_disconnect; |
|
127 | QLabel *hk_lfr_dpu_spw_disconnect; | |
127 | QLabel *hk_lfr_dpu_spw_escape; |
|
128 | QLabel *hk_lfr_dpu_spw_escape; | |
128 | QLabel *hk_lfr_dpu_spw_credit; |
|
129 | QLabel *hk_lfr_dpu_spw_credit; | |
129 | QLabel *hk_lfr_dpu_spw_write_sync; |
|
130 | QLabel *hk_lfr_dpu_spw_write_sync; | |
130 | QLabel *hk_lfr_dpu_spw_rx_ahb; |
|
131 | QLabel *hk_lfr_dpu_spw_rx_ahb; | |
131 | QLabel *hk_lfr_dpu_spw_tx_ahb; |
|
132 | QLabel *hk_lfr_dpu_spw_tx_ahb; | |
132 | QLabel *hk_lfr_dpu_spw_header_crc; |
|
133 | QLabel *hk_lfr_dpu_spw_header_crc; | |
133 | QLabel *hk_lfr_dpu_spw_data_crc; |
|
134 | QLabel *hk_lfr_dpu_spw_data_crc; | |
134 | QLabel *hk_lfr_dpu_spw_early_eop; |
|
135 | QLabel *hk_lfr_dpu_spw_early_eop; | |
135 | QLabel *hk_lfr_dpu_spw_invalid_addr; |
|
136 | QLabel *hk_lfr_dpu_spw_invalid_addr; | |
136 | QLabel *hk_lfr_dpu_spw_eep; |
|
137 | QLabel *hk_lfr_dpu_spw_eep; | |
137 | QLabel *hk_lfr_dpu_spw_rx_too_big; |
|
138 | QLabel *hk_lfr_dpu_spw_rx_too_big; | |
138 | // hk_lfr_timecode_ |
|
139 | // hk_lfr_timecode_ | |
139 | QLabel *hk_lfr_timecode_erroneous; |
|
140 | QLabel *hk_lfr_timecode_erroneous; | |
140 | QLabel *hk_lfr_timecode_missing; |
|
141 | QLabel *hk_lfr_timecode_missing; | |
141 | QLabel *hk_lfr_timecode_invalid; |
|
142 | QLabel *hk_lfr_timecode_invalid; | |
142 | // hk_lfr_time_ |
|
143 | // hk_lfr_time_ | |
143 | QLabel *hk_lfr_time_timecode_it; |
|
144 | QLabel *hk_lfr_time_timecode_it; | |
144 | QLabel *hk_lfr_time_not_synchro; |
|
145 | QLabel *hk_lfr_time_not_synchro; | |
145 | QLabel *hk_lfr_time_timecode_ctr; |
|
146 | QLabel *hk_lfr_time_timecode_ctr; | |
146 | // hk_lfr_buffer_dpu_ |
|
147 | // hk_lfr_buffer_dpu_ | |
147 | QLabel *hk_lfr_buffer_dpu_tc_fifo; |
|
148 | QLabel *hk_lfr_buffer_dpu_tc_fifo; | |
148 | QLabel *hk_lfr_buffer_dpu_tm_fifo; |
|
149 | QLabel *hk_lfr_buffer_dpu_tm_fifo; | |
149 | // hk_lfr_ahb_ |
|
150 | // hk_lfr_ahb_ | |
150 | QLabel *hk_lfr_ahb_correctable; |
|
151 | QLabel *hk_lfr_ahb_correctable; | |
151 | QLabel *hk_lfr_ahb_uncorrectable; |
|
152 | QLabel *hk_lfr_ahb_uncorrectable; | |
152 | QLabel *hk_lfr_ahb_fails_trans; |
|
153 | QLabel *hk_lfr_ahb_fails_trans; | |
153 | // hk_lfr_adc_ |
|
154 | // hk_lfr_adc_ | |
154 | QLabel *hk_lfr_adc_failure; |
|
155 | QLabel *hk_lfr_adc_failure; | |
155 | QLabel *hk_lfr_adc_timeout; |
|
156 | QLabel *hk_lfr_adc_timeout; | |
156 | QLabel *hk_lfr_toomany_err; |
|
157 | QLabel *hk_lfr_toomany_err; | |
157 | // hk_lfr_cpu_ |
|
158 | // hk_lfr_cpu_ | |
158 | QLabel *hk_lfr_cpu_write_err; |
|
159 | QLabel *hk_lfr_cpu_write_err; | |
159 | QLabel *hk_lfr_cpu_ins_access_err; |
|
160 | QLabel *hk_lfr_cpu_ins_access_err; | |
160 | QLabel *hk_lfr_cpu_illegal_ins; |
|
161 | QLabel *hk_lfr_cpu_illegal_ins; | |
161 | QLabel *hk_lfr_cpu_privilegied_ins; |
|
162 | QLabel *hk_lfr_cpu_privilegied_ins; | |
162 | QLabel *hk_lfr_cpu_register_hw; |
|
163 | QLabel *hk_lfr_cpu_register_hw; | |
163 | QLabel *hk_lfr_cpu_not_aligned; |
|
164 | QLabel *hk_lfr_cpu_not_aligned; | |
164 | QLabel *hk_lfr_cpu_data_exception; |
|
165 | QLabel *hk_lfr_cpu_data_exception; | |
165 | QLabel *hk_lfr_cpu_div_exception; |
|
166 | QLabel *hk_lfr_cpu_div_exception; | |
166 | QLabel *hk_lfr_cpu_arith_overflow; |
|
167 | QLabel *hk_lfr_cpu_arith_overflow; | |
167 | }; |
|
168 | }; | |
168 |
|
169 | |||
169 | #endif // HKDISPLAY_H |
|
170 | #endif // HKDISPLAY_H |
@@ -1,378 +1,378 | |||||
1 | ############################################################################# |
|
1 | ############################################################################# | |
2 | # Makefile for building: lfrsgse |
|
2 | # Makefile for building: lfrsgse | |
3 |
# Generated by qmake (2.01a) (Qt 4.8.4) on: Fri Jul 12 0 |
|
3 | # Generated by qmake (2.01a) (Qt 4.8.4) on: Fri Jul 12 08:12:46 2013 | |
4 | # Project: gselesia.pro |
|
4 | # Project: gselesia.pro | |
5 | # Template: app |
|
5 | # Template: app | |
6 | # Command: /usr/bin/qmake-qt4 -o Makefile gselesia.pro |
|
6 | # Command: /usr/bin/qmake-qt4 -o Makefile gselesia.pro | |
7 | ############################################################################# |
|
7 | ############################################################################# | |
8 |
|
8 | |||
9 | ####### Compiler, tools and options |
|
9 | ####### Compiler, tools and options | |
10 |
|
10 | |||
11 | CC = gcc |
|
11 | CC = gcc | |
12 | CXX = g++ |
|
12 | CXX = g++ | |
13 | DEFINES = -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED |
|
13 | DEFINES = -DQT_NO_DEBUG -DQT_XML_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED | |
14 | CFLAGS = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT $(DEFINES) |
|
14 | CFLAGS = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT $(DEFINES) | |
15 | CXXFLAGS = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT $(DEFINES) |
|
15 | CXXFLAGS = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT $(DEFINES) | |
16 | INCPATH = -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include -I. -I../common_PLE -I../rmapplugin -I../../DEV_PLE/header -I/usr/include/lppmon/common -I/usr/include/lppmon/wfdisplay -I. |
|
16 | INCPATH = -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtXml -I/usr/include -I. -I../common_PLE -I../rmapplugin -I../../DEV_PLE/header -I/usr/include/lppmon/common -I/usr/include/lppmon/wfdisplay -I. | |
17 | LINK = g++ |
|
17 | LINK = g++ | |
18 | LFLAGS = -Wl,-O1 -Wl,-z,relro |
|
18 | LFLAGS = -Wl,-O1 -Wl,-z,relro | |
19 | LIBS = $(SUBLIBS) -L/usr/lib64 -llppmoncommon -lwfdisplay -lqwt5-qt4 -lQtXml -lQtGui -lQtNetwork -lQtCore -lpthread |
|
19 | LIBS = $(SUBLIBS) -L/usr/lib64 -llppmoncommon -lwfdisplay -lqwt5-qt4 -lQtXml -lQtGui -lQtNetwork -lQtCore -lpthread | |
20 | AR = ar cqs |
|
20 | AR = ar cqs | |
21 | RANLIB = |
|
21 | RANLIB = | |
22 | QMAKE = /usr/bin/qmake-qt4 |
|
22 | QMAKE = /usr/bin/qmake-qt4 | |
23 | TAR = tar -cf |
|
23 | TAR = tar -cf | |
24 | COMPRESS = gzip -9f |
|
24 | COMPRESS = gzip -9f | |
25 | COPY = cp -f |
|
25 | COPY = cp -f | |
26 | SED = sed |
|
26 | SED = sed | |
27 | COPY_FILE = $(COPY) |
|
27 | COPY_FILE = $(COPY) | |
28 | COPY_DIR = $(COPY) -r |
|
28 | COPY_DIR = $(COPY) -r | |
29 | STRIP = |
|
29 | STRIP = | |
30 | INSTALL_FILE = install -m 644 -p |
|
30 | INSTALL_FILE = install -m 644 -p | |
31 | INSTALL_DIR = $(COPY_DIR) |
|
31 | INSTALL_DIR = $(COPY_DIR) | |
32 | INSTALL_PROGRAM = install -m 755 -p |
|
32 | INSTALL_PROGRAM = install -m 755 -p | |
33 | DEL_FILE = rm -f |
|
33 | DEL_FILE = rm -f | |
34 | SYMLINK = ln -f -s |
|
34 | SYMLINK = ln -f -s | |
35 | DEL_DIR = rmdir |
|
35 | DEL_DIR = rmdir | |
36 | MOVE = mv -f |
|
36 | MOVE = mv -f | |
37 | CHK_DIR_EXISTS= test -d |
|
37 | CHK_DIR_EXISTS= test -d | |
38 | MKDIR = mkdir -p |
|
38 | MKDIR = mkdir -p | |
39 |
|
39 | |||
40 | ####### Output directory |
|
40 | ####### Output directory | |
41 |
|
41 | |||
42 | OBJECTS_DIR = ./ |
|
42 | OBJECTS_DIR = ./ | |
43 |
|
43 | |||
44 | ####### Files |
|
44 | ####### Files | |
45 |
|
45 | |||
46 | SOURCES = main.cpp \ |
|
46 | SOURCES = main.cpp \ | |
47 | mainwindow.cpp \ |
|
47 | mainwindow.cpp \ | |
48 | mainwindowui.cpp \ |
|
48 | mainwindowui.cpp \ | |
49 | ../common_PLE/qipdialogbox.cpp \ |
|
49 | ../common_PLE/qipdialogbox.cpp \ | |
50 | lfrxmlhandler.cpp \ |
|
50 | lfrxmlhandler.cpp \ | |
51 | lfrxmlwriter.cpp \ |
|
51 | lfrxmlwriter.cpp \ | |
52 | ../rmapplugin/tmstatistics.cpp \ |
|
52 | ../rmapplugin/tmstatistics.cpp \ | |
53 | ../rmapplugin/tmpackettoread.cpp \ |
|
53 | ../rmapplugin/tmpackettoread.cpp \ | |
54 | ../rmapplugin/wfpacket.cpp \ |
|
54 | ../rmapplugin/wfpacket.cpp \ | |
55 | ../common_PLE/hkdisplay.cpp \ |
|
55 | ../common_PLE/hkdisplay.cpp \ | |
56 | lfrxmlparser.cpp \ |
|
56 | lfrxmlparser.cpp \ | |
57 | lfrspectrogram.cpp moc_mainwindow.cpp \ |
|
57 | lfrspectrogram.cpp moc_mainwindow.cpp \ | |
58 | moc_mainwindowui.cpp \ |
|
58 | moc_mainwindowui.cpp \ | |
59 | moc_qipdialogbox.cpp \ |
|
59 | moc_qipdialogbox.cpp \ | |
60 | moc_lfrxmlhandler.cpp \ |
|
60 | moc_lfrxmlhandler.cpp \ | |
61 | moc_lfrxmlwriter.cpp \ |
|
61 | moc_lfrxmlwriter.cpp \ | |
62 | moc_tmstatistics.cpp \ |
|
62 | moc_tmstatistics.cpp \ | |
63 | moc_tmpackettoread.cpp \ |
|
63 | moc_tmpackettoread.cpp \ | |
64 | moc_wfpacket.cpp \ |
|
64 | moc_wfpacket.cpp \ | |
65 | moc_hkdisplay.cpp \ |
|
65 | moc_hkdisplay.cpp \ | |
66 | moc_lfrxmlparser.cpp \ |
|
66 | moc_lfrxmlparser.cpp \ | |
67 | moc_lfrspectrogram.cpp |
|
67 | moc_lfrspectrogram.cpp | |
68 | OBJECTS = main.o \ |
|
68 | OBJECTS = main.o \ | |
69 | mainwindow.o \ |
|
69 | mainwindow.o \ | |
70 | mainwindowui.o \ |
|
70 | mainwindowui.o \ | |
71 | qipdialogbox.o \ |
|
71 | qipdialogbox.o \ | |
72 | lfrxmlhandler.o \ |
|
72 | lfrxmlhandler.o \ | |
73 | lfrxmlwriter.o \ |
|
73 | lfrxmlwriter.o \ | |
74 | tmstatistics.o \ |
|
74 | tmstatistics.o \ | |
75 | tmpackettoread.o \ |
|
75 | tmpackettoread.o \ | |
76 | wfpacket.o \ |
|
76 | wfpacket.o \ | |
77 | hkdisplay.o \ |
|
77 | hkdisplay.o \ | |
78 | lfrxmlparser.o \ |
|
78 | lfrxmlparser.o \ | |
79 | lfrspectrogram.o \ |
|
79 | lfrspectrogram.o \ | |
80 | moc_mainwindow.o \ |
|
80 | moc_mainwindow.o \ | |
81 | moc_mainwindowui.o \ |
|
81 | moc_mainwindowui.o \ | |
82 | moc_qipdialogbox.o \ |
|
82 | moc_qipdialogbox.o \ | |
83 | moc_lfrxmlhandler.o \ |
|
83 | moc_lfrxmlhandler.o \ | |
84 | moc_lfrxmlwriter.o \ |
|
84 | moc_lfrxmlwriter.o \ | |
85 | moc_tmstatistics.o \ |
|
85 | moc_tmstatistics.o \ | |
86 | moc_tmpackettoread.o \ |
|
86 | moc_tmpackettoread.o \ | |
87 | moc_wfpacket.o \ |
|
87 | moc_wfpacket.o \ | |
88 | moc_hkdisplay.o \ |
|
88 | moc_hkdisplay.o \ | |
89 | moc_lfrxmlparser.o \ |
|
89 | moc_lfrxmlparser.o \ | |
90 | moc_lfrspectrogram.o |
|
90 | moc_lfrspectrogram.o | |
91 | DIST = /usr/lib64/qt4/mkspecs/common/unix.conf \ |
|
91 | DIST = /usr/lib64/qt4/mkspecs/common/unix.conf \ | |
92 | /usr/lib64/qt4/mkspecs/common/linux.conf \ |
|
92 | /usr/lib64/qt4/mkspecs/common/linux.conf \ | |
93 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf \ |
|
93 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf \ | |
94 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ |
|
94 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ | |
95 | /usr/lib64/qt4/mkspecs/common/g++-base.conf \ |
|
95 | /usr/lib64/qt4/mkspecs/common/g++-base.conf \ | |
96 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf \ |
|
96 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf \ | |
97 | /usr/lib64/qt4/mkspecs/qconfig.pri \ |
|
97 | /usr/lib64/qt4/mkspecs/qconfig.pri \ | |
98 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \ |
|
98 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \ | |
99 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf \ |
|
99 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf \ | |
100 | /usr/lib64/qt4/mkspecs/features/qt_config.prf \ |
|
100 | /usr/lib64/qt4/mkspecs/features/qt_config.prf \ | |
101 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ |
|
101 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ | |
102 | /usr/lib64/qt4/mkspecs/features/default_pre.prf \ |
|
102 | /usr/lib64/qt4/mkspecs/features/default_pre.prf \ | |
103 | /usr/lib64/qt4/mkspecs/features/release.prf \ |
|
103 | /usr/lib64/qt4/mkspecs/features/release.prf \ | |
104 | /usr/lib64/qt4/mkspecs/features/default_post.prf \ |
|
104 | /usr/lib64/qt4/mkspecs/features/default_post.prf \ | |
105 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ |
|
105 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ | |
106 | /usr/lib64/qt4/mkspecs/features/warn_on.prf \ |
|
106 | /usr/lib64/qt4/mkspecs/features/warn_on.prf \ | |
107 | /usr/lib64/qt4/mkspecs/features/qt.prf \ |
|
107 | /usr/lib64/qt4/mkspecs/features/qt.prf \ | |
108 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf \ |
|
108 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf \ | |
109 | /usr/lib64/qt4/mkspecs/features/moc.prf \ |
|
109 | /usr/lib64/qt4/mkspecs/features/moc.prf \ | |
110 | /usr/lib64/qt4/mkspecs/features/resources.prf \ |
|
110 | /usr/lib64/qt4/mkspecs/features/resources.prf \ | |
111 | /usr/lib64/qt4/mkspecs/features/uic.prf \ |
|
111 | /usr/lib64/qt4/mkspecs/features/uic.prf \ | |
112 | /usr/lib64/qt4/mkspecs/features/yacc.prf \ |
|
112 | /usr/lib64/qt4/mkspecs/features/yacc.prf \ | |
113 | /usr/lib64/qt4/mkspecs/features/lex.prf \ |
|
113 | /usr/lib64/qt4/mkspecs/features/lex.prf \ | |
114 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \ |
|
114 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \ | |
115 | gselesia.pro |
|
115 | gselesia.pro | |
116 | QMAKE_TARGET = lfrsgse |
|
116 | QMAKE_TARGET = lfrsgse | |
117 | DESTDIR = |
|
117 | DESTDIR = | |
118 | TARGET = lfrsgse |
|
118 | TARGET = lfrsgse | |
119 |
|
119 | |||
120 | first: all |
|
120 | first: all | |
121 | ####### Implicit rules |
|
121 | ####### Implicit rules | |
122 |
|
122 | |||
123 | .SUFFIXES: .o .c .cpp .cc .cxx .C |
|
123 | .SUFFIXES: .o .c .cpp .cc .cxx .C | |
124 |
|
124 | |||
125 | .cpp.o: |
|
125 | .cpp.o: | |
126 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
|
126 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | |
127 |
|
127 | |||
128 | .cc.o: |
|
128 | .cc.o: | |
129 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
|
129 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | |
130 |
|
130 | |||
131 | .cxx.o: |
|
131 | .cxx.o: | |
132 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
|
132 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | |
133 |
|
133 | |||
134 | .C.o: |
|
134 | .C.o: | |
135 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
|
135 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | |
136 |
|
136 | |||
137 | .c.o: |
|
137 | .c.o: | |
138 | $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<" |
|
138 | $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<" | |
139 |
|
139 | |||
140 | ####### Build rules |
|
140 | ####### Build rules | |
141 |
|
141 | |||
142 | all: Makefile $(TARGET) |
|
142 | all: Makefile $(TARGET) | |
143 |
|
143 | |||
144 | $(TARGET): $(OBJECTS) |
|
144 | $(TARGET): $(OBJECTS) | |
145 | $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) |
|
145 | $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(OBJCOMP) $(LIBS) | |
146 |
|
146 | |||
147 | Makefile: gselesia.pro /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf /usr/lib64/qt4/mkspecs/common/unix.conf \ |
|
147 | Makefile: gselesia.pro /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf /usr/lib64/qt4/mkspecs/common/unix.conf \ | |
148 | /usr/lib64/qt4/mkspecs/common/linux.conf \ |
|
148 | /usr/lib64/qt4/mkspecs/common/linux.conf \ | |
149 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf \ |
|
149 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf \ | |
150 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ |
|
150 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ | |
151 | /usr/lib64/qt4/mkspecs/common/g++-base.conf \ |
|
151 | /usr/lib64/qt4/mkspecs/common/g++-base.conf \ | |
152 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf \ |
|
152 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf \ | |
153 | /usr/lib64/qt4/mkspecs/qconfig.pri \ |
|
153 | /usr/lib64/qt4/mkspecs/qconfig.pri \ | |
154 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \ |
|
154 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \ | |
155 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf \ |
|
155 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf \ | |
156 | /usr/lib64/qt4/mkspecs/features/qt_config.prf \ |
|
156 | /usr/lib64/qt4/mkspecs/features/qt_config.prf \ | |
157 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ |
|
157 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ | |
158 | /usr/lib64/qt4/mkspecs/features/default_pre.prf \ |
|
158 | /usr/lib64/qt4/mkspecs/features/default_pre.prf \ | |
159 | /usr/lib64/qt4/mkspecs/features/release.prf \ |
|
159 | /usr/lib64/qt4/mkspecs/features/release.prf \ | |
160 | /usr/lib64/qt4/mkspecs/features/default_post.prf \ |
|
160 | /usr/lib64/qt4/mkspecs/features/default_post.prf \ | |
161 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ |
|
161 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ | |
162 | /usr/lib64/qt4/mkspecs/features/warn_on.prf \ |
|
162 | /usr/lib64/qt4/mkspecs/features/warn_on.prf \ | |
163 | /usr/lib64/qt4/mkspecs/features/qt.prf \ |
|
163 | /usr/lib64/qt4/mkspecs/features/qt.prf \ | |
164 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf \ |
|
164 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf \ | |
165 | /usr/lib64/qt4/mkspecs/features/moc.prf \ |
|
165 | /usr/lib64/qt4/mkspecs/features/moc.prf \ | |
166 | /usr/lib64/qt4/mkspecs/features/resources.prf \ |
|
166 | /usr/lib64/qt4/mkspecs/features/resources.prf \ | |
167 | /usr/lib64/qt4/mkspecs/features/uic.prf \ |
|
167 | /usr/lib64/qt4/mkspecs/features/uic.prf \ | |
168 | /usr/lib64/qt4/mkspecs/features/yacc.prf \ |
|
168 | /usr/lib64/qt4/mkspecs/features/yacc.prf \ | |
169 | /usr/lib64/qt4/mkspecs/features/lex.prf \ |
|
169 | /usr/lib64/qt4/mkspecs/features/lex.prf \ | |
170 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \ |
|
170 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \ | |
171 | /usr/lib64/libQtXml.prl \ |
|
171 | /usr/lib64/libQtXml.prl \ | |
172 | /usr/lib64/libQtCore.prl \ |
|
172 | /usr/lib64/libQtCore.prl \ | |
173 | /usr/lib64/libQtGui.prl \ |
|
173 | /usr/lib64/libQtGui.prl \ | |
174 | /usr/lib64/libQtNetwork.prl |
|
174 | /usr/lib64/libQtNetwork.prl | |
175 | $(QMAKE) -o Makefile gselesia.pro |
|
175 | $(QMAKE) -o Makefile gselesia.pro | |
176 | /usr/lib64/qt4/mkspecs/common/unix.conf: |
|
176 | /usr/lib64/qt4/mkspecs/common/unix.conf: | |
177 | /usr/lib64/qt4/mkspecs/common/linux.conf: |
|
177 | /usr/lib64/qt4/mkspecs/common/linux.conf: | |
178 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf: |
|
178 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf: | |
179 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf: |
|
179 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf: | |
180 | /usr/lib64/qt4/mkspecs/common/g++-base.conf: |
|
180 | /usr/lib64/qt4/mkspecs/common/g++-base.conf: | |
181 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf: |
|
181 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf: | |
182 | /usr/lib64/qt4/mkspecs/qconfig.pri: |
|
182 | /usr/lib64/qt4/mkspecs/qconfig.pri: | |
183 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri: |
|
183 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri: | |
184 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf: |
|
184 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf: | |
185 | /usr/lib64/qt4/mkspecs/features/qt_config.prf: |
|
185 | /usr/lib64/qt4/mkspecs/features/qt_config.prf: | |
186 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf: |
|
186 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf: | |
187 | /usr/lib64/qt4/mkspecs/features/default_pre.prf: |
|
187 | /usr/lib64/qt4/mkspecs/features/default_pre.prf: | |
188 | /usr/lib64/qt4/mkspecs/features/release.prf: |
|
188 | /usr/lib64/qt4/mkspecs/features/release.prf: | |
189 | /usr/lib64/qt4/mkspecs/features/default_post.prf: |
|
189 | /usr/lib64/qt4/mkspecs/features/default_post.prf: | |
190 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf: |
|
190 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf: | |
191 | /usr/lib64/qt4/mkspecs/features/warn_on.prf: |
|
191 | /usr/lib64/qt4/mkspecs/features/warn_on.prf: | |
192 | /usr/lib64/qt4/mkspecs/features/qt.prf: |
|
192 | /usr/lib64/qt4/mkspecs/features/qt.prf: | |
193 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf: |
|
193 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf: | |
194 | /usr/lib64/qt4/mkspecs/features/moc.prf: |
|
194 | /usr/lib64/qt4/mkspecs/features/moc.prf: | |
195 | /usr/lib64/qt4/mkspecs/features/resources.prf: |
|
195 | /usr/lib64/qt4/mkspecs/features/resources.prf: | |
196 | /usr/lib64/qt4/mkspecs/features/uic.prf: |
|
196 | /usr/lib64/qt4/mkspecs/features/uic.prf: | |
197 | /usr/lib64/qt4/mkspecs/features/yacc.prf: |
|
197 | /usr/lib64/qt4/mkspecs/features/yacc.prf: | |
198 | /usr/lib64/qt4/mkspecs/features/lex.prf: |
|
198 | /usr/lib64/qt4/mkspecs/features/lex.prf: | |
199 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf: |
|
199 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf: | |
200 | /usr/lib64/libQtXml.prl: |
|
200 | /usr/lib64/libQtXml.prl: | |
201 | /usr/lib64/libQtCore.prl: |
|
201 | /usr/lib64/libQtCore.prl: | |
202 | /usr/lib64/libQtGui.prl: |
|
202 | /usr/lib64/libQtGui.prl: | |
203 | /usr/lib64/libQtNetwork.prl: |
|
203 | /usr/lib64/libQtNetwork.prl: | |
204 | qmake: FORCE |
|
204 | qmake: FORCE | |
205 | @$(QMAKE) -o Makefile gselesia.pro |
|
205 | @$(QMAKE) -o Makefile gselesia.pro | |
206 |
|
206 | |||
207 | dist: |
|
207 | dist: | |
208 | @$(CHK_DIR_EXISTS) .tmp/lfrsgse1.0.0 || $(MKDIR) .tmp/lfrsgse1.0.0 |
|
208 | @$(CHK_DIR_EXISTS) .tmp/lfrsgse1.0.0 || $(MKDIR) .tmp/lfrsgse1.0.0 | |
209 | $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/lfrsgse1.0.0/ && $(COPY_FILE) --parents mainwindow.h mainwindowui.h ../common_PLE/qipdialogbox.h lfrxmlhandler.h lfrxmlwriter.h ../rmapplugin/tmstatistics.h ../rmapplugin/tmpackettoread.h ../rmapplugin/wfpacket.h ../common_PLE/hkdisplay.h ../rmapplugin/params.h ../../DEV_PLE/header/ccsds_types.h lfrxmlparser.h lfrspectrogram.h .tmp/lfrsgse1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp mainwindowui.cpp ../common_PLE/qipdialogbox.cpp lfrxmlhandler.cpp lfrxmlwriter.cpp ../rmapplugin/tmstatistics.cpp ../rmapplugin/tmpackettoread.cpp ../rmapplugin/wfpacket.cpp ../common_PLE/hkdisplay.cpp lfrxmlparser.cpp lfrspectrogram.cpp .tmp/lfrsgse1.0.0/ && (cd `dirname .tmp/lfrsgse1.0.0` && $(TAR) lfrsgse1.0.0.tar lfrsgse1.0.0 && $(COMPRESS) lfrsgse1.0.0.tar) && $(MOVE) `dirname .tmp/lfrsgse1.0.0`/lfrsgse1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/lfrsgse1.0.0 |
|
209 | $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/lfrsgse1.0.0/ && $(COPY_FILE) --parents mainwindow.h mainwindowui.h ../common_PLE/qipdialogbox.h lfrxmlhandler.h lfrxmlwriter.h ../rmapplugin/tmstatistics.h ../rmapplugin/tmpackettoread.h ../rmapplugin/wfpacket.h ../common_PLE/hkdisplay.h ../rmapplugin/params.h ../../DEV_PLE/header/ccsds_types.h lfrxmlparser.h lfrspectrogram.h .tmp/lfrsgse1.0.0/ && $(COPY_FILE) --parents main.cpp mainwindow.cpp mainwindowui.cpp ../common_PLE/qipdialogbox.cpp lfrxmlhandler.cpp lfrxmlwriter.cpp ../rmapplugin/tmstatistics.cpp ../rmapplugin/tmpackettoread.cpp ../rmapplugin/wfpacket.cpp ../common_PLE/hkdisplay.cpp lfrxmlparser.cpp lfrspectrogram.cpp .tmp/lfrsgse1.0.0/ && (cd `dirname .tmp/lfrsgse1.0.0` && $(TAR) lfrsgse1.0.0.tar lfrsgse1.0.0 && $(COMPRESS) lfrsgse1.0.0.tar) && $(MOVE) `dirname .tmp/lfrsgse1.0.0`/lfrsgse1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/lfrsgse1.0.0 | |
210 |
|
210 | |||
211 |
|
211 | |||
212 | clean:compiler_clean |
|
212 | clean:compiler_clean | |
213 | -$(DEL_FILE) $(OBJECTS) |
|
213 | -$(DEL_FILE) $(OBJECTS) | |
214 | -$(DEL_FILE) *~ core *.core |
|
214 | -$(DEL_FILE) *~ core *.core | |
215 |
|
215 | |||
216 |
|
216 | |||
217 | ####### Sub-libraries |
|
217 | ####### Sub-libraries | |
218 |
|
218 | |||
219 | distclean: clean |
|
219 | distclean: clean | |
220 | -$(DEL_FILE) $(TARGET) |
|
220 | -$(DEL_FILE) $(TARGET) | |
221 | -$(DEL_FILE) Makefile |
|
221 | -$(DEL_FILE) Makefile | |
222 |
|
222 | |||
223 |
|
223 | |||
224 | check: first |
|
224 | check: first | |
225 |
|
225 | |||
226 | mocclean: compiler_moc_header_clean compiler_moc_source_clean |
|
226 | mocclean: compiler_moc_header_clean compiler_moc_source_clean | |
227 |
|
227 | |||
228 | mocables: compiler_moc_header_make_all compiler_moc_source_make_all |
|
228 | mocables: compiler_moc_header_make_all compiler_moc_source_make_all | |
229 |
|
229 | |||
230 | compiler_moc_header_make_all: moc_mainwindow.cpp moc_mainwindowui.cpp moc_qipdialogbox.cpp moc_lfrxmlhandler.cpp moc_lfrxmlwriter.cpp moc_tmstatistics.cpp moc_tmpackettoread.cpp moc_wfpacket.cpp moc_hkdisplay.cpp moc_lfrxmlparser.cpp moc_lfrspectrogram.cpp |
|
230 | compiler_moc_header_make_all: moc_mainwindow.cpp moc_mainwindowui.cpp moc_qipdialogbox.cpp moc_lfrxmlhandler.cpp moc_lfrxmlwriter.cpp moc_tmstatistics.cpp moc_tmpackettoread.cpp moc_wfpacket.cpp moc_hkdisplay.cpp moc_lfrxmlparser.cpp moc_lfrspectrogram.cpp | |
231 | compiler_moc_header_clean: |
|
231 | compiler_moc_header_clean: | |
232 | -$(DEL_FILE) moc_mainwindow.cpp moc_mainwindowui.cpp moc_qipdialogbox.cpp moc_lfrxmlhandler.cpp moc_lfrxmlwriter.cpp moc_tmstatistics.cpp moc_tmpackettoread.cpp moc_wfpacket.cpp moc_hkdisplay.cpp moc_lfrxmlparser.cpp moc_lfrspectrogram.cpp |
|
232 | -$(DEL_FILE) moc_mainwindow.cpp moc_mainwindowui.cpp moc_qipdialogbox.cpp moc_lfrxmlhandler.cpp moc_lfrxmlwriter.cpp moc_tmstatistics.cpp moc_tmpackettoread.cpp moc_wfpacket.cpp moc_hkdisplay.cpp moc_lfrxmlparser.cpp moc_lfrspectrogram.cpp | |
233 | moc_mainwindow.cpp: lfrxmlhandler.h \ |
|
233 | moc_mainwindow.cpp: lfrxmlhandler.h \ | |
234 | lfrxmlwriter.h \ |
|
234 | lfrxmlwriter.h \ | |
235 | mainwindowui.h \ |
|
235 | mainwindowui.h \ | |
236 | lfrspectrogram.h \ |
|
236 | lfrspectrogram.h \ | |
237 | lfrxmlparser.h \ |
|
237 | lfrxmlparser.h \ | |
238 | mainwindow.h |
|
238 | mainwindow.h | |
239 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp |
|
239 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) mainwindow.h -o moc_mainwindow.cpp | |
240 |
|
240 | |||
241 | moc_mainwindowui.cpp: lfrspectrogram.h \ |
|
241 | moc_mainwindowui.cpp: lfrspectrogram.h \ | |
242 | mainwindowui.h |
|
242 | mainwindowui.h | |
243 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) mainwindowui.h -o moc_mainwindowui.cpp |
|
243 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) mainwindowui.h -o moc_mainwindowui.cpp | |
244 |
|
244 | |||
245 | moc_qipdialogbox.cpp: ../common_PLE/qipdialogbox.h |
|
245 | moc_qipdialogbox.cpp: ../common_PLE/qipdialogbox.h | |
246 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../common_PLE/qipdialogbox.h -o moc_qipdialogbox.cpp |
|
246 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../common_PLE/qipdialogbox.h -o moc_qipdialogbox.cpp | |
247 |
|
247 | |||
248 | moc_lfrxmlhandler.cpp: lfrxmlhandler.h |
|
248 | moc_lfrxmlhandler.cpp: lfrxmlhandler.h | |
249 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlhandler.h -o moc_lfrxmlhandler.cpp |
|
249 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlhandler.h -o moc_lfrxmlhandler.cpp | |
250 |
|
250 | |||
251 | moc_lfrxmlwriter.cpp: lfrxmlwriter.h |
|
251 | moc_lfrxmlwriter.cpp: lfrxmlwriter.h | |
252 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlwriter.h -o moc_lfrxmlwriter.cpp |
|
252 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlwriter.h -o moc_lfrxmlwriter.cpp | |
253 |
|
253 | |||
254 | moc_tmstatistics.cpp: ../rmapplugin/tmstatistics.h |
|
254 | moc_tmstatistics.cpp: ../rmapplugin/tmstatistics.h | |
255 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/tmstatistics.h -o moc_tmstatistics.cpp |
|
255 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/tmstatistics.h -o moc_tmstatistics.cpp | |
256 |
|
256 | |||
257 | moc_tmpackettoread.cpp: ../rmapplugin/tmpackettoread.h |
|
257 | moc_tmpackettoread.cpp: ../rmapplugin/tmpackettoread.h | |
258 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/tmpackettoread.h -o moc_tmpackettoread.cpp |
|
258 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/tmpackettoread.h -o moc_tmpackettoread.cpp | |
259 |
|
259 | |||
260 | moc_wfpacket.cpp: ../rmapplugin/wfpacket.h |
|
260 | moc_wfpacket.cpp: ../rmapplugin/wfpacket.h | |
261 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/wfpacket.h -o moc_wfpacket.cpp |
|
261 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../rmapplugin/wfpacket.h -o moc_wfpacket.cpp | |
262 |
|
262 | |||
263 | moc_hkdisplay.cpp: ../common_PLE/hkdisplay.h |
|
263 | moc_hkdisplay.cpp: ../common_PLE/hkdisplay.h | |
264 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../common_PLE/hkdisplay.h -o moc_hkdisplay.cpp |
|
264 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) ../common_PLE/hkdisplay.h -o moc_hkdisplay.cpp | |
265 |
|
265 | |||
266 | moc_lfrxmlparser.cpp: lfrxmlparser.h |
|
266 | moc_lfrxmlparser.cpp: lfrxmlparser.h | |
267 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlparser.h -o moc_lfrxmlparser.cpp |
|
267 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrxmlparser.h -o moc_lfrxmlparser.cpp | |
268 |
|
268 | |||
269 | moc_lfrspectrogram.cpp: lfrspectrogram.h |
|
269 | moc_lfrspectrogram.cpp: lfrspectrogram.h | |
270 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrspectrogram.h -o moc_lfrspectrogram.cpp |
|
270 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lfrspectrogram.h -o moc_lfrspectrogram.cpp | |
271 |
|
271 | |||
272 | compiler_rcc_make_all: |
|
272 | compiler_rcc_make_all: | |
273 | compiler_rcc_clean: |
|
273 | compiler_rcc_clean: | |
274 | compiler_image_collection_make_all: qmake_image_collection.cpp |
|
274 | compiler_image_collection_make_all: qmake_image_collection.cpp | |
275 | compiler_image_collection_clean: |
|
275 | compiler_image_collection_clean: | |
276 | -$(DEL_FILE) qmake_image_collection.cpp |
|
276 | -$(DEL_FILE) qmake_image_collection.cpp | |
277 | compiler_moc_source_make_all: |
|
277 | compiler_moc_source_make_all: | |
278 | compiler_moc_source_clean: |
|
278 | compiler_moc_source_clean: | |
279 | compiler_uic_make_all: |
|
279 | compiler_uic_make_all: | |
280 | compiler_uic_clean: |
|
280 | compiler_uic_clean: | |
281 | compiler_yacc_decl_make_all: |
|
281 | compiler_yacc_decl_make_all: | |
282 | compiler_yacc_decl_clean: |
|
282 | compiler_yacc_decl_clean: | |
283 | compiler_yacc_impl_make_all: |
|
283 | compiler_yacc_impl_make_all: | |
284 | compiler_yacc_impl_clean: |
|
284 | compiler_yacc_impl_clean: | |
285 | compiler_lex_make_all: |
|
285 | compiler_lex_make_all: | |
286 | compiler_lex_clean: |
|
286 | compiler_lex_clean: | |
287 | compiler_clean: compiler_moc_header_clean |
|
287 | compiler_clean: compiler_moc_header_clean | |
288 |
|
288 | |||
289 | ####### Compile |
|
289 | ####### Compile | |
290 |
|
290 | |||
291 | main.o: main.cpp mainwindow.h \ |
|
291 | main.o: main.cpp mainwindow.h \ | |
292 | lfrxmlhandler.h \ |
|
292 | lfrxmlhandler.h \ | |
293 | lfrxmlwriter.h \ |
|
293 | lfrxmlwriter.h \ | |
294 | mainwindowui.h \ |
|
294 | mainwindowui.h \ | |
295 | lfrspectrogram.h \ |
|
295 | lfrspectrogram.h \ | |
296 | lfrxmlparser.h |
|
296 | lfrxmlparser.h | |
297 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp |
|
297 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o main.o main.cpp | |
298 |
|
298 | |||
299 | mainwindow.o: mainwindow.cpp mainwindow.h \ |
|
299 | mainwindow.o: mainwindow.cpp mainwindow.h \ | |
300 | lfrxmlhandler.h \ |
|
300 | lfrxmlhandler.h \ | |
301 | lfrxmlwriter.h \ |
|
301 | lfrxmlwriter.h \ | |
302 | mainwindowui.h \ |
|
302 | mainwindowui.h \ | |
303 | lfrspectrogram.h \ |
|
303 | lfrspectrogram.h \ | |
304 | lfrxmlparser.h |
|
304 | lfrxmlparser.h | |
305 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp |
|
305 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindow.o mainwindow.cpp | |
306 |
|
306 | |||
307 | mainwindowui.o: mainwindowui.cpp mainwindowui.h \ |
|
307 | mainwindowui.o: mainwindowui.cpp mainwindowui.h \ | |
308 | lfrspectrogram.h |
|
308 | lfrspectrogram.h | |
309 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindowui.o mainwindowui.cpp |
|
309 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o mainwindowui.o mainwindowui.cpp | |
310 |
|
310 | |||
311 | qipdialogbox.o: ../common_PLE/qipdialogbox.cpp ../common_PLE/qipdialogbox.h |
|
311 | qipdialogbox.o: ../common_PLE/qipdialogbox.cpp ../common_PLE/qipdialogbox.h | |
312 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qipdialogbox.o ../common_PLE/qipdialogbox.cpp |
|
312 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qipdialogbox.o ../common_PLE/qipdialogbox.cpp | |
313 |
|
313 | |||
314 | lfrxmlhandler.o: lfrxmlhandler.cpp lfrxmlhandler.h |
|
314 | lfrxmlhandler.o: lfrxmlhandler.cpp lfrxmlhandler.h | |
315 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlhandler.o lfrxmlhandler.cpp |
|
315 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlhandler.o lfrxmlhandler.cpp | |
316 |
|
316 | |||
317 | lfrxmlwriter.o: lfrxmlwriter.cpp lfrxmlwriter.h |
|
317 | lfrxmlwriter.o: lfrxmlwriter.cpp lfrxmlwriter.h | |
318 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlwriter.o lfrxmlwriter.cpp |
|
318 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlwriter.o lfrxmlwriter.cpp | |
319 |
|
319 | |||
320 | tmstatistics.o: ../rmapplugin/tmstatistics.cpp ../rmapplugin/tmstatistics.h |
|
320 | tmstatistics.o: ../rmapplugin/tmstatistics.cpp ../rmapplugin/tmstatistics.h | |
321 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmstatistics.o ../rmapplugin/tmstatistics.cpp |
|
321 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmstatistics.o ../rmapplugin/tmstatistics.cpp | |
322 |
|
322 | |||
323 | tmpackettoread.o: ../rmapplugin/tmpackettoread.cpp ../rmapplugin/tmpackettoread.h |
|
323 | tmpackettoread.o: ../rmapplugin/tmpackettoread.cpp ../rmapplugin/tmpackettoread.h | |
324 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmpackettoread.o ../rmapplugin/tmpackettoread.cpp |
|
324 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o tmpackettoread.o ../rmapplugin/tmpackettoread.cpp | |
325 |
|
325 | |||
326 | wfpacket.o: ../rmapplugin/wfpacket.cpp ../rmapplugin/wfpacket.h |
|
326 | wfpacket.o: ../rmapplugin/wfpacket.cpp ../rmapplugin/wfpacket.h | |
327 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfpacket.o ../rmapplugin/wfpacket.cpp |
|
327 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfpacket.o ../rmapplugin/wfpacket.cpp | |
328 |
|
328 | |||
329 | hkdisplay.o: ../common_PLE/hkdisplay.cpp ../common_PLE/hkdisplay.h |
|
329 | hkdisplay.o: ../common_PLE/hkdisplay.cpp ../common_PLE/hkdisplay.h | |
330 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o hkdisplay.o ../common_PLE/hkdisplay.cpp |
|
330 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o hkdisplay.o ../common_PLE/hkdisplay.cpp | |
331 |
|
331 | |||
332 | lfrxmlparser.o: lfrxmlparser.cpp lfrxmlparser.h |
|
332 | lfrxmlparser.o: lfrxmlparser.cpp lfrxmlparser.h | |
333 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlparser.o lfrxmlparser.cpp |
|
333 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrxmlparser.o lfrxmlparser.cpp | |
334 |
|
334 | |||
335 | lfrspectrogram.o: lfrspectrogram.cpp lfrspectrogram.h |
|
335 | lfrspectrogram.o: lfrspectrogram.cpp lfrspectrogram.h | |
336 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrspectrogram.o lfrspectrogram.cpp |
|
336 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lfrspectrogram.o lfrspectrogram.cpp | |
337 |
|
337 | |||
338 | moc_mainwindow.o: moc_mainwindow.cpp |
|
338 | moc_mainwindow.o: moc_mainwindow.cpp | |
339 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp |
|
339 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindow.o moc_mainwindow.cpp | |
340 |
|
340 | |||
341 | moc_mainwindowui.o: moc_mainwindowui.cpp |
|
341 | moc_mainwindowui.o: moc_mainwindowui.cpp | |
342 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindowui.o moc_mainwindowui.cpp |
|
342 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_mainwindowui.o moc_mainwindowui.cpp | |
343 |
|
343 | |||
344 | moc_qipdialogbox.o: moc_qipdialogbox.cpp |
|
344 | moc_qipdialogbox.o: moc_qipdialogbox.cpp | |
345 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_qipdialogbox.o moc_qipdialogbox.cpp |
|
345 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_qipdialogbox.o moc_qipdialogbox.cpp | |
346 |
|
346 | |||
347 | moc_lfrxmlhandler.o: moc_lfrxmlhandler.cpp |
|
347 | moc_lfrxmlhandler.o: moc_lfrxmlhandler.cpp | |
348 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlhandler.o moc_lfrxmlhandler.cpp |
|
348 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlhandler.o moc_lfrxmlhandler.cpp | |
349 |
|
349 | |||
350 | moc_lfrxmlwriter.o: moc_lfrxmlwriter.cpp |
|
350 | moc_lfrxmlwriter.o: moc_lfrxmlwriter.cpp | |
351 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlwriter.o moc_lfrxmlwriter.cpp |
|
351 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlwriter.o moc_lfrxmlwriter.cpp | |
352 |
|
352 | |||
353 | moc_tmstatistics.o: moc_tmstatistics.cpp |
|
353 | moc_tmstatistics.o: moc_tmstatistics.cpp | |
354 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tmstatistics.o moc_tmstatistics.cpp |
|
354 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tmstatistics.o moc_tmstatistics.cpp | |
355 |
|
355 | |||
356 | moc_tmpackettoread.o: moc_tmpackettoread.cpp |
|
356 | moc_tmpackettoread.o: moc_tmpackettoread.cpp | |
357 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tmpackettoread.o moc_tmpackettoread.cpp |
|
357 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_tmpackettoread.o moc_tmpackettoread.cpp | |
358 |
|
358 | |||
359 | moc_wfpacket.o: moc_wfpacket.cpp |
|
359 | moc_wfpacket.o: moc_wfpacket.cpp | |
360 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfpacket.o moc_wfpacket.cpp |
|
360 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfpacket.o moc_wfpacket.cpp | |
361 |
|
361 | |||
362 | moc_hkdisplay.o: moc_hkdisplay.cpp |
|
362 | moc_hkdisplay.o: moc_hkdisplay.cpp | |
363 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_hkdisplay.o moc_hkdisplay.cpp |
|
363 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_hkdisplay.o moc_hkdisplay.cpp | |
364 |
|
364 | |||
365 | moc_lfrxmlparser.o: moc_lfrxmlparser.cpp |
|
365 | moc_lfrxmlparser.o: moc_lfrxmlparser.cpp | |
366 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlparser.o moc_lfrxmlparser.cpp |
|
366 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrxmlparser.o moc_lfrxmlparser.cpp | |
367 |
|
367 | |||
368 | moc_lfrspectrogram.o: moc_lfrspectrogram.cpp |
|
368 | moc_lfrspectrogram.o: moc_lfrspectrogram.cpp | |
369 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrspectrogram.o moc_lfrspectrogram.cpp |
|
369 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lfrspectrogram.o moc_lfrspectrogram.cpp | |
370 |
|
370 | |||
371 | ####### Install |
|
371 | ####### Install | |
372 |
|
372 | |||
373 | install: FORCE |
|
373 | install: FORCE | |
374 |
|
374 | |||
375 | uninstall: FORCE |
|
375 | uninstall: FORCE | |
376 |
|
376 | |||
377 | FORCE: |
|
377 | FORCE: | |
378 |
|
378 |
@@ -1,215 +1,215 | |||||
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-07- |
|
3 | <!-- Written by Qt Creator 2.4.1, 2013-07-12T14:03: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">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">false</value> |
|
66 | <value type="bool" key="QtProjectManager.QMakeBuildStep.LinkQmlDebuggingLibraryAuto">false</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.3 in PATH (System) Release</value> |
|
100 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Qt 4.8.3 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">/home/admin/opt/LPPMON_PLUGINS_PLE/gse_lesia</value> |
|
104 | <value type="QString" key="Qt4ProjectManager.Qt4BuildConfiguration.BuildDirectory">/home/admin/opt/LPPMON_PLUGINS_PLE/gse_lesia</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 | <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">1</value> |
|
108 | <value type="int" key="ProjectExplorer.Target.BuildConfigurationCount">1</value> | |
109 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> |
|
109 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.DeployConfiguration.0"> | |
110 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> |
|
110 | <valuemap type="QVariantMap" key="ProjectExplorer.BuildConfiguration.BuildStepList.0"> | |
111 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> |
|
111 | <value type="int" key="ProjectExplorer.BuildStepList.StepsCount">0</value> | |
112 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</value> |
|
112 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">Deploy</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">ProjectExplorer.BuildSteps.Deploy</value> |
|
114 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.BuildSteps.Deploy</value> | |
115 | </valuemap> |
|
115 | </valuemap> | |
116 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> |
|
116 | <value type="int" key="ProjectExplorer.BuildConfiguration.BuildStepListCount">1</value> | |
117 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value> |
|
117 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">No deployment</value> | |
118 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
118 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
119 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> |
|
119 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">ProjectExplorer.DefaultDeployConfiguration</value> | |
120 | </valuemap> |
|
120 | </valuemap> | |
121 | <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> |
|
121 | <value type="int" key="ProjectExplorer.Target.DeployConfigurationCount">1</value> | |
122 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> |
|
122 | <valuemap type="QVariantMap" key="ProjectExplorer.Target.RunConfiguration.0"> | |
123 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> |
|
123 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> | |
124 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> |
|
124 | <value type="bool" key="Analyzer.Project.UseGlobal">true</value> | |
125 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> |
|
125 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> | |
126 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> |
|
126 | <valuelist type="QVariantList" key="Analyzer.Valgrind.AddedSuppressionFiles"/> | |
127 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> |
|
127 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> | |
128 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> |
|
128 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectBusEvents">false</value> | |
129 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> |
|
129 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> | |
130 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> |
|
130 | <value type="bool" key="Analyzer.Valgrind.Callgrind.CollectSystime">false</value> | |
131 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> |
|
131 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> | |
132 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> |
|
132 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableBranchSim">false</value> | |
133 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> |
|
133 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> | |
134 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> |
|
134 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableCacheSim">false</value> | |
135 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> |
|
135 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> | |
136 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> |
|
136 | <value type="bool" key="Analyzer.Valgrind.Callgrind.EnableEventToolTips">true</value> | |
137 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> |
|
137 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> | |
138 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> |
|
138 | <value type="double" key="Analyzer.Valgrind.Callgrind.MinimumCostRatio">0.01</value> | |
139 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> |
|
139 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> | |
140 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> |
|
140 | <value type="double" key="Analyzer.Valgrind.Callgrind.VisualisationMinimumCostRatio">10</value> | |
141 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> |
|
141 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> | |
142 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> |
|
142 | <value type="bool" key="Analyzer.Valgrind.FilterExternalIssues">true</value> | |
143 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> |
|
143 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> | |
144 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> |
|
144 | <value type="int" key="Analyzer.Valgrind.NumCallers">25</value> | |
145 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> |
|
145 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> | |
146 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> |
|
146 | <valuelist type="QVariantList" key="Analyzer.Valgrind.RemovedSuppressionFiles"/> | |
147 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> |
|
147 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> | |
148 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> |
|
148 | <value type="bool" key="Analyzer.Valgrind.TrackOrigins">true</value> | |
149 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> |
|
149 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> | |
150 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> |
|
150 | <value type="QString" key="Analyzer.Valgrind.ValgrindExecutable">valgrind</value> | |
151 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> |
|
151 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> | |
152 | <value type="int">0</value> |
|
152 | <value type="int">0</value> | |
153 | <value type="int">1</value> |
|
153 | <value type="int">1</value> | |
154 | <value type="int">2</value> |
|
154 | <value type="int">2</value> | |
155 | <value type="int">3</value> |
|
155 | <value type="int">3</value> | |
156 | <value type="int">4</value> |
|
156 | <value type="int">4</value> | |
157 | <value type="int">5</value> |
|
157 | <value type="int">5</value> | |
158 | <value type="int">6</value> |
|
158 | <value type="int">6</value> | |
159 | <value type="int">7</value> |
|
159 | <value type="int">7</value> | |
160 | <value type="int">8</value> |
|
160 | <value type="int">8</value> | |
161 | <value type="int">9</value> |
|
161 | <value type="int">9</value> | |
162 | <value type="int">10</value> |
|
162 | <value type="int">10</value> | |
163 | <value type="int">11</value> |
|
163 | <value type="int">11</value> | |
164 | <value type="int">12</value> |
|
164 | <value type="int">12</value> | |
165 | <value type="int">13</value> |
|
165 | <value type="int">13</value> | |
166 | <value type="int">14</value> |
|
166 | <value type="int">14</value> | |
167 | </valuelist> |
|
167 | </valuelist> | |
168 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> |
|
168 | <valuelist type="QVariantList" key="Analyzer.Valgrind.VisibleErrorKinds"> | |
169 | <value type="int">0</value> |
|
169 | <value type="int">0</value> | |
170 | <value type="int">1</value> |
|
170 | <value type="int">1</value> | |
171 | <value type="int">2</value> |
|
171 | <value type="int">2</value> | |
172 | <value type="int">3</value> |
|
172 | <value type="int">3</value> | |
173 | <value type="int">4</value> |
|
173 | <value type="int">4</value> | |
174 | <value type="int">5</value> |
|
174 | <value type="int">5</value> | |
175 | <value type="int">6</value> |
|
175 | <value type="int">6</value> | |
176 | <value type="int">7</value> |
|
176 | <value type="int">7</value> | |
177 | <value type="int">8</value> |
|
177 | <value type="int">8</value> | |
178 | <value type="int">9</value> |
|
178 | <value type="int">9</value> | |
179 | <value type="int">10</value> |
|
179 | <value type="int">10</value> | |
180 | <value type="int">11</value> |
|
180 | <value type="int">11</value> | |
181 | <value type="int">12</value> |
|
181 | <value type="int">12</value> | |
182 | <value type="int">13</value> |
|
182 | <value type="int">13</value> | |
183 | <value type="int">14</value> |
|
183 | <value type="int">14</value> | |
184 | </valuelist> |
|
184 | </valuelist> | |
185 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">gselesia</value> |
|
185 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DefaultDisplayName">gselesia</value> | |
186 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> |
|
186 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.DisplayName"></value> | |
187 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration</value> |
|
187 | <value type="QString" key="ProjectExplorer.ProjectConfiguration.Id">Qt4ProjectManager.Qt4RunConfiguration</value> | |
188 | <value type="int" key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase">2</value> |
|
188 | <value type="int" key="Qt4ProjectManager.Qt4RunConfiguration.BaseEnvironmentBase">2</value> | |
189 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value> |
|
189 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.CommandLineArguments"></value> | |
190 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">gselesia.pro</value> |
|
190 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.ProFile">gselesia.pro</value> | |
191 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value> |
|
191 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseDyldImageSuffix">false</value> | |
192 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value> |
|
192 | <value type="bool" key="Qt4ProjectManager.Qt4RunConfiguration.UseTerminal">false</value> | |
193 | <valuelist type="QVariantList" key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges"/> |
|
193 | <valuelist type="QVariantList" key="Qt4ProjectManager.Qt4RunConfiguration.UserEnvironmentChanges"/> | |
194 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value> |
|
194 | <value type="QString" key="Qt4ProjectManager.Qt4RunConfiguration.UserWorkingDirectory"></value> | |
195 | <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> |
|
195 | <value type="uint" key="RunConfiguration.QmlDebugServerPort">3768</value> | |
196 | <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> |
|
196 | <value type="bool" key="RunConfiguration.UseCppDebugger">true</value> | |
197 | <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> |
|
197 | <value type="bool" key="RunConfiguration.UseQmlDebugger">false</value> | |
198 | <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value> |
|
198 | <value type="bool" key="RunConfiguration.UseQmlDebuggerAuto">false</value> | |
199 | </valuemap> |
|
199 | </valuemap> | |
200 | <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value> |
|
200 | <value type="int" key="ProjectExplorer.Target.RunConfigurationCount">1</value> | |
201 | </valuemap> |
|
201 | </valuemap> | |
202 | </data> |
|
202 | </data> | |
203 | <data> |
|
203 | <data> | |
204 | <variable>ProjectExplorer.Project.TargetCount</variable> |
|
204 | <variable>ProjectExplorer.Project.TargetCount</variable> | |
205 | <value type="int">1</value> |
|
205 | <value type="int">1</value> | |
206 | </data> |
|
206 | </data> | |
207 | <data> |
|
207 | <data> | |
208 | <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable> |
|
208 | <variable>ProjectExplorer.Project.Updater.EnvironmentId</variable> | |
209 | <value type="QString">{cdbf9cdc-1e84-406e-889b-c4feef49e75c}</value> |
|
209 | <value type="QString">{cdbf9cdc-1e84-406e-889b-c4feef49e75c}</value> | |
210 | </data> |
|
210 | </data> | |
211 | <data> |
|
211 | <data> | |
212 | <variable>ProjectExplorer.Project.Updater.FileVersion</variable> |
|
212 | <variable>ProjectExplorer.Project.Updater.FileVersion</variable> | |
213 | <value type="int">10</value> |
|
213 | <value type="int">10</value> | |
214 | </data> |
|
214 | </data> | |
215 | </qtcreator> |
|
215 | </qtcreator> |
1 | NO CONTENT: modified file, binary diff hidden |
|
NO CONTENT: modified file, binary diff hidden |
@@ -1,65 +1,89 | |||||
1 | #include "lfrxmlparser.h" |
|
1 | #include "lfrxmlparser.h" | |
2 |
|
2 | |||
3 | LFRXmlParser::LFRXmlParser(QObject *parent) : |
|
3 | LFRXmlParser::LFRXmlParser(QObject *parent) : | |
4 | QObject(parent) |
|
4 | QObject(parent) | |
5 | { |
|
5 | { | |
6 | } |
|
6 | } | |
7 |
|
7 | |||
8 | void LFRXmlParser::processIncomingStr(QString incomingStr) |
|
8 | void LFRXmlParser::processIncomingStr(QString incomingStr) | |
9 | { |
|
9 | { | |
10 | int indexOfStartStr; |
|
10 | int indexOfStartStr; | |
11 | int indexOfStopStr; |
|
11 | int indexOfStopStr; | |
12 | int result; |
|
12 | int result; | |
13 | QString eventBinaryStr; |
|
13 | QString eventBinaryStr; | |
14 | QString startStr = "<EventBinary>"; |
|
14 | QString startStr = "<EventBinary>"; | |
15 | QString stopStr = "</EventBinary>"; |
|
15 | QString stopStr = "</EventBinary>"; | |
16 |
|
16 | |||
17 | xmlBuffer.append(incomingStr); |
|
17 | xmlBuffer.append(incomingStr); | |
18 |
|
18 | |||
19 | result = findPattern( startStr, stopStr, &indexOfStartStr, &indexOfStopStr); |
|
19 | result = findPattern( startStr, stopStr, &indexOfStartStr, &indexOfStopStr); | |
20 | while( result !=-1 ) |
|
20 | while( result !=-1 ) | |
21 | { |
|
21 | { | |
22 | eventBinaryStr = xmlBuffer.mid( |
|
22 | eventBinaryStr = xmlBuffer.mid( | |
23 | indexOfStartStr + startStr.size(), |
|
23 | indexOfStartStr + startStr.size(), | |
24 | indexOfStopStr - (indexOfStartStr + startStr.size() ) ); |
|
24 | indexOfStopStr - (indexOfStartStr + startStr.size() ) ); | |
25 | processIncomingData( eventBinaryStr ); |
|
25 | processIncomingDataLESIA( eventBinaryStr ); | |
26 | xmlBuffer.remove(0, indexOfStopStr + stopStr.size()); |
|
26 | xmlBuffer.remove(0, indexOfStopStr + stopStr.size()); | |
27 | result = findPattern( startStr, stopStr, &indexOfStartStr, &indexOfStopStr); |
|
27 | result = findPattern( startStr, stopStr, &indexOfStartStr, &indexOfStopStr); | |
28 | } |
|
28 | } | |
29 | emit processPacketStore(); |
|
29 | emit processPacketStore(); | |
30 | } |
|
30 | } | |
31 |
|
31 | |||
32 | int LFRXmlParser::findPattern(QString startStr, QString stopStr, int *indexOfStartStr, int *indexOfStopStr) |
|
32 | int LFRXmlParser::findPattern(QString startStr, QString stopStr, int *indexOfStartStr, int *indexOfStopStr) | |
33 | { |
|
33 | { | |
34 | *indexOfStartStr = xmlBuffer.indexOf(startStr); |
|
34 | *indexOfStartStr = xmlBuffer.indexOf(startStr); | |
35 | *indexOfStopStr = xmlBuffer.indexOf(stopStr); |
|
35 | *indexOfStopStr = xmlBuffer.indexOf(stopStr); | |
36 |
|
36 | |||
37 | if ( (*indexOfStartStr==-1) | (*indexOfStopStr==-1) | (*indexOfStartStr > *indexOfStopStr) ) |
|
37 | if ( (*indexOfStartStr==-1) | (*indexOfStopStr==-1) | (*indexOfStartStr > *indexOfStopStr) ) | |
38 | { |
|
38 | { | |
39 | return -1; |
|
39 | return -1; | |
40 | } |
|
40 | } | |
41 | else |
|
41 | else | |
42 | { |
|
42 | { | |
43 | return 0; |
|
43 | return 0; | |
44 | } |
|
44 | } | |
45 | } |
|
45 | } | |
46 |
|
46 | |||
47 | void LFRXmlParser::processIncomingData(const QString &ch) |
|
47 | void LFRXmlParser::processIncomingData(const QString &ch) | |
48 | { |
|
48 | { | |
49 | QByteArray newdat; |
|
49 | QByteArray newdat; | |
50 | char *values; |
|
50 | char *values; | |
51 | unsigned char *ccsdsData; |
|
51 | unsigned char *ccsdsData; | |
52 | unsigned int ccsdsSize = 0; |
|
52 | unsigned int ccsdsSize = 0; | |
53 |
|
53 | |||
54 | TMPacketToRead *incomingPacket; |
|
54 | TMPacketToRead *incomingPacket; | |
55 |
|
55 | |||
56 | newdat = QByteArray::fromHex(ch.toAscii()); |
|
56 | newdat = QByteArray::fromHex(ch.toAscii()); | |
57 |
|
57 | |||
58 | values = (char*) newdat.data(); |
|
58 | values = (char*) newdat.data(); | |
59 | ccsdsSize = newdat.size(); |
|
59 | ccsdsSize = newdat.size(); | |
60 | ccsdsData = (unsigned char *) values; |
|
60 | ccsdsData = (unsigned char *) values; | |
61 |
|
61 | |||
62 | incomingPacket = new TMPacketToRead(ccsdsData, ccsdsSize); |
|
62 | incomingPacket = new TMPacketToRead(ccsdsData, ccsdsSize); | |
63 |
|
63 | |||
64 | generalCCSDSPacketStore->append(incomingPacket); |
|
64 | generalCCSDSPacketStore->append(incomingPacket); | |
65 | } |
|
65 | } | |
|
66 | ||||
|
67 | void LFRXmlParser::processIncomingDataLESIA(const QString &ch) | |||
|
68 | { | |||
|
69 | QByteArray newdat; | |||
|
70 | char *values; | |||
|
71 | unsigned char *ccsdsData; | |||
|
72 | unsigned int ccsdsSize = 0; | |||
|
73 | ||||
|
74 | TMPacketToRead *incomingPacket; | |||
|
75 | ||||
|
76 | newdat = QByteArray::fromHex(ch.toAscii()); | |||
|
77 | newdat.prepend((char) 1); | |||
|
78 | newdat.prepend((char) 2); | |||
|
79 | newdat.prepend((char) 0); | |||
|
80 | newdat.prepend((char) 0); | |||
|
81 | ||||
|
82 | values = (char*) newdat.data(); | |||
|
83 | ccsdsSize = newdat.size(); | |||
|
84 | ccsdsData = (unsigned char *) values; | |||
|
85 | ||||
|
86 | incomingPacket = new TMPacketToRead(ccsdsData, ccsdsSize); | |||
|
87 | ||||
|
88 | generalCCSDSPacketStore->append(incomingPacket); | |||
|
89 | } |
@@ -1,28 +1,29 | |||||
1 | #ifndef LFRXMLPARSER_H |
|
1 | #ifndef LFRXMLPARSER_H | |
2 | #define LFRXMLPARSER_H |
|
2 | #define LFRXMLPARSER_H | |
3 |
|
3 | |||
4 | #include <QObject> |
|
4 | #include <QObject> | |
5 | #include <tmpackettoread.h> |
|
5 | #include <tmpackettoread.h> | |
6 |
|
6 | |||
7 | class LFRXmlParser : public QObject |
|
7 | class LFRXmlParser : public QObject | |
8 | { |
|
8 | { | |
9 | Q_OBJECT |
|
9 | Q_OBJECT | |
10 | public: |
|
10 | public: | |
11 | explicit LFRXmlParser(QObject *parent = 0); |
|
11 | explicit LFRXmlParser(QObject *parent = 0); | |
12 | void processIncomingStr(QString incomingStr); |
|
12 | void processIncomingStr(QString incomingStr); | |
13 | int findPattern(QString startStr, QString stopStr, int *indexOfStartStr, int *indexOfStopStr); |
|
13 | int findPattern(QString startStr, QString stopStr, int *indexOfStartStr, int *indexOfStopStr); | |
14 | void processIncomingData(const QString &ch); |
|
14 | void processIncomingData(const QString &ch); | |
|
15 | void processIncomingDataLESIA(const QString &ch); | |||
15 | QList<TMPacketToRead*> *generalCCSDSPacketStore; |
|
16 | QList<TMPacketToRead*> *generalCCSDSPacketStore; | |
16 |
|
17 | |||
17 | signals: |
|
18 | signals: | |
18 | void sendMessage(QString); |
|
19 | void sendMessage(QString); | |
19 | void processPacketStore(); |
|
20 | void processPacketStore(); | |
20 |
|
21 | |||
21 | public slots: |
|
22 | public slots: | |
22 |
|
23 | |||
23 | private: |
|
24 | private: | |
24 | QString xmlBuffer; |
|
25 | QString xmlBuffer; | |
25 |
|
26 | |||
26 | }; |
|
27 | }; | |
27 |
|
28 | |||
28 | #endif // LFRXMLPARSER_H |
|
29 | #endif // LFRXMLPARSER_H |
@@ -1,498 +1,580 | |||||
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 | //**** |
|
12 | //**** | |
13 | // XML |
|
13 | // XML | |
14 | // xml handlers |
|
14 | // xml handlers | |
15 | xmlHandler = new LFRXmlHandler(); |
|
15 | xmlHandler = new LFRXmlHandler(); | |
16 | // xml sources |
|
16 | // xml sources | |
17 | sourceTC = new QXmlInputSource(); |
|
17 | sourceTC = new QXmlInputSource(); | |
18 | // xml writer |
|
18 | // xml writer | |
19 | lfrXmlWriter = new LFRXmlWriter(); |
|
19 | lfrXmlWriter = new LFRXmlWriter(); | |
20 | // setup xml parser for the echo bridge |
|
20 | // setup xml parser for the echo bridge | |
21 | lfrXmlParser = new LFRXmlParser(); |
|
21 | lfrXmlParser = new LFRXmlParser(); | |
22 |
|
22 | |||
23 | UI = new MainWindowUI(); |
|
23 | UI = new MainWindowUI(); | |
24 | readSettings(); |
|
24 | readSettings(); | |
25 | this->UI->serverTMEchoDialogBox->setIP(echoBridgeIP0, echoBridgeIP1, echoBridgeIP2, echoBridgeIP3); |
|
25 | this->UI->serverTMEchoDialogBox->setIP(echoBridgeIP0, echoBridgeIP1, echoBridgeIP2, echoBridgeIP3); | |
26 |
|
26 | |||
27 | lfrXmlParser->generalCCSDSPacketStore = &this->generalCCSDSPacketStore; |
|
27 | lfrXmlParser->generalCCSDSPacketStore = &this->generalCCSDSPacketStore; | |
28 |
|
28 | |||
29 | initSocketStatesList(); |
|
29 | initSocketStatesList(); | |
30 |
|
30 | |||
31 | this->setCentralWidget(this->UI); |
|
31 | this->setCentralWidget(this->UI); | |
32 | //this->setLayout(UI->layout()); |
|
32 | //this->setLayout(UI->layout()); | |
33 |
|
33 | |||
34 | analyserSGSEServerTC = new QTcpServer(); |
|
34 | analyserSGSEServerTC = new QTcpServer(); | |
35 | analyserSGSEServerTM = new QTcpServer(); |
|
35 | analyserSGSEServerTM = new QTcpServer(); | |
36 |
|
36 | |||
37 | socketTC = NULL; |
|
37 | socketTC = NULL; | |
38 | socketTM = NULL; |
|
38 | socketTM = NULL; | |
39 | socketEchoServer = new QTcpSocket(); |
|
39 | socketEchoServer = new QTcpSocket(); | |
40 |
|
40 | |||
41 | connect(this->UI->button_openServerTCTM, SIGNAL(clicked()), this, SLOT(listenOnTCTMPorts())); |
|
41 | connect(this->UI->button_openServerTCTM, SIGNAL(clicked()), this, SLOT(listenOnTCTMPorts())); | |
42 | connect(this->UI->button_testServerTCTM, SIGNAL(clicked()), this, SLOT(testTCTMPorts())); |
|
42 | connect(this->UI->button_testServerTCTM, SIGNAL(clicked()), this, SLOT(testTCTMPorts())); | |
43 | connect(this->UI->button_openSocketEchoServer, SIGNAL(clicked()), this, SLOT(openEchoServer())); |
|
43 | connect(this->UI->button_openSocketEchoServer, SIGNAL(clicked()), this, SLOT(openEchoServer())); | |
44 | // |
|
44 | // | |
45 | connect(this->analyserSGSEServerTC, SIGNAL(newConnection()), this, SLOT(newConnectionOnTCServer())); |
|
45 | connect(this->analyserSGSEServerTC, SIGNAL(newConnection()), this, SLOT(newConnectionOnTCServer())); | |
46 | connect(this->analyserSGSEServerTM, SIGNAL(newConnection()), this, SLOT(newConnectionOnTMServer())); |
|
46 | connect(this->analyserSGSEServerTM, SIGNAL(newConnection()), this, SLOT(newConnectionOnTMServer())); | |
47 | // |
|
47 | // | |
48 | connect(this, SIGNAL(socketTMHasChanged(QTcpSocket*)), this->lfrXmlWriter, SLOT(setSocketTM(QTcpSocket*))); |
|
48 | connect(this, SIGNAL(socketTMHasChanged(QTcpSocket*)), this->lfrXmlWriter, SLOT(setSocketTM(QTcpSocket*))); | |
49 | connect(this->UI->button_TCAcknowledgement, SIGNAL(clicked()), this->lfrXmlWriter, SLOT(sendXML_TC_Acknowledgment())); |
|
49 | connect(this->UI->button_TCAcknowledgement, SIGNAL(clicked()), this->lfrXmlWriter, SLOT(sendXML_TC_Acknowledgment())); | |
50 | connect(this->UI->button_TCRejection, SIGNAL(clicked()), this->lfrXmlWriter, SLOT(sendXML_TC_rejection())); |
|
50 | connect(this->UI->button_TCRejection, SIGNAL(clicked()), this->lfrXmlWriter, SLOT(sendXML_TC_rejection())); | |
51 | connect(this->UI->button_GSEHK, SIGNAL(clicked()), this->lfrXmlWriter, SLOT(sendXML_GSE_HK())); |
|
51 | connect(this->UI->button_GSEHK, SIGNAL(clicked()), this->lfrXmlWriter, SLOT(sendXML_GSE_HK())); | |
52 |
|
52 | |||
53 | // socket echo server |
|
53 | // socket echo server | |
54 | connect(this->socketEchoServer, SIGNAL(stateChanged(QAbstractSocket::SocketState)), |
|
54 | connect(this->socketEchoServer, SIGNAL(stateChanged(QAbstractSocket::SocketState)), | |
55 | this, SLOT(socket_TMEcho_ServerHasChanged())); |
|
55 | this, SLOT(socket_TMEcho_ServerHasChanged())); | |
56 | connect(this->socketEchoServer, SIGNAL(readyRead()), |
|
56 | connect(this->socketEchoServer, SIGNAL(readyRead()), | |
57 | this, SLOT(readDataOnSocketEchoServer())); |
|
57 | this, SLOT(readDataOnSocketEchoServer())); | |
58 |
|
58 | |||
59 | // display on console |
|
59 | // display on console | |
60 | connect(this->xmlHandler, SIGNAL(displayMessage(QString)), |
|
60 | connect(this->xmlHandler, SIGNAL(displayMessage(QString)), | |
61 | this, SLOT(displayOnConsole(QString))); |
|
61 | this, SLOT(displayOnConsole(QString))); | |
62 | connect(this->UI->hkDisplay, SIGNAL(displayMessage(QString)), |
|
62 | connect(this->UI->hkDisplay, SIGNAL(displayMessage(QString)), | |
63 | this, SLOT(displayOnConsole(QString))); |
|
63 | this, SLOT(displayOnConsole(QString))); | |
64 | connect(this->lfrXmlParser, SIGNAL(sendMessage(QString)), |
|
64 | connect(this->lfrXmlParser, SIGNAL(sendMessage(QString)), | |
65 | this, SLOT(displayOnConsole(QString))); |
|
65 | this, SLOT(displayOnConsole(QString))); | |
66 | // |
|
66 | // | |
67 | connect(this->lfrXmlParser, SIGNAL(processPacketStore()), |
|
67 | connect(this->lfrXmlParser, SIGNAL(processPacketStore()), | |
68 | this, SLOT(processPacketStore())); |
|
68 | this, SLOT(processPacketStore())); | |
69 | // |
|
69 | // | |
70 | connect(this->UI->button_resetStatistics, SIGNAL(clicked()), |
|
70 | connect(this->UI->button_resetStatistics, SIGNAL(clicked()), | |
71 | this, SLOT(resetStatistics())); |
|
71 | this, SLOT(resetStatistics())); | |
72 |
|
72 | |||
73 | displayNetworkInterfaces(); |
|
73 | displayNetworkInterfaces(); | |
74 |
|
74 | |||
75 | this->xmlHandler->packetStoreHasChanged(&generalCCSDSPacketStore); |
|
75 | this->xmlHandler->packetStoreHasChanged(&generalCCSDSPacketStore); | |
76 | }; |
|
76 | }; | |
77 |
|
77 | |||
78 | MainWindow::~MainWindow() |
|
78 | MainWindow::~MainWindow() | |
79 | { |
|
79 | { | |
80 |
|
80 | |||
81 | } |
|
81 | } | |
82 |
|
82 | |||
83 | void MainWindow::displayNetworkInterfaces() |
|
83 | void MainWindow::displayNetworkInterfaces() | |
84 | { |
|
84 | { | |
85 | QList<QHostAddress> list = QNetworkInterface::allAddresses(); |
|
85 | QList<QHostAddress> list = QNetworkInterface::allAddresses(); | |
86 | this->displayOnConsole("Network interfaces:"); |
|
86 | this->displayOnConsole("Network interfaces:"); | |
87 | for(int nIter=0; nIter<list.count(); nIter++) |
|
87 | for(int nIter=0; nIter<list.count(); nIter++) | |
88 | { |
|
88 | { | |
89 | this->UI->displayOnConsole(list[nIter].toString()); |
|
89 | this->UI->displayOnConsole(list[nIter].toString()); | |
90 | } |
|
90 | } | |
91 | } |
|
91 | } | |
92 |
|
92 | |||
93 | void MainWindow::listenOnTCTMPorts() |
|
93 | void MainWindow::listenOnTCTMPorts() | |
94 | { |
|
94 | { | |
95 | QString str; |
|
95 | QString str; | |
96 |
|
96 | |||
97 | //*** |
|
97 | //*** | |
98 | // TC |
|
98 | // TC | |
99 | analyserSGSEServerTC->listen(QHostAddress::Any, this->UI->getTCPort()); |
|
99 | analyserSGSEServerTC->listen(QHostAddress::Any, this->UI->getTCPort()); | |
100 | str = analyserSGSEServerTC->errorString(); |
|
100 | str = analyserSGSEServerTC->errorString(); | |
101 | if (!str.isEmpty()) |
|
101 | if (!str.isEmpty()) | |
102 | { |
|
102 | { | |
103 | this->displayOnConsole(str); |
|
103 | this->displayOnConsole(str); | |
104 | } |
|
104 | } | |
105 | this->displayOnConsole("Listening TC on port " |
|
105 | this->displayOnConsole("Listening TC on port " | |
106 | + QString::number(this->UI->getTCPort()) |
|
106 | + QString::number(this->UI->getTCPort()) | |
107 | ); |
|
107 | ); | |
108 |
|
108 | |||
109 | //*** |
|
109 | //*** | |
110 | // TM |
|
110 | // TM | |
111 | analyserSGSEServerTM->listen(QHostAddress::Any, this->UI->getTMPort()); |
|
111 | analyserSGSEServerTM->listen(QHostAddress::Any, this->UI->getTMPort()); | |
112 | str = analyserSGSEServerTM->errorString(); |
|
112 | str = analyserSGSEServerTM->errorString(); | |
113 | if (!str.isEmpty()) |
|
113 | if (!str.isEmpty()) | |
114 | { |
|
114 | { | |
115 | this->displayOnConsole(str); |
|
115 | this->displayOnConsole(str); | |
116 | } |
|
116 | } | |
117 | this->displayOnConsole("Listening TM on port " |
|
117 | this->displayOnConsole("Listening TM on port " | |
118 | + QString::number(this->UI->getTMPort()) |
|
118 | + QString::number(this->UI->getTMPort()) | |
119 | ); |
|
119 | ); | |
120 | } |
|
120 | } | |
121 |
|
121 | |||
122 | void MainWindow::testTCTMPorts() |
|
122 | void MainWindow::testTCTMPorts() | |
123 | { |
|
123 | { | |
124 | if (socketTC != NULL) |
|
124 | if (socketTC != NULL) | |
125 | { |
|
125 | { | |
126 | this->displayOnConsole("TC socket *** " + socketStates.at(socketTC->state()) ); |
|
126 | this->displayOnConsole("TC socket *** " + socketStates.at(socketTC->state()) ); | |
127 | } |
|
127 | } | |
128 | else |
|
128 | else | |
129 | { |
|
129 | { | |
130 | this->displayOnConsole("TC socket *** not tested, (socketTC) is NULL" ); |
|
130 | this->displayOnConsole("TC socket *** not tested, (socketTC) is NULL" ); | |
131 | } |
|
131 | } | |
132 | if (socketTM != NULL) |
|
132 | if (socketTM != NULL) | |
133 | { |
|
133 | { | |
134 | this->displayOnConsole("TM socket *** " + socketStates.at(socketTM->state()) ); |
|
134 | this->displayOnConsole("TM socket *** " + socketStates.at(socketTM->state()) ); | |
135 | } |
|
135 | } | |
136 | else |
|
136 | else | |
137 | { |
|
137 | { | |
138 | this->displayOnConsole("TM socket *** not tested, (socketTM) is NULL" ); |
|
138 | this->displayOnConsole("TM socket *** not tested, (socketTM) is NULL" ); | |
139 | } |
|
139 | } | |
140 | } |
|
140 | } | |
141 |
|
141 | |||
142 | void MainWindow::newConnectionOnTCServer() |
|
142 | void MainWindow::newConnectionOnTCServer() | |
143 | { |
|
143 | { | |
144 | this->displayOnConsole("got new connection on TC port"); |
|
144 | this->displayOnConsole("got new connection on TC port"); | |
145 | socketTC = analyserSGSEServerTC->nextPendingConnection(); |
|
145 | socketTC = analyserSGSEServerTC->nextPendingConnection(); | |
146 | this->displayOnConsole("TC socket *** " + socketStates.at(socketTC->state()) ); |
|
146 | this->displayOnConsole("TC socket *** " + socketStates.at(socketTC->state()) ); | |
147 | connect(this->socketTC, SIGNAL(readyRead()), this, SLOT(readDataOnTCPort())); |
|
147 | connect(this->socketTC, SIGNAL(readyRead()), this, SLOT(readDataOnTCPort())); | |
148 | } |
|
148 | } | |
149 |
|
149 | |||
150 | void MainWindow::newConnectionOnTMServer() |
|
150 | void MainWindow::newConnectionOnTMServer() | |
151 | { |
|
151 | { | |
152 | this->displayOnConsole("got new connection on TM port"); |
|
152 | this->displayOnConsole("got new connection on TM port"); | |
153 | socketTM = analyserSGSEServerTM->nextPendingConnection(); |
|
153 | socketTM = analyserSGSEServerTM->nextPendingConnection(); | |
154 | this->displayOnConsole("TM socket *** " + socketStates.at(socketTM->state()) ); |
|
154 | this->displayOnConsole("TM socket *** " + socketStates.at(socketTM->state()) ); | |
155 | connect(this->socketTM, SIGNAL(readyRead()), this, SLOT(readDataOnTMPort())); |
|
155 | connect(this->socketTM, SIGNAL(readyRead()), this, SLOT(readDataOnTMPort())); | |
156 |
|
156 | |||
157 | emit socketTMHasChanged(this->socketTM); |
|
157 | emit socketTMHasChanged(this->socketTM); | |
158 | } |
|
158 | } | |
159 |
|
159 | |||
160 | void MainWindow::readDataOnTCPort() |
|
160 | void MainWindow::readDataOnTCPort() | |
161 | { |
|
161 | { | |
162 | bool ok; |
|
162 | bool ok; | |
163 | int nbBytesAvailable = 0; |
|
163 | int nbBytesAvailable = 0; | |
164 |
|
164 | |||
165 | nbBytesAvailable = socketTC->bytesAvailable(); |
|
165 | nbBytesAvailable = socketTC->bytesAvailable(); | |
166 | buffer = (char *) malloc(nbBytesAvailable); |
|
166 | buffer = (char *) malloc(nbBytesAvailable); | |
167 | socketTC->read(buffer, nbBytesAvailable); |
|
167 | socketTC->read(buffer, nbBytesAvailable); | |
168 |
|
168 | |||
169 | this->displayOnConsole("readDataOnTCPort *** " |
|
169 | this->displayOnConsole("readDataOnTCPort *** " | |
170 | + QString::number(nbBytesAvailable) |
|
170 | + QString::number(nbBytesAvailable) | |
171 | + " read"); |
|
171 | + " read"); | |
172 |
|
172 | |||
173 | QByteArray xmlData( buffer, nbBytesAvailable); |
|
173 | QByteArray xmlData( buffer, nbBytesAvailable); | |
174 |
|
174 | |||
175 | free(buffer); |
|
175 | free(buffer); | |
176 |
|
176 | |||
177 | sourceTC->setData( xmlData ); |
|
177 | sourceTC->setData( xmlData ); | |
178 |
|
178 | |||
179 | xmlReader.setContentHandler(xmlHandler); |
|
179 | xmlReader.setContentHandler(xmlHandler); | |
180 | xmlReader.setErrorHandler(xmlHandler); |
|
180 | xmlReader.setErrorHandler(xmlHandler); | |
181 |
|
181 | |||
182 | ok = xmlReader.parse(sourceTC); |
|
182 | ok = xmlReader.parse(sourceTC); | |
183 | if (!ok) { |
|
183 | if (!ok) { | |
184 | std::cout << "Parsing failed." << std::endl; |
|
184 | std::cout << "Parsing failed." << std::endl; | |
185 | } |
|
185 | } | |
186 | else { |
|
186 | else { | |
187 | QStringList names = xmlHandler->names(); |
|
187 | QStringList names = xmlHandler->names(); | |
188 | QList<int> indentations = xmlHandler->indentations(); |
|
188 | QList<int> indentations = xmlHandler->indentations(); | |
189 |
|
189 | |||
190 | int items = names.count(); |
|
190 | int items = names.count(); | |
191 |
|
191 | |||
192 | for (int i = 0; i < items; ++i) { |
|
192 | for (int i = 0; i < items; ++i) { | |
193 | displayOnConsole( |
|
193 | displayOnConsole( | |
194 | names[i] |
|
194 | names[i] | |
195 | + " --- identations: " |
|
195 | + " --- identations: " | |
196 | + QString::number(indentations[i])); |
|
196 | + QString::number(indentations[i])); | |
197 | } |
|
197 | } | |
198 | } |
|
198 | } | |
199 | } |
|
199 | } | |
200 |
|
200 | |||
201 | void MainWindow::readDataOnTMPort() |
|
201 | void MainWindow::readDataOnTMPort() | |
202 | { |
|
202 | { | |
203 | this->displayOnConsole("TM data received, begin parsing"); |
|
203 | this->displayOnConsole("TM data received, begin parsing"); | |
204 | } |
|
204 | } | |
205 |
|
205 | |||
206 | void MainWindow::readDataOnSocketEchoServer() |
|
206 | void MainWindow::readDataOnSocketEchoServer() | |
207 | { |
|
207 | { | |
208 | QString dataString; |
|
208 | QString dataString; | |
209 |
|
209 | |||
210 | dataArray.append(socketEchoServer->readAll()); |
|
210 | dataArray.append(socketEchoServer->readAll()); | |
211 | dataString = QString::fromAscii(dataArray); |
|
211 | dataString = QString::fromAscii(dataArray); | |
212 | this->lfrXmlParser->processIncomingStr(dataString); |
|
212 | this->lfrXmlParser->processIncomingStr(dataString); | |
213 | dataArray.clear(); |
|
213 | dataArray.clear(); | |
214 | } |
|
214 | } | |
215 |
|
215 | |||
216 | void MainWindow::displayOnConsole(QString message) |
|
216 | void MainWindow::displayOnConsole(QString message) | |
217 | { |
|
217 | { | |
218 | this->UI->displayOnConsole( message ); |
|
218 | this->UI->displayOnConsole( message ); | |
219 | } |
|
219 | } | |
220 |
|
220 | |||
221 | void MainWindow::initSocketStatesList() |
|
221 | void MainWindow::initSocketStatesList() | |
222 | { |
|
222 | { | |
223 | socketStates.append("The socket is not connected"); |
|
223 | socketStates.append("The socket is not connected"); | |
224 | socketStates.append("The socket is performing a host name lookup"); |
|
224 | socketStates.append("The socket is performing a host name lookup"); | |
225 | socketStates.append("The socket has started establishing a connection"); |
|
225 | socketStates.append("The socket has started establishing a connection"); | |
226 | socketStates.append("A connection is established"); |
|
226 | socketStates.append("A connection is established"); | |
227 | socketStates.append("The socket is bound to an address and port (for servers)"); |
|
227 | socketStates.append("The socket is bound to an address and port (for servers)"); | |
228 | socketStates.append("The socket is about to close (data may still be waiting to be written)"); |
|
228 | socketStates.append("The socket is about to close (data may still be waiting to be written)"); | |
229 | socketStates.append("For internal use only"); |
|
229 | socketStates.append("For internal use only"); | |
230 | } |
|
230 | } | |
231 |
|
231 | |||
232 | void MainWindow::openEchoServer() |
|
232 | void MainWindow::openEchoServer() | |
233 | { |
|
233 | { | |
234 | socketEchoServer->connectToHost(this->UI->serverTMEchoDialogBox->getIP(), |
|
234 | socketEchoServer->connectToHost(this->UI->serverTMEchoDialogBox->getIP(), | |
235 | this->UI->spinbox_serverTMEchoPort->value()); |
|
235 | this->UI->spinbox_serverTMEchoPort->value()); | |
236 | //socketEchoServer->open(); |
|
236 | //socketEchoServer->open(); | |
237 | } |
|
237 | } | |
238 |
|
238 | |||
239 | void MainWindow::socket_TMEcho_ServerHasChanged() |
|
239 | void MainWindow::socket_TMEcho_ServerHasChanged() | |
240 | { |
|
240 | { | |
241 | this->displayOnConsole("TM Echo Socket socket *** " + socketStates.at(socketEchoServer->state()) ); |
|
241 | this->displayOnConsole("TM Echo Socket socket *** " + socketStates.at(socketEchoServer->state()) ); | |
242 | } |
|
242 | } | |
243 |
|
243 | |||
244 | void MainWindow::preProcessPacket(TMPacketToRead *packet) |
|
244 | void MainWindow::preProcessPacket(TMPacketToRead *packet) | |
245 | { |
|
245 | { | |
246 | unsigned char pid = 0; |
|
246 | unsigned char pid = 0; | |
247 | unsigned char cat = 0; |
|
247 | unsigned char cat = 0; | |
248 | unsigned char typ = 0; |
|
248 | unsigned char typ = 0; | |
249 | unsigned char sub = 0; |
|
249 | unsigned char sub = 0; | |
250 | unsigned int sid = 0; |
|
250 | unsigned int sid = 0; | |
251 | unsigned int length = 0; |
|
251 | unsigned int length = 0; | |
252 | unsigned int coarse_t = 0; |
|
252 | unsigned int coarse_t = 0; | |
253 | unsigned int fine_t = 0; |
|
253 | unsigned int fine_t = 0; | |
254 |
|
254 | |||
255 | //********************************* |
|
255 | //********************************* | |
256 | // get the parameters of the packet |
|
256 | // get the parameters of the packet | |
257 | pid = ((packet->Value[4] & 0x07) << 4) + ((packet->Value[5] & 0xf0) >> 4); |
|
257 | pid = ((packet->Value[4] & 0x07) << 4) + ((packet->Value[5] & 0xf0) >> 4); | |
258 | cat = packet->Value[5] & 0x0f; |
|
258 | cat = packet->Value[5] & 0x0f; | |
259 | typ = packet->Value[11]; // TYPE |
|
259 | typ = packet->Value[11]; // TYPE | |
260 | sub = packet->Value[12]; // SUBTYPE |
|
260 | sub = packet->Value[12]; // SUBTYPE | |
261 | sid = 0; |
|
261 | sid = 0; | |
262 | length = packet->Value[8] * 256 + packet->Value[9]; |
|
262 | length = packet->Value[8] * 256 + packet->Value[9]; | |
263 | // compare length in the packet with the size of the packet |
|
263 | // compare length in the packet with the size of the packet | |
264 | if ( (length + 1 + 10) != (packet->size)) |
|
264 | if ( (length + 1 + 10) != (packet->size)) | |
265 | { |
|
265 | { | |
266 | displayOnConsole("reception of " + QString::number(packet->size) |
|
266 | displayOnConsole("reception of " + QString::number(packet->size) | |
267 | + " bytes instead of " + QString::number(length + 1 + 10)); |
|
267 | + " bytes instead of " + QString::number(length + 1 + 10)); | |
268 | } |
|
268 | } | |
269 | coarse_t = packet->Value[14] * pow(2, 24) + packet->Value[15] * pow(2, 16) |
|
269 | coarse_t = packet->Value[14] * pow(2, 24) + packet->Value[15] * pow(2, 16) | |
270 | + packet->Value[16] * pow(2, 8) + packet->Value[17]; |
|
270 | + packet->Value[16] * pow(2, 8) + packet->Value[17]; | |
271 | fine_t = packet->Value[18] * pow(2, 8) + packet->Value[19]; |
|
271 | fine_t = packet->Value[18] * pow(2, 8) + packet->Value[19]; | |
272 |
|
272 | |||
273 | if ((pid == 76) & (cat == 1) & (typ == 1) & (sub == 8)) |
|
273 | if ((pid == 76) & (cat == 1) & (typ == 1) & (sub == 8)) | |
274 | sid = packet->Value[20] * 256 + packet->Value[21]; |
|
274 | sid = packet->Value[20] * 256 + packet->Value[21]; | |
275 | else if ((pid == 76) & (cat == 4) & (typ == 3) & (sub == 25)) |
|
275 | else if ((pid == 76) & (cat == 4) & (typ == 3) & (sub == 25)) | |
276 | sid = 1; |
|
276 | sid = 1; | |
277 | else if ((pid == 76) & (cat == 12) & (typ == 21) & (sub == 3)) |
|
277 | else if ((pid == 76) & (cat == 12) & (typ == 21) & (sub == 3)) | |
278 | sid = packet->Value[20]; |
|
278 | sid = packet->Value[20]; | |
279 | else if ((pid == 79) & (cat == 12) & (typ == 21) & (sub == 3)) |
|
279 | else if ((pid == 79) & (cat == 12) & (typ == 21) & (sub == 3)) | |
280 | sid = packet->Value[20]; |
|
280 | sid = packet->Value[20]; | |
281 |
|
281 | |||
282 | this->UI->tmStatistics->updateStatistics(pid, cat, typ, sub, sid, length, coarse_t, fine_t); |
|
282 | this->UI->tmStatistics->updateStatistics(pid, cat, typ, sub, sid, length, coarse_t, fine_t); | |
283 |
|
283 | |||
284 | //*************************************************** |
|
284 | //*************************************************** | |
285 | // if the packet is an HK packet, display its content |
|
285 | // if the packet is an HK packet, display its content | |
286 | if ( (typ == TYPE_HK) & (sub == SUBTYPE_HK) ) |
|
286 | if ( (pid == 76) & (cat == 4) & (typ == TYPE_HK) & (sub == SUBTYPE_HK) ) | |
287 | { |
|
287 | { | |
288 | this->UI->hkDisplay->displayPacket(packet); |
|
288 | this->UI->hkDisplay->displayPacket(packet); | |
289 | } |
|
289 | } | |
290 |
|
290 | |||
291 | //**************************************** |
|
291 | //**************************************** | |
292 | // if the packet is a waveform, display it |
|
292 | // if the packet is a waveform, display it | |
293 | if ( (typ == 21) & (sub == 3) ) |
|
293 | if ( (typ == 21) & (sub == 3) ) | |
294 | { |
|
294 | { | |
295 | sid = packet->Value[20]; // SID |
|
295 | sid = packet->Value[20]; // SID | |
296 | switch (sid){ |
|
296 | switch (sid){ | |
297 | case SID_NORMAL_SWF_F0: |
|
297 | case SID_NORMAL_SWF_F0: | |
298 | buildWFAndDisplay(packet, &wfPacketNormal[0], 0); |
|
298 | buildWFAndDisplay(packet, &wfPacketNormal[0], 0); | |
299 | break; |
|
299 | break; | |
300 | case SID_NORMAL_SWF_F1: |
|
300 | case SID_NORMAL_SWF_F1: | |
301 | buildWFAndDisplay(packet, &wfPacketNormal[1], 1); |
|
301 | buildWFAndDisplay(packet, &wfPacketNormal[1], 1); | |
302 | break; |
|
302 | break; | |
303 | case SID_NORMAL_SWF_F2: |
|
303 | case SID_NORMAL_SWF_F2: | |
304 | buildWFAndDisplay(packet, &wfPacketNormal[2], 2); |
|
304 | buildWFAndDisplay(packet, &wfPacketNormal[2], 2); | |
305 | break; |
|
305 | break; | |
306 | case SID_NORMAL_CWF_F3: |
|
306 | case SID_NORMAL_CWF_F3: | |
307 | buildWFAndDisplay(packet, &wfPacketNormal[3], 3); |
|
307 | buildWFAndDisplay(packet, &wfPacketNormal[3], 3); | |
308 | break; |
|
308 | break; | |
309 | case SID_BURST_CWF_F2: |
|
309 | case SID_BURST_CWF_F2: | |
310 | buildWFAndDisplayBurst(packet, &wfPacketBurst); |
|
310 | buildWFAndDisplayBurst(packet, &wfPacketBurst); | |
311 | break; |
|
311 | break; | |
312 | case SID_SBM1_CWF_F1: |
|
312 | case SID_SBM1_CWF_F1: | |
313 | buildWFAndDisplaySBM1(packet, &wfPacketSBM1); |
|
313 | buildWFAndDisplaySBM1(packet, &wfPacketSBM1); | |
314 | break; |
|
314 | break; | |
315 | case SID_SBM2_CWF_F2: |
|
315 | case SID_SBM2_CWF_F2: | |
316 | buildWFAndDisplaySBM2(packet, &wfPacketSBM2); |
|
316 | buildWFAndDisplaySBM2(packet, &wfPacketSBM2); | |
317 | break; |
|
317 | break; | |
318 | } |
|
318 | } | |
319 | } |
|
319 | } | |
320 | } |
|
320 | } | |
321 |
|
321 | |||
|
322 | void MainWindow::preProcessPacketLESIA(TMPacketToRead *packet) | |||
|
323 | { | |||
|
324 | unsigned char pid = 0; | |||
|
325 | unsigned char cat = 0; | |||
|
326 | unsigned char typ = 0; | |||
|
327 | unsigned char sub = 0; | |||
|
328 | unsigned int sid = 0; | |||
|
329 | unsigned int length = 0; | |||
|
330 | unsigned int coarse_t = 0; | |||
|
331 | unsigned int fine_t = 0; | |||
|
332 | ||||
|
333 | unsigned int offset; | |||
|
334 | ||||
|
335 | offset = 4; | |||
|
336 | ||||
|
337 | //********************************* | |||
|
338 | // get the parameters of the packet | |||
|
339 | pid = ((packet->Value[4-offset] & 0x07) << 4) + ((packet->Value[5-offset] & 0xf0) >> 4); | |||
|
340 | cat = packet->Value[5-offset] & 0x0f; | |||
|
341 | typ = packet->Value[11-offset]; // TYPE | |||
|
342 | sub = packet->Value[12-offset]; // SUBTYPE | |||
|
343 | sid = 0; | |||
|
344 | length = packet->Value[8-offset] * 256 + packet->Value[9-offset]; | |||
|
345 | // compare length in the packet with the size of the packet | |||
|
346 | if ( (length + 1 + 6) != (packet->size)) | |||
|
347 | { | |||
|
348 | displayOnConsole("reception of " + QString::number(packet->size) | |||
|
349 | + " bytes instead of " + QString::number(length + 1 + 6)); | |||
|
350 | } | |||
|
351 | coarse_t = packet->Value[14-offset] * pow(2, 24) + packet->Value[15-offset] * pow(2, 16) | |||
|
352 | + packet->Value[16-offset] * pow(2, 8) + packet->Value[17-offset]; | |||
|
353 | fine_t = packet->Value[18-offset] * pow(2, 8) + packet->Value[19-offset]; | |||
|
354 | ||||
|
355 | if ((pid == 76) & (cat == 1) & (typ == 1) & (sub == 8)) | |||
|
356 | sid = packet->Value[20-offset] * 256 + packet->Value[21-offset]; | |||
|
357 | else if ((pid == 76) & (cat == 4) & (typ == 3) & (sub == 25)) | |||
|
358 | sid = 1; | |||
|
359 | else if ((pid == 76) & (cat == 12) & (typ == 21) & (sub == 3)) | |||
|
360 | sid = packet->Value[20-offset]; | |||
|
361 | else if ((pid == 79) & (cat == 12) & (typ == 21) & (sub == 3)) | |||
|
362 | sid = packet->Value[20-offset]; | |||
|
363 | ||||
|
364 | this->UI->tmStatistics->updateStatistics(pid, cat, typ, sub, sid, length, coarse_t, fine_t); | |||
|
365 | ||||
|
366 | //*************************************************** | |||
|
367 | // if the packet is an HK packet, display its content | |||
|
368 | if ( (pid == 76) & (4) & (typ == TYPE_HK) & (sub == SUBTYPE_HK) ) | |||
|
369 | { | |||
|
370 | this->UI->hkDisplay->displayPacketLESIA(packet); | |||
|
371 | } | |||
|
372 | ||||
|
373 | //**************************************** | |||
|
374 | // if the packet is a waveform, display it | |||
|
375 | if ( (typ == 21) & (sub == 3) ) | |||
|
376 | { | |||
|
377 | sid = packet->Value[20-offset]; // SID | |||
|
378 | switch (sid){ | |||
|
379 | case SID_NORMAL_SWF_F0: | |||
|
380 | buildWFAndDisplay(packet, &wfPacketNormal[0], 0); | |||
|
381 | break; | |||
|
382 | case SID_NORMAL_SWF_F1: | |||
|
383 | buildWFAndDisplay(packet, &wfPacketNormal[1], 1); | |||
|
384 | break; | |||
|
385 | case SID_NORMAL_SWF_F2: | |||
|
386 | buildWFAndDisplay(packet, &wfPacketNormal[2], 2); | |||
|
387 | break; | |||
|
388 | case SID_NORMAL_CWF_F3: | |||
|
389 | buildWFAndDisplay(packet, &wfPacketNormal[3], 3); | |||
|
390 | break; | |||
|
391 | case SID_BURST_CWF_F2: | |||
|
392 | buildWFAndDisplayBurst(packet, &wfPacketBurst); | |||
|
393 | break; | |||
|
394 | case SID_SBM1_CWF_F1: | |||
|
395 | buildWFAndDisplaySBM1(packet, &wfPacketSBM1); | |||
|
396 | break; | |||
|
397 | case SID_SBM2_CWF_F2: | |||
|
398 | buildWFAndDisplaySBM2(packet, &wfPacketSBM2); | |||
|
399 | break; | |||
|
400 | } | |||
|
401 | } | |||
|
402 | } | |||
|
403 | ||||
322 | void MainWindow::buildWFAndDisplay(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page) |
|
404 | void MainWindow::buildWFAndDisplay(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page) | |
323 | { |
|
405 | { | |
324 | unsigned int i = 0; |
|
406 | unsigned int i = 0; | |
325 | unsigned int j = 0; |
|
407 | unsigned int j = 0; | |
326 | unsigned char *data; |
|
408 | unsigned char *data; | |
327 | unsigned char pkt_nr = 0; |
|
409 | unsigned char pkt_nr = 0; | |
328 | unsigned int blk_nr = 0; |
|
410 | unsigned int blk_nr = 0; | |
329 |
|
411 | |||
330 | pkt_nr = packet->Value[23]; // PKT_NR |
|
412 | pkt_nr = packet->Value[23]; // PKT_NR | |
331 | blk_nr = packet->Value[30] * 256 + packet->Value[31]; |
|
413 | blk_nr = packet->Value[30] * 256 + packet->Value[31]; | |
332 | data = &packet->Value[32]; // start of the first data block; |
|
414 | data = &packet->Value[32]; // start of the first data block; | |
333 | j = (pkt_nr-1) * 340; |
|
415 | j = (pkt_nr-1) * 340; | |
334 | for ( i=0; i<blk_nr; i++ ){ |
|
416 | for ( i=0; i<blk_nr; i++ ){ | |
335 | wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) ); |
|
417 | wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) ); | |
336 | wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) ); |
|
418 | wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) ); | |
337 | wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) ); |
|
419 | wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) ); | |
338 | wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) ); |
|
420 | wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) ); | |
339 | wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) ); |
|
421 | wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) ); | |
340 | wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) ); |
|
422 | wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) ); | |
341 | } |
|
423 | } | |
342 | if (pkt_nr == 7) |
|
424 | if (pkt_nr == 7) | |
343 | { |
|
425 | { | |
344 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_v, num_page, 0); |
|
426 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_v, num_page, 0); | |
345 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e1, num_page, 1); |
|
427 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e1, num_page, 1); | |
346 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e2, num_page, 2); |
|
428 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_e2, num_page, 2); | |
347 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b1, num_page, 3); |
|
429 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b1, num_page, 3); | |
348 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b2, num_page, 4); |
|
430 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b2, num_page, 4); | |
349 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b3, num_page, 5); |
|
431 | this->UI->wfDisplay->displayOnPlot(wfPacket->wf_b3, num_page, 5); | |
350 | } |
|
432 | } | |
351 | } |
|
433 | } | |
352 |
|
434 | |||
353 | void MainWindow::buildWFAndDisplayBurst(TMPacketToRead *packet, WFPacket *wfPacket) |
|
435 | void MainWindow::buildWFAndDisplayBurst(TMPacketToRead *packet, WFPacket *wfPacket) | |
354 | { |
|
436 | { | |
355 | unsigned int i = 0; |
|
437 | unsigned int i = 0; | |
356 | unsigned int j = 0; |
|
438 | unsigned int j = 0; | |
357 | unsigned char *data; |
|
439 | unsigned char *data; | |
358 | static unsigned char pkt_nr = 1; |
|
440 | static unsigned char pkt_nr = 1; | |
359 | unsigned int blk_nr = 0; |
|
441 | unsigned int blk_nr = 0; | |
360 |
|
442 | |||
361 | blk_nr = packet->Value[28] * 256 + packet->Value[29]; |
|
443 | blk_nr = packet->Value[28] * 256 + packet->Value[29]; | |
362 | data = &packet->Value[30]; // start of the first data block; |
|
444 | data = &packet->Value[30]; // start of the first data block; | |
363 | j = (pkt_nr-1) * 340; |
|
445 | j = (pkt_nr-1) * 340; | |
364 | for ( i=0; i<blk_nr; i++ ){ |
|
446 | for ( i=0; i<blk_nr; i++ ){ | |
365 | wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) ); |
|
447 | wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) ); | |
366 | wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) ); |
|
448 | wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) ); | |
367 | wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) ); |
|
449 | wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) ); | |
368 | wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) ); |
|
450 | wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) ); | |
369 | wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) ); |
|
451 | wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) ); | |
370 | wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) ); |
|
452 | wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) ); | |
371 | } |
|
453 | } | |
372 | pkt_nr = pkt_nr + 1; |
|
454 | pkt_nr = pkt_nr + 1; | |
373 | if (blk_nr == 8) |
|
455 | if (blk_nr == 8) | |
374 | { |
|
456 | { | |
375 | this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_v, 0); |
|
457 | this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_v, 0); | |
376 | this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_e1, 1); |
|
458 | this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_e1, 1); | |
377 | this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_e2, 2); |
|
459 | this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_e2, 2); | |
378 | this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_b1, 3); |
|
460 | this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_b1, 3); | |
379 | this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_b2, 4); |
|
461 | this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_b2, 4); | |
380 | this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_b3, 5); |
|
462 | this->UI->wfPageBurst->displayOnPlot(wfPacket->wf_b3, 5); | |
381 | pkt_nr = 1; |
|
463 | pkt_nr = 1; | |
382 | } |
|
464 | } | |
383 | } |
|
465 | } | |
384 |
|
466 | |||
385 | void MainWindow::buildWFAndDisplaySBM1(TMPacketToRead *packet, WFPacket *wfPacket) |
|
467 | void MainWindow::buildWFAndDisplaySBM1(TMPacketToRead *packet, WFPacket *wfPacket) | |
386 | { |
|
468 | { | |
387 | unsigned int i = 0; |
|
469 | unsigned int i = 0; | |
388 | unsigned int j = 0; |
|
470 | unsigned int j = 0; | |
389 | unsigned char *data; |
|
471 | unsigned char *data; | |
390 | static unsigned char pkt_nr = 1; |
|
472 | static unsigned char pkt_nr = 1; | |
391 | unsigned int blk_nr = 0; |
|
473 | unsigned int blk_nr = 0; | |
392 |
|
474 | |||
393 | blk_nr = packet->Value[28] * 256 + packet->Value[29]; |
|
475 | blk_nr = packet->Value[28] * 256 + packet->Value[29]; | |
394 | data = &packet->Value[30]; // start of the first data block; |
|
476 | data = &packet->Value[30]; // start of the first data block; | |
395 | j = (pkt_nr-1) * 340; |
|
477 | j = (pkt_nr-1) * 340; | |
396 | for ( i=0; i<blk_nr; i++ ){ |
|
478 | for ( i=0; i<blk_nr; i++ ){ | |
397 | wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) ); |
|
479 | wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) ); | |
398 | wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) ); |
|
480 | wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) ); | |
399 | wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) ); |
|
481 | wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) ); | |
400 | wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) ); |
|
482 | wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) ); | |
401 | wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) ); |
|
483 | wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) ); | |
402 | wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) ); |
|
484 | wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) ); | |
403 | } |
|
485 | } | |
404 | pkt_nr = pkt_nr + 1; |
|
486 | pkt_nr = pkt_nr + 1; | |
405 | if (blk_nr == 8) |
|
487 | if (blk_nr == 8) | |
406 | { |
|
488 | { | |
407 | this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_v, 0); |
|
489 | this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_v, 0); | |
408 | this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_e1, 1); |
|
490 | this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_e1, 1); | |
409 | this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_e2, 2); |
|
491 | this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_e2, 2); | |
410 | this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_b1, 3); |
|
492 | this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_b1, 3); | |
411 | this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_b2, 4); |
|
493 | this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_b2, 4); | |
412 | this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_b3, 5); |
|
494 | this->UI->wfPageSBM1->displayOnPlot(wfPacket->wf_b3, 5); | |
413 | pkt_nr = 1; |
|
495 | pkt_nr = 1; | |
414 | } |
|
496 | } | |
415 | } |
|
497 | } | |
416 |
|
498 | |||
417 | void MainWindow::buildWFAndDisplaySBM2(TMPacketToRead *packet, WFPacket *wfPacket) |
|
499 | void MainWindow::buildWFAndDisplaySBM2(TMPacketToRead *packet, WFPacket *wfPacket) | |
418 | { |
|
500 | { | |
419 | unsigned int i = 0; |
|
501 | unsigned int i = 0; | |
420 | unsigned int j = 0; |
|
502 | unsigned int j = 0; | |
421 | unsigned char *data; |
|
503 | unsigned char *data; | |
422 | static unsigned char pkt_nr = 1; |
|
504 | static unsigned char pkt_nr = 1; | |
423 | unsigned int blk_nr = 0; |
|
505 | unsigned int blk_nr = 0; | |
424 |
|
506 | |||
425 | blk_nr = packet->Value[28] * 256 + packet->Value[29]; |
|
507 | blk_nr = packet->Value[28] * 256 + packet->Value[29]; | |
426 | data = &packet->Value[30]; // start of the first data block; |
|
508 | data = &packet->Value[30]; // start of the first data block; | |
427 | j = (pkt_nr-1) * 340; |
|
509 | j = (pkt_nr-1) * 340; | |
428 | for ( i=0; i<blk_nr; i++ ){ |
|
510 | for ( i=0; i<blk_nr; i++ ){ | |
429 | wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) ); |
|
511 | wfPacket->wf_e1[j + i] = (short) ( (data[ (i * BLK_SIZE) ] << 8) + (data[ (i*BLK_SIZE) + 1]) ); | |
430 | wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) ); |
|
512 | wfPacket->wf_v[j + i] = (short) ( (data[ (i * BLK_SIZE) + 2] << 8) + (data[ (i*BLK_SIZE) + 3]) ); | |
431 | wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) ); |
|
513 | wfPacket->wf_b1[j + i] = (short) ( (data[ (i * BLK_SIZE) + 4] << 8) + (data[ (i*BLK_SIZE) + 5]) ); | |
432 | wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) ); |
|
514 | wfPacket->wf_e2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 6] << 8) + (data[ (i*BLK_SIZE) + 7]) ); | |
433 | wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) ); |
|
515 | wfPacket->wf_b3[j + i] = (short) ( (data[ (i * BLK_SIZE) + 8] << 8) + (data[ (i*BLK_SIZE) + 9]) ); | |
434 | wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) ); |
|
516 | wfPacket->wf_b2[j + i] = (short) ( (data[ (i * BLK_SIZE) + 10] << 8) + (data[ (i*BLK_SIZE) + 11]) ); | |
435 | } |
|
517 | } | |
436 | pkt_nr = pkt_nr + 1; |
|
518 | pkt_nr = pkt_nr + 1; | |
437 | if (blk_nr == 8) |
|
519 | if (blk_nr == 8) | |
438 | { |
|
520 | { | |
439 | this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_v, 0); |
|
521 | this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_v, 0); | |
440 | this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_e1, 1); |
|
522 | this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_e1, 1); | |
441 | this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_e2, 2); |
|
523 | this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_e2, 2); | |
442 | this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_b1, 3); |
|
524 | this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_b1, 3); | |
443 | this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_b2, 4); |
|
525 | this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_b2, 4); | |
444 | this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_b3, 5); |
|
526 | this->UI->wfPageSBM2->displayOnPlot(wfPacket->wf_b3, 5); | |
445 | pkt_nr = 1; |
|
527 | pkt_nr = 1; | |
446 | } |
|
528 | } | |
447 | } |
|
529 | } | |
448 |
|
530 | |||
449 | void MainWindow::processIncomingPacket(TMPacketToRead *packet) |
|
531 | void MainWindow::processIncomingPacket(TMPacketToRead *packet) | |
450 | { |
|
532 | { | |
451 | totalOfBytes = totalOfBytes + packet->size; |
|
533 | totalOfBytes = totalOfBytes + packet->size; | |
452 | totalOfPackets = totalOfPackets + 1; |
|
534 | totalOfPackets = totalOfPackets + 1; | |
453 | this->UI->totalOfBytesHasChanged(totalOfBytes); |
|
535 | this->UI->totalOfBytesHasChanged(totalOfBytes); | |
454 | this->UI->totalOfPacketsHasChanged(totalOfPackets); |
|
536 | this->UI->totalOfPacketsHasChanged(totalOfPackets); | |
455 | preProcessPacket(packet); |
|
537 | preProcessPacket(packet); | |
456 | } |
|
538 | } | |
457 |
|
539 | |||
458 | void MainWindow::resetStatistics() |
|
540 | void MainWindow::resetStatistics() | |
459 | { |
|
541 | { | |
460 | totalOfBytes = 0; |
|
542 | totalOfBytes = 0; | |
461 | totalOfPackets = 0; |
|
543 | totalOfPackets = 0; | |
462 | this->UI->totalOfBytesHasChanged(totalOfBytes); |
|
544 | this->UI->totalOfBytesHasChanged(totalOfBytes); | |
463 | this->UI->totalOfPacketsHasChanged(totalOfPackets); |
|
545 | this->UI->totalOfPacketsHasChanged(totalOfPackets); | |
464 | } |
|
546 | } | |
465 |
|
547 | |||
466 | void MainWindow::processPacketStore() |
|
548 | void MainWindow::processPacketStore() | |
467 | { |
|
549 | { | |
468 | TMPacketToRead *packet; |
|
550 | TMPacketToRead *packet; | |
469 | while(!generalCCSDSPacketStore.isEmpty()) |
|
551 | while(!generalCCSDSPacketStore.isEmpty()) | |
470 | { |
|
552 | { | |
471 | packet = generalCCSDSPacketStore.takeFirst(); |
|
553 | packet = generalCCSDSPacketStore.takeFirst(); | |
472 | processIncomingPacket(packet); |
|
554 | processIncomingPacket(packet); | |
473 | delete(packet); |
|
555 | delete(packet); | |
474 | } |
|
556 | } | |
475 | } |
|
557 | } | |
476 |
|
558 | |||
477 | void MainWindow::readSettings() |
|
559 | void MainWindow::readSettings() | |
478 | { |
|
560 | { | |
479 | QSettings settings("lpp", "lfrsgse"); |
|
561 | QSettings settings("lpp", "lfrsgse"); | |
480 | echoBridgeIP0 = (unsigned char) settings.value("echoBridgeIP0", 127).toInt(); |
|
562 | echoBridgeIP0 = (unsigned char) settings.value("echoBridgeIP0", 127).toInt(); | |
481 | echoBridgeIP1 = (unsigned char) settings.value("echoBridgeIP1", 0).toInt(); |
|
563 | echoBridgeIP1 = (unsigned char) settings.value("echoBridgeIP1", 0).toInt(); | |
482 | echoBridgeIP2 = (unsigned char) settings.value("echoBridgeIP2", 0).toInt(); |
|
564 | echoBridgeIP2 = (unsigned char) settings.value("echoBridgeIP2", 0).toInt(); | |
483 | echoBridgeIP3 = (unsigned char) settings.value("echoBridgeIP3", 1).toInt(); |
|
565 | echoBridgeIP3 = (unsigned char) settings.value("echoBridgeIP3", 1).toInt(); | |
484 | } |
|
566 | } | |
485 |
|
567 | |||
486 | void MainWindow::writeSettings() |
|
568 | void MainWindow::writeSettings() | |
487 | { |
|
569 | { | |
488 | QSettings settings("lpp", "lfrsgse"); |
|
570 | QSettings settings("lpp", "lfrsgse"); | |
489 | settings.setValue("echoBridgeIP0", this->UI->serverTMEchoDialogBox->get_addressPart1()); |
|
571 | settings.setValue("echoBridgeIP0", this->UI->serverTMEchoDialogBox->get_addressPart1()); | |
490 | settings.setValue("echoBridgeIP1", this->UI->serverTMEchoDialogBox->get_addressPart2()); |
|
572 | settings.setValue("echoBridgeIP1", this->UI->serverTMEchoDialogBox->get_addressPart2()); | |
491 | settings.setValue("echoBridgeIP2", this->UI->serverTMEchoDialogBox->get_addressPart3()); |
|
573 | settings.setValue("echoBridgeIP2", this->UI->serverTMEchoDialogBox->get_addressPart3()); | |
492 | settings.setValue("echoBridgeIP3", this->UI->serverTMEchoDialogBox->get_addressPart4()); |
|
574 | settings.setValue("echoBridgeIP3", this->UI->serverTMEchoDialogBox->get_addressPart4()); | |
493 | } |
|
575 | } | |
494 |
|
576 | |||
495 | void MainWindow::closeEvent(QCloseEvent *) |
|
577 | void MainWindow::closeEvent(QCloseEvent *) | |
496 | { |
|
578 | { | |
497 | writeSettings(); |
|
579 | writeSettings(); | |
498 | } |
|
580 | } |
@@ -1,96 +1,97 | |||||
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 |
|
16 | |||
17 | class MainWindow : public QMainWindow |
|
17 | class MainWindow : public QMainWindow | |
18 | { |
|
18 | { | |
19 | Q_OBJECT |
|
19 | Q_OBJECT | |
20 |
|
20 | |||
21 | public: |
|
21 | public: | |
22 | MainWindow(QWidget *parent = 0); |
|
22 | MainWindow(QWidget *parent = 0); | |
23 | ~MainWindow(); |
|
23 | ~MainWindow(); | |
24 |
|
24 | |||
25 | void displayNetworkInterfaces(); |
|
25 | void displayNetworkInterfaces(); | |
26 | void initSocketStatesList(); |
|
26 | void initSocketStatesList(); | |
27 | void preProcessPacket(TMPacketToRead *packet); |
|
27 | void preProcessPacket(TMPacketToRead *packet); | |
|
28 | void preProcessPacketLESIA(TMPacketToRead *packet); | |||
28 | void buildWFAndDisplay(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page); |
|
29 | void buildWFAndDisplay(TMPacketToRead *packet, WFPacket *wfPacket, unsigned char num_page); | |
29 | void buildWFAndDisplayBurst(TMPacketToRead *packet, WFPacket *wfPacket); |
|
30 | void buildWFAndDisplayBurst(TMPacketToRead *packet, WFPacket *wfPacket); | |
30 | void buildWFAndDisplaySBM1(TMPacketToRead *packet, WFPacket *wfPacket); |
|
31 | void buildWFAndDisplaySBM1(TMPacketToRead *packet, WFPacket *wfPacket); | |
31 | void buildWFAndDisplaySBM2(TMPacketToRead *packet, WFPacket *wfPacket); |
|
32 | void buildWFAndDisplaySBM2(TMPacketToRead *packet, WFPacket *wfPacket); | |
32 |
|
33 | |||
33 | protected: |
|
34 | protected: | |
34 | void closeEvent(QCloseEvent *); |
|
35 | void closeEvent(QCloseEvent *); | |
35 |
|
36 | |||
36 | private: |
|
37 | private: | |
37 | void readSettings(); |
|
38 | void readSettings(); | |
38 | void writeSettings(); |
|
39 | void writeSettings(); | |
39 | unsigned char echoBridgeIP0; |
|
40 | unsigned char echoBridgeIP0; | |
40 | unsigned char echoBridgeIP1; |
|
41 | unsigned char echoBridgeIP1; | |
41 | unsigned char echoBridgeIP2; |
|
42 | unsigned char echoBridgeIP2; | |
42 | unsigned char echoBridgeIP3; |
|
43 | unsigned char echoBridgeIP3; | |
43 |
|
44 | |||
44 | QByteArray dataArray; |
|
45 | QByteArray dataArray; | |
45 |
|
46 | |||
46 | QList<TMPacketToRead*> generalCCSDSPacketStore; |
|
47 | QList<TMPacketToRead*> generalCCSDSPacketStore; | |
47 |
|
48 | |||
48 | QTcpServer *analyserSGSEServerTC; |
|
49 | QTcpServer *analyserSGSEServerTC; | |
49 | QTcpServer *analyserSGSEServerTM; |
|
50 | QTcpServer *analyserSGSEServerTM; | |
50 | QTcpSocket *socketTC; |
|
51 | QTcpSocket *socketTC; | |
51 | QTcpSocket *socketTM; |
|
52 | QTcpSocket *socketTM; | |
52 | QTcpSocket *socketEchoServer; |
|
53 | QTcpSocket *socketEchoServer; | |
53 |
|
54 | |||
54 | unsigned int totalOfBytes; |
|
55 | unsigned int totalOfBytes; | |
55 | unsigned int totalOfPackets; |
|
56 | unsigned int totalOfPackets; | |
56 |
|
57 | |||
57 | QXmlSimpleReader xmlReader; |
|
58 | QXmlSimpleReader xmlReader; | |
58 | QXmlInputSource *sourceTC; |
|
59 | QXmlInputSource *sourceTC; | |
59 | LFRXmlHandler *xmlHandler; |
|
60 | LFRXmlHandler *xmlHandler; | |
60 | LFRXmlParser *lfrXmlParser; |
|
61 | LFRXmlParser *lfrXmlParser; | |
61 |
|
62 | |||
62 | QList<QString> socketStates; |
|
63 | QList<QString> socketStates; | |
63 |
|
64 | |||
64 | char *buffer; |
|
65 | char *buffer; | |
65 |
|
66 | |||
66 | MainWindowUI *UI; |
|
67 | MainWindowUI *UI; | |
67 |
|
68 | |||
68 | LFRXmlWriter *lfrXmlWriter; |
|
69 | LFRXmlWriter *lfrXmlWriter; | |
69 |
|
70 | |||
70 | WFPacket wfPacketNormal[4]; |
|
71 | WFPacket wfPacketNormal[4]; | |
71 | WFPacket wfPacketBurst; |
|
72 | WFPacket wfPacketBurst; | |
72 | WFPacket wfPacketSBM1; |
|
73 | WFPacket wfPacketSBM1; | |
73 | WFPacket wfPacketSBM2; |
|
74 | WFPacket wfPacketSBM2; | |
74 |
|
75 | |||
75 | bool parsingContinue; |
|
76 | bool parsingContinue; | |
76 |
|
77 | |||
77 | signals: |
|
78 | signals: | |
78 | void socketTMHasChanged(QTcpSocket *socket); |
|
79 | void socketTMHasChanged(QTcpSocket *socket); | |
79 |
|
80 | |||
80 | public slots: |
|
81 | public slots: | |
81 | void displayOnConsole(QString message); |
|
82 | void displayOnConsole(QString message); | |
82 | void listenOnTCTMPorts(); |
|
83 | void listenOnTCTMPorts(); | |
83 | void testTCTMPorts(); |
|
84 | void testTCTMPorts(); | |
84 | void newConnectionOnTCServer(); |
|
85 | void newConnectionOnTCServer(); | |
85 | void newConnectionOnTMServer(); |
|
86 | void newConnectionOnTMServer(); | |
86 | void readDataOnTCPort(); |
|
87 | void readDataOnTCPort(); | |
87 | void readDataOnTMPort(); |
|
88 | void readDataOnTMPort(); | |
88 | void readDataOnSocketEchoServer(); |
|
89 | void readDataOnSocketEchoServer(); | |
89 | void openEchoServer(); |
|
90 | void openEchoServer(); | |
90 | void socket_TMEcho_ServerHasChanged(); |
|
91 | void socket_TMEcho_ServerHasChanged(); | |
91 | void processIncomingPacket(TMPacketToRead *packet); |
|
92 | void processIncomingPacket(TMPacketToRead *packet); | |
92 | void resetStatistics(); |
|
93 | void resetStatistics(); | |
93 | void processPacketStore(); |
|
94 | void processPacketStore(); | |
94 | }; |
|
95 | }; | |
95 |
|
96 | |||
96 | #endif // MAINWINDOW_H |
|
97 | #endif // MAINWINDOW_H |
@@ -1,340 +1,340 | |||||
1 | ############################################################################# |
|
1 | ############################################################################# | |
2 | # Makefile for building: libwfdisplay.so.1.0.0 |
|
2 | # Makefile for building: libwfdisplay.so.1.0.0 | |
3 |
# Generated by qmake (2.01a) (Qt 4.8.4) on: Fri Jul 12 0 |
|
3 | # Generated by qmake (2.01a) (Qt 4.8.4) on: Fri Jul 12 08:12:10 2013 | |
4 | # Project: wfdisplay.pro |
|
4 | # Project: wfdisplay.pro | |
5 | # Template: lib |
|
5 | # Template: lib | |
6 | # Command: /usr/bin/qmake-qt4 -o Makefile wfdisplay.pro |
|
6 | # Command: /usr/bin/qmake-qt4 -o Makefile wfdisplay.pro | |
7 | ############################################################################# |
|
7 | ############################################################################# | |
8 |
|
8 | |||
9 | ####### Compiler, tools and options |
|
9 | ####### Compiler, tools and options | |
10 |
|
10 | |||
11 | CC = gcc |
|
11 | CC = gcc | |
12 | CXX = g++ |
|
12 | CXX = g++ | |
13 | DEFINES = -DWFDISPLAY_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED |
|
13 | DEFINES = -DWFDISPLAY_LIBRARY -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED | |
14 | CFLAGS = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES) |
|
14 | CFLAGS = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES) | |
15 | CXXFLAGS = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES) |
|
15 | CXXFLAGS = -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -Wall -W -D_REENTRANT -fPIC $(DEFINES) | |
16 | INCPATH = -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -Ilppmonplot -IQCustomPlot -I. |
|
16 | INCPATH = -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -Ilppmonplot -IQCustomPlot -I. | |
17 | LINK = g++ |
|
17 | LINK = g++ | |
18 | LFLAGS = -Wl,-O1 -Wl,-z,relro -shared -Wl,-soname,libwfdisplay.so.1 |
|
18 | LFLAGS = -Wl,-O1 -Wl,-z,relro -shared -Wl,-soname,libwfdisplay.so.1 | |
19 | LIBS = $(SUBLIBS) -L/usr/lib64 -lQtGui -lQtCore -lpthread |
|
19 | LIBS = $(SUBLIBS) -L/usr/lib64 -lQtGui -lQtCore -lpthread | |
20 | AR = ar cqs |
|
20 | AR = ar cqs | |
21 | RANLIB = |
|
21 | RANLIB = | |
22 | QMAKE = /usr/bin/qmake-qt4 |
|
22 | QMAKE = /usr/bin/qmake-qt4 | |
23 | TAR = tar -cf |
|
23 | TAR = tar -cf | |
24 | COMPRESS = gzip -9f |
|
24 | COMPRESS = gzip -9f | |
25 | COPY = cp -f |
|
25 | COPY = cp -f | |
26 | SED = sed |
|
26 | SED = sed | |
27 | COPY_FILE = $(COPY) |
|
27 | COPY_FILE = $(COPY) | |
28 | COPY_DIR = $(COPY) -r |
|
28 | COPY_DIR = $(COPY) -r | |
29 | STRIP = |
|
29 | STRIP = | |
30 | INSTALL_FILE = install -m 644 -p |
|
30 | INSTALL_FILE = install -m 644 -p | |
31 | INSTALL_DIR = $(COPY_DIR) |
|
31 | INSTALL_DIR = $(COPY_DIR) | |
32 | INSTALL_PROGRAM = install -m 755 -p |
|
32 | INSTALL_PROGRAM = install -m 755 -p | |
33 | DEL_FILE = rm -f |
|
33 | DEL_FILE = rm -f | |
34 | SYMLINK = ln -f -s |
|
34 | SYMLINK = ln -f -s | |
35 | DEL_DIR = rmdir |
|
35 | DEL_DIR = rmdir | |
36 | MOVE = mv -f |
|
36 | MOVE = mv -f | |
37 | CHK_DIR_EXISTS= test -d |
|
37 | CHK_DIR_EXISTS= test -d | |
38 | MKDIR = mkdir -p |
|
38 | MKDIR = mkdir -p | |
39 |
|
39 | |||
40 | ####### Output directory |
|
40 | ####### Output directory | |
41 |
|
41 | |||
42 | OBJECTS_DIR = ./ |
|
42 | OBJECTS_DIR = ./ | |
43 |
|
43 | |||
44 | ####### Files |
|
44 | ####### Files | |
45 |
|
45 | |||
46 | SOURCES = wfdisplay.cpp \ |
|
46 | SOURCES = wfdisplay.cpp \ | |
47 | wfplot.cpp \ |
|
47 | wfplot.cpp \ | |
48 | wfpage.cpp \ |
|
48 | wfpage.cpp \ | |
49 | lppmonplot/lppmonplot.cpp \ |
|
49 | lppmonplot/lppmonplot.cpp \ | |
50 | QCustomPlot/qcustomplot.cpp moc_wfdisplay.cpp \ |
|
50 | QCustomPlot/qcustomplot.cpp moc_wfdisplay.cpp \ | |
51 | moc_wfplot.cpp \ |
|
51 | moc_wfplot.cpp \ | |
52 | moc_wfpage.cpp \ |
|
52 | moc_wfpage.cpp \ | |
53 | moc_lppmonplot.cpp \ |
|
53 | moc_lppmonplot.cpp \ | |
54 | moc_qcustomplot.cpp |
|
54 | moc_qcustomplot.cpp | |
55 | OBJECTS = wfdisplay.o \ |
|
55 | OBJECTS = wfdisplay.o \ | |
56 | wfplot.o \ |
|
56 | wfplot.o \ | |
57 | wfpage.o \ |
|
57 | wfpage.o \ | |
58 | lppmonplot.o \ |
|
58 | lppmonplot.o \ | |
59 | qcustomplot.o \ |
|
59 | qcustomplot.o \ | |
60 | moc_wfdisplay.o \ |
|
60 | moc_wfdisplay.o \ | |
61 | moc_wfplot.o \ |
|
61 | moc_wfplot.o \ | |
62 | moc_wfpage.o \ |
|
62 | moc_wfpage.o \ | |
63 | moc_lppmonplot.o \ |
|
63 | moc_lppmonplot.o \ | |
64 | moc_qcustomplot.o |
|
64 | moc_qcustomplot.o | |
65 | DIST = /usr/lib64/qt4/mkspecs/common/unix.conf \ |
|
65 | DIST = /usr/lib64/qt4/mkspecs/common/unix.conf \ | |
66 | /usr/lib64/qt4/mkspecs/common/linux.conf \ |
|
66 | /usr/lib64/qt4/mkspecs/common/linux.conf \ | |
67 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf \ |
|
67 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf \ | |
68 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ |
|
68 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ | |
69 | /usr/lib64/qt4/mkspecs/common/g++-base.conf \ |
|
69 | /usr/lib64/qt4/mkspecs/common/g++-base.conf \ | |
70 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf \ |
|
70 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf \ | |
71 | /usr/lib64/qt4/mkspecs/qconfig.pri \ |
|
71 | /usr/lib64/qt4/mkspecs/qconfig.pri \ | |
72 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \ |
|
72 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \ | |
73 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf \ |
|
73 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf \ | |
74 | /usr/lib64/qt4/mkspecs/features/qt_config.prf \ |
|
74 | /usr/lib64/qt4/mkspecs/features/qt_config.prf \ | |
75 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ |
|
75 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ | |
76 | /usr/lib64/qt4/mkspecs/features/default_pre.prf \ |
|
76 | /usr/lib64/qt4/mkspecs/features/default_pre.prf \ | |
77 | /usr/lib64/qt4/mkspecs/features/release.prf \ |
|
77 | /usr/lib64/qt4/mkspecs/features/release.prf \ | |
78 | /usr/lib64/qt4/mkspecs/features/default_post.prf \ |
|
78 | /usr/lib64/qt4/mkspecs/features/default_post.prf \ | |
79 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ |
|
79 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ | |
80 | /usr/lib64/qt4/mkspecs/features/warn_on.prf \ |
|
80 | /usr/lib64/qt4/mkspecs/features/warn_on.prf \ | |
81 | /usr/lib64/qt4/mkspecs/features/qt.prf \ |
|
81 | /usr/lib64/qt4/mkspecs/features/qt.prf \ | |
82 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf \ |
|
82 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf \ | |
83 | /usr/lib64/qt4/mkspecs/features/moc.prf \ |
|
83 | /usr/lib64/qt4/mkspecs/features/moc.prf \ | |
84 | /usr/lib64/qt4/mkspecs/features/resources.prf \ |
|
84 | /usr/lib64/qt4/mkspecs/features/resources.prf \ | |
85 | /usr/lib64/qt4/mkspecs/features/uic.prf \ |
|
85 | /usr/lib64/qt4/mkspecs/features/uic.prf \ | |
86 | /usr/lib64/qt4/mkspecs/features/yacc.prf \ |
|
86 | /usr/lib64/qt4/mkspecs/features/yacc.prf \ | |
87 | /usr/lib64/qt4/mkspecs/features/lex.prf \ |
|
87 | /usr/lib64/qt4/mkspecs/features/lex.prf \ | |
88 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \ |
|
88 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \ | |
89 | wfdisplay.pro |
|
89 | wfdisplay.pro | |
90 | QMAKE_TARGET = wfdisplay |
|
90 | QMAKE_TARGET = wfdisplay | |
91 | DESTDIR = |
|
91 | DESTDIR = | |
92 | TARGET = libwfdisplay.so.1.0.0 |
|
92 | TARGET = libwfdisplay.so.1.0.0 | |
93 | TARGETA = libwfdisplay.a |
|
93 | TARGETA = libwfdisplay.a | |
94 | TARGETD = libwfdisplay.so.1.0.0 |
|
94 | TARGETD = libwfdisplay.so.1.0.0 | |
95 | TARGET0 = libwfdisplay.so |
|
95 | TARGET0 = libwfdisplay.so | |
96 | TARGET1 = libwfdisplay.so.1 |
|
96 | TARGET1 = libwfdisplay.so.1 | |
97 | TARGET2 = libwfdisplay.so.1.0 |
|
97 | TARGET2 = libwfdisplay.so.1.0 | |
98 |
|
98 | |||
99 | first: all |
|
99 | first: all | |
100 | ####### Implicit rules |
|
100 | ####### Implicit rules | |
101 |
|
101 | |||
102 | .SUFFIXES: .o .c .cpp .cc .cxx .C |
|
102 | .SUFFIXES: .o .c .cpp .cc .cxx .C | |
103 |
|
103 | |||
104 | .cpp.o: |
|
104 | .cpp.o: | |
105 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
|
105 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | |
106 |
|
106 | |||
107 | .cc.o: |
|
107 | .cc.o: | |
108 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
|
108 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | |
109 |
|
109 | |||
110 | .cxx.o: |
|
110 | .cxx.o: | |
111 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
|
111 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | |
112 |
|
112 | |||
113 | .C.o: |
|
113 | .C.o: | |
114 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" |
|
114 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o "$@" "$<" | |
115 |
|
115 | |||
116 | .c.o: |
|
116 | .c.o: | |
117 | $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<" |
|
117 | $(CC) -c $(CFLAGS) $(INCPATH) -o "$@" "$<" | |
118 |
|
118 | |||
119 | ####### Build rules |
|
119 | ####### Build rules | |
120 |
|
120 | |||
121 | all: Makefile $(TARGET) |
|
121 | all: Makefile $(TARGET) | |
122 |
|
122 | |||
123 | $(TARGET): $(OBJECTS) $(SUBLIBS) $(OBJCOMP) |
|
123 | $(TARGET): $(OBJECTS) $(SUBLIBS) $(OBJCOMP) | |
124 | -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) |
|
124 | -$(DEL_FILE) $(TARGET) $(TARGET0) $(TARGET1) $(TARGET2) | |
125 | $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP) |
|
125 | $(LINK) $(LFLAGS) -o $(TARGET) $(OBJECTS) $(LIBS) $(OBJCOMP) | |
126 | -ln -s $(TARGET) $(TARGET0) |
|
126 | -ln -s $(TARGET) $(TARGET0) | |
127 | -ln -s $(TARGET) $(TARGET1) |
|
127 | -ln -s $(TARGET) $(TARGET1) | |
128 | -ln -s $(TARGET) $(TARGET2) |
|
128 | -ln -s $(TARGET) $(TARGET2) | |
129 |
|
129 | |||
130 |
|
130 | |||
131 |
|
131 | |||
132 | staticlib: $(TARGETA) |
|
132 | staticlib: $(TARGETA) | |
133 |
|
133 | |||
134 | $(TARGETA): $(OBJECTS) $(OBJCOMP) |
|
134 | $(TARGETA): $(OBJECTS) $(OBJCOMP) | |
135 | -$(DEL_FILE) $(TARGETA) |
|
135 | -$(DEL_FILE) $(TARGETA) | |
136 | $(AR) $(TARGETA) $(OBJECTS) |
|
136 | $(AR) $(TARGETA) $(OBJECTS) | |
137 |
|
137 | |||
138 | Makefile: wfdisplay.pro /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf /usr/lib64/qt4/mkspecs/common/unix.conf \ |
|
138 | Makefile: wfdisplay.pro /usr/lib64/qt4/mkspecs/linux-g++/qmake.conf /usr/lib64/qt4/mkspecs/common/unix.conf \ | |
139 | /usr/lib64/qt4/mkspecs/common/linux.conf \ |
|
139 | /usr/lib64/qt4/mkspecs/common/linux.conf \ | |
140 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf \ |
|
140 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf \ | |
141 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ |
|
141 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf \ | |
142 | /usr/lib64/qt4/mkspecs/common/g++-base.conf \ |
|
142 | /usr/lib64/qt4/mkspecs/common/g++-base.conf \ | |
143 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf \ |
|
143 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf \ | |
144 | /usr/lib64/qt4/mkspecs/qconfig.pri \ |
|
144 | /usr/lib64/qt4/mkspecs/qconfig.pri \ | |
145 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \ |
|
145 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri \ | |
146 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf \ |
|
146 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf \ | |
147 | /usr/lib64/qt4/mkspecs/features/qt_config.prf \ |
|
147 | /usr/lib64/qt4/mkspecs/features/qt_config.prf \ | |
148 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ |
|
148 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf \ | |
149 | /usr/lib64/qt4/mkspecs/features/default_pre.prf \ |
|
149 | /usr/lib64/qt4/mkspecs/features/default_pre.prf \ | |
150 | /usr/lib64/qt4/mkspecs/features/release.prf \ |
|
150 | /usr/lib64/qt4/mkspecs/features/release.prf \ | |
151 | /usr/lib64/qt4/mkspecs/features/default_post.prf \ |
|
151 | /usr/lib64/qt4/mkspecs/features/default_post.prf \ | |
152 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ |
|
152 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf \ | |
153 | /usr/lib64/qt4/mkspecs/features/warn_on.prf \ |
|
153 | /usr/lib64/qt4/mkspecs/features/warn_on.prf \ | |
154 | /usr/lib64/qt4/mkspecs/features/qt.prf \ |
|
154 | /usr/lib64/qt4/mkspecs/features/qt.prf \ | |
155 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf \ |
|
155 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf \ | |
156 | /usr/lib64/qt4/mkspecs/features/moc.prf \ |
|
156 | /usr/lib64/qt4/mkspecs/features/moc.prf \ | |
157 | /usr/lib64/qt4/mkspecs/features/resources.prf \ |
|
157 | /usr/lib64/qt4/mkspecs/features/resources.prf \ | |
158 | /usr/lib64/qt4/mkspecs/features/uic.prf \ |
|
158 | /usr/lib64/qt4/mkspecs/features/uic.prf \ | |
159 | /usr/lib64/qt4/mkspecs/features/yacc.prf \ |
|
159 | /usr/lib64/qt4/mkspecs/features/yacc.prf \ | |
160 | /usr/lib64/qt4/mkspecs/features/lex.prf \ |
|
160 | /usr/lib64/qt4/mkspecs/features/lex.prf \ | |
161 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \ |
|
161 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf \ | |
162 | /usr/lib64/libQtGui.prl \ |
|
162 | /usr/lib64/libQtGui.prl \ | |
163 | /usr/lib64/libQtCore.prl |
|
163 | /usr/lib64/libQtCore.prl | |
164 | $(QMAKE) -o Makefile wfdisplay.pro |
|
164 | $(QMAKE) -o Makefile wfdisplay.pro | |
165 | /usr/lib64/qt4/mkspecs/common/unix.conf: |
|
165 | /usr/lib64/qt4/mkspecs/common/unix.conf: | |
166 | /usr/lib64/qt4/mkspecs/common/linux.conf: |
|
166 | /usr/lib64/qt4/mkspecs/common/linux.conf: | |
167 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf: |
|
167 | /usr/lib64/qt4/mkspecs/common/gcc-base.conf: | |
168 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf: |
|
168 | /usr/lib64/qt4/mkspecs/common/gcc-base-unix.conf: | |
169 | /usr/lib64/qt4/mkspecs/common/g++-base.conf: |
|
169 | /usr/lib64/qt4/mkspecs/common/g++-base.conf: | |
170 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf: |
|
170 | /usr/lib64/qt4/mkspecs/common/g++-unix.conf: | |
171 | /usr/lib64/qt4/mkspecs/qconfig.pri: |
|
171 | /usr/lib64/qt4/mkspecs/qconfig.pri: | |
172 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri: |
|
172 | /usr/lib64/qt4/mkspecs/modules/qt_webkit.pri: | |
173 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf: |
|
173 | /usr/lib64/qt4/mkspecs/features/qt_functions.prf: | |
174 | /usr/lib64/qt4/mkspecs/features/qt_config.prf: |
|
174 | /usr/lib64/qt4/mkspecs/features/qt_config.prf: | |
175 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf: |
|
175 | /usr/lib64/qt4/mkspecs/features/exclusive_builds.prf: | |
176 | /usr/lib64/qt4/mkspecs/features/default_pre.prf: |
|
176 | /usr/lib64/qt4/mkspecs/features/default_pre.prf: | |
177 | /usr/lib64/qt4/mkspecs/features/release.prf: |
|
177 | /usr/lib64/qt4/mkspecs/features/release.prf: | |
178 | /usr/lib64/qt4/mkspecs/features/default_post.prf: |
|
178 | /usr/lib64/qt4/mkspecs/features/default_post.prf: | |
179 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf: |
|
179 | /usr/lib64/qt4/mkspecs/features/unix/gdb_dwarf_index.prf: | |
180 | /usr/lib64/qt4/mkspecs/features/warn_on.prf: |
|
180 | /usr/lib64/qt4/mkspecs/features/warn_on.prf: | |
181 | /usr/lib64/qt4/mkspecs/features/qt.prf: |
|
181 | /usr/lib64/qt4/mkspecs/features/qt.prf: | |
182 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf: |
|
182 | /usr/lib64/qt4/mkspecs/features/unix/thread.prf: | |
183 | /usr/lib64/qt4/mkspecs/features/moc.prf: |
|
183 | /usr/lib64/qt4/mkspecs/features/moc.prf: | |
184 | /usr/lib64/qt4/mkspecs/features/resources.prf: |
|
184 | /usr/lib64/qt4/mkspecs/features/resources.prf: | |
185 | /usr/lib64/qt4/mkspecs/features/uic.prf: |
|
185 | /usr/lib64/qt4/mkspecs/features/uic.prf: | |
186 | /usr/lib64/qt4/mkspecs/features/yacc.prf: |
|
186 | /usr/lib64/qt4/mkspecs/features/yacc.prf: | |
187 | /usr/lib64/qt4/mkspecs/features/lex.prf: |
|
187 | /usr/lib64/qt4/mkspecs/features/lex.prf: | |
188 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf: |
|
188 | /usr/lib64/qt4/mkspecs/features/include_source_dir.prf: | |
189 | /usr/lib64/libQtGui.prl: |
|
189 | /usr/lib64/libQtGui.prl: | |
190 | /usr/lib64/libQtCore.prl: |
|
190 | /usr/lib64/libQtCore.prl: | |
191 | qmake: FORCE |
|
191 | qmake: FORCE | |
192 | @$(QMAKE) -o Makefile wfdisplay.pro |
|
192 | @$(QMAKE) -o Makefile wfdisplay.pro | |
193 |
|
193 | |||
194 | dist: |
|
194 | dist: | |
195 | @$(CHK_DIR_EXISTS) .tmp/wfdisplay1.0.0 || $(MKDIR) .tmp/wfdisplay1.0.0 |
|
195 | @$(CHK_DIR_EXISTS) .tmp/wfdisplay1.0.0 || $(MKDIR) .tmp/wfdisplay1.0.0 | |
196 | $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/wfdisplay1.0.0/ && $(COPY_FILE) --parents wfdisplay.h wfdisplay_global.h wfplot.h wfpage.h wfdisplay_params.h lppmonplot/lppmonplot.h QCustomPlot/qcustomplot.h .tmp/wfdisplay1.0.0/ && $(COPY_FILE) --parents wfdisplay.cpp wfplot.cpp wfpage.cpp lppmonplot/lppmonplot.cpp QCustomPlot/qcustomplot.cpp .tmp/wfdisplay1.0.0/ && (cd `dirname .tmp/wfdisplay1.0.0` && $(TAR) wfdisplay1.0.0.tar wfdisplay1.0.0 && $(COMPRESS) wfdisplay1.0.0.tar) && $(MOVE) `dirname .tmp/wfdisplay1.0.0`/wfdisplay1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/wfdisplay1.0.0 |
|
196 | $(COPY_FILE) --parents $(SOURCES) $(DIST) .tmp/wfdisplay1.0.0/ && $(COPY_FILE) --parents wfdisplay.h wfdisplay_global.h wfplot.h wfpage.h wfdisplay_params.h lppmonplot/lppmonplot.h QCustomPlot/qcustomplot.h .tmp/wfdisplay1.0.0/ && $(COPY_FILE) --parents wfdisplay.cpp wfplot.cpp wfpage.cpp lppmonplot/lppmonplot.cpp QCustomPlot/qcustomplot.cpp .tmp/wfdisplay1.0.0/ && (cd `dirname .tmp/wfdisplay1.0.0` && $(TAR) wfdisplay1.0.0.tar wfdisplay1.0.0 && $(COMPRESS) wfdisplay1.0.0.tar) && $(MOVE) `dirname .tmp/wfdisplay1.0.0`/wfdisplay1.0.0.tar.gz . && $(DEL_FILE) -r .tmp/wfdisplay1.0.0 | |
197 |
|
197 | |||
198 |
|
198 | |||
199 | clean:compiler_clean |
|
199 | clean:compiler_clean | |
200 | -$(DEL_FILE) $(OBJECTS) |
|
200 | -$(DEL_FILE) $(OBJECTS) | |
201 | -$(DEL_FILE) *~ core *.core |
|
201 | -$(DEL_FILE) *~ core *.core | |
202 |
|
202 | |||
203 |
|
203 | |||
204 | ####### Sub-libraries |
|
204 | ####### Sub-libraries | |
205 |
|
205 | |||
206 | distclean: clean |
|
206 | distclean: clean | |
207 | -$(DEL_FILE) $(TARGET) |
|
207 | -$(DEL_FILE) $(TARGET) | |
208 | -$(DEL_FILE) $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA) |
|
208 | -$(DEL_FILE) $(TARGET0) $(TARGET1) $(TARGET2) $(TARGETA) | |
209 | -$(DEL_FILE) Makefile |
|
209 | -$(DEL_FILE) Makefile | |
210 |
|
210 | |||
211 |
|
211 | |||
212 | check: first |
|
212 | check: first | |
213 |
|
213 | |||
214 | mocclean: compiler_moc_header_clean compiler_moc_source_clean |
|
214 | mocclean: compiler_moc_header_clean compiler_moc_source_clean | |
215 |
|
215 | |||
216 | mocables: compiler_moc_header_make_all compiler_moc_source_make_all |
|
216 | mocables: compiler_moc_header_make_all compiler_moc_source_make_all | |
217 |
|
217 | |||
218 | compiler_moc_header_make_all: moc_wfdisplay.cpp moc_wfplot.cpp moc_wfpage.cpp moc_lppmonplot.cpp moc_qcustomplot.cpp |
|
218 | compiler_moc_header_make_all: moc_wfdisplay.cpp moc_wfplot.cpp moc_wfpage.cpp moc_lppmonplot.cpp moc_qcustomplot.cpp | |
219 | compiler_moc_header_clean: |
|
219 | compiler_moc_header_clean: | |
220 | -$(DEL_FILE) moc_wfdisplay.cpp moc_wfplot.cpp moc_wfpage.cpp moc_lppmonplot.cpp moc_qcustomplot.cpp |
|
220 | -$(DEL_FILE) moc_wfdisplay.cpp moc_wfplot.cpp moc_wfpage.cpp moc_lppmonplot.cpp moc_qcustomplot.cpp | |
221 | moc_wfdisplay.cpp: wfdisplay_global.h \ |
|
221 | moc_wfdisplay.cpp: wfdisplay_global.h \ | |
222 | wfpage.h \ |
|
222 | wfpage.h \ | |
223 | wfplot.h \ |
|
223 | wfplot.h \ | |
224 | wfdisplay_params.h \ |
|
224 | wfdisplay_params.h \ | |
225 | wfdisplay.h |
|
225 | wfdisplay.h | |
226 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfdisplay.h -o moc_wfdisplay.cpp |
|
226 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfdisplay.h -o moc_wfdisplay.cpp | |
227 |
|
227 | |||
228 | moc_wfplot.cpp: wfplot.h |
|
228 | moc_wfplot.cpp: wfplot.h | |
229 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfplot.h -o moc_wfplot.cpp |
|
229 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfplot.h -o moc_wfplot.cpp | |
230 |
|
230 | |||
231 | moc_wfpage.cpp: wfdisplay_global.h \ |
|
231 | moc_wfpage.cpp: wfdisplay_global.h \ | |
232 | wfplot.h \ |
|
232 | wfplot.h \ | |
233 | wfdisplay_params.h \ |
|
233 | wfdisplay_params.h \ | |
234 | wfpage.h |
|
234 | wfpage.h | |
235 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfpage.h -o moc_wfpage.cpp |
|
235 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) wfpage.h -o moc_wfpage.cpp | |
236 |
|
236 | |||
237 | moc_lppmonplot.cpp: lppmonplot/lppmonplot.h |
|
237 | moc_lppmonplot.cpp: lppmonplot/lppmonplot.h | |
238 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lppmonplot/lppmonplot.h -o moc_lppmonplot.cpp |
|
238 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) lppmonplot/lppmonplot.h -o moc_lppmonplot.cpp | |
239 |
|
239 | |||
240 | moc_qcustomplot.cpp: QCustomPlot/qcustomplot.h |
|
240 | moc_qcustomplot.cpp: QCustomPlot/qcustomplot.h | |
241 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) QCustomPlot/qcustomplot.h -o moc_qcustomplot.cpp |
|
241 | /usr/lib64/qt4/bin/moc $(DEFINES) $(INCPATH) QCustomPlot/qcustomplot.h -o moc_qcustomplot.cpp | |
242 |
|
242 | |||
243 | compiler_rcc_make_all: |
|
243 | compiler_rcc_make_all: | |
244 | compiler_rcc_clean: |
|
244 | compiler_rcc_clean: | |
245 | compiler_image_collection_make_all: qmake_image_collection.cpp |
|
245 | compiler_image_collection_make_all: qmake_image_collection.cpp | |
246 | compiler_image_collection_clean: |
|
246 | compiler_image_collection_clean: | |
247 | -$(DEL_FILE) qmake_image_collection.cpp |
|
247 | -$(DEL_FILE) qmake_image_collection.cpp | |
248 | compiler_moc_source_make_all: |
|
248 | compiler_moc_source_make_all: | |
249 | compiler_moc_source_clean: |
|
249 | compiler_moc_source_clean: | |
250 | compiler_uic_make_all: |
|
250 | compiler_uic_make_all: | |
251 | compiler_uic_clean: |
|
251 | compiler_uic_clean: | |
252 | compiler_yacc_decl_make_all: |
|
252 | compiler_yacc_decl_make_all: | |
253 | compiler_yacc_decl_clean: |
|
253 | compiler_yacc_decl_clean: | |
254 | compiler_yacc_impl_make_all: |
|
254 | compiler_yacc_impl_make_all: | |
255 | compiler_yacc_impl_clean: |
|
255 | compiler_yacc_impl_clean: | |
256 | compiler_lex_make_all: |
|
256 | compiler_lex_make_all: | |
257 | compiler_lex_clean: |
|
257 | compiler_lex_clean: | |
258 | compiler_clean: compiler_moc_header_clean |
|
258 | compiler_clean: compiler_moc_header_clean | |
259 |
|
259 | |||
260 | ####### Compile |
|
260 | ####### Compile | |
261 |
|
261 | |||
262 | wfdisplay.o: wfdisplay.cpp wfdisplay.h \ |
|
262 | wfdisplay.o: wfdisplay.cpp wfdisplay.h \ | |
263 | wfdisplay_global.h \ |
|
263 | wfdisplay_global.h \ | |
264 | wfpage.h \ |
|
264 | wfpage.h \ | |
265 | wfplot.h \ |
|
265 | wfplot.h \ | |
266 | wfdisplay_params.h |
|
266 | wfdisplay_params.h | |
267 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfdisplay.o wfdisplay.cpp |
|
267 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfdisplay.o wfdisplay.cpp | |
268 |
|
268 | |||
269 | wfplot.o: wfplot.cpp wfplot.h \ |
|
269 | wfplot.o: wfplot.cpp wfplot.h \ | |
270 | wfdisplay_params.h |
|
270 | wfdisplay_params.h | |
271 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfplot.o wfplot.cpp |
|
271 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfplot.o wfplot.cpp | |
272 |
|
272 | |||
273 | wfpage.o: wfpage.cpp wfpage.h \ |
|
273 | wfpage.o: wfpage.cpp wfpage.h \ | |
274 | wfdisplay_global.h \ |
|
274 | wfdisplay_global.h \ | |
275 | wfplot.h \ |
|
275 | wfplot.h \ | |
276 | wfdisplay_params.h |
|
276 | wfdisplay_params.h | |
277 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfpage.o wfpage.cpp |
|
277 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o wfpage.o wfpage.cpp | |
278 |
|
278 | |||
279 | lppmonplot.o: lppmonplot/lppmonplot.cpp lppmonplot/lppmonplot.h |
|
279 | lppmonplot.o: lppmonplot/lppmonplot.cpp lppmonplot/lppmonplot.h | |
280 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lppmonplot.o lppmonplot/lppmonplot.cpp |
|
280 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o lppmonplot.o lppmonplot/lppmonplot.cpp | |
281 |
|
281 | |||
282 | qcustomplot.o: QCustomPlot/qcustomplot.cpp QCustomPlot/qcustomplot.h |
|
282 | qcustomplot.o: QCustomPlot/qcustomplot.cpp QCustomPlot/qcustomplot.h | |
283 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qcustomplot.o QCustomPlot/qcustomplot.cpp |
|
283 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o qcustomplot.o QCustomPlot/qcustomplot.cpp | |
284 |
|
284 | |||
285 | moc_wfdisplay.o: moc_wfdisplay.cpp |
|
285 | moc_wfdisplay.o: moc_wfdisplay.cpp | |
286 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfdisplay.o moc_wfdisplay.cpp |
|
286 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfdisplay.o moc_wfdisplay.cpp | |
287 |
|
287 | |||
288 | moc_wfplot.o: moc_wfplot.cpp |
|
288 | moc_wfplot.o: moc_wfplot.cpp | |
289 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfplot.o moc_wfplot.cpp |
|
289 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfplot.o moc_wfplot.cpp | |
290 |
|
290 | |||
291 | moc_wfpage.o: moc_wfpage.cpp |
|
291 | moc_wfpage.o: moc_wfpage.cpp | |
292 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfpage.o moc_wfpage.cpp |
|
292 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_wfpage.o moc_wfpage.cpp | |
293 |
|
293 | |||
294 | moc_lppmonplot.o: moc_lppmonplot.cpp |
|
294 | moc_lppmonplot.o: moc_lppmonplot.cpp | |
295 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lppmonplot.o moc_lppmonplot.cpp |
|
295 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_lppmonplot.o moc_lppmonplot.cpp | |
296 |
|
296 | |||
297 | moc_qcustomplot.o: moc_qcustomplot.cpp |
|
297 | moc_qcustomplot.o: moc_qcustomplot.cpp | |
298 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_qcustomplot.o moc_qcustomplot.cpp |
|
298 | $(CXX) -c $(CXXFLAGS) $(INCPATH) -o moc_qcustomplot.o moc_qcustomplot.cpp | |
299 |
|
299 | |||
300 | ####### Install |
|
300 | ####### Install | |
301 |
|
301 | |||
302 | install_header: first FORCE |
|
302 | install_header: first FORCE | |
303 | @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ || $(MKDIR) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ |
|
303 | @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ || $(MKDIR) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ | |
304 |
-$(INSTALL_FILE) /opt/LPPMON_PLUGINS_P |
|
304 | -$(INSTALL_FILE) /home/admin/opt/LPPMON_PLUGINS_PLE/wfdisplay/wfdisplay/wfdisplay.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ | |
305 |
-$(INSTALL_FILE) /opt/LPPMON_PLUGINS_P |
|
305 | -$(INSTALL_FILE) /home/admin/opt/LPPMON_PLUGINS_PLE/wfdisplay/wfdisplay/wfdisplay_global.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ | |
306 |
-$(INSTALL_FILE) /opt/LPPMON_PLUGINS_P |
|
306 | -$(INSTALL_FILE) /home/admin/opt/LPPMON_PLUGINS_PLE/wfdisplay/wfdisplay/wfpage.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ | |
307 |
-$(INSTALL_FILE) /opt/LPPMON_PLUGINS_P |
|
307 | -$(INSTALL_FILE) /home/admin/opt/LPPMON_PLUGINS_PLE/wfdisplay/wfdisplay/wfplot.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ | |
308 |
-$(INSTALL_FILE) /opt/LPPMON_PLUGINS_P |
|
308 | -$(INSTALL_FILE) /home/admin/opt/LPPMON_PLUGINS_PLE/wfdisplay/wfdisplay/wfdisplay_params.h $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ | |
309 |
|
309 | |||
310 |
|
310 | |||
311 | uninstall_header: FORCE |
|
311 | uninstall_header: FORCE | |
312 | -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfdisplay.h |
|
312 | -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfdisplay.h | |
313 | -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfdisplay_global.h |
|
313 | -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfdisplay_global.h | |
314 | -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfpage.h |
|
314 | -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfpage.h | |
315 | -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfplot.h |
|
315 | -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfplot.h | |
316 | -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfdisplay_params.h |
|
316 | -$(DEL_FILE) -r $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/wfdisplay_params.h | |
317 | -$(DEL_DIR) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ |
|
317 | -$(DEL_DIR) $(INSTALL_ROOT)/usr/include/lppmon/wfdisplay/ | |
318 |
|
318 | |||
319 |
|
319 | |||
320 | install_target: first FORCE |
|
320 | install_target: first FORCE | |
321 | @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib64/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib64/ |
|
321 | @$(CHK_DIR_EXISTS) $(INSTALL_ROOT)/usr/lib64/ || $(MKDIR) $(INSTALL_ROOT)/usr/lib64/ | |
322 | -$(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET)" |
|
322 | -$(INSTALL_PROGRAM) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET)" | |
323 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)" |
|
323 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)" | |
324 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)" |
|
324 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)" | |
325 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)" |
|
325 | -$(SYMLINK) "$(TARGET)" "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)" | |
326 |
|
326 | |||
327 | uninstall_target: FORCE |
|
327 | uninstall_target: FORCE | |
328 | -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET)" |
|
328 | -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET)" | |
329 | -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)" |
|
329 | -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET0)" | |
330 | -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)" |
|
330 | -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET1)" | |
331 | -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)" |
|
331 | -$(DEL_FILE) "$(INSTALL_ROOT)/usr/lib64/$(TARGET2)" | |
332 | -$(DEL_DIR) $(INSTALL_ROOT)/usr/lib64/ |
|
332 | -$(DEL_DIR) $(INSTALL_ROOT)/usr/lib64/ | |
333 |
|
333 | |||
334 |
|
334 | |||
335 | install: install_header install_target FORCE |
|
335 | install: install_header install_target FORCE | |
336 |
|
336 | |||
337 | uninstall: uninstall_header uninstall_target FORCE |
|
337 | uninstall: uninstall_header uninstall_target FORCE | |
338 |
|
338 | |||
339 | FORCE: |
|
339 | FORCE: | |
340 |
|
340 |
General Comments 0
You need to be logged in to leave comments.
Login now