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. 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.
Flags for an object
@GST_DESTROYED: The object is flagged for destruction
@GST_FLOATING: The object is created but has no parent yet to manage it
@GST_OBJECT_FLAG_LAST: subclasses can add additional flags starting from this flag
The GstObject
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:
@self:
@object:
@Returns:
@object:
@orig:
@pspec:
@excluded_props:
@object:
@name:
@self:
@klass:
@name:
@func:
@func_data:
@Returns:
The deep notify signal is used to be notified of property changes.
it is typically attached to the toplevel bin to receive notifications
from all the elements contained in that bin.
@gstobject: the object which received the signal.
@arg1: the object that originated the signal
@arg2: the property that changed
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
Is emitted when the parent of an object is set.
@gstobject: the object which received the signal.
@arg1: the new parent
Is emitted when the parent of an object is unset.
@gstobject: the object which received the signal.
@arg1: the old parent
The name of the object