65 QVector<struct profile_switch_filter> profile_filters_;
66 bool capture_file_changed_;
67 bool profile_changed_;
68 QString previous_cap_file_;
73 void clearProfileFilters();
80 void disableSwitching();
Represents an event occurring during a capture or file operation.
Definition capture_event.h:24
A Qt item model representing the list of packets in a capture file.
Definition packet_list_model.h:36
Monitors incoming packets and automatically switches the active configuration profile when a packet m...
Definition profile_switcher.h:38
void checkPacket(capture_file *cap_file, frame_data *fdata, qsizetype row)
Evaluates a single packet against all registered profile filters and switches the active profile if a...
Definition profile_switcher.cpp:69
void captureEventHandler(CaptureEvent ev)
Handles capture lifecycle events (e.g. file open/close, capture start/stop) and updates internal stat...
Definition profile_switcher.cpp:41
DIAG_OFF_PEDANTIC struct _frame_data frame_data
Frame data structure.
Represents a capture file and its associated metadata.
Definition cfile.h:84
The compiled display filter object passed back to the user.
Definition dfilter-int.h:46
Associates a configuration profile name with a compiled display-filter program used to trigger an aut...
Definition profile_switcher.h:24
dfilter_t * dfcode
Definition profile_switcher.h:26
QString name
Definition profile_switcher.h:25