nexmon – Blame information for rev 1

Subversion Repositories:
Rev:
Rev Author Line No. Line
1 office 1 /* lte_rlc_statistics_dialog.h
2 *
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
20 */
21  
22 #ifndef __LTE_RLC_STATISTICS_DIALOG_H__
23 #define __LTE_RLC_STATISTICS_DIALOG_H__
24  
25 #include "tap_parameter_dialog.h"
26  
27 #include <QCheckBox>
28  
29 class LteRlcStatisticsDialog : public TapParameterDialog
30 {
31 Q_OBJECT
32  
33 public:
34 LteRlcStatisticsDialog(QWidget &parent, CaptureFile &cf, const char *filter);
35 ~LteRlcStatisticsDialog();
36  
37 unsigned getFrameCount() { return packet_count_; }
38 void incFrameCount() { ++packet_count_; }
39  
40 protected:
41  
42 signals:
43 void launchRLCGraph(bool channelKnown,
44 guint16 ueid, guint8 rlcMode,
45 guint16 channelType, guint16 channelId,
46 guint8 direction);
47  
48 private:
49 // Extra controls needed for this dialog.
50 QCheckBox *useRLCFramesFromMacCheckBox_;
51 QCheckBox *showSRFilterCheckBox_;
52 QCheckBox *showRACHFilterCheckBox_;
53 QPushButton *launchULGraph_;
54 QPushButton *launchDLGraph_;
55  
56 CaptureFile &cf_;
57 int packet_count_;
58  
59 // Callbacks for register_tap_listener
60 static void tapReset(void *ws_dlg_ptr);
61 static gboolean tapPacket(void *ws_dlg_ptr, struct _packet_info *, struct epan_dissect *, const void *rlc_lte_tap_info_ptr);
62 static void tapDraw(void *ws_dlg_ptr);
63  
64 void updateHeaderLabels();
65  
66 virtual const QString filterExpression();
67  
68 private slots:
69 virtual void fillTree();
70 void updateItemSelectionChanged();
71  
72 void captureFileClosing();
73  
74 void useRLCFramesFromMacCheckBoxToggled(bool state);
75 void launchULGraphButtonClicked();
76 void launchDLGraphButtonClicked();
77 };
78  
79 #endif // __LTE_RLC_STATISTICS_DIALOG_H__
80  
81 /*
82 * Editor modelines
83 *
84 * Local Variables:
85 * c-basic-offset: 4
86 * tab-width: 8
87 * indent-tabs-mode: nil
88 * End:
89 *
90 * ex: set shiftwidth=4 tabstop=8 expandtab:
91 * :indentSize=4:tabSize=8:noTabs=true:
92 */