GstObject
Basis for the GST object hierarchy.
GstObject provides a root for the object hierarchy tree filed in by the
GST library. It is currently a thin wrapper on top of
GObject but it can be compiled against GTK+ with
a shim provided by the GStreamer library. It is an abstract class that is not
very usable on its own.
GstObject gives us basic refcounting, parenting functionality and locking.
gst_object_set_name() and gst_object_get_name() are used to set/get the name of the
object.
@GST_DESTROYED:
@GST_FLOATING:
@GST_OBJECT_FLAG_LAST:
This macro returns the entire set of flags for the object.
@obj: Object to return flags for.
This macro checks to see if the given flag is set.
@obj: GstSrc to check for flag in.
@flag: Flag to check for, must be a single bit in guint32.
This macro sets the given bits.
@obj: Object to set flag in.
@flag: Flag to set, can by any number of bits in guint32.
This macro usets the given bits.
@obj: Object to unset flag in.
@flag: Flag to set, must be a single bit in guint32.
This macro will obtain a lock on the object, making serialization
possible.
@obj: Object to lock.
This macro will try to obtain a lock on the object, but will return with
FALSE if it can't get it immediately.
@obj: Object to try to get a lock on.
This macro releases a lock on the object.
@obj: Object to unlock.
Acquire a reference to the mutex of this object.
@obj: Object to get the mutex of.
Get the parent of this object
@obj: Object to get the parent of.
Get the name of this object
@obj: Object to get the name of.
Check if the object is floating.
@obj: The Object to check
Check if the object has been destroyed.
@obj: The Object to check
@list:
@name:
@Returns:
@object:
@parent:
@object:
@Returns:
@object:
@name:
@object:
@Returns:
@object:
@object: the object
@Returns:
@object: the object
@object: the object
@object: the object
@object:
@parent:
@Returns:
@object:
@parent:
@object:
@Returns:
@object:
@name:
@self:
@klass:
@name:
@func:
@func_data:
@Returns:
@gstobject: the object which received the signal.
@arg1: the new parent
Is trigered whenever a new object is saved to XML. You can connect to
this signal to insert custom XML tags into the core XML.
@gstobject: the object which received the signal.
@arg1: the xmlNodePtr of the parent node