QGroundControl
Ground Control Station for MAVLink Drones
Loading...
Searching...
No Matches
PipelineSession::Listener Class Referenceabstract

#include <PipelineSession.h>

Inheritance diagram for PipelineSession::Listener:
Collaboration diagram for PipelineSession::Listener:

Public Member Functions

virtual void onSessionStreaming ()=0
 The first frame reached the tee.
virtual void onSessionFailed (const Failure &failure)=0
 The stream failed; the session ignores further failures until it is shut down.
virtual void onSessionGraphicsDeviceLost ()=0
Public Member Functions inherited from DecodingBranch::Listener
virtual void onDecodingChanged (bool decoding)=0
virtual void onDecoderNameChanged (const QString &name)=0
virtual void onDecoderFailing ()=0
Public Member Functions inherited from RecordingBranch::Listener
virtual void onRecordingFileOpened (const QString &file)=0
 file got its first frame.
virtual void onRecordingFileClosed (const QString &file, const QString &error)=0
 file is closed; error is empty when it was finalized cleanly.
virtual void onRecordingFailed (const QString &file, const QString &error, bool fileOpened)=0
virtual void onRecordingNeedsNewFile (const QString &file)=0

Protected Member Functions

 ~Listener ()=default
Protected Member Functions inherited from DecodingBranch::Listener
 ~Listener ()=default
Protected Member Functions inherited from RecordingBranch::Listener
 ~Listener ()=default

Detailed Description

Called on the worker. Only the failure reports (onSessionFailed(), onDecoderFailing()), which come from the event loop, may change the session; the others can come from inside a call into it.

Definition at line 60 of file PipelineSession.h.

Constructor & Destructor Documentation

◆ ~Listener()

PipelineSession::Listener::~Listener ( )
protecteddefault

Member Function Documentation

◆ onSessionFailed()

virtual void PipelineSession::Listener::onSessionFailed ( const Failure & failure)
pure virtual

The stream failed; the session ignores further failures until it is shut down.

◆ onSessionGraphicsDeviceLost()

virtual void PipelineSession::Listener::onSessionGraphicsDeviceLost ( )
pure virtual

The graphics device the pipeline was given is gone (HwBuffers::kGraphicsDeviceLostMessage). The stream didn't fail, but its pipeline and video sink hold what is left of the device and must go.

◆ onSessionStreaming()

virtual void PipelineSession::Listener::onSessionStreaming ( )
pure virtual

The first frame reached the tee.


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