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
GtkObject, but eventually will be replaced by a
stripped down version of it. This will remove all the X dependencies from
the GST library, making it much more portably and generally useful.
GstObject gives us basic refcounting and parenting functionality, though
it is possible that we could use GtkObject's
equivalent functions. I'll probably use what I have now until I strip
down GtkObject to re-parent the hierarchy.
subclasses can use this value to start the enumeration of their flags
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.
@Returns:
@object:
@parent:
@object:
@Returns:
@object:
@name:
@object:
@Returns:
@object:
@object: the object
@object: the object
@object: the object
@object: the object
@object:
@parent:
@Returns:
@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