Wireshark  4.3.0
The Wireshark network protocol analyzer
multicast_statistics_dialog.h
Go to the documentation of this file.
1 
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 protected:
27  void captureFileClosing();
28 
29 private:
30  struct _mcaststream_tapinfo *tapinfo_;
31  SyntaxLineEdit *burst_measurement_interval_le_;
32  SyntaxLineEdit *burst_alarm_threshold_le_;
33  SyntaxLineEdit *buffer_alarm_threshold_le_;
34  SyntaxLineEdit *stream_empty_speed_le_;
35  SyntaxLineEdit *total_empty_speed_le_;
36  QList<QWidget *> line_edits_;
37 
38  // Callbacks for register_tap_listener
39  static void tapReset(mcaststream_tapinfo_t *tapinfo);
40  static void tapDraw(mcaststream_tapinfo_t *tapinfo);
41 
42  void rescan();
43 
44  virtual QList<QVariant> treeItemData(QTreeWidgetItem *ti) const;
45  virtual const QString filterExpression();
46 
47 private slots:
48  void updateWidgets();
49  void updateMulticastParameters();
50  virtual void fillTree();
51 };
52 
53 #endif // MULTICASTSTATISTICSDIALOG_H
Definition: capture_file.h:21
Definition: multicast_statistics_dialog.h:19
void captureFileClosing()
Called when the capture file is about to close. This can be used to disconnect taps and similar actio...
Definition: multicast_statistics_dialog.cpp:471
Definition: syntax_line_edit.h:23
Definition: tap_parameter_dialog.h:43
Definition: mcast_stream.h:77