#include <GstScoped.h>
Public Member Functions | |
| PadProbe ()=default | |
| ~PadProbe () | |
| PadProbe (const PadProbe &)=delete | |
| PadProbe & | operator= (const PadProbe &)=delete |
| bool | add (GstPad *pad, GstPadProbeType mask, GstPadProbeCallback callback, gpointer userData, GDestroyNotify destroyData=nullptr) |
gst_pad_add_probe() on pad, replacing the probe held so far. False when the probe wasn't added. | |
| void | remove () noexcept |
A pad probe owned like a scoped pointer: holds the pad and the probe id from add() until remove() or destruction. Call remove() explicitly where the probe must go before something else is torn down.
Definition at line 231 of file GstScoped.h.
|
default |
Referenced by operator=(), and PadProbe().
|
inline |
Definition at line 236 of file GstScoped.h.
References remove().
|
delete |
References PadProbe().
|
inline |
gst_pad_add_probe() on pad, replacing the probe held so far. False when the probe wasn't added.
Definition at line 242 of file GstScoped.h.
References GStreamer::adoptPad(), and remove().
References PadProbe().
|
inlinenoexcept |
Definition at line 253 of file GstScoped.h.
Referenced by add(), and ~PadProbe().