Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Slots | Signals | Public Member Functions | Static Public Member Functions | List of all members
FunnelStatistics Class Reference

Manages statistics and user interface interactions for Lua-based funnel plugins. More...

#include <funnel_statistics.h>

Inheritance diagram for FunnelStatistics:

Public Slots

void funnelActionTriggered ()
 Slot triggered when a funnel action is executed from the UI.
 
void displayFilterTextChanged (const QString &filter)
 Slot triggered when the text in the display filter field changes.
 

Signals

void openCaptureFile (QString cf_path, QString filter)
 Signal emitted to request opening a capture file.
 
void setDisplayFilter (QString filter, FilterAction::Action action, FilterAction::ActionType filterType)
 Signal emitted to request setting a display filter.
 

Public Member Functions

 FunnelStatistics (QObject *parent, CaptureFile &cf)
 Constructs a new FunnelStatistics object.
 
 ~FunnelStatistics ()
 Destroys the FunnelStatistics object.
 
void retapPackets ()
 Retaps all packets in the capture file.
 
struct progdlgprogressDialogNew (const char *task_title, const char *item_title, bool terminate_is_stop, bool *stop_flag)
 Creates a new progress dialog for funnel operations.
 
const char * displayFilter ()
 Retrieves the current display filter.
 
void emitSetDisplayFilter (const QString filter)
 Emits a signal to set the display filter in the main UI.
 
void reloadPackets ()
 Triggers a reload of the packets in the capture file.
 
void redissectPackets ()
 Triggers redissection of the packets.
 
void reloadLuaPlugins ()
 Reloads all registered Lua plugins.
 
void emitApplyDisplayFilter ()
 Emits a signal to apply the prepared display filter.
 
void emitOpenCaptureFile (QString cf_path, QString filter)
 Emits a signal to open a new capture file.
 
void loadInitFunnelMenus ()
 Loads and initializes the funnel menus based on registered plugins.
 

Static Public Member Functions

static const QString & actionName ()
 Retrieves the standard action name for the funnel statistics.
 

Detailed Description

Manages statistics and user interface interactions for Lua-based funnel plugins.

Constructor & Destructor Documentation

◆ FunnelStatistics()

FunnelStatistics::FunnelStatistics ( QObject *  parent,
CaptureFile cf 
)
explicit

Constructs a new FunnelStatistics object.

Parameters
parentThe parent QObject.
cfThe capture file associated with the statistics.

Member Function Documentation

◆ actionName()

static const QString & FunnelStatistics::actionName ( )
inlinestatic

Retrieves the standard action name for the funnel statistics.

Returns
The action name string.

◆ displayFilter()

const char * FunnelStatistics::displayFilter ( )

Retrieves the current display filter.

Returns
The display filter string.

◆ displayFilterTextChanged

void FunnelStatistics::displayFilterTextChanged ( const QString &  filter)
slot

Slot triggered when the text in the display filter field changes.

Parameters
filterThe new filter string.

◆ emitOpenCaptureFile()

void FunnelStatistics::emitOpenCaptureFile ( QString  cf_path,
QString  filter 
)

Emits a signal to open a new capture file.

Parameters
cf_pathThe path to the capture file.
filterAn optional display filter to apply upon opening.

◆ emitSetDisplayFilter()

void FunnelStatistics::emitSetDisplayFilter ( const QString  filter)

Emits a signal to set the display filter in the main UI.

Parameters
filterThe filter string to apply.

◆ openCaptureFile

void FunnelStatistics::openCaptureFile ( QString  cf_path,
QString  filter 
)
signal

Signal emitted to request opening a capture file.

Parameters
cf_pathThe path to the capture file.
filterThe filter to apply.

◆ progressDialogNew()

struct progdlg * FunnelStatistics::progressDialogNew ( const char *  task_title,
const char *  item_title,
bool  terminate_is_stop,
bool *  stop_flag 
)

Creates a new progress dialog for funnel operations.

Parameters
task_titleThe title of the overall task.
item_titleThe title of the current item being processed.
terminate_is_stopTrue if terminating the dialog implies stopping the task.
stop_flagPointer to a boolean flag set when the user requests a stop.
Returns
A pointer to the created progress dialog structure.

◆ setDisplayFilter

void FunnelStatistics::setDisplayFilter ( QString  filter,
FilterAction::Action  action,
FilterAction::ActionType  filterType 
)
signal

Signal emitted to request setting a display filter.

Parameters
filterThe filter string.
actionThe filter action to perform.
filterTypeThe type of the filter action.

The documentation for this class was generated from the following files: