Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
multicast_statistics_dialog.h
1 /* multicast_statistics_dialog.h
2  *
3  * Wireshark - Network traffic analyzer
4  * By Gerald Combs <gerald@wireshark.org>
5  * Copyright 1998 Gerald Combs
6  *
7  * SPDX-License-Identifier: GPL-2.0-or-later
8  */
9 
10 #ifndef MULTICASTSTATISTICSDIALOG_H
11 #define MULTICASTSTATISTICSDIALOG_H
12 
13 #include "tap_parameter_dialog.h"
14 #include "ui/mcast_stream.h"
15 
16 class SyntaxLineEdit;
17 
19 {
20  Q_OBJECT
21 
22 public:
23  MulticastStatisticsDialog(QWidget &parent, CaptureFile &cf, const char *filter = NULL);
25 
26 private:
27  struct _mcaststream_tapinfo *tapinfo_;
28  SyntaxLineEdit *burst_measurement_interval_le_;
29  SyntaxLineEdit *burst_alarm_threshold_le_;
30  SyntaxLineEdit *buffer_alarm_threshold_le_;
31  SyntaxLineEdit *stream_empty_speed_le_;
32  SyntaxLineEdit *total_empty_speed_le_;
33  QList<QWidget *> line_edits_;
34 
35  // Callbacks for register_tap_listener
36  static void tapReset(mcaststream_tapinfo_t *tapinfo);
37  static void tapDraw(mcaststream_tapinfo_t *tapinfo);
38 
39  virtual QList<QVariant> treeItemData(QTreeWidgetItem *ti) const;
40  virtual const QString filterExpression();
41 
42 private slots:
43  void updateWidgets();
44  void updateMulticastParameters();
45  virtual void fillTree();
46  void captureEvent(CaptureEvent e);
47 };
48 
49 #endif // MULTICASTSTATISTICSDIALOG_H
50 
51 /*
52  * Editor modelines
53  *
54  * Local Variables:
55  * c-basic-offset: 4
56  * tab-width: 8
57  * indent-tabs-mode: nil
58  * End:
59  *
60  * ex: set shiftwidth=4 tabstop=8 expandtab:
61  * :indentSize=4:tabSize=8:noTabs=true:
62  */
Definition: multicast_statistics_dialog.h:18
Definition: tap_parameter_dialog.h:44
Definition: syntax_line_edit.h:22
Definition: capture_event.h:19
Definition: mcast_stream.h:77
Definition: capture_file.h:22