| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
service_response_time_dialog.h
Go to the documentation of this file.
1
9
10#ifndef __SERVICE_RESPONSE_TIME_DIALOG_H__
11#define __SERVICE_RESPONSE_TIME_DIALOG_H__
12
13#include "tap_parameter_dialog.h"
14#include <epan/srt_table.h>
15
16 struct register_srt;
17 struct _srt_stat_table;
18
19 class QTreeWidgetItem;
20
24 class ServiceResponseTimeDialog : public TapParameterDialog
25{
26 Q_OBJECT
27
28 public:
37 ServiceResponseTimeDialog(QWidget &parent, CaptureFile &cf, struct register_srt *srt, const QString filter, int help_topic = 0);
38
42 ~ServiceResponseTimeDialog();
43
52 static TapParameterDialog *createSrtDialog(QWidget &parent, const QString cfg_str, const QString filter, CaptureFile &cf);
53
54 public slots:
58 void endRetapPackets() override;
59
60 protected:
62 struct register_srt *srt_;
63
71 // gtk:service_response_table.h:init_srt_table
72 void addSrtTable(const struct _srt_stat_table *srt_table);
73
77 virtual void provideParameterData() {}
78
79 protected slots:
83 void fillTree() override;
84
85 private:
86 // Callbacks for register_tap_listener
91 static void tapReset(void *srtd_ptr);
92
97 static void tapDraw(void *srtd_ptr);
98
104 virtual QList<QVariant> treeItemData(QTreeWidgetItem *ti) const override;
105
110 virtual const QString filterExpression() override;
111
113 srt_data_t srt_data_;
114
115 private slots:
119 void statsTreeWidgetItemChanged();
120};
121
129 bool register_service_response_tables(const void *key, void *value, void *userdata);
130
131#endif // __SERVICE_RESPONSE_TIME_DIALOG_H__
CaptureFile
Manages a capture file and its associated state and operations.
Definition capture_file.h:27
ServiceResponseTimeDialog::srt_
struct register_srt * srt_
Pointer to the registered SRT data structure.
Definition service_response_time_dialog.h:62
ServiceResponseTimeDialog::createSrtDialog
static TapParameterDialog * createSrtDialog(QWidget &parent, const QString cfg_str, const QString filter, CaptureFile &cf)
Factory method to create an SRT dialog.
Definition service_response_time_dialog.cpp:214
ServiceResponseTimeDialog::provideParameterData
virtual void provideParameterData()
Virtual method for derived classes to provide specific parameter data.
Definition service_response_time_dialog.h:77
ServiceResponseTimeDialog::fillTree
void fillTree() override
Fills the tree widget with the collected SRT statistics.
Definition service_response_time_dialog.cpp:271
ServiceResponseTimeDialog::addSrtTable
void addSrtTable(const struct _srt_stat_table *srt_table)
Definition service_response_time_dialog.cpp:226
ServiceResponseTimeDialog::ServiceResponseTimeDialog
ServiceResponseTimeDialog(QWidget &parent, CaptureFile &cf, struct register_srt *srt, const QString filter, int help_topic=0)
Constructs a new ServiceResponseTimeDialog object.
Definition service_response_time_dialog.cpp:171
ServiceResponseTimeDialog::endRetapPackets
void endRetapPackets() override
Slot called when the retap of packets finishes.
Definition service_response_time_dialog.cpp:262
ServiceResponseTimeDialog::~ServiceResponseTimeDialog
~ServiceResponseTimeDialog()
Destroys the ServiceResponseTimeDialog object.
Definition service_response_time_dialog.cpp:206
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
register_service_response_tables
bool register_service_response_tables(const void *key, void *value, void *userdata)
Definition service_response_time_dialog.cpp:44
srt_table.h
srt_data_t
struct _srt_data_t srt_data_t
_srt_stat_table
Definition srt_table.h:27
register_srt
Definition srt_table.c:20
tap_parameter_dialog.h