|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
Represents an event occurring during a capture or file operation. More...
#include <capture_event.h>
Public Types | |
| enum | Context { File = 0x0002 , Reload = 0x0100 | File , Rescan = 0x0200 | File , Save = 0x0400 | File , Retap = 0x0800 | File , Merge = 0x1000 | File } |
| Defines the operational context of the event. More... | |
| enum | EventType { Opened = 0x0001 , Started = 0x0002 , Finished = 0x0004 , Closing = 0x0008 , Closed = 0x0010 , Failed = 0x0020 , Stopped = 0x0040 , Flushed = 0x0080 , Prepared = 0x0100 , Continued = 0x0200 , Stopping = 0x0400 } |
| Defines the specific type of event. More... | |
Public Member Functions | |
| CaptureEvent (Context ctx, EventType evt) | |
| Constructs a new CaptureEvent with a specific context and event type. | |
| CaptureEvent (Context ctx, EventType evt, QString file) | |
| Constructs a new CaptureEvent with an associated file path. | |
| CaptureEvent (Context ctx, EventType evt, capture_session *session) | |
| Constructs a new CaptureEvent with an associated capture session. | |
| CaptureEvent (const CaptureEvent &ce) | |
| Copy constructor for CaptureEvent. | |
| Context | captureContext () const |
| Retrieves the context of the capture event. | |
| EventType | eventType () const |
| Retrieves the type of the capture event. | |
| QString | filePath () const |
| Retrieves the associated file path. | |
| capture_session * | capSession () const |
| Retrieves the associated capture session. | |
Represents an event occurring during a capture or file operation.
Defines the specific type of event.
Constructs a new CaptureEvent with a specific context and event type.
| ctx | The context in which the event occurred. |
| evt | The type of event. |
Constructs a new CaptureEvent with an associated file path.
| ctx | The context in which the event occurred. |
| evt | The type of event. |
| file | The file path associated with the event. |
| CaptureEvent::CaptureEvent | ( | Context | ctx, |
| EventType | evt, | ||
| capture_session * | session | ||
| ) |
Constructs a new CaptureEvent with an associated capture session.
| ctx | The context in which the event occurred. |
| evt | The type of event. |
| session | The capture session associated with the event. |
| CaptureEvent::CaptureEvent | ( | const CaptureEvent & | ce | ) |
Copy constructor for CaptureEvent.
| ce | The CaptureEvent to copy. |
| capture_session * CaptureEvent::capSession | ( | ) | const |
Retrieves the associated capture session.
| CaptureEvent::Context CaptureEvent::captureContext | ( | ) | const |
Retrieves the context of the capture event.
| CaptureEvent::EventType CaptureEvent::eventType | ( | ) | const |
Retrieves the type of the capture event.
| QString CaptureEvent::filePath | ( | ) | const |
Retrieves the associated file path.