gnomemm r1684 - in gstreamermm/trunk: . gstreamer/src



Author: jaalburqu
Date: Mon Aug 11 19:48:10 2008
New Revision: 1684
URL: http://svn.gnome.org/viewvc/gnomemm?rev=1684&view=rev

Log:
2008-08-11  Josà Alburquerque  <jaalburqu svn gnome org>

	* gstreamer/src/bin.hg: Wrapped iterate*() methods.  Removed
	children_cookie() because I'm not sure what it would be used for yet.
	Corrected docs.

Modified:
   gstreamermm/trunk/ChangeLog
   gstreamermm/trunk/gstreamer/src/bin.hg

Modified: gstreamermm/trunk/gstreamer/src/bin.hg
==============================================================================
--- gstreamermm/trunk/gstreamer/src/bin.hg	(original)
+++ gstreamermm/trunk/gstreamer/src/bin.hg	Mon Aug 11 19:48:10 2008
@@ -32,8 +32,6 @@
 
 class Pad;
 
-//TODO: Correct statements about iterators in class docs below:
-
 /** Gst::Bin â Base class and element that can contain other elements.
  * Gst::Bin is an element that can contain other Gst::Element, allowing them to
  * be managed as a group. Pads from the child elements can be ghosted to the
@@ -73,7 +71,7 @@
  * their segment.
  *
  * - Gst::MESSAGE_SEGMENT_DONE - Is posted by Gst::Bin when all elements that
- * posted a SEGMENT_START have posted a SEGMENT_DONE.
+ * posted a Gst::MESSAGE_SEGMENT_START have posted a Gst::MESSAGE_SEGMENT_DONE.
  *
  * - Gst::MESSAGE_DURATION - Is posted by an element that detected a change in
  * the stream duration. The default bin behaviour is to clear any cached
@@ -188,27 +186,17 @@
   _WRAP_METHOD(Glib::RefPtr<Pad> find_unconnected_pad(PadDirection dir), gst_bin_find_unconnected_pad)
   _WRAP_METHOD(Glib::RefPtr<const Pad> find_unconnected_pad(PadDirection dir) const, gst_bin_find_unconnected_pad)
   _WRAP_METHOD(Iterator<Element> iterate_elements(), gst_bin_iterate_elements)
-
-/* TODO:
-GstIterator*    gst_bin_iterate_sorted		 (GstBin *bin);
-GstIterator*    gst_bin_iterate_recurse		 (GstBin *bin);
-
-GstIterator*	gst_bin_iterate_sinks		 (GstBin *bin);
-GstIterator*	gst_bin_iterate_sources		 (GstBin *bin);
-GstIterator*	gst_bin_iterate_all_by_interface (GstBin *bin, GType iface);
-*/
+  _WRAP_METHOD(Iterator<Element> iterate_recurse(), gst_bin_iterate_recurse)
+  _WRAP_METHOD(Iterator<Element> iterate_sorted(), gst_bin_iterate_sorted)
+  _WRAP_METHOD(Iterator<Element> iterate_sources(), gst_bin_iterate_sources)
+  _WRAP_METHOD(Iterator<Element> iterate_sinks(), gst_bin_iterate_sinks)
+  _WRAP_METHOD(Iterator<Element> iterate_by_interface(GType iface), gst_bin_iterate_all_by_interface)
 
 #m4 _CONVERSION(`GList*',`Glib::ListHandle< Glib::RefPtr<Element> >',`$2($3, Glib::OWNERSHIP_SHALLOW)')
   /** Gets the bin's list of children.
    */
   _MEMBER_GET(children, children, Glib::ListHandle< Glib::RefPtr<Element> >, GList*)
 
-  //TODO: Add reference to Gst::Iterator (which this is related to) in docs
-  //below when it is developed.
-  /** Gets the children cookie that watches the children list.
-   */
-  _MEMBER_GET(children_cookie, children_cookie, guint32, guint32)
-
   /** Gets the number of children in the bin.
    */
   _MEMBER_GET(num_children, numchildren, int, int)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]