Wireshark 4.7.3
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
multicast_statistics_dialog.h
Go to the documentation of this file.
1
9
10#ifndef MULTICASTSTATISTICSDIALOG_H
11#define MULTICASTSTATISTICSDIALOG_H
12
14#include "ui/mcast_stream.h"
15
16class SyntaxLineEdit;
17
22{
23 Q_OBJECT
24
25public:
32 MulticastStatisticsDialog(QWidget &parent, CaptureFile &cf, const char *filter = NULL);
33
38
39protected:
43 void captureFileClosing() override;
44
45private:
47 struct _mcaststream_tapinfo *tapinfo_;
48
50 SyntaxLineEdit *burst_measurement_interval_le_;
51
53 SyntaxLineEdit *burst_alarm_threshold_le_;
54
56 SyntaxLineEdit *buffer_alarm_threshold_le_;
57
59 SyntaxLineEdit *stream_empty_speed_le_;
60
62 SyntaxLineEdit *total_empty_speed_le_;
63
65 QList<QWidget *> line_edits_;
66
71 static void tapReset(mcaststream_tapinfo_t *tapinfo);
72
77 static void tapDraw(mcaststream_tapinfo_t *tapinfo);
78
82 void rescan();
83
89 virtual QList<QVariant> treeItemData(QTreeWidgetItem *ti) const override;
90
95 virtual const QString filterExpression() override;
96
97private slots:
101 void updateWidgets() override;
102
106 void updateMulticastParameters();
107
111 virtual void fillTree() override;
112};
113
114#endif // MULTICASTSTATISTICSDIALOG_H
Manages a capture file and its associated state and operations.
Definition capture_file.h:27
MulticastStatisticsDialog(QWidget &parent, CaptureFile &cf, const char *filter=NULL)
Constructs a new MulticastStatisticsDialog.
Definition multicast_statistics_dialog.cpp:177
~MulticastStatisticsDialog()
Destroys the MulticastStatisticsDialog.
Definition multicast_statistics_dialog.cpp:269
void captureFileClosing() override
Handles the event when the capture file is closing.
Definition multicast_statistics_dialog.cpp:478
QLineEdit subclass that adds syntax-state colouring, error messaging, and partial token-based autocom...
Definition syntax_line_edit.h:28
void updateWidgets() override
Refreshes the enabled/disabled state of UI widgets based on current capture and filter state.
Definition tap_parameter_dialog.cpp:505
TapParameterDialog(QWidget &parent, CaptureFile &cf, int help_topic=0)
Constructs the tap parameter dialog and registers it for retapping.
Definition tap_parameter_dialog.cpp:69
struct _mcaststream_tapinfo mcaststream_tapinfo_t
Forward declaration of the multicast stream tap info aggregate structure.
Definition mcast_stream.h:78
Aggregate tap structure holding information about all detected multicast streams.
Definition mcast_stream.h:95