<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> <meta http-equiv="X-UA-Compatible" content="IE=9"/> <meta name="generator" content="Doxygen 1.8.13"/> <meta name="viewport" content="width=device-width, initial-scale=1"/> <title>gstreamermm: Gst::IteratorBase< CppType > Class Template Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <script type="text/javascript" src="jquery.js"></script> <script type="text/javascript" src="dynsections.js"></script> <link href="doxygen.css" rel="stylesheet" type="text/css" /> <link href="doxygen-extra.css" rel="stylesheet" type="text/css"/> </head> <body> <div id="top"><!-- do not remove this div, it is closed by doxygen! --> <div id="titlearea"> <table cellspacing="0" cellpadding="0"> <tbody> <tr style="height: 56px;"> <td id="projectalign" style="padding-left: 0.5em;"> <div id="projectname">gstreamermm  <span id="projectnumber">1.10.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.13 --> <script type="text/javascript" src="menudata.js"></script> <script type="text/javascript" src="menu.js"></script> <script type="text/javascript"> $(function() { initMenu('',false,false,'search.php','Search'); }); </script> <div id="main-nav"></div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceGst.html">Gst</a></li><li class="navelem"><a class="el" href="classGst_1_1IteratorBase.html">IteratorBase</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="classGst_1_1IteratorBase-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">Gst::IteratorBase< CppType > Class Template Reference</div> </div> </div><!--header--> <div class="contents"> <p>The base class for classes that retrieve multiple elements in a thread safe way. <a href="classGst_1_1IteratorBase.html#details">More...</a></p> <p><code>#include <gstreamermm/iterator.h></code></p> <div class="dynheader"> Inheritance diagram for Gst::IteratorBase< CppType >:</div> <div class="dyncontent"> <div class="center"><img src="classGst_1_1IteratorBase__inherit__graph.png" border="0" usemap="#Gst_1_1IteratorBase_3_01CppType_01_4_inherit__map" alt="Inheritance graph"/></div> <map name="Gst_1_1IteratorBase_3_01CppType_01_4_inherit__map" id="Gst_1_1IteratorBase_3_01CppType_01_4_inherit__map"> <area shape="rect" id="node2" href="classGst_1_1IteratorBasic.html" title="A class used to retrieve multiple elements in a thread safe way. " alt="" coords="30,95,163,136"/> <area shape="rect" id="node3" href="classGst_1_1Iterator.html" title="A class used to retrieve multiple reference counted elements in a thread safe way. " alt="" coords="5,184,188,211"/> </map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:aa2bca1f8592562294ba286491630b31d"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="group__gstreamermmEnums.html#gae04c173b1b86a4c2491b9852f68d6158">IteratorResult</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1IteratorBase.html#aa2bca1f8592562294ba286491630b31d">next</a> ()</td></tr> <tr class="memdesc:aa2bca1f8592562294ba286491630b31d"><td class="mdescLeft"> </td><td class="mdescRight">Moves to the next iterator item. <a href="#aa2bca1f8592562294ba286491630b31d">More...</a><br /></td></tr> <tr class="separator:aa2bca1f8592562294ba286491630b31d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae8390c4f49d6037d84ac233a0ab8daf4"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1IteratorBase.html#ae8390c4f49d6037d84ac233a0ab8daf4">resync</a> ()</td></tr> <tr class="memdesc:ae8390c4f49d6037d84ac233a0ab8daf4"><td class="mdescLeft"> </td><td class="mdescRight">Resynchronize the iterator. <a href="#ae8390c4f49d6037d84ac233a0ab8daf4">More...</a><br /></td></tr> <tr class="separator:ae8390c4f49d6037d84ac233a0ab8daf4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a7b4051ee6045f16a493bfcc123da7872"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1IteratorBase.html#a7b4051ee6045f16a493bfcc123da7872">is_start</a> () const</td></tr> <tr class="memdesc:a7b4051ee6045f16a493bfcc123da7872"><td class="mdescLeft"> </td><td class="mdescRight">Tells if the iterator is at the start of the list (not on the first item, but just before it). <a href="#a7b4051ee6045f16a493bfcc123da7872">More...</a><br /></td></tr> <tr class="separator:a7b4051ee6045f16a493bfcc123da7872"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ab192af5c541703c74dacd3d17b1684f6"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1IteratorBase.html#ab192af5c541703c74dacd3d17b1684f6">is_end</a> () const</td></tr> <tr class="memdesc:ab192af5c541703c74dacd3d17b1684f6"><td class="mdescLeft"> </td><td class="mdescRight">Tells if the iterator is at the end of the list (just after the last element). <a href="#ab192af5c541703c74dacd3d17b1684f6">More...</a><br /></td></tr> <tr class="separator:ab192af5c541703c74dacd3d17b1684f6"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a18a324e39c6e13854e25043f51873130"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1IteratorBase.html#a18a324e39c6e13854e25043f51873130">operator bool</a> () const</td></tr> <tr class="memdesc:a18a324e39c6e13854e25043f51873130"><td class="mdescLeft"> </td><td class="mdescRight">Tells whether the iterator is valid and can be dereferenced. <a href="#a18a324e39c6e13854e25043f51873130">More...</a><br /></td></tr> <tr class="separator:a18a324e39c6e13854e25043f51873130"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a67d25cf962dd0e490774ed79c2581899"><td class="memItemLeft" align="right" valign="top">GstIterator* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1IteratorBase.html#a67d25cf962dd0e490774ed79c2581899">cobj</a> ()</td></tr> <tr class="memdesc:a67d25cf962dd0e490774ed79c2581899"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a67d25cf962dd0e490774ed79c2581899">More...</a><br /></td></tr> <tr class="separator:a67d25cf962dd0e490774ed79c2581899"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a998168a188e622b6e547b4ab6bcf9a11"><td class="memItemLeft" align="right" valign="top">const GstIterator* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1IteratorBase.html#a998168a188e622b6e547b4ab6bcf9a11">cobj</a> () const</td></tr> <tr class="memdesc:a998168a188e622b6e547b4ab6bcf9a11"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a998168a188e622b6e547b4ab6bcf9a11">More...</a><br /></td></tr> <tr class="separator:a998168a188e622b6e547b4ab6bcf9a11"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac793f2db9ecd32335f01da6212a0aa73"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1IteratorBase.html#ac793f2db9ecd32335f01da6212a0aa73">~IteratorBase</a> ()</td></tr> <tr class="memdesc:ac793f2db9ecd32335f01da6212a0aa73"><td class="mdescLeft"> </td><td class="mdescRight">Frees the underlying C instance if a take_ownership value of true was used to wrap it. <a href="#ac793f2db9ecd32335f01da6212a0aa73">More...</a><br /></td></tr> <tr class="separator:ac793f2db9ecd32335f01da6212a0aa73"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr class="memitem:aafee32a42e9897b1b4e56524fb6abe66"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1IteratorBase.html#aafee32a42e9897b1b4e56524fb6abe66">IteratorBase</a> ()</td></tr> <tr class="memdesc:aafee32a42e9897b1b4e56524fb6abe66"><td class="mdescLeft"> </td><td class="mdescRight">Default constructor. <a href="#aafee32a42e9897b1b4e56524fb6abe66">More...</a><br /></td></tr> <tr class="separator:aafee32a42e9897b1b4e56524fb6abe66"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6f3fa0b874f6c34748297581e3d7f3a5"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1IteratorBase.html#a6f3fa0b874f6c34748297581e3d7f3a5">IteratorBase</a> (const <a class="el" href="classGst_1_1IteratorBase.html">IteratorBase</a>< CppType >&)</td></tr> <tr class="memdesc:a6f3fa0b874f6c34748297581e3d7f3a5"><td class="mdescLeft"> </td><td class="mdescRight">Copy constructor. <a href="#a6f3fa0b874f6c34748297581e3d7f3a5">More...</a><br /></td></tr> <tr class="separator:a6f3fa0b874f6c34748297581e3d7f3a5"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2036381b52e5e434b9f2c766af6e8d5e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1IteratorBase.html#a2036381b52e5e434b9f2c766af6e8d5e">IteratorBase</a> (GstIterator* castitem, bool take_ownership=true)</td></tr> <tr class="memdesc:a2036381b52e5e434b9f2c766af6e8d5e"><td class="mdescLeft"> </td><td class="mdescRight">Constructs an <a class="el" href="classGst_1_1IteratorBase.html" title="The base class for classes that retrieve multiple elements in a thread safe way. ">IteratorBase</a> from an underlying C object. <a href="#a2036381b52e5e434b9f2c766af6e8d5e">More...</a><br /></td></tr> <tr class="separator:a2036381b52e5e434b9f2c766af6e8d5e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a408eab39e8a946bc33a84f65fb2c9288"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGst_1_1IteratorBase.html">IteratorBase</a>< CppType >& </td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1IteratorBase.html#a408eab39e8a946bc33a84f65fb2c9288">operator=</a> (const <a class="el" href="classGst_1_1IteratorBase.html">IteratorBase</a>< CppType >& other)</td></tr> <tr class="memdesc:a408eab39e8a946bc33a84f65fb2c9288"><td class="mdescLeft"> </td><td class="mdescRight">Assignment operator. <a href="#a408eab39e8a946bc33a84f65fb2c9288">More...</a><br /></td></tr> <tr class="separator:a408eab39e8a946bc33a84f65fb2c9288"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><h3>template<class CppType><br /> class Gst::IteratorBase< CppType ></h3> <p>The base class for classes that retrieve multiple elements in a thread safe way. </p> <p>Classes derived from <a class="el" href="classGst_1_1IteratorBase.html" title="The base class for classes that retrieve multiple elements in a thread safe way. ">Gst::IteratorBase</a> are used to retrieve multiple objects from another object in a thread safe way. They are implemented as C++ like input iterators so they do not support multi-passing, but they are usable enough for iterating through a list of items and referencing them in a single pass.</p> <p>Various GStreamer objects provide access to their internal structures using an iterator. </p> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a id="ac793f2db9ecd32335f01da6212a0aa73"></a> <h2 class="memtitle"><span class="permalink"><a href="#ac793f2db9ecd32335f01da6212a0aa73">◆ </a></span>~IteratorBase()</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class CppType > </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="classGst_1_1IteratorBase.html">Gst::IteratorBase</a>< CppType >::~<a class="el" href="classGst_1_1IteratorBase.html">IteratorBase</a> </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Frees the underlying C instance if a take_ownership value of true was used to wrap it. </p> </div> </div> <a id="aafee32a42e9897b1b4e56524fb6abe66"></a> <h2 class="memtitle"><span class="permalink"><a href="#aafee32a42e9897b1b4e56524fb6abe66">◆ </a></span>IteratorBase() <span class="overload">[1/3]</span></h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class CppType > </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGst_1_1IteratorBase.html">Gst::IteratorBase</a>< CppType >::<a class="el" href="classGst_1_1IteratorBase.html">IteratorBase</a> </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Default constructor. </p> </div> </div> <a id="a6f3fa0b874f6c34748297581e3d7f3a5"></a> <h2 class="memtitle"><span class="permalink"><a href="#a6f3fa0b874f6c34748297581e3d7f3a5">◆ </a></span>IteratorBase() <span class="overload">[2/3]</span></h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class CppType > </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGst_1_1IteratorBase.html">Gst::IteratorBase</a>< CppType >::<a class="el" href="classGst_1_1IteratorBase.html">IteratorBase</a> </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGst_1_1IteratorBase.html">IteratorBase</a>< CppType >& </td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Copy constructor. </p> <p>Please note that copying and assigning merely shares the underlying C object. Operations on the copy are also performed in the underlying C object of the original and if the original is destroyed, the copy is invalid. </p> </div> </div> <a id="a2036381b52e5e434b9f2c766af6e8d5e"></a> <h2 class="memtitle"><span class="permalink"><a href="#a2036381b52e5e434b9f2c766af6e8d5e">◆ </a></span>IteratorBase() <span class="overload">[3/3]</span></h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class CppType > </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGst_1_1IteratorBase.html">Gst::IteratorBase</a>< CppType >::<a class="el" href="classGst_1_1IteratorBase.html">IteratorBase</a> </td> <td>(</td> <td class="paramtype">GstIterator * </td> <td class="paramname"><em>castitem</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>take_ownership</em> = <code>true</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">explicit</span><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Constructs an <a class="el" href="classGst_1_1IteratorBase.html" title="The base class for classes that retrieve multiple elements in a thread safe way. ">IteratorBase</a> from an underlying C object. </p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">castitem</td><td>The underlying C object. </td></tr> <tr><td class="paramname">take_ownership</td><td>Whether to take over the underlying C object. If true, C object is freed when wrapper is destroyed. </td></tr> </table> </dd> </dl> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a id="a67d25cf962dd0e490774ed79c2581899"></a> <h2 class="memtitle"><span class="permalink"><a href="#a67d25cf962dd0e490774ed79c2581899">◆ </a></span>cobj() <span class="overload">[1/2]</span></h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class CppType > </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">GstIterator* <a class="el" href="classGst_1_1IteratorBase.html">Gst::IteratorBase</a>< CppType >::cobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Provides access to the underlying C GObject. </p> </div> </div> <a id="a998168a188e622b6e547b4ab6bcf9a11"></a> <h2 class="memtitle"><span class="permalink"><a href="#a998168a188e622b6e547b4ab6bcf9a11">◆ </a></span>cobj() <span class="overload">[2/2]</span></h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class CppType > </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const GstIterator* <a class="el" href="classGst_1_1IteratorBase.html">Gst::IteratorBase</a>< CppType >::cobj </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">inline</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Provides access to the underlying C GObject. </p> </div> </div> <a id="ab192af5c541703c74dacd3d17b1684f6"></a> <h2 class="memtitle"><span class="permalink"><a href="#ab192af5c541703c74dacd3d17b1684f6">◆ </a></span>is_end()</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class CppType > </div> <table class="memname"> <tr> <td class="memname">bool <a class="el" href="classGst_1_1IteratorBase.html">Gst::IteratorBase</a>< CppType >::is_end </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Tells if the iterator is at the end of the list (just after the last element). </p> <dl class="section return"><dt>Returns</dt><dd>true if the iterator is at the end of the list, false otherwise. </dd></dl> </div> </div> <a id="a7b4051ee6045f16a493bfcc123da7872"></a> <h2 class="memtitle"><span class="permalink"><a href="#a7b4051ee6045f16a493bfcc123da7872">◆ </a></span>is_start()</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class CppType > </div> <table class="memname"> <tr> <td class="memname">bool <a class="el" href="classGst_1_1IteratorBase.html">Gst::IteratorBase</a>< CppType >::is_start </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Tells if the iterator is at the start of the list (not on the first item, but just before it). </p> <p>Increment the iterator or use <a class="el" href="classGst_1_1IteratorBasic.html#a5eccf13f0aa9ead6171df622a7781e21" title="Resynchronizes the iterator and moves the iterator to the first item. ">Gst::IteratorBasic::begin()</a> to go to the first item.</p> <dl class="section return"><dt>Returns</dt><dd>true if the iterator is at the start of the list, false otherwise. </dd></dl> </div> </div> <a id="aa2bca1f8592562294ba286491630b31d"></a> <h2 class="memtitle"><span class="permalink"><a href="#aa2bca1f8592562294ba286491630b31d">◆ </a></span>next()</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class CppType > </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual <a class="el" href="group__gstreamermmEnums.html#gae04c173b1b86a4c2491b9852f68d6158">IteratorResult</a> <a class="el" href="classGst_1_1IteratorBase.html">Gst::IteratorBase</a>< CppType >::next </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Moves to the next iterator item. </p> <dl class="section return"><dt>Returns</dt><dd>The result of the iteration. MT safe. </dd></dl> <p>Reimplemented in <a class="el" href="classGst_1_1Iterator.html#a17fc516301072322628e88d76b89ade6">Gst::Iterator< CppType ></a>.</p> </div> </div> <a id="a18a324e39c6e13854e25043f51873130"></a> <h2 class="memtitle"><span class="permalink"><a href="#a18a324e39c6e13854e25043f51873130">◆ </a></span>operator bool()</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class CppType > </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGst_1_1IteratorBase.html">Gst::IteratorBase</a>< CppType >::operator bool </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Tells whether the iterator is valid and can be dereferenced. </p> </div> </div> <a id="a408eab39e8a946bc33a84f65fb2c9288"></a> <h2 class="memtitle"><span class="permalink"><a href="#a408eab39e8a946bc33a84f65fb2c9288">◆ </a></span>operator=()</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class CppType > </div> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname"><a class="el" href="classGst_1_1IteratorBase.html">IteratorBase</a><CppType>& <a class="el" href="classGst_1_1IteratorBase.html">Gst::IteratorBase</a>< CppType >::operator= </td> <td>(</td> <td class="paramtype">const <a class="el" href="classGst_1_1IteratorBase.html">IteratorBase</a>< CppType >& </td> <td class="paramname"><em>other</em></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>Assignment operator. </p> <p>It replaces the contents of the iterator with the contents of the new one freeing the underlying C object if a take_ownership value of true was used when wrapping it. Please note that copying and assigning merely shares the underlying C object. Operations on the copy are also performed in the underlying C object of the original and if the original is destroyed, the copy is invalid. </p> </div> </div> <a id="ae8390c4f49d6037d84ac233a0ab8daf4"></a> <h2 class="memtitle"><span class="permalink"><a href="#ae8390c4f49d6037d84ac233a0ab8daf4">◆ </a></span>resync()</h2> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template <class CppType > </div> <table class="memname"> <tr> <td class="memname">void <a class="el" href="classGst_1_1IteratorBase.html">Gst::IteratorBase</a>< CppType >::resync </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </div><div class="memdoc"> <p>Resynchronize the iterator. </p> <p>This function is mostly called after <a class="el" href="classGst_1_1IteratorBase.html#aa2bca1f8592562294ba286491630b31d" title="Moves to the next iterator item. ">next()</a> returns <a class="el" href="namespaceGst.html#gae04c173b1b86a4c2491b9852f68d6158a9c8d056bc0e1eca076edf6272a540034" title="Datastructure changed while iterating. ">Gst::ITERATOR_RESYNC</a>. A result of <a class="el" href="namespaceGst.html#gae04c173b1b86a4c2491b9852f68d6158a9c8d056bc0e1eca076edf6272a540034" title="Datastructure changed while iterating. ">Gst::ITERATOR_RESYNC</a> from <a class="el" href="classGst_1_1IteratorBase.html#aa2bca1f8592562294ba286491630b31d" title="Moves to the next iterator item. ">next()</a> means that a concurrent update was made to the iterator list during iteration and the iterator needs to be resynchronized before continuing. Use this function to resynchronize. </p> </div> </div> </div><!-- contents --> <!-- start footer part --> <hr class="footer"/><address class="footer"><small> Generated on Sat Oct 21 2017 12:59:01 for gstreamermm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.13 </small></address> </body> </html>