Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
frame_information.h
Go to the documentation of this file.
1
10#ifndef FRAME_INFORMATION_H_
11#define FRAME_INFORMATION_H_
12
13#include <config.h>
14
15#include <epan/proto.h>
16#include <epan/epan_dissect.h>
17#include "epan/epan.h"
18#include "epan/column.h"
19#include "epan/ftypes/ftypes.h"
20
21#include <ui/qt/capture_file.h>
22
23#include "data_printer.h"
24
25#include <QObject>
26
27class FrameInformation : public QObject, public IDataPrintable
28{
29 Q_OBJECT
30 Q_INTERFACES(IDataPrintable)
31
32public:
33
34 explicit FrameInformation(CaptureFile * cfile, frame_data * fi, QObject * parent = Q_NULLPTR);
35 virtual ~FrameInformation();
36
37 bool isValid();
38
39 frame_data * frameData() const;
40 int frameNum() const;
41
42 const QByteArray printableData();
43
44private:
45
46 frame_data * fi_;
47 CaptureFile * cap_file_;
48 epan_dissect_t * edt_;
49 wtap_rec rec_; /* Record metadata */
50 Buffer buf_; /* Record data */
51
52 void loadFrameTree();
53
54};
55
56
57#endif // FRAME_INFORMATION_H_
Definition capture_file.h:21
Definition frame_information.h:28
Definition idata_printable.h:23
Definition buffer.h:22
Definition epan_dissect.h:28
Definition wtap.h:1432