| 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
13#include "tap_parameter_dialog.h"
14#include "ui/mcast_stream.h"
15
16 class SyntaxLineEdit;
17
21 class MulticastStatisticsDialog : public TapParameterDialog
22{
23 Q_OBJECT
24
25 public:
32 MulticastStatisticsDialog(QWidget &parent, CaptureFile &cf, const char *filter = NULL);
33
37 ~MulticastStatisticsDialog();
38
39 protected:
43 void captureFileClosing() override;
44
45 private:
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
97 private slots:
101 void updateWidgets() override;
102
106 void updateMulticastParameters();
107
111 virtual void fillTree() override;
112};
113
114#endif // MULTICASTSTATISTICSDIALOG_H
CaptureFile
Manages a capture file and its associated state and operations.
Definition capture_file.h:27
MulticastStatisticsDialog::MulticastStatisticsDialog
MulticastStatisticsDialog(QWidget &parent, CaptureFile &cf, const char *filter=NULL)
Constructs a new MulticastStatisticsDialog.
Definition multicast_statistics_dialog.cpp:177
MulticastStatisticsDialog::~MulticastStatisticsDialog
~MulticastStatisticsDialog()
Destroys the MulticastStatisticsDialog.
Definition multicast_statistics_dialog.cpp:269
MulticastStatisticsDialog::captureFileClosing
void captureFileClosing() override
Handles the event when the capture file is closing.
Definition multicast_statistics_dialog.cpp:478
SyntaxLineEdit
QLineEdit subclass that adds syntax-state colouring, error messaging, and partial token-based autocom...
Definition syntax_line_edit.h:28
TapParameterDialog::updateWidgets
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::TapParameterDialog
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
mcast_stream.h
mcaststream_tapinfo_t
struct _mcaststream_tapinfo mcaststream_tapinfo_t
Forward declaration of the multicast stream tap info aggregate structure.
Definition mcast_stream.h:78
_mcaststream_tapinfo
Aggregate tap structure holding information about all detected multicast streams.
Definition mcast_stream.h:95
tap_parameter_dialog.h