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

Owns the nested pause QEventLoop pointer and the application-wide freeze (disabled top-levels, actions, central widget, overlay, input filter) for the outermost LuaDebuggerDialog::handlePause frame. More...

#include <lua_debugger_pause.h>

Inheritance diagram for LuaDebuggerPauseController:

Public Member Functions

 LuaDebuggerPauseController (LuaDebuggerDialog *host)
 Constructs a new LuaDebuggerPauseController object.
 
bool hasActiveLoop () const
 Checks if there is an active nested event loop.
 
QEventLoop * activeLoop () const
 Retrieves the currently active nested event loop.
 
void setActiveLoop (QEventLoop *loop)
 Sets the active nested event loop.
 
void clearActiveLoop ()
 Clears the reference to the active nested event loop.
 
void quitLoop ()
 Quits the currently active nested event loop if one exists.
 
void beginOuterFreeze ()
 Begins the application-wide outer freeze during a pause.
 
void endFreeze ()
 Ends the application-wide outer freeze, restoring interactivity.
 

Detailed Description

Owns the nested pause QEventLoop pointer and the application-wide freeze (disabled top-levels, actions, central widget, overlay, input filter) for the outermost LuaDebuggerDialog::handlePause frame.

Constructor & Destructor Documentation

◆ LuaDebuggerPauseController()

LuaDebuggerPauseController::LuaDebuggerPauseController ( LuaDebuggerDialog host)
explicit

Constructs a new LuaDebuggerPauseController object.

Parameters
hostPointer to the hosting Lua debugger dialog.

Member Function Documentation

◆ activeLoop()

QEventLoop * LuaDebuggerPauseController::activeLoop ( ) const
inline

Retrieves the currently active nested event loop.

Returns
Pointer to the active QEventLoop.

◆ hasActiveLoop()

bool LuaDebuggerPauseController::hasActiveLoop ( ) const
inline

Checks if there is an active nested event loop.

Returns
True if an active loop exists, false otherwise.

◆ setActiveLoop()

void LuaDebuggerPauseController::setActiveLoop ( QEventLoop *  loop)
inline

Sets the active nested event loop.

Parameters
loopPointer to the QEventLoop to set as active.

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