The cookie; the value of the master_cookie when this iterator was created.
The function to copy the iterator
The function to call when the iterator is freed
The function to be called for each item retrieved
The lock protecting the data structure and the cookie.
A pointer to the master cookie.
The function to get the next item in the iterator
The iterator that is currently pushed with gst.iterator.Iterator.push
The function to call when a resync is needed.
the size of the iterator
The type of the object that this iterator will return
A GstIterator is used to retrieve multiple objects from another object in a threadsafe way.
Various GStreamer objects provide access to their internal structures using an iterator.
Note that if calling a GstIterator function results in your code receiving a refcounted object (with, say, gobject.value.Value.getObject), the refcount for that object will not be increased. Your code is responsible for taking a reference if it wants to continue using it later.
The basic use pattern of an iterator is as follows: