10#ifndef RTP_STREAM_DIALOG_H
11#define RTP_STREAM_DIALOG_H
143#ifdef QT_MULTIMEDIA_LIB
147 void rtpAnalysisReplace()
override;
152 void rtpAnalysisAdd()
override;
157 void rtpAnalysisRemove()
override;
179 bool eventFilter(QObject *obj, QEvent *event)
override;
196 static std::mutex mutex_;
199 Ui::RtpStreamDialog *ui;
202 rtpstream_tapinfo_t tapinfo_;
205 QToolButton *find_reverse_button_;
208 QPushButton *prepare_button_;
211 QPushButton *export_button_;
214 QPushButton *copy_button_;
217 QToolButton *analyze_button_;
220 QToolButton *player_button_;
229 QList<rtpstream_id_t> last_selected_;
235 static void tapReset(rtpstream_tapinfo_t *tapinfo);
241 static void tapDraw(rtpstream_tapinfo_t *tapinfo);
248 static void tapMarkPacket(rtpstream_tapinfo_t *tapinfo,
frame_data *fd);
253 void updateStreams();
277 QList<QVariant> streamRowData(
int row)
const;
282 void freeLastSelected();
287 void invertSelection();
293 QVector<rtpstream_id_t *>getSelectedRtpIds();
300 void showStreamMenu(QPoint pos);
305 void on_actionCopyAsCsv_triggered();
310 void on_actionCopyAsYaml_triggered();
315 void on_actionFindReverseNormal_triggered();
320 void on_actionFindReversePair_triggered();
325 void on_actionFindReverseSingle_triggered();
330 void on_actionGoToSetup_triggered();
335 void on_actionMarkPackets_triggered();
340 void on_actionPrepareFilter_triggered();
345 void on_streamTreeWidget_itemSelectionChanged();
350 void on_buttonBox_helpRequested();
355 void on_actionExportAsRtpDump_triggered();
367 void displayFilterCheckBoxToggled(
bool checked);
373 void on_todCheckBox_toggled(
bool checked);
378 void on_actionSelectAll_triggered();
383 void on_actionSelectInvert_triggered();
388 void on_actionSelectNone_triggered();
393 void on_actionAnalyze_triggered();
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
RtpBaseDialog(QWidget &parent, CaptureFile &cf)
Constructs an RtpBaseDialog.
Definition rtp_player_dialog.h:82
void rtpAnalysisDialogAddRtpStreams(QVector< rtpstream_id_t * > stream_infos)
Signal emitted to request adding streams to the RTP Analysis dialog.
void updateFilter(QString filter, bool force=false)
Signal emitted to update the display filter.
bool eventFilter(QObject *obj, QEvent *event) override
Event filter for intercepting events from child widgets.
Definition rtp_stream_dialog.cpp:460
void deselectRtpStream(QVector< rtpstream_id_t * > stream_ids)
Deselects specific RTP streams. Caller must provide ids which are immutable to recap.
Definition rtp_stream_dialog.cpp:452
void rtpPlayerDialogRemoveRtpStreams(QVector< rtpstream_id_t * > stream_ids)
Signal emitted to request removing streams from the RTP Player.
void operator=(const RtpStreamDialog &)=delete
Should not be assignable.
void captureFileClosing() override
Handles operations before the capture file finishes closing.
Definition rtp_stream_dialog.cpp:718
void captureFileClosed() override
Handles cleanup after the capture file is fully closed.
Definition rtp_stream_dialog.cpp:725
void selectRtpStream(QVector< rtpstream_id_t * > stream_ids)
Selects specific RTP streams. Caller must provide ids which are immutable to recap.
Definition rtp_stream_dialog.cpp:444
static RtpStreamDialog * openRtpStreamDialog(QWidget &parent, CaptureFile &cf, QObject *packet_list)
Opens or retrieves the singleton instance of the RTP Stream Dialog.
Definition rtp_stream_dialog.cpp:305
void rtpPlayerRemove()
Slot to trigger removing streams from the player.
Definition rtp_stream_dialog.cpp:1008
void rtpPlayerDialogAddRtpStreams(QVector< rtpstream_id_t * > stream_ids)
Signal emitted to request adding streams to the RTP Player.
void rtpAnalysisDialogRemoveRtpStreams(QVector< rtpstream_id_t * > stream_infos)
Signal emitted to request removing streams from the RTP Analysis dialog.
void packetsMarked()
Signal emitted when packets are marked.
void rtpAnalysisDialogReplaceRtpStreams(QVector< rtpstream_id_t * > stream_infos)
Signal emitted to request replacing streams in the RTP Analysis dialog.
void goToPacket(int packet_num)
Signal emitted to navigate to a specific packet.
~RtpStreamDialog()
Destroys the RtpStreamDialog.
Definition rtp_stream_dialog.cpp:419
RtpStreamDialog(RtpStreamDialog &other)=delete
Should not be cloneable.
void rtpPlayerReplace()
Slot to trigger replacing streams in the player.
Definition rtp_stream_dialog.cpp:994
void rtpPlayerDialogReplaceRtpStreams(QVector< rtpstream_id_t * > stream_ids)
Signal emitted to request replacing streams in the RTP Player.
void rtpPlayerAdd()
Slot to trigger adding streams to the player.
Definition rtp_stream_dialog.cpp:1001
virtual void updateWidgets()
Updates the state and contents of the dialog's widgets.
Definition wireshark_dialog.cpp:92
DIAG_OFF_PEDANTIC struct _frame_data frame_data
Frame data structure.
struct _rtpstream_id rtpstream_id_t