10#ifndef RTP_STREAM_DIALOG_H
11#define RTP_STREAM_DIALOG_H
177 bool eventFilter(QObject *obj, QEvent *event)
override;
194 static std::mutex mutex_;
197 Ui::RtpStreamDialog *ui;
200 rtpstream_tapinfo_t tapinfo_;
203 QToolButton *find_reverse_button_;
206 QPushButton *prepare_button_;
209 QPushButton *export_button_;
212 QPushButton *copy_button_;
215 QToolButton *analyze_button_;
218 QToolButton *player_button_;
227 QList<rtpstream_id_t> last_selected_;
233 static void tapReset(rtpstream_tapinfo_t *tapinfo);
239 static void tapDraw(rtpstream_tapinfo_t *tapinfo);
246 static void tapMarkPacket(rtpstream_tapinfo_t *tapinfo,
frame_data *fd);
251 void updateStreams();
275 QList<QVariant> streamRowData(
int row)
const;
280 void freeLastSelected();
285 void invertSelection();
291 QVector<rtpstream_id_t *>getSelectedRtpIds();
298 void showStreamMenu(QPoint pos);
303 void on_actionCopyAsCsv_triggered();
308 void on_actionCopyAsYaml_triggered();
313 void on_actionFindReverseNormal_triggered();
318 void on_actionFindReversePair_triggered();
323 void on_actionFindReverseSingle_triggered();
328 void on_actionGoToSetup_triggered();
333 void on_actionMarkPackets_triggered();
338 void on_actionPrepareFilter_triggered();
343 void on_streamTreeWidget_itemSelectionChanged();
348 void on_buttonBox_helpRequested();
353 void on_actionExportAsRtpDump_triggered();
365 void displayFilterCheckBoxToggled(
bool checked);
371 void on_todCheckBox_toggled(
bool checked);
376 void on_actionSelectAll_triggered();
381 void on_actionSelectInvert_triggered();
386 void on_actionSelectNone_triggered();
391 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 rtpAnalysisRemove() override
Slot to trigger removing streams from analysis.
Definition rtp_stream_dialog.cpp:1029
void rtpAnalysisDialogReplaceRtpStreams(QVector< rtpstream_id_t * > stream_infos)
Signal emitted to request replacing streams in the RTP Analysis dialog.
void rtpAnalysisReplace() override
Slot to trigger replacing streams in analysis.
Definition rtp_stream_dialog.cpp:1015
void goToPacket(int packet_num)
Signal emitted to navigate to a specific packet.
void rtpAnalysisAdd() override
Slot to trigger adding streams to analysis.
Definition rtp_stream_dialog.cpp:1022
~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