| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
sctp_graph_byte_dialog.h
Go to the documentation of this file.
1
10#ifndef SCTP_GRAPH_BYTE_DIALOG_H
11#define SCTP_GRAPH_BYTE_DIALOG_H
12
13#include <config.h>
14
15#include <epan/cfile.h>
16
17#include <QDialog>
18
19 namespace Ui {
20 class SCTPGraphByteDialog;
21}
22
23 class QCPAbstractPlottable;
24
25 struct _sctp_assoc_info;
26
27 class SCTPGraphByteDialog : public QDialog
28{
29 Q_OBJECT
30
31 public:
32 explicit SCTPGraphByteDialog(QWidget *parent = 0, const _sctp_assoc_info *assoc = NULL,
33 capture_file *cf = NULL, int dir = 0);
34 ~SCTPGraphByteDialog();
35
36 public slots:
37 void setCaptureFile(capture_file *cf) { cap_file_ = cf; }
38
39 private slots:
40 void on_pushButton_4_clicked();
41
42 void graphClicked(QCPAbstractPlottable* plottable, int, QMouseEvent* event);
43
44 void on_saveButton_clicked();
45
46 private:
47 Ui::SCTPGraphByteDialog *ui;
48 uint16_t selected_assoc_id;
49 capture_file *cap_file_;
50 int frame_num;
51 int direction;
52 QVector<double> xb, yb;
53 QVector<uint32_t> fb;
54
55 void drawGraph();
56 void drawBytesGraph(const _sctp_assoc_info *selected_assoc);
57};
58
59#endif // SCTP_GRAPH_DIALOG_H
cfile.h
SCTPGraphByteDialog
Definition sctp_graph_byte_dialog.h:28
_capture_file
Definition cfile.h:71
_sctp_assoc_info
Definition tap-sctp-analysis.h:192