Wireshark 2.9.0-477-g68ec514b The Wireshark network protocol analyzer

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

service_response_time_dialog.h
1 /* service_response_time_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 __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
21 class ServiceResponseTimeDialog : public TapParameterDialog
22 {
23 Q_OBJECT
24
25 public:
26 ServiceResponseTimeDialog(QWidget &parent, CaptureFile &cf, struct register_srt *srt, const QString filter, int help_topic = 0);
27 ~ServiceResponseTimeDialog();
28 static TapParameterDialog *createSrtDialog(QWidget &parent, const QString cfg_str, const QString filter, CaptureFile &cf);
29
30 public slots:
31 void endRetapPackets();
32
33 protected:
34 struct register_srt *srt_;
35
43 // gtk:service_response_table.h:init_srt_table
44 void addSrtTable(const struct _srt_stat_table *srt_table);
45
46
47 virtual void provideParameterData() {}
48
49 protected slots:
50 void fillTree();
51
52 private:
53 // Callbacks for register_tap_listener
54 static void tapReset(void *srtd_ptr);
55 static void tapDraw(void *srtd_ptr);
56
57 virtual QList<QVariant> treeItemData(QTreeWidgetItem *ti) const;
58 virtual const QString filterExpression();
59
60 srt_data_t srt_data_;
61
62 private slots:
63 void statsTreeWidgetItemChanged();
64 };
65
72 gboolean register_service_response_tables(const void *key, void *value, void *userdata);
73
74 #endif // __SERVICE_RESPONSE_TIME_DIALOG_H__
75
76 /*
77 * Editor modelines
78 *
79 * Local Variables:
80 * c-basic-offset: 4
81 * tab-width: 8
82 * indent-tabs-mode: nil
83 * End:
84 *
85 * ex: set shiftwidth=4 tabstop=8 expandtab:
86 * :indentSize=4:tabSize=8:noTabs=true:
87 */
_srt_stat_table
Definition: srt_table.h:30
_srt_data_t
Definition: srt_table.h:52
register_srt
Definition: srt_table.c:19
TapParameterDialog
Definition: tap_parameter_dialog.h:44
ServiceResponseTimeDialog::addSrtTable
void addSrtTable(const struct _srt_stat_table *srt_table)
Definition: service_response_time_dialog.cpp:224
CaptureFile
Definition: capture_file.h:22
ServiceResponseTimeDialog
Definition: service_response_time_dialog.h:21