Top | ![]() |
![]() |
![]() |
![]() |
GstImplementsInterfaceGstImplementsInterface — Core interface implemented by GstElement instances that allows runtime querying of interface availability |
gboolean | gst_element_implements_interface () |
gpointer | gst_implements_interface_cast () |
gboolean | gst_implements_interface_check () |
Provides interface functionality on per instance basis and not per class basis, which is the case for gobject.
gboolean gst_element_implements_interface (GstElement *element
,GType iface_type
);
Test whether the given element implements a certain interface of type iface_type, and test whether it is supported for this specific instance.
element |
GstElement to check for the implementation of the interface |
|
iface_type |
(final) type of the interface which we want to be implemented |
gpointer gst_implements_interface_cast (gpointer from
,GType type
);
cast a given object to an interface type, and check whether this interface is supported for this specific instance.
gboolean gst_implements_interface_check (gpointer from
,GType type
);
check a given object for an interface implementation, and check whether this interface is supported for this specific instance.
typedef struct _GstImplementsInterface GstImplementsInterface;
Opaque GstImplementsInterface structure.