GStreamer base object class.
name in list. This function
does not do any locking of any kind. You might want to protect the provided list with the lock of the owner of the list. This
function will lock each Object in the list to compare the name, so be
carefull when passing a list with a locked object. FALSE if it does. MT safe. Grabs and releases the LOCK of each object in the
list.
object's LOCK for getting its path string.
oldobj
, refs newobj and puts newobj in *@oldobj. Be carefull when calling this function, it does not
take any locks. You might want to lock the object owning oldobj pointer before calling this function. Make sure not
to LOCK oldobj because it might be unreffed which could cause a deadlock when it is disposed.
object. This function increases the refcount of the parent object
so you should unref it after usage. has no parent. unref after usage. MT safe.
Grabs and releases object's LOCK.
object. This function does not take the lock on
object because it relies on atomic refcounting. This object returns the input parameter to ease writing constructs
like : result = gst_object_ref (object->parent);
object, and possibly remove the floating reference, if
object has a floating reference. In other words, if the object is floating, then this call "assumes ownership" of the
floating reference, converting it to a normal reference by clearing the floating flag while leaving the reference count unchanged.
If the object is not floating, then this call adds a new normal reference increasing the reference count by one. MT safe. This
function grabs and releases object lock.
object with the data from the parent XML node.
object into the parent XML node.
object, or gives object a guaranteed unique name (if
name is NULL). This function makes a copy of the provided name, so the caller retains ownership of the name it sent.
a parent cannot be renamed, this function returns FALSE in those cases. MT safe. This function grabs and releases object
's LOCK.
object to name_prefix. This function makes a copy
of the provided name prefix, so the caller retains ownership of the name prefix it sent. MT safe. This function grabs and releases
object's LOCK. for anything.
object to parent. The object's reference count will be
incremented, and any floating reference will be removed (see sink). This
function causes the parent-set signal to be emitted when the parent was successfully set. already had a parent or object
and parent are the same. MT safe. Grabs and releases object's LOCK.
object was floating, the
FLOATING flag is removed and object is unreffed. When object was not floating, this function does
nothing. Any newly created object has a refcount of 1 and is floating. This function should be used when creating a new object to
symbolically 'take ownership' of object. This done by first doing a ref
to keep a reference to object and then sink to remove and
unref any floating references to object. Use set_parent to
have this done for you. MT safe. This function grabs and releases object lock.
object, removing the associated reference. This function decreases
the refcount of object. MT safe. Grabs and releases object's lock.
object. If reference count hits zero, destroy
object. This function does not take the lock on object as it relies on atomic refcounting. The unref method
should never be called with the LOCK held since this might deadlock the dispose function.
