Wireshark  4.3.0
The Wireshark network protocol analyzer
sctp_graph_arwnd_dialog.h
Go to the documentation of this file.
1 
10 #ifndef SCTP_GRAPH_ARWND_DIALOG_H
11 #define SCTP_GRAPH_ARWND_DIALOG_H
12 
13 #include <config.h>
14 #include <glib.h>
15 
16 #include "cfile.h"
17 
18 #include <QDialog>
19 
20 namespace Ui {
22 }
23 
24 class QCPAbstractPlottable;
25 
26 struct _sctp_assoc_info;
27 
28 class SCTPGraphArwndDialog : public QDialog
29 {
30  Q_OBJECT
31 
32 public:
33  explicit SCTPGraphArwndDialog(QWidget *parent = 0, const _sctp_assoc_info *assoc = NULL,
34  capture_file *cf = NULL, int dir = 0);
36 
37 public slots:
38  void setCaptureFile(capture_file *cf) { cap_file_ = cf; }
39 
40 private slots:
41  void on_pushButton_4_clicked();
42 
43  void graphClicked(QCPAbstractPlottable* plottable, int, QMouseEvent* event);
44 
45  void on_saveButton_clicked();
46 
47 private:
48  Ui::SCTPGraphArwndDialog *ui;
49  guint16 selected_assoc_id;
50  capture_file *cap_file_;
51  int frame_num;
52  int direction;
53  guint32 startArwnd;
54  QVector<double> xa, ya;
55  QVector<guint32> fa;
56  // QVector<QString> typeStrings;
57 
58  void drawGraph(const _sctp_assoc_info *selected_assoc);
59  void drawArwndGraph(const _sctp_assoc_info *selected_assoc);
60 };
61 
62 #endif // SCTP_GRAPH_DIALOG_H
Definition: sctp_graph_arwnd_dialog.h:29
Definition: cfile.h:67
Definition: tap-sctp-analysis.h:192