10#ifndef DIS_STREAM_DIALOG_H
11#define DIS_STREAM_DIALOG_H
15#include <QDialogButtonBox>
19#ifdef QT_MULTIMEDIA_LIB
26#include "ui/tap-dis-common.h"
101 class DisStreamTreeWidgetItem :
public QTreeWidgetItem {
103 using QTreeWidgetItem::QTreeWidgetItem;
109 bool operator<(
const QTreeWidgetItem &other)
const override;
116 static std::mutex mutex_;
119 QTreeWidget *stream_tree_;
122 QDialogButtonBox *button_box_;
125 QPushButton *filter_button_;
128 QPushButton *play_button_;
131 QPushButton *stop_button_;
134 QPushButton *analyze_button_;
140 QObject *packet_list_;
142#ifdef QT_MULTIMEDIA_LIB
144 class DisAudioStream *audio_stream_;
171 void updateStreams();
176 void updateWidgets()
override;
182 void onStreamSelectionChanged();
189 void onStreamItemDoubleClicked(QTreeWidgetItem *item,
int column);
194 void onPrepareFilter();
199 void onAnalyzeStream();
201#ifdef QT_MULTIMEDIA_LIB
216 void onPlaybackStateChanged(QAudio::State state _U_);
Represents an event occurring during a capture or file operation.
Definition capture_event.h:24
Manages a capture file and its associated state and operations.
Definition capture_file.h:27
A dialog for viewing and managing DIS (Distributed Interactive Simulation) streams from a capture fil...
Definition dis_stream_dialog.h:34
void goToPacket(int packet_num)
Signal emitted to navigate the main UI to a specific packet number.
void captureFileClosing() override
Slot triggered when the capture file begins closing.
Definition dis_stream_dialog.cpp:189
void captureFileClosed() override
Slot triggered when the capture file is fully closed.
Definition dis_stream_dialog.cpp:199
void operator=(const DisStreamDialog &)=delete
Deleted assignment operator to enforce singleton pattern.
DisStreamDialog(DisStreamDialog &other)=delete
Deleted copy constructor to enforce singleton pattern.
void updateFilter(QString filter, bool force=false)
Signal emitted to update the application's display filter.
~DisStreamDialog()
Destroys the DisStreamDialog.
Definition dis_stream_dialog.cpp:175
static DisStreamDialog * openDisStreamDialog(QWidget &parent, CaptureFile &cf, QObject *packet_list)
Opens or retrieves the singleton instance of the DisStreamDialog.
Definition dis_stream_dialog.cpp:76
Base class for Wireshark specific dialogs that require interaction with a CaptureFile.
Definition wireshark_dialog.h:38
Aggregated analysis state and statistics for a single DIS stream.
Definition tap-dis-common.h:57
Top-level tap context for DIS stream analysis, holding all discovered streams and tap configuration.
Definition tap-dis-common.h:124