GstObject
Base class for the GStreamer 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.
@klass:
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
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.
Get the name of this object
@obj: Object to get the name of.
Get the parent of this object
@obj: Object to get the parent of.
Check if the object has been destroyed.
@obj: The Object to check
Check if the object is floating.
@obj: The Object to check
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.
@object:
@name:
@object:
@Returns:
@object:
@parent:
@object:
@Returns:
@object:
@object:
@orig:
@pspec:
@excluded_props:
@list:
@name:
@Returns:
@object:
@parent:
@Returns:
@object:
@self:
@object: the object
@Returns:
@object: the object
@object: the object
@oldobj:
@newobj:
@object:
@Returns:
@klass:
@name:
@func:
@func_data:
@Returns:
@object:
@name:
@self: