10#ifndef RTP_STREAM_DIALOG_H
11#define RTP_STREAM_DIALOG_H
194 static std::mutex mutex_;
197 Ui::RtpStreamDialog *ui;
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_;
251 void updateStreams();
256 void updateWidgets();
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
Base class for RTP related dialogs providing common functionality.
Definition rtp_player_dialog.h:78
Singleton dialog for viewing and managing RTP streams. Singleton pattern based on https://refactoring...
Definition rtp_stream_dialog.h:32
void rtpAnalysisAdd()
Slot to trigger adding streams to analysis.
Definition rtp_stream_dialog.cpp:1022
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.
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 captureFileClosed()
Handles cleanup after the capture file is fully closed.
Definition rtp_stream_dialog.cpp:725
void operator=(const RtpStreamDialog &)=delete
Should not be assignable.
void rtpAnalysisReplace()
Slot to trigger replacing streams in analysis.
Definition rtp_stream_dialog.cpp:1015
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 rtpAnalysisRemove()
Slot to trigger removing streams from analysis.
Definition rtp_stream_dialog.cpp:1029
void captureFileClosing()
Handles operations before the capture file finishes closing.
Definition rtp_stream_dialog.cpp:718
void goToPacket(int packet_num)
Signal emitted to navigate to a specific packet.
bool eventFilter(QObject *obj, QEvent *event)
Event filter for intercepting events from child widgets.
Definition rtp_stream_dialog.cpp:460
~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
DIAG_OFF_PEDANTIC struct _frame_data frame_data
Frame data structure.
Definition rtp_stream_id.h:33
Definition rtp_stream.h:98