Wireshark  4.3.0
The Wireshark network protocol analyzer
wlan_statistics_dialog.h
Go to the documentation of this file.
1 
10 #ifndef WLANSTATISTICSDIALOG_H
11 #define WLANSTATISTICSDIALOG_H
12 
13 #include "tap_parameter_dialog.h"
15 
16 class QElapsedTimer;
17 
19 {
20  Q_OBJECT
21 
22 public:
23  WlanStatisticsDialog(QWidget &parent, CaptureFile &cf, const char *filter);
25 
26 protected:
27  void captureFileClosing();
28 
29 private:
30  int packet_count_;
31  int cur_network_;
32  PercentBarDelegate *packets_delegate_, *retry_delegate_;
33  QElapsedTimer *add_station_timer_;
34  QString displayFilter_;
35 
36  // Callbacks for register_tap_listener
37  static void tapReset(void *ws_dlg_ptr);
38  static tap_packet_status tapPacket(void *ws_dlg_ptr, struct _packet_info *, struct epan_dissect *, const void *wlan_hdr_ptr, tap_flags_t flags);
39  static void tapDraw(void *ws_dlg_ptr);
40 
41  virtual const QString filterExpression();
42 
43  // How each item will be exported
44  virtual QList<QVariant> treeItemData(QTreeWidgetItem *) const;
45 
46 private slots:
47  virtual void fillTree();
48  void addStationTreeItems();
49  void updateHeaderLabels();
50  void filterUpdated(QString filter);
51 };
52 
53 #endif // WLANSTATISTICSDIALOG_H
Definition: capture_file.h:21
Definition: percent_bar_delegate.h:37
Definition: tap_parameter_dialog.h:43
Definition: wlan_statistics_dialog.h:19
void captureFileClosing()
Called when the capture file is about to close. This can be used to disconnect taps and similar actio...
Definition: wlan_statistics_dialog.cpp:699
Definition: packet_info.h:44
Definition: epan_dissect.h:28
tap_packet_status
Definition: tap.h:25