#include <GstScoped.h>
Public Member Functions | |
| ScopedSignal ()=default | |
| ~ScopedSignal () | |
| ScopedSignal (const ScopedSignal &)=delete | |
| ScopedSignal & | operator= (const ScopedSignal &)=delete |
| bool | connect (gpointer object, const char *signal, GCallback callback, gpointer data) |
g_signal_connect() on object, replacing the handler held so far. False when nothing was connected. | |
| void | disconnect () noexcept |
A GObject signal handler owned like a scoped pointer: connected by connect(), disconnected by disconnect() or destruction unless the object is gone by then. For handlers whose data dies before the object.
Definition at line 190 of file GstScoped.h.
|
default |
Referenced by operator=(), and ScopedSignal().
|
inline |
Definition at line 195 of file GstScoped.h.
References disconnect().
|
delete |
References ScopedSignal().
|
inline |
g_signal_connect() on object, replacing the handler held so far. False when nothing was connected.
Definition at line 201 of file GstScoped.h.
References disconnect().
|
inlinenoexcept |
Definition at line 211 of file GstScoped.h.
Referenced by connect(), and ~ScopedSignal().
|
delete |
References ScopedSignal().