| Wireshark 4.7.3 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
simple_statistics_dialog.h
Go to the documentation of this file.
1
9
10#ifndef __SIMPLE_STATISTICS_DIALOG_H__
11#define __SIMPLE_STATISTICS_DIALOG_H__
12
13#include "tap_parameter_dialog.h"
14
15 struct _stat_data_t;
16
22 class SimpleStatisticsDialog : public TapParameterDialog
23{
24 Q_OBJECT
25
26 public:
35 SimpleStatisticsDialog(QWidget &parent, CaptureFile &cf,
36 struct _stat_tap_table_ui *stu,
37 const QString filter,
38 int help_topic = 0);
39
52 static TapParameterDialog *createSimpleStatisticsDialog(QWidget &parent,
53 const QString cfg_str,
54 const QString filter,
55 CaptureFile &cf);
56
57 protected:
66 void addMissingRows(struct _stat_data_t *stat_data);
67
68 private:
69 struct _stat_tap_table_ui *stu_;
70
75 static void tapReset(void *sd_ptr);
76
81 static void tapDraw(void *sd_ptr);
82
91 virtual QList<QVariant> treeItemData(QTreeWidgetItem *item) const override;
92
96 ~SimpleStatisticsDialog();
97
98 private slots:
105 virtual void fillTree() override;
106};
107
114 bool register_simple_stat_tables(const void *key, void *value, void*);
115
116#endif // __SIMPLE_STATISTICS_DIALOG_H__
CaptureFile
Manages a capture file and its associated state and operations.
Definition capture_file.h:27
SimpleStatisticsDialog::SimpleStatisticsDialog
SimpleStatisticsDialog(QWidget &parent, CaptureFile &cf, struct _stat_tap_table_ui *stu, const QString filter, int help_topic=0)
Constructs a SimpleStatisticsDialog and registers the tap listener.
Definition simple_statistics_dialog.cpp:150
SimpleStatisticsDialog::createSimpleStatisticsDialog
static TapParameterDialog * createSimpleStatisticsDialog(QWidget &parent, const QString cfg_str, const QString filter, CaptureFile &cf)
Factory function conforming to the TapParameterDialog creation signature.
Definition simple_statistics_dialog.cpp:173
SimpleStatisticsDialog::addMissingRows
void addMissingRows(struct _stat_data_t *stat_data)
Adds tree widget rows for any table entries present in stat_data that do not yet have a corresponding...
Definition simple_statistics_dialog.cpp:185
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_simple_stat_tables
bool register_simple_stat_tables(const void *key, void *value, void *)
Register function to register dissectors that support a "simple" statistics table.
Definition simple_statistics_dialog.cpp:42
_stat_data_t
Per-tap-instance data passed between the tap engine and the statistics UI.
Definition stat_tap_ui.h:205
_stat_tap_table_ui
Registration descriptor and runtime state for a table-based tap statistics UI.
Definition stat_tap_ui.h:156
tap_parameter_dialog.h