1 <!-- ##### SECTION Title ##### -->
4 <!-- ##### SECTION Short_Description ##### -->
5 Basis for the GST object hierarchy.
7 <!-- ##### SECTION Long_Description ##### -->
9 GstObject provides a root for the object hierarchy tree filed in by the
10 GST library. It is currently a thin wrapper on top of
11 <classname>GtkObject</classname>, but eventually will be replaced by a
12 stripped down version of it. This will remove all the X dependencies from
13 the GST library, making it much more portably and generally useful.
17 GstObject gives us basic refcounting and parenting functionality, though
18 it is possible that we could use <classname>GtkObject</classname>'s
19 equivalent functions. I'll probably use what I have now until I strip
20 down <classname>GtkObject</classname> to re-parent the hierarchy.
23 <!-- ##### SECTION See_Also ##### -->
28 <!-- ##### MACRO GST_OBJECT_FLAG_LAST ##### -->
30 subclasses can use this value to start the enumeration of their flags
35 <!-- ##### STRUCT GstObject ##### -->
41 <!-- ##### MACRO GST_FLAGS ##### -->
43 This macro returns the entire set of flags for the object.
46 @obj: Object to return flags for.
49 <!-- ##### MACRO GST_FLAG_IS_SET ##### -->
51 This macro checks to see if the given flag is set.
54 @obj: GstSrc to check for flag in.
55 @flag: Flag to check for, must be a single bit in guint32.
58 <!-- ##### MACRO GST_FLAG_SET ##### -->
60 This macro sets the given bits.
63 @obj: Object to set flag in.
64 @flag: Flag to set, can by any number of bits in guint32.
67 <!-- ##### MACRO GST_FLAG_UNSET ##### -->
69 This macro usets the given bits.
72 @obj: Object to unset flag in.
73 @flag: Flag to set, must be a single bit in guint32.
76 <!-- ##### MACRO GST_LOCK ##### -->
78 This macro will obtain a lock on the object, making serialization
85 <!-- ##### MACRO GST_TRYLOCK ##### -->
87 This macro will try to obtain a lock on the object, but will return with
88 FALSE if it can't get it immediately.
91 @obj: Object to try to get a lock on.
94 <!-- ##### MACRO GST_UNLOCK ##### -->
96 This macro releases a lock on the object.
99 @obj: Object to unlock.
102 <!-- ##### FUNCTION gst_object_new ##### -->
110 <!-- ##### FUNCTION gst_object_set_parent ##### -->
119 <!-- ##### FUNCTION gst_object_get_parent ##### -->
128 <!-- ##### FUNCTION gst_object_unparent ##### -->
136 <!-- ##### MACRO gst_object_ref ##### -->
144 <!-- ##### MACRO gst_object_unref ##### -->
152 <!-- ##### MACRO gst_object_sink ##### -->
160 <!-- ##### MACRO gst_object_destroy ##### -->
168 <!-- ##### FUNCTION gst_object_get_path_string ##### -->