ToolX 1.11.1 [e3f477f]
A GUI debug tool chain for diagnosing GVA systems
Loading...
Searching...
No Matches
DiagnosticsTab Class Reference

The DiagnosticsTab class provides network interface enumeration, multicast configuration checks, and firewall diagnostics. More...

#include <diagnostics_tab.h>

Inheritance diagram for DiagnosticsTab:
Inheritance graph
Collaboration diagram for DiagnosticsTab:
Collaboration graph

Public Slots

void runDiagnostics ()
 Run all diagnostic tests.
void clearOutput ()
 Clear the diagnostics output.

Public Member Functions

 DiagnosticsTab (Ui::Dialog &ui, QWidget *parent=nullptr)
 Construct a new DiagnosticsTab object.
 ~DiagnosticsTab () final=default
 Destroy the DiagnosticsTab object.

Private Member Functions

void appendHeader (const QString &title)
 Append a section header to the output.
void appendPass (const QString &message)
 Append a pass result line.
void appendFail (const QString &message)
 Append a fail result line.
void appendWarn (const QString &message)
 Append a warning result line.
void appendInfo (const QString &message)
 Append an info line.
QString runCommand (const QString &command, const QStringList &args, int timeout_ms=5000)
 Run a shell command and return stdout.
void checkNetworkInterfaces ()
 Enumerate network interfaces.
void checkIpConfiguration ()
 Check IP configuration.
void checkMulticastGroups ()
 Check multicast group memberships.
void checkIgmpSnooping ()
 Check IGMP snooping.
void checkMulticastRouting ()
 Check multicast routing.
void checkFirewall ()
 Check firewall rules for SAP/RTP.
void checkSapMulticast ()
 Check SAP multicast connectivity.
void checkMulticastRoute ()
 Check default multicast route.

Private Attributes

Ui::Dialog & m_ui
 Reference to the main UI.
QTextEdit * m_output = nullptr
 Output text widget.
QTableWidget * m_interfacesTable = nullptr
 Network interfaces table.
int m_passCount = 0
 Count of passed tests.
int m_failCount = 0
 Count of failed tests.
int m_warnCount = 0
 Count of warning tests.

Detailed Description

The DiagnosticsTab class provides network interface enumeration, multicast configuration checks, and firewall diagnostics.

Constructor & Destructor Documentation

◆ DiagnosticsTab()

DiagnosticsTab::DiagnosticsTab ( Ui::Dialog & ui,
QWidget * parent = nullptr )
explicit

Construct a new DiagnosticsTab object.

Parameters
uiReference to the main UI
parentOptional parent widget

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