MiniObject
Object Hierarchy:
Description:
public abstract class MiniObject
MiniObject is a baseclass like
Object, but has been stripped down of features to be fast and small. It offers
sub-classing and ref-counting in the same way as Object does. It has no
properties and no signal-support though. Last reviewed on 2005-11-23 (0.9.5)
Namespace: Gst
Package: gstreamer-0.10
Content:
Static methods:
Creation methods:
Methods:
-
public virtual MiniObject copy ()
Creates a copy of the mini-object. MT safe
-
public virtual void finalize ()
-
public bool flag_is_set (MiniObjectFlags flag)
-
public void flag_set (MiniObjectFlags flag)
-
public void flag_unset (MiniObjectFlags flag)
-
public bool is_writable ()
Checks if a mini-object is writable. A mini-object is writable if the reference count is one and the
READONLY flag is not set. Modification of a mini-object should
only be done after verifying that it is writable. MT safe
-
public void make_writable ()
Checks if a mini-object is writable. If not, a writable copy is made and returned. This gives away the
reference to the original mini object, and returns a reference to the new object. MT safe is writable.
-
public weak MiniObject ref ()
Increase the reference count of the mini-object. Note that the refcount affects the writeability of
mini-object, see is_writable. It is important to note that
keeping additional references to GstMiniObject instances can potentially increase the number of memcpy operations in a pipeline,
especially if the miniobject is a Buffer.
-
public void unref ()
Decreases the reference count of the mini-object, possibly freeing the mini-object.
-
public void weak_ref (MiniObjectWeakNotify notify, void* data)
-
public void weak_unref (MiniObjectWeakNotify notify, void* data)
Fields: