Sophie

Sophie

distrib > Mageia > 7 > x86_64 > by-pkgid > 9641a12e5d0eeef2da865588e445f182 > files > 71

gstreamermm1.0-doc-1.10.0-2.mga7.noarch.rpm

<!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::Bus Class 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
   &#160;<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_1Bus.html">Bus</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-methods">Protected Member Functions</a> &#124;
<a href="#related">Related Functions</a> &#124;
<a href="classGst_1_1Bus-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">Gst::Bus Class Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>A class that encompasses the GStreamer asynchronous message bus subsystem.  
 <a href="classGst_1_1Bus.html#details">More...</a></p>

<p><code>#include &lt;gstreamermm/bus.h&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Gst::Bus:</div>
<div class="dyncontent">
<div class="center"><img src="classGst_1_1Bus__inherit__graph.png" border="0" usemap="#Gst_1_1Bus_inherit__map" alt="Inheritance graph"/></div>
<map name="Gst_1_1Bus_inherit__map" id="Gst_1_1Bus_inherit__map">
<area shape="rect" id="node2" href="classGst_1_1Object.html" title="A base class for the GStreamer object hierarchy. " alt="" coords="5,5,99,32"/>
</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-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:a5561a29ccae4d5fc8d3e25bbd5213612"><td class="memItemLeft" align="right" valign="top">typedef sigc::slot&lt; bool, const Glib::RefPtr&lt; <a class="el" href="classGst_1_1Bus.html">Gst::Bus</a> &gt;&amp;, const Glib::RefPtr&lt; <a class="el" href="classGst_1_1Message.html">Gst::Message</a> &gt;&amp;&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#a5561a29ccae4d5fc8d3e25bbd5213612">SlotMessage</a></td></tr>
<tr class="memdesc:a5561a29ccae4d5fc8d3e25bbd5213612"><td class="mdescLeft">&#160;</td><td class="mdescRight">For example, bool on_bus_message(const Glib::RefPtr&lt;Gst::Bus&gt;&amp; bus, const Glib::RefPtr&lt;Gst::Message&gt;&amp; message);.  <a href="#a5561a29ccae4d5fc8d3e25bbd5213612">More...</a><br /></td></tr>
<tr class="separator:a5561a29ccae4d5fc8d3e25bbd5213612"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a554b1271c366f020a741e9dc2517d60d"><td class="memItemLeft" align="right" valign="top">typedef sigc::slot&lt; <a class="el" href="group__gstreamermmEnums.html#ga7cfc417dc700f0f36e524a98b5ffa6fc">BusSyncReply</a>, const Glib::RefPtr&lt; <a class="el" href="classGst_1_1Bus.html">Gst::Bus</a> &gt;&amp;, const Glib::RefPtr&lt; <a class="el" href="classGst_1_1Message.html">Gst::Message</a> &gt;&amp;&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#a554b1271c366f020a741e9dc2517d60d">SlotMessageSync</a></td></tr>
<tr class="memdesc:a554b1271c366f020a741e9dc2517d60d"><td class="mdescLeft">&#160;</td><td class="mdescRight">For example, BusSyncReply on_bus_sync_message(const Glib::RefPtr&lt;Gst::Bus&gt;&amp; bus, const Glib::RefPtr&lt;Gst::Message&gt;&amp; message);.  <a href="#a554b1271c366f020a741e9dc2517d60d">More...</a><br /></td></tr>
<tr class="separator:a554b1271c366f020a741e9dc2517d60d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><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:aecf47c2fb1425bc64cc2636acb5a8136"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#aecf47c2fb1425bc64cc2636acb5a8136">Bus</a> (<a class="el" href="classGst_1_1Bus.html">Bus</a>&amp;&amp; src) noexcept</td></tr>
<tr class="separator:aecf47c2fb1425bc64cc2636acb5a8136"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5401c2dd342c2ebaf7f50d68370812b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGst_1_1Bus.html">Bus</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#ab5401c2dd342c2ebaf7f50d68370812b">operator=</a> (<a class="el" href="classGst_1_1Bus.html">Bus</a>&amp;&amp; src) noexcept</td></tr>
<tr class="separator:ab5401c2dd342c2ebaf7f50d68370812b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34f0afaa0bfe50530944235a16f2f80d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#a34f0afaa0bfe50530944235a16f2f80d">~Bus</a> () noexcept override</td></tr>
<tr class="separator:a34f0afaa0bfe50530944235a16f2f80d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03b3feabd44ba84a953fa0340e778816"><td class="memItemLeft" align="right" valign="top">GstBus*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#a03b3feabd44ba84a953fa0340e778816">gobj</a> ()</td></tr>
<tr class="memdesc:a03b3feabd44ba84a953fa0340e778816"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#a03b3feabd44ba84a953fa0340e778816">More...</a><br /></td></tr>
<tr class="separator:a03b3feabd44ba84a953fa0340e778816"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73f02cb09100dbe4fbb4515eae10270b"><td class="memItemLeft" align="right" valign="top">const GstBus*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#a73f02cb09100dbe4fbb4515eae10270b">gobj</a> () const</td></tr>
<tr class="memdesc:a73f02cb09100dbe4fbb4515eae10270b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="#a73f02cb09100dbe4fbb4515eae10270b">More...</a><br /></td></tr>
<tr class="separator:a73f02cb09100dbe4fbb4515eae10270b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7528490c0d5f42300a4b0b588df3bf1d"><td class="memItemLeft" align="right" valign="top">GstBus*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#a7528490c0d5f42300a4b0b588df3bf1d">gobj_copy</a> ()</td></tr>
<tr class="memdesc:a7528490c0d5f42300a4b0b588df3bf1d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.  <a href="#a7528490c0d5f42300a4b0b588df3bf1d">More...</a><br /></td></tr>
<tr class="separator:a7528490c0d5f42300a4b0b588df3bf1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3b662a895e575e69402dfe0d8ee639a0"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#a3b662a895e575e69402dfe0d8ee639a0">post</a> (Glib::RefPtr&lt; <a class="el" href="classGst_1_1Message.html">Gst::Message</a> &gt;&amp;&amp; message)</td></tr>
<tr class="memdesc:a3b662a895e575e69402dfe0d8ee639a0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Post a message on the given bus.  <a href="#a3b662a895e575e69402dfe0d8ee639a0">More...</a><br /></td></tr>
<tr class="separator:a3b662a895e575e69402dfe0d8ee639a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4b4e6089b2ad7e6c6aa0302352977cc"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#ad4b4e6089b2ad7e6c6aa0302352977cc">have_pending</a> () const</td></tr>
<tr class="memdesc:ad4b4e6089b2ad7e6c6aa0302352977cc"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classGst_1_1Check.html">Check</a> if there are pending messages on the bus that should be handled.  <a href="#ad4b4e6089b2ad7e6c6aa0302352977cc">More...</a><br /></td></tr>
<tr class="separator:ad4b4e6089b2ad7e6c6aa0302352977cc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e1c9d9d8e656e646bfa7c75922313fb"><td class="memItemLeft" align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Message.html">Gst::Message</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#a7e1c9d9d8e656e646bfa7c75922313fb">peek</a> ()</td></tr>
<tr class="memdesc:a7e1c9d9d8e656e646bfa7c75922313fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Peek the message on the top of the bus' queue.  <a href="#a7e1c9d9d8e656e646bfa7c75922313fb">More...</a><br /></td></tr>
<tr class="separator:a7e1c9d9d8e656e646bfa7c75922313fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e925019bef3138ff00657392128a49d"><td class="memItemLeft" align="right" valign="top">Glib::RefPtr&lt; const <a class="el" href="classGst_1_1Message.html">Gst::Message</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#a4e925019bef3138ff00657392128a49d">peek</a> () const</td></tr>
<tr class="memdesc:a4e925019bef3138ff00657392128a49d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Peek the message on the top of the bus' queue.  <a href="#a4e925019bef3138ff00657392128a49d">More...</a><br /></td></tr>
<tr class="separator:a4e925019bef3138ff00657392128a49d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ad0a942d63ce75a4e14fbaf45e68f5b"><td class="memItemLeft" align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Message.html">Gst::Message</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#a7ad0a942d63ce75a4e14fbaf45e68f5b">pop</a> ()</td></tr>
<tr class="memdesc:a7ad0a942d63ce75a4e14fbaf45e68f5b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a message from the bus.  <a href="#a7ad0a942d63ce75a4e14fbaf45e68f5b">More...</a><br /></td></tr>
<tr class="separator:a7ad0a942d63ce75a4e14fbaf45e68f5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada0edd332783b2b5a1de73c60b9c621e"><td class="memItemLeft" align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Message.html">Gst::Message</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#ada0edd332783b2b5a1de73c60b9c621e">pop</a> (<a class="el" href="group__gstreamermmEnums.html#ga704e8de3c3f9698d3c3ca15d61190a86">MessageType</a> message_type)</td></tr>
<tr class="memdesc:ada0edd332783b2b5a1de73c60b9c621e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a message matching <em>type</em> from the bus.  <a href="#ada0edd332783b2b5a1de73c60b9c621e">More...</a><br /></td></tr>
<tr class="separator:ada0edd332783b2b5a1de73c60b9c621e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afee2efa82585c1bf8477705ac9ed3daa"><td class="memItemLeft" align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Message.html">Gst::Message</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#afee2efa82585c1bf8477705ac9ed3daa">pop</a> (<a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda">ClockTime</a> timeout)</td></tr>
<tr class="memdesc:afee2efa82585c1bf8477705ac9ed3daa"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a message from the bus, waiting up to the specified timeout.  <a href="#afee2efa82585c1bf8477705ac9ed3daa">More...</a><br /></td></tr>
<tr class="separator:afee2efa82585c1bf8477705ac9ed3daa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8a5b535f84f41376fef170f085d2c2a"><td class="memItemLeft" align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Message.html">Gst::Message</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#ad8a5b535f84f41376fef170f085d2c2a">pop</a> (<a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda">ClockTime</a> timeout, <a class="el" href="group__gstreamermmEnums.html#ga704e8de3c3f9698d3c3ca15d61190a86">MessageType</a> message_type)</td></tr>
<tr class="memdesc:ad8a5b535f84f41376fef170f085d2c2a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a message from the bus whose type matches the message type mask <em>message_type</em>, waiting up to the specified timeout (and discarding any messages that do not match the mask provided).  <a href="#ad8a5b535f84f41376fef170f085d2c2a">More...</a><br /></td></tr>
<tr class="separator:ad8a5b535f84f41376fef170f085d2c2a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a021e5534f0ff4c6984a3689f578ffaaa"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#a021e5534f0ff4c6984a3689f578ffaaa">set_flushing</a> (bool flushing=true)</td></tr>
<tr class="memdesc:a021e5534f0ff4c6984a3689f578ffaaa"><td class="mdescLeft">&#160;</td><td class="mdescRight">If <em>flushing</em>, flush out and unref any messages queued in the bus.  <a href="#a021e5534f0ff4c6984a3689f578ffaaa">More...</a><br /></td></tr>
<tr class="separator:a021e5534f0ff4c6984a3689f578ffaaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a200decd7c59810def0433ea0483ee8ad"><td class="memItemLeft" align="right" valign="top">guint&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#a200decd7c59810def0433ea0483ee8ad">add_watch</a> (const <a class="el" href="classGst_1_1Bus.html#a5561a29ccae4d5fc8d3e25bbd5213612">SlotMessage</a>&amp; slot, int priority=Glib::PRIORITY_DEFAULT)</td></tr>
<tr class="memdesc:a200decd7c59810def0433ea0483ee8ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a bus watch to the default main context with the given priority.  <a href="#a200decd7c59810def0433ea0483ee8ad">More...</a><br /></td></tr>
<tr class="separator:a200decd7c59810def0433ea0483ee8ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4a0a824253b962fec6fc092d9fc8f12"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#ad4a0a824253b962fec6fc092d9fc8f12">remove_watch</a> (guint watch_id)</td></tr>
<tr class="memdesc:ad4a0a824253b962fec6fc092d9fc8f12"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes bus watch with event source id from main context.  <a href="#ad4a0a824253b962fec6fc092d9fc8f12">More...</a><br /></td></tr>
<tr class="separator:ad4a0a824253b962fec6fc092d9fc8f12"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a03a30f0239ae86e3eff8a1a8cbcd8049"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#a03a30f0239ae86e3eff8a1a8cbcd8049">set_sync_handler</a> (const <a class="el" href="classGst_1_1Bus.html#a554b1271c366f020a741e9dc2517d60d">SlotMessageSync</a>&amp; slot)</td></tr>
<tr class="memdesc:a03a30f0239ae86e3eff8a1a8cbcd8049"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the synchronous handler on the bus.  <a href="#a03a30f0239ae86e3eff8a1a8cbcd8049">More...</a><br /></td></tr>
<tr class="separator:a03a30f0239ae86e3eff8a1a8cbcd8049"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7165c9f28e900d5562cfc30dd5a22af5"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#a7165c9f28e900d5562cfc30dd5a22af5">disable_sync_message_emission</a> ()</td></tr>
<tr class="memdesc:a7165c9f28e900d5562cfc30dd5a22af5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Instructs GStreamer to stop emitting the "sync-message" signal for this bus.  <a href="#a7165c9f28e900d5562cfc30dd5a22af5">More...</a><br /></td></tr>
<tr class="separator:a7165c9f28e900d5562cfc30dd5a22af5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa623c9d21b773bca8f256a349da82601"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#aa623c9d21b773bca8f256a349da82601">enable_sync_message_emission</a> ()</td></tr>
<tr class="memdesc:aa623c9d21b773bca8f256a349da82601"><td class="mdescLeft">&#160;</td><td class="mdescRight">Instructs GStreamer to emit the "sync-message" signal after running the bus's sync handler.  <a href="#aa623c9d21b773bca8f256a349da82601">More...</a><br /></td></tr>
<tr class="separator:aa623c9d21b773bca8f256a349da82601"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab9241830bd40558cec8feab18da5c9ba"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#ab9241830bd40558cec8feab18da5c9ba">add_signal_watch</a> (int priority=Glib::PRIORITY_DEFAULT)</td></tr>
<tr class="memdesc:ab9241830bd40558cec8feab18da5c9ba"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adds a bus signal watch to the default main context with the given <em>priority</em> (e.g. PRIORITY_DEFAULT).  <a href="#ab9241830bd40558cec8feab18da5c9ba">More...</a><br /></td></tr>
<tr class="separator:ab9241830bd40558cec8feab18da5c9ba"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a40fa3f6509f69f5225c13f7cc9d7a065"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#a40fa3f6509f69f5225c13f7cc9d7a065">remove_signal_watch</a> ()</td></tr>
<tr class="memdesc:a40fa3f6509f69f5225c13f7cc9d7a065"><td class="mdescLeft">&#160;</td><td class="mdescRight">Removes a signal watch previously added with <a class="el" href="classGst_1_1Bus.html#ab9241830bd40558cec8feab18da5c9ba" title="Adds a bus signal watch to the default main context with the given priority (e.g. PRIORITY_DEFAULT)...">add_signal_watch()</a>.  <a href="#a40fa3f6509f69f5225c13f7cc9d7a065">More...</a><br /></td></tr>
<tr class="separator:a40fa3f6509f69f5225c13f7cc9d7a065"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a05f8bae6fd360d4ff975380f9bdf4760"><td class="memItemLeft" align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Message.html">Gst::Message</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#a05f8bae6fd360d4ff975380f9bdf4760">poll</a> (<a class="el" href="group__gstreamermmEnums.html#ga704e8de3c3f9698d3c3ca15d61190a86">MessageType</a> message_type, <a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda">ClockTime</a> timeout)</td></tr>
<tr class="memdesc:a05f8bae6fd360d4ff975380f9bdf4760"><td class="mdescLeft">&#160;</td><td class="mdescRight">Poll the bus for messages.  <a href="#a05f8bae6fd360d4ff975380f9bdf4760">More...</a><br /></td></tr>
<tr class="separator:a05f8bae6fd360d4ff975380f9bdf4760"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd9359c7b44a06050789bf2401dcd2cb"><td class="memItemLeft" align="right" valign="top">Glib::SignalProxy&lt; void, const Glib::RefPtr&lt; <a class="el" href="classGst_1_1Message.html">Gst::Message</a> &gt;&amp;&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#acd9359c7b44a06050789bf2401dcd2cb">signal_message</a> ()</td></tr>
<tr class="separator:acd9359c7b44a06050789bf2401dcd2cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a08ea23aea22e834ea347bf6bb7bb7d9d"><td class="memItemLeft" align="right" valign="top">Glib::SignalProxy&lt; void, const Glib::RefPtr&lt; <a class="el" href="classGst_1_1Message.html">Gst::Message</a> &gt;&amp;&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#a08ea23aea22e834ea347bf6bb7bb7d9d">signal_sync_message</a> ()</td></tr>
<tr class="separator:a08ea23aea22e834ea347bf6bb7bb7d9d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classGst_1_1Object"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classGst_1_1Object')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classGst_1_1Object.html">Gst::Object</a></td></tr>
<tr class="memitem:a81151161e4abf313e76ab35fa73d1293 inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#a81151161e4abf313e76ab35fa73d1293">Object</a> (<a class="el" href="classGst_1_1Object.html">Object</a>&amp;&amp; src) noexcept</td></tr>
<tr class="separator:a81151161e4abf313e76ab35fa73d1293 inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af3b8964b21574cae10f31d80061c7e40 inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGst_1_1Object.html">Object</a>&amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#af3b8964b21574cae10f31d80061c7e40">operator=</a> (<a class="el" href="classGst_1_1Object.html">Object</a>&amp;&amp; src) noexcept</td></tr>
<tr class="separator:af3b8964b21574cae10f31d80061c7e40 inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad4ecd638aea2e21916e2e21429eef97a inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#ad4ecd638aea2e21916e2e21429eef97a">~Object</a> () noexcept override</td></tr>
<tr class="separator:ad4ecd638aea2e21916e2e21429eef97a inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d889e949c76aa3ab4490026d6aca8ca inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">GstObject*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#a3d889e949c76aa3ab4490026d6aca8ca">gobj</a> ()</td></tr>
<tr class="memdesc:a3d889e949c76aa3ab4490026d6aca8ca inherit pub_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="classGst_1_1Object.html#a3d889e949c76aa3ab4490026d6aca8ca">More...</a><br /></td></tr>
<tr class="separator:a3d889e949c76aa3ab4490026d6aca8ca inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad6a4514f948551dcc2e45b3636b490fe inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">const GstObject*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#ad6a4514f948551dcc2e45b3636b490fe">gobj</a> () const</td></tr>
<tr class="memdesc:ad6a4514f948551dcc2e45b3636b490fe inherit pub_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C GObject.  <a href="classGst_1_1Object.html#ad6a4514f948551dcc2e45b3636b490fe">More...</a><br /></td></tr>
<tr class="separator:ad6a4514f948551dcc2e45b3636b490fe inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a63d7202d3eb47c81ffc3ac16a895e9d1 inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">GstObject*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#a63d7202d3eb47c81ffc3ac16a895e9d1">gobj_copy</a> ()</td></tr>
<tr class="memdesc:a63d7202d3eb47c81ffc3ac16a895e9d1 inherit pub_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs.  <a href="classGst_1_1Object.html#a63d7202d3eb47c81ffc3ac16a895e9d1">More...</a><br /></td></tr>
<tr class="separator:a63d7202d3eb47c81ffc3ac16a895e9d1 inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae96d8781fb1614a5a97e2a6f39e823b3 inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#ae96d8781fb1614a5a97e2a6f39e823b3">is_element</a> () const</td></tr>
<tr class="separator:ae96d8781fb1614a5a97e2a6f39e823b3 inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a906d1bd351d5f20a38964d6ab9a2c845 inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#a906d1bd351d5f20a38964d6ab9a2c845">is_element_factory</a> () const</td></tr>
<tr class="separator:a906d1bd351d5f20a38964d6ab9a2c845 inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb1cbea0f958a71af207f46d8b4ff5fc inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#acb1cbea0f958a71af207f46d8b4ff5fc">is_pad</a> () const</td></tr>
<tr class="separator:acb1cbea0f958a71af207f46d8b4ff5fc inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8b577e25de7574fa1c0b98db8072bc47 inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#a8b577e25de7574fa1c0b98db8072bc47">is_pad_template</a> () const</td></tr>
<tr class="separator:a8b577e25de7574fa1c0b98db8072bc47 inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc51ab9f7e9c1b002502bcbcb747fa78 inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#afc51ab9f7e9c1b002502bcbcb747fa78">is_bin</a> () const</td></tr>
<tr class="separator:afc51ab9f7e9c1b002502bcbcb747fa78 inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac824b4d7a69a1068ed3614c8c0bdd24 inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">guint32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#aac824b4d7a69a1068ed3614c8c0bdd24">get_flags</a> () const</td></tr>
<tr class="memdesc:aac824b4d7a69a1068ed3614c8c0bdd24 inherit pub_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the entire set of flags for the object.  <a href="classGst_1_1Object.html#aac824b4d7a69a1068ed3614c8c0bdd24">More...</a><br /></td></tr>
<tr class="separator:aac824b4d7a69a1068ed3614c8c0bdd24 inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91745b6c35472bc28fde65c770444478 inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#a91745b6c35472bc28fde65c770444478">set_name</a> (const Glib::ustring&amp; name)</td></tr>
<tr class="memdesc:a91745b6c35472bc28fde65c770444478 inherit pub_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the name of <em>object</em>, or gives <em>object</em> a guaranteed unique name (if <em>name</em> is <code>nullptr</code>).  <a href="classGst_1_1Object.html#a91745b6c35472bc28fde65c770444478">More...</a><br /></td></tr>
<tr class="separator:a91745b6c35472bc28fde65c770444478 inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8a7e72f2bf6539244668d7238d46159 inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">Glib::ustring&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#ab8a7e72f2bf6539244668d7238d46159">get_name</a> () const</td></tr>
<tr class="memdesc:ab8a7e72f2bf6539244668d7238d46159 inherit pub_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a copy of the name of <em>object</em>.  <a href="classGst_1_1Object.html#ab8a7e72f2bf6539244668d7238d46159">More...</a><br /></td></tr>
<tr class="separator:ab8a7e72f2bf6539244668d7238d46159 inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09a2f2fcfb0fabee2597b34a0b7c3fe4 inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#a09a2f2fcfb0fabee2597b34a0b7c3fe4">set_parent</a> (const Glib::RefPtr&lt; <a class="el" href="classGst_1_1Object.html">Gst::Object</a> &gt;&amp; parent)</td></tr>
<tr class="memdesc:a09a2f2fcfb0fabee2597b34a0b7c3fe4 inherit pub_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the parent of <em>object</em> to <em>parent</em>.  <a href="classGst_1_1Object.html#a09a2f2fcfb0fabee2597b34a0b7c3fe4">More...</a><br /></td></tr>
<tr class="separator:a09a2f2fcfb0fabee2597b34a0b7c3fe4 inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a303610665c252f733808e5653703f6a8 inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Object.html">Gst::Object</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#a303610665c252f733808e5653703f6a8">get_parent</a> ()</td></tr>
<tr class="memdesc:a303610665c252f733808e5653703f6a8 inherit pub_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the parent of <em>object</em>.  <a href="classGst_1_1Object.html#a303610665c252f733808e5653703f6a8">More...</a><br /></td></tr>
<tr class="separator:a303610665c252f733808e5653703f6a8 inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f8dc04241bee2beb2e3b8e0887bf240 inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">Glib::RefPtr&lt; const <a class="el" href="classGst_1_1Object.html">Gst::Object</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#a8f8dc04241bee2beb2e3b8e0887bf240">get_parent</a> () const</td></tr>
<tr class="memdesc:a8f8dc04241bee2beb2e3b8e0887bf240 inherit pub_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the parent of <em>object</em>.  <a href="classGst_1_1Object.html#a8f8dc04241bee2beb2e3b8e0887bf240">More...</a><br /></td></tr>
<tr class="separator:a8f8dc04241bee2beb2e3b8e0887bf240 inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a45b87529c337e40f03e34bca450e41bc inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#a45b87529c337e40f03e34bca450e41bc">unparent</a> ()</td></tr>
<tr class="memdesc:a45b87529c337e40f03e34bca450e41bc inherit pub_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear the parent of <em>object</em>, removing the associated reference.  <a href="classGst_1_1Object.html#a45b87529c337e40f03e34bca450e41bc">More...</a><br /></td></tr>
<tr class="separator:a45b87529c337e40f03e34bca450e41bc inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71dd4f21c9c28e44bbb102d4020d6fb9 inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#a71dd4f21c9c28e44bbb102d4020d6fb9">set_control_rate</a> (<a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda">Gst::ClockTime</a> control_rate)</td></tr>
<tr class="memdesc:a71dd4f21c9c28e44bbb102d4020d6fb9 inherit pub_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Change the control-rate for this <em>object</em>.  <a href="classGst_1_1Object.html#a71dd4f21c9c28e44bbb102d4020d6fb9">More...</a><br /></td></tr>
<tr class="separator:a71dd4f21c9c28e44bbb102d4020d6fb9 inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0f61c7a77c8915f25ea9630e316e64d1 inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda">Gst::ClockTime</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#a0f61c7a77c8915f25ea9630e316e64d1">get_control_rate</a> () const</td></tr>
<tr class="memdesc:a0f61c7a77c8915f25ea9630e316e64d1 inherit pub_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Obtain the control-rate for this <em>object</em>.  <a href="classGst_1_1Object.html#a0f61c7a77c8915f25ea9630e316e64d1">More...</a><br /></td></tr>
<tr class="separator:a0f61c7a77c8915f25ea9630e316e64d1 inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6ecaa24f220031816a05cd2f332e5149 inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda">Gst::ClockTime</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#a6ecaa24f220031816a05cd2f332e5149">suggest_next_sync</a> () const</td></tr>
<tr class="memdesc:a6ecaa24f220031816a05cd2f332e5149 inherit pub_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns a suggestion for timestamps where buffers should be split to get best controller results.  <a href="classGst_1_1Object.html#a6ecaa24f220031816a05cd2f332e5149">More...</a><br /></td></tr>
<tr class="separator:a6ecaa24f220031816a05cd2f332e5149 inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1ffd67bd304da65bec7966e0618318fa inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#a1ffd67bd304da65bec7966e0618318fa">sync_values</a> (<a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda">Gst::ClockTime</a> timestamp)</td></tr>
<tr class="memdesc:a1ffd67bd304da65bec7966e0618318fa inherit pub_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the properties of the object, according to the Gst::ControlSources that (maybe) handle them and for the given timestamp.  <a href="classGst_1_1Object.html#a1ffd67bd304da65bec7966e0618318fa">More...</a><br /></td></tr>
<tr class="separator:a1ffd67bd304da65bec7966e0618318fa inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a50cf4988393c9a170d196640f4e57384 inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#a50cf4988393c9a170d196640f4e57384">set_control_bindings_disabled</a> (bool disabled)</td></tr>
<tr class="memdesc:a50cf4988393c9a170d196640f4e57384 inherit pub_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is used to disable all controlled properties of the <em>object</em> for some time, i.e. <a class="el" href="classGst_1_1Object.html#a1ffd67bd304da65bec7966e0618318fa" title="Sets the properties of the object, according to the Gst::ControlSources that (maybe) handle them and ...">sync_values()</a> will do nothing.  <a href="classGst_1_1Object.html#a50cf4988393c9a170d196640f4e57384">More...</a><br /></td></tr>
<tr class="separator:a50cf4988393c9a170d196640f4e57384 inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7802f29724a1d24e9b317793c58d4b10 inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#a7802f29724a1d24e9b317793c58d4b10">has_asctive_control_bindings</a> () const</td></tr>
<tr class="memdesc:a7802f29724a1d24e9b317793c58d4b10 inherit pub_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classGst_1_1Check.html">Check</a> if the <em>object</em> has an active controlled properties.  <a href="classGst_1_1Object.html#a7802f29724a1d24e9b317793c58d4b10">More...</a><br /></td></tr>
<tr class="separator:a7802f29724a1d24e9b317793c58d4b10 inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aee1a36004d2f70fcafb2a69a10c9bae6 inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#aee1a36004d2f70fcafb2a69a10c9bae6">has_ancestor</a> (const Glib::RefPtr&lt; const <a class="el" href="classGst_1_1Object.html">Gst::Object</a> &gt;&amp; ancestor) const</td></tr>
<tr class="memdesc:aee1a36004d2f70fcafb2a69a10c9bae6 inherit pub_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classGst_1_1Check.html">Check</a> if <em>object</em> has an ancestor <em>ancestor</em> somewhere up in the hierarchy.  <a href="classGst_1_1Object.html#aee1a36004d2f70fcafb2a69a10c9bae6">More...</a><br /></td></tr>
<tr class="separator:aee1a36004d2f70fcafb2a69a10c9bae6 inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e8abe2e2e7cda5b26ee7a7e52320890 inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#a4e8abe2e2e7cda5b26ee7a7e52320890">has_as_ancestor</a> (const Glib::RefPtr&lt; <a class="el" href="classGst_1_1Object.html">Gst::Object</a> &gt;&amp; ancestor) const</td></tr>
<tr class="memdesc:a4e8abe2e2e7cda5b26ee7a7e52320890 inherit pub_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classGst_1_1Check.html">Check</a> if <em>object</em> has an ancestor <em>ancestor</em> somewhere up in the hierarchy.  <a href="classGst_1_1Object.html#a4e8abe2e2e7cda5b26ee7a7e52320890">More...</a><br /></td></tr>
<tr class="separator:a4e8abe2e2e7cda5b26ee7a7e52320890 inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abaaa4fbe4078d9ceadd45435ed0f079d inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#abaaa4fbe4078d9ceadd45435ed0f079d">has_as_parent</a> (const Glib::RefPtr&lt; <a class="el" href="classGst_1_1Object.html">Gst::Object</a> &gt;&amp; parent) const</td></tr>
<tr class="memdesc:abaaa4fbe4078d9ceadd45435ed0f079d inherit pub_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classGst_1_1Check.html">Check</a> if <em>parent</em> is the parent of <em>object</em>.  <a href="classGst_1_1Object.html#abaaa4fbe4078d9ceadd45435ed0f079d">More...</a><br /></td></tr>
<tr class="separator:abaaa4fbe4078d9ceadd45435ed0f079d inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e2da47b8e8eb7c48e6e6ec1a4f6ac94 inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">Glib::ustring&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#a4e2da47b8e8eb7c48e6e6ec1a4f6ac94">get_path_string</a> ()</td></tr>
<tr class="memdesc:a4e2da47b8e8eb7c48e6e6ec1a4f6ac94 inherit pub_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Generates a string describing the path of <em>object</em> in the object hierarchy.  <a href="classGst_1_1Object.html#a4e2da47b8e8eb7c48e6e6ec1a4f6ac94">More...</a><br /></td></tr>
<tr class="separator:a4e2da47b8e8eb7c48e6e6ec1a4f6ac94 inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d51c0f61b8ef58eafb2a2f2e59b1f74 inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">Glib::PropertyProxy&lt; Glib::ustring &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#a3d51c0f61b8ef58eafb2a2f2e59b1f74">property_name</a> ()</td></tr>
<tr class="memdesc:a3d51c0f61b8ef58eafb2a2f2e59b1f74 inherit pub_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight">The name of the object.  <a href="classGst_1_1Object.html#a3d51c0f61b8ef58eafb2a2f2e59b1f74">More...</a><br /></td></tr>
<tr class="separator:a3d51c0f61b8ef58eafb2a2f2e59b1f74 inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adf94eb5a427a1e7d2907caf50a8cf7e2 inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">Glib::PropertyProxy_ReadOnly&lt; Glib::ustring &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#adf94eb5a427a1e7d2907caf50a8cf7e2">property_name</a> () const</td></tr>
<tr class="memdesc:adf94eb5a427a1e7d2907caf50a8cf7e2 inherit pub_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight">The name of the object.  <a href="classGst_1_1Object.html#adf94eb5a427a1e7d2907caf50a8cf7e2">More...</a><br /></td></tr>
<tr class="separator:adf94eb5a427a1e7d2907caf50a8cf7e2 inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73a0272f16e1481f54150b1b412fa88c inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">Glib::PropertyProxy&lt; Glib::RefPtr&lt; <a class="el" href="classGst_1_1Object.html">Gst::Object</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#a73a0272f16e1481f54150b1b412fa88c">property_parent</a> ()</td></tr>
<tr class="memdesc:a73a0272f16e1481f54150b1b412fa88c inherit pub_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight">The parent of the object.  <a href="classGst_1_1Object.html#a73a0272f16e1481f54150b1b412fa88c">More...</a><br /></td></tr>
<tr class="separator:a73a0272f16e1481f54150b1b412fa88c inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa675064df0fcf0aaee34db75b8a6005b inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">Glib::PropertyProxy_ReadOnly&lt; Glib::RefPtr&lt; <a class="el" href="classGst_1_1Object.html">Gst::Object</a> &gt; &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#aa675064df0fcf0aaee34db75b8a6005b">property_parent</a> () const</td></tr>
<tr class="memdesc:aa675064df0fcf0aaee34db75b8a6005b inherit pub_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight">The parent of the object.  <a href="classGst_1_1Object.html#aa675064df0fcf0aaee34db75b8a6005b">More...</a><br /></td></tr>
<tr class="separator:aa675064df0fcf0aaee34db75b8a6005b inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac0fe96dbc1176a937bdb829ad3334afb inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">Glib::SignalProxy&lt; void, const Glib::RefPtr&lt; <a class="el" href="classGst_1_1Object.html">Gst::Object</a> &gt;&amp;, GParamSpec*&gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#ac0fe96dbc1176a937bdb829ad3334afb">signal_deep_notify</a> ()</td></tr>
<tr class="separator:ac0fe96dbc1176a937bdb829ad3334afb inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc2d69664a0d2bc0176e3421ff4b351f inherit pub_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#afc2d69664a0d2bc0176e3421ff4b351f">get_refcount</a> () const</td></tr>
<tr class="separator:afc2d69664a0d2bc0176e3421ff4b351f inherit pub_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr class="memitem:ab7235439f48ece2fd87f9bddee4c38a1"><td class="memItemLeft" align="right" valign="top">static GType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#ab7235439f48ece2fd87f9bddee4c38a1">get_type</a> ()</td></tr>
<tr class="memdesc:ab7235439f48ece2fd87f9bddee4c38a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system.  <a href="#ab7235439f48ece2fd87f9bddee4c38a1">More...</a><br /></td></tr>
<tr class="separator:ab7235439f48ece2fd87f9bddee4c38a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5c1bf1d5a92ffe26769adebabe36879f"><td class="memItemLeft" align="right" valign="top">static Glib::RefPtr&lt; <a class="el" href="classGst_1_1Bus.html">Bus</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#a5c1bf1d5a92ffe26769adebabe36879f">create</a> ()</td></tr>
<tr class="memdesc:a5c1bf1d5a92ffe26769adebabe36879f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Creates a new <a class="el" href="classGst_1_1Bus.html" title="A class that encompasses the GStreamer asynchronous message bus subsystem. ">Gst::Bus</a> instance.  <a href="#a5c1bf1d5a92ffe26769adebabe36879f">More...</a><br /></td></tr>
<tr class="separator:a5c1bf1d5a92ffe26769adebabe36879f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_static_methods_classGst_1_1Object"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classGst_1_1Object')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classGst_1_1Object.html">Gst::Object</a></td></tr>
<tr class="memitem:a8d7dfcf69a7c5c6086ab8149626fffcd inherit pub_static_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">static GType&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#a8d7dfcf69a7c5c6086ab8149626fffcd">get_type</a> ()</td></tr>
<tr class="memdesc:a8d7dfcf69a7c5c6086ab8149626fffcd inherit pub_static_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system.  <a href="classGst_1_1Object.html#a8d7dfcf69a7c5c6086ab8149626fffcd">More...</a><br /></td></tr>
<tr class="separator:a8d7dfcf69a7c5c6086ab8149626fffcd inherit pub_static_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a036969c9ee33ffe4270c2ceec02222a6 inherit pub_static_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">static bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#a036969c9ee33ffe4270c2ceec02222a6">check_uniqueness</a> (const Glib::ListHandle&lt; const <a class="el" href="classGst_1_1Object.html">Gst::Object</a> &gt;&amp; list, const Glib::ustring&amp; name)</td></tr>
<tr class="memdesc:a036969c9ee33ffe4270c2ceec02222a6 inherit pub_static_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks to see if there is any object named <em>name</em> in <em>list</em>.  <a href="classGst_1_1Object.html#a036969c9ee33ffe4270c2ceec02222a6">More...</a><br /></td></tr>
<tr class="separator:a036969c9ee33ffe4270c2ceec02222a6 inherit pub_static_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</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:a35f324e366ff7354ef313c8332e7813b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#a35f324e366ff7354ef313c8332e7813b">Bus</a> ()</td></tr>
<tr class="separator:a35f324e366ff7354ef313c8332e7813b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6284c3e6ac2ec3baf0a3b4ba26d03a8f"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#a6284c3e6ac2ec3baf0a3b4ba26d03a8f">on_message</a> (const Glib::RefPtr&lt; <a class="el" href="classGst_1_1Message.html">Gst::Message</a> &gt;&amp; message)</td></tr>
<tr class="memdesc:a6284c3e6ac2ec3baf0a3b4ba26d03a8f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is a default handler for the signal <a class="el" href="classGst_1_1Bus.html#acd9359c7b44a06050789bf2401dcd2cb">signal_message()</a>.  <a href="#a6284c3e6ac2ec3baf0a3b4ba26d03a8f">More...</a><br /></td></tr>
<tr class="separator:a6284c3e6ac2ec3baf0a3b4ba26d03a8f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ca62cf437c977616ac38433eef28ad7"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#a7ca62cf437c977616ac38433eef28ad7">on_sync_message</a> (const Glib::RefPtr&lt; <a class="el" href="classGst_1_1Message.html">Gst::Message</a> &gt;&amp; message)</td></tr>
<tr class="memdesc:a7ca62cf437c977616ac38433eef28ad7"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is a default handler for the signal <a class="el" href="classGst_1_1Bus.html#a08ea23aea22e834ea347bf6bb7bb7d9d">signal_sync_message()</a>.  <a href="#a7ca62cf437c977616ac38433eef28ad7">More...</a><br /></td></tr>
<tr class="separator:a7ca62cf437c977616ac38433eef28ad7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pro_methods_classGst_1_1Object"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classGst_1_1Object')"><img src="closed.png" alt="-"/>&#160;Protected Member Functions inherited from <a class="el" href="classGst_1_1Object.html">Gst::Object</a></td></tr>
<tr class="memitem:a133db3a4c137e5cc57227edb343d6fdb inherit pro_methods_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#a133db3a4c137e5cc57227edb343d6fdb">on_deep_notify</a> (const Glib::RefPtr&lt; <a class="el" href="classGst_1_1Object.html">Gst::Object</a> &gt;&amp; prop_object, GParamSpec* prop)</td></tr>
<tr class="memdesc:a133db3a4c137e5cc57227edb343d6fdb inherit pro_methods_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight">This is a default handler for the signal <a class="el" href="classGst_1_1Object.html#ac0fe96dbc1176a937bdb829ad3334afb">signal_deep_notify()</a>.  <a href="classGst_1_1Object.html#a133db3a4c137e5cc57227edb343d6fdb">More...</a><br /></td></tr>
<tr class="separator:a133db3a4c137e5cc57227edb343d6fdb inherit pro_methods_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="related"></a>
Related Functions</h2></td></tr>
<tr><td class="ititle" colspan="2"><p>(Note that these are not member functions.) </p>
</td></tr>
<tr class="memitem:a7e894d91c45c1d858aa85ae15506ce67"><td class="memItemLeft" align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Bus.html">Gst::Bus</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Bus.html#a7e894d91c45c1d858aa85ae15506ce67">wrap</a> (GstBus* object, bool take_copy=false)</td></tr>
<tr class="memdesc:a7e894d91c45c1d858aa85ae15506ce67"><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="el" href="namespaceGlib.html#a43fcab2a44083e8b7b6a1c8193acae2b">Glib::wrap()</a> method for this object.  <a href="#a7e894d91c45c1d858aa85ae15506ce67">More...</a><br /></td></tr>
<tr class="separator:a7e894d91c45c1d858aa85ae15506ce67"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header related_classGst_1_1Object"><td colspan="2" onclick="javascript:toggleInherit('related_classGst_1_1Object')"><img src="closed.png" alt="-"/>&#160;Related Functions inherited from <a class="el" href="classGst_1_1Object.html">Gst::Object</a></td></tr>
<tr class="memitem:a78a831adab0d01760dd9cddec10f8986 inherit related_classGst_1_1Object"><td class="memItemLeft" align="right" valign="top">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Object.html">Gst::Object</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGst_1_1Object.html#a78a831adab0d01760dd9cddec10f8986">wrap</a> (GstObject* object, bool take_copy=false)</td></tr>
<tr class="memdesc:a78a831adab0d01760dd9cddec10f8986 inherit related_classGst_1_1Object"><td class="mdescLeft">&#160;</td><td class="mdescRight">A <a class="el" href="namespaceGlib.html#a43fcab2a44083e8b7b6a1c8193acae2b">Glib::wrap()</a> method for this object.  <a href="classGst_1_1Object.html#a78a831adab0d01760dd9cddec10f8986">More...</a><br /></td></tr>
<tr class="separator:a78a831adab0d01760dd9cddec10f8986 inherit related_classGst_1_1Object"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>A class that encompasses the GStreamer asynchronous message bus subsystem. </p>
<p>The <a class="el" href="classGst_1_1Bus.html" title="A class that encompasses the GStreamer asynchronous message bus subsystem. ">Gst::Bus</a> is an object responsible for delivering Messages in a first-in first-out way from the streaming threads to the application.</p>
<p>Since the application typically only wants to deal with delivery of these messages from one thread, the <a class="el" href="classGst_1_1Bus.html" title="A class that encompasses the GStreamer asynchronous message bus subsystem. ">Gst::Bus</a> will marshall the messages between different threads. This is important since the actual streaming of media is done in another thread than the application.</p>
<p>The <a class="el" href="classGst_1_1Bus.html" title="A class that encompasses the GStreamer asynchronous message bus subsystem. ">Gst::Bus</a> provides support for GSource based notifications. This makes it possible to handle the delivery in the glib mainloop.</p>
<p>The GSource callback function gst_bus_async_signal_func() can be used to convert all bus messages into signal emissions.</p>
<p>A message is posted on the bus with the <a class="el" href="classGst_1_1Bus.html#a3b662a895e575e69402dfe0d8ee639a0" title="Post a message on the given bus. ">post()</a> method. With the <a class="el" href="classGst_1_1Bus.html#a7e1c9d9d8e656e646bfa7c75922313fb" title="Peek the message on the top of the bus&#39; queue. ">peek()</a> and <a class="el" href="classGst_1_1Bus.html#a7ad0a942d63ce75a4e14fbaf45e68f5b" title="Get a message from the bus. ">pop()</a> methods one can look at or retrieve a previously posted message.</p>
<p>The bus can be polled with the <a class="el" href="classGst_1_1Bus.html#a05f8bae6fd360d4ff975380f9bdf4760" title="Poll the bus for messages. ">poll()</a> method. This methods blocks up to the specified timeout value until one of the specified messages types is posted on the bus. The application can then <a class="el" href="classGst_1_1Bus.html#a7ad0a942d63ce75a4e14fbaf45e68f5b" title="Get a message from the bus. ">pop()</a> the messages from the bus to handle them. Alternatively the application can register an asynchronous bus function using <a class="el" href="classGst_1_1Bus.html#a200decd7c59810def0433ea0483ee8ad" title="Adds a bus watch to the default main context with the given priority. ">add_watch()</a>. This function will install a GSource in the default glib main loop and will deliver messages a short while after they have been posted. Note that the main loop should be running for the asynchronous callbacks.</p>
<p>It is also possible to get messages from the bus without any thread marshalling with the <a class="el" href="classGst_1_1Bus.html#a03a30f0239ae86e3eff8a1a8cbcd8049" title="Sets the synchronous handler on the bus. ">set_sync_handler()</a> method. This makes it possible to react to a message in the same thread that posted the message on the bus. This should only be used if the application is able to deal with messages from different threads.</p>
<p>Every <a class="el" href="classGst_1_1Pipeline.html" title="A top-level bin with clocking and bus management functionality. ">Gst::Pipeline</a> has one bus.</p>
<p>Note that a <a class="el" href="classGst_1_1Pipeline.html" title="A top-level bin with clocking and bus management functionality. ">Gst::Pipeline</a> will set its bus into flushing state when changing from READY to NULL state.</p>
<p>Last reviewed on 2016-05-16 (1.8.0) </p>
</div><h2 class="groupheader">Member Typedef Documentation</h2>
<a id="a5561a29ccae4d5fc8d3e25bbd5213612"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5561a29ccae4d5fc8d3e25bbd5213612">&#9670;&#160;</a></span>SlotMessage</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef sigc::slot&lt; bool, const Glib::RefPtr&lt;<a class="el" href="classGst_1_1Bus.html">Gst::Bus</a>&gt;&amp;, const Glib::RefPtr&lt;<a class="el" href="classGst_1_1Message.html">Gst::Message</a>&gt;&amp; &gt; <a class="el" href="classGst_1_1Bus.html#a5561a29ccae4d5fc8d3e25bbd5213612">Gst::Bus::SlotMessage</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>For example, bool on_bus_message(const Glib::RefPtr&lt;Gst::Bus&gt;&amp; bus, const Glib::RefPtr&lt;Gst::Message&gt;&amp; message);. </p>
<p>The message function should return true if it wants to continue to receive messages, or false otherwise. </p>

</div>
</div>
<a id="a554b1271c366f020a741e9dc2517d60d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a554b1271c366f020a741e9dc2517d60d">&#9670;&#160;</a></span>SlotMessageSync</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">typedef sigc::slot&lt; <a class="el" href="group__gstreamermmEnums.html#ga7cfc417dc700f0f36e524a98b5ffa6fc">BusSyncReply</a>, const Glib::RefPtr&lt;<a class="el" href="classGst_1_1Bus.html">Gst::Bus</a>&gt;&amp;, const Glib::RefPtr&lt;<a class="el" href="classGst_1_1Message.html">Gst::Message</a>&gt;&amp; &gt; <a class="el" href="classGst_1_1Bus.html#a554b1271c366f020a741e9dc2517d60d">Gst::Bus::SlotMessageSync</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>For example, BusSyncReply on_bus_sync_message(const Glib::RefPtr&lt;Gst::Bus&gt;&amp; bus, const Glib::RefPtr&lt;Gst::Message&gt;&amp; message);. </p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="aecf47c2fb1425bc64cc2636acb5a8136"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aecf47c2fb1425bc64cc2636acb5a8136">&#9670;&#160;</a></span>Bus() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Gst::Bus::Bus </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGst_1_1Bus.html">Bus</a>&amp;&amp;&#160;</td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a34f0afaa0bfe50530944235a16f2f80d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a34f0afaa0bfe50530944235a16f2f80d">&#9670;&#160;</a></span>~Bus()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Gst::Bus::~Bus </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a35f324e366ff7354ef313c8332e7813b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a35f324e366ff7354ef313c8332e7813b">&#9670;&#160;</a></span>Bus() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Gst::Bus::Bus </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">

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="ab9241830bd40558cec8feab18da5c9ba"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab9241830bd40558cec8feab18da5c9ba">&#9670;&#160;</a></span>add_signal_watch()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::Bus::add_signal_watch </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>priority</em> = <code>Glib::PRIORITY_DEFAULT</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds a bus signal watch to the default main context with the given <em>priority</em> (e.g. PRIORITY_DEFAULT). </p>
<p>It is also possible to use a non-default main context set up using Glib::main_context_push_thread_default() (before one had to create a bus watch source and attach it to the desired main context 'manually').</p>
<p>After calling this statement, the bus will emit the "message" signal for each message posted on the bus when the main loop is running.</p>
<p>This function may be called multiple times. To clean up, the caller is responsible for calling <a class="el" href="classGst_1_1Bus.html#a40fa3f6509f69f5225c13f7cc9d7a065" title="Removes a signal watch previously added with add_signal_watch(). ">remove_signal_watch()</a> as many times as this function is called.</p>
<p>There can only be a single bus watch per bus, you must remove any signal watch before you can set another type of watch.</p>
<p>MT safe.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">priority</td><td>The priority of the watch. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a200decd7c59810def0433ea0483ee8ad"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a200decd7c59810def0433ea0483ee8ad">&#9670;&#160;</a></span>add_watch()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">guint Gst::Bus::add_watch </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGst_1_1Bus.html#a5561a29ccae4d5fc8d3e25bbd5213612">SlotMessage</a>&amp;&#160;</td>
          <td class="paramname"><em>slot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>priority</em> = <code>Glib::PRIORITY_DEFAULT</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adds a bus watch to the default main context with the given priority. </p>
<p>The slot is used to receive asynchronous messages in the main loop.</p>
<p>The watch can be removed using <a class="el" href="classGst_1_1Bus.html#ad4a0a824253b962fec6fc092d9fc8f12" title="Removes bus watch with event source id from main context. ">remove_watch()</a> or by returning false from slot.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">slot</td><td>The slot to call when a message is received. </td></tr>
    <tr><td class="paramname">priority</td><td>The priority of the watch. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The event source id. MT safe. </dd></dl>

</div>
</div>
<a id="a5c1bf1d5a92ffe26769adebabe36879f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5c1bf1d5a92ffe26769adebabe36879f">&#9670;&#160;</a></span>create()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static Glib::RefPtr&lt;<a class="el" href="classGst_1_1Bus.html">Bus</a>&gt; Gst::Bus::create </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Creates a new <a class="el" href="classGst_1_1Bus.html" title="A class that encompasses the GStreamer asynchronous message bus subsystem. ">Gst::Bus</a> instance. </p>
<dl class="section return"><dt>Returns</dt><dd>The new <a class="el" href="classGst_1_1Bus.html" title="A class that encompasses the GStreamer asynchronous message bus subsystem. ">Gst::Bus</a> instance. </dd></dl>

</div>
</div>
<a id="a7165c9f28e900d5562cfc30dd5a22af5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7165c9f28e900d5562cfc30dd5a22af5">&#9670;&#160;</a></span>disable_sync_message_emission()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::Bus::disable_sync_message_emission </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Instructs GStreamer to stop emitting the "sync-message" signal for this bus. </p>
<p>See <a class="el" href="classGst_1_1Bus.html#aa623c9d21b773bca8f256a349da82601" title="Instructs GStreamer to emit the &quot;sync-message&quot; signal after running the bus&#39;s sync handler...">enable_sync_message_emission()</a> for more information.</p>
<p>In the event that multiple pieces of code have called <a class="el" href="classGst_1_1Bus.html#aa623c9d21b773bca8f256a349da82601" title="Instructs GStreamer to emit the &quot;sync-message&quot; signal after running the bus&#39;s sync handler...">enable_sync_message_emission()</a>, the sync-message emissions will only be stopped after all calls to <a class="el" href="classGst_1_1Bus.html#aa623c9d21b773bca8f256a349da82601" title="Instructs GStreamer to emit the &quot;sync-message&quot; signal after running the bus&#39;s sync handler...">enable_sync_message_emission()</a> were "cancelled" by calling this function. In this way the semantics are exactly the same as Gst::Object::ref() that which calls enable should also call disable.</p>
<p>MT safe. </p>

</div>
</div>
<a id="aa623c9d21b773bca8f256a349da82601"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa623c9d21b773bca8f256a349da82601">&#9670;&#160;</a></span>enable_sync_message_emission()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::Bus::enable_sync_message_emission </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Instructs GStreamer to emit the "sync-message" signal after running the bus's sync handler. </p>
<p>This function is here so that code can ensure that they can synchronously receive messages without having to affect what the bin's sync handler is.</p>
<p>This function may be called multiple times. To clean up, the caller is responsible for calling <a class="el" href="classGst_1_1Bus.html#a7165c9f28e900d5562cfc30dd5a22af5" title="Instructs GStreamer to stop emitting the &quot;sync-message&quot; signal for this bus. ">disable_sync_message_emission()</a> as many times as this function is called.</p>
<p>While this function looks similar to <a class="el" href="classGst_1_1Bus.html#ab9241830bd40558cec8feab18da5c9ba" title="Adds a bus signal watch to the default main context with the given priority (e.g. PRIORITY_DEFAULT)...">add_signal_watch()</a>, it is not exactly the same &#8211; this function enables <em>synchronous</em> emission of signals when messages arrive; <a class="el" href="classGst_1_1Bus.html#ab9241830bd40558cec8feab18da5c9ba" title="Adds a bus signal watch to the default main context with the given priority (e.g. PRIORITY_DEFAULT)...">add_signal_watch()</a> adds an idle callback to pop messages off the bus <em>asynchronously</em>. The sync-message signal comes from the thread of whatever object posted the message; the "message" signal is marshalled to the main thread via the main loop.</p>
<p>MT safe. </p>

</div>
</div>
<a id="ab7235439f48ece2fd87f9bddee4c38a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7235439f48ece2fd87f9bddee4c38a1">&#9670;&#160;</a></span>get_type()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static GType Gst::Bus::get_type </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the GType for this class, for use with the underlying GObject type system. </p>

</div>
</div>
<a id="a03b3feabd44ba84a953fa0340e778816"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03b3feabd44ba84a953fa0340e778816">&#9670;&#160;</a></span>gobj() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">GstBus* Gst::Bus::gobj </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="a73f02cb09100dbe4fbb4515eae10270b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73f02cb09100dbe4fbb4515eae10270b">&#9670;&#160;</a></span>gobj() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const GstBus* Gst::Bus::gobj </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="a7528490c0d5f42300a4b0b588df3bf1d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7528490c0d5f42300a4b0b588df3bf1d">&#9670;&#160;</a></span>gobj_copy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">GstBus* Gst::Bus::gobj_copy </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Provides access to the underlying C instance. The caller is responsible for unrefing it. Use when directly setting fields in structs. </p>

</div>
</div>
<a id="ad4b4e6089b2ad7e6c6aa0302352977cc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad4b4e6089b2ad7e6c6aa0302352977cc">&#9670;&#160;</a></span>have_pending()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gst::Bus::have_pending </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p><a class="el" href="classGst_1_1Check.html">Check</a> if there are pending messages on the bus that should be handled. </p>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if there are messages on the bus to be handled, <code>false</code> otherwise.</dd></dl>
<p>MT safe. </p>

</div>
</div>
<a id="a6284c3e6ac2ec3baf0a3b4ba26d03a8f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6284c3e6ac2ec3baf0a3b4ba26d03a8f">&#9670;&#160;</a></span>on_message()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gst::Bus::on_message </td>
          <td>(</td>
          <td class="paramtype">const Glib::RefPtr&lt; <a class="el" href="classGst_1_1Message.html">Gst::Message</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>message</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This is a default handler for the signal <a class="el" href="classGst_1_1Bus.html#acd9359c7b44a06050789bf2401dcd2cb">signal_message()</a>. </p>

</div>
</div>
<a id="a7ca62cf437c977616ac38433eef28ad7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ca62cf437c977616ac38433eef28ad7">&#9670;&#160;</a></span>on_sync_message()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void Gst::Bus::on_sync_message </td>
          <td>(</td>
          <td class="paramtype">const Glib::RefPtr&lt; <a class="el" href="classGst_1_1Message.html">Gst::Message</a> &gt;&amp;&#160;</td>
          <td class="paramname"><em>message</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>This is a default handler for the signal <a class="el" href="classGst_1_1Bus.html#a08ea23aea22e834ea347bf6bb7bb7d9d">signal_sync_message()</a>. </p>

</div>
</div>
<a id="ab5401c2dd342c2ebaf7f50d68370812b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab5401c2dd342c2ebaf7f50d68370812b">&#9670;&#160;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGst_1_1Bus.html">Bus</a>&amp; Gst::Bus::operator= </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGst_1_1Bus.html">Bus</a>&amp;&amp;&#160;</td>
          <td class="paramname"><em>src</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">noexcept</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

</div>
</div>
<a id="a7e1c9d9d8e656e646bfa7c75922313fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e1c9d9d8e656e646bfa7c75922313fb">&#9670;&#160;</a></span>peek() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="classGst_1_1Message.html">Gst::Message</a>&gt; Gst::Bus::peek </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Peek the message on the top of the bus' queue. </p>
<p>The message will remain on the bus' message queue. A reference is returned, and needs to be unreffed by the caller.</p>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="classGst_1_1Message.html" title="A class that represents lightweight objects to signal the application of pipeline events...">Gst::Message</a> that is on the bus, or <code>nullptr</code> if the bus is empty.</dd></dl>
<p>MT safe. </p>

</div>
</div>
<a id="a4e925019bef3138ff00657392128a49d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a4e925019bef3138ff00657392128a49d">&#9670;&#160;</a></span>peek() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;const <a class="el" href="classGst_1_1Message.html">Gst::Message</a>&gt; Gst::Bus::peek </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Peek the message on the top of the bus' queue. </p>
<p>The message will remain on the bus' message queue. A reference is returned, and needs to be unreffed by the caller.</p>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="classGst_1_1Message.html" title="A class that represents lightweight objects to signal the application of pipeline events...">Gst::Message</a> that is on the bus, or <code>nullptr</code> if the bus is empty.</dd></dl>
<p>MT safe. </p>

</div>
</div>
<a id="a05f8bae6fd360d4ff975380f9bdf4760"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a05f8bae6fd360d4ff975380f9bdf4760">&#9670;&#160;</a></span>poll()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="classGst_1_1Message.html">Gst::Message</a>&gt; Gst::Bus::poll </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gstreamermmEnums.html#ga704e8de3c3f9698d3c3ca15d61190a86">MessageType</a>&#160;</td>
          <td class="paramname"><em>message_type</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda">ClockTime</a>&#160;</td>
          <td class="paramname"><em>timeout</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Poll the bus for messages. </p>
<p>Will block while waiting for messages to come. You can specify a maximum time to poll with the <em>timeout</em> parameter. If <em>timeout</em> is negative, this function will block indefinitely.</p>
<p>All messages not in <em>message_type</em> will be popped off the bus and will be ignored. It is not possible to use message enums beyond <a class="el" href="namespaceGst.html#ga704e8de3c3f9698d3c3ca15d61190a86aeeca3ac88409cb2face93c025dd046bf" title="Message is an extended message type (see below). ">Gst::MESSAGE_EXTENDED</a> in the <em>message_type</em> mask</p>
<p>Because poll is implemented using the "message" signal enabled by <a class="el" href="classGst_1_1Bus.html#ab9241830bd40558cec8feab18da5c9ba" title="Adds a bus signal watch to the default main context with the given priority (e.g. PRIORITY_DEFAULT)...">add_signal_watch()</a>, calling <a class="el" href="classGst_1_1Bus.html#a05f8bae6fd360d4ff975380f9bdf4760" title="Poll the bus for messages. ">poll()</a> will cause the "message" signal to be emitted for every message that poll sees. Thus a "message" signal handler will see the same messages that this function sees &#8211; neither will steal messages from the other.</p>
<p>This function will run a main loop from the default main context when polling.</p>
<p>You should never use this function, since it is pure evil. This is especially true for GUI applications based on Gtk+ or Qt, but also for any other non-trivial application that uses the GLib main loop. As this function runs a GLib main loop, any callback attached to the default GLib main context may be invoked. This could be timeouts, GUI events, I/O events etc.; even if <a class="el" href="classGst_1_1Bus.html#a05f8bae6fd360d4ff975380f9bdf4760" title="Poll the bus for messages. ">poll()</a> is called with a 0 timeout. Any of these callbacks may do things you do not expect, e.g. destroy the main application window or some other resource; change other application state; display a dialog and run another main loop until the user clicks it away. In short, using this function may add a lot of complexity to your code through unexpected re-entrancy and unexpected changes to your application's state.</p>
<p>For 0 timeouts use pop_filtered() instead of this function; for other short timeouts use timed_pop_filtered(); everything else is better handled by setting up an asynchronous bus watch and doing things from there.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">message_type</td><td>A mask of <a class="el" href="group__gstreamermmEnums.html#ga704e8de3c3f9698d3c3ca15d61190a86" title="The different message types that are available. ">Gst::MessageType</a>, representing the set of message types to poll for (note special handling of extended message types below). </td></tr>
    <tr><td class="paramname">timeout</td><td>The poll timeout, as a <a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda" title="A data type to hold a time, measured in nanoseconds. ">Gst::ClockTime</a>, or <a class="el" href="namespaceGst.html#a07ca62fa6d891070ab6d46c45cd388f1" title="A constant to define an undefined clock time. ">Gst::CLOCK_TIME_NONE</a> to poll indefinitely. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The message that was received, or <code>nullptr</code> if the poll timed out. The message is taken from the bus. </dd></dl>

</div>
</div>
<a id="a7ad0a942d63ce75a4e14fbaf45e68f5b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7ad0a942d63ce75a4e14fbaf45e68f5b">&#9670;&#160;</a></span>pop() <span class="overload">[1/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="classGst_1_1Message.html">Gst::Message</a>&gt; Gst::Bus::pop </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a message from the bus. </p>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="classGst_1_1Message.html" title="A class that represents lightweight objects to signal the application of pipeline events...">Gst::Message</a> that is on the bus, or <code>nullptr</code> if the bus is empty. The message is taken from the bus.</dd></dl>
<p>MT safe. </p>

</div>
</div>
<a id="ada0edd332783b2b5a1de73c60b9c621e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ada0edd332783b2b5a1de73c60b9c621e">&#9670;&#160;</a></span>pop() <span class="overload">[2/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="classGst_1_1Message.html">Gst::Message</a>&gt; Gst::Bus::pop </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__gstreamermmEnums.html#ga704e8de3c3f9698d3c3ca15d61190a86">MessageType</a>&#160;</td>
          <td class="paramname"><em>message_type</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a message matching <em>type</em> from the bus. </p>
<p>Will discard all messages on the bus that do not match <em>type</em> and that have been posted before the first message that does match <em>type</em>. If there is no message matching <em>type</em> on the bus, all messages will be discarded. It is not possible to use message enums beyond <a class="el" href="namespaceGst.html#ga704e8de3c3f9698d3c3ca15d61190a86aeeca3ac88409cb2face93c025dd046bf" title="Message is an extended message type (see below). ">Gst::MESSAGE_EXTENDED</a> in the <em>events</em> mask.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">message_type</td><td><a class="el" href="classGst_1_1Message.html" title="A class that represents lightweight objects to signal the application of pipeline events...">Message</a> types to take into account. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The next <a class="el" href="classGst_1_1Message.html" title="A class that represents lightweight objects to signal the application of pipeline events...">Gst::Message</a> matching <em>type</em> that is on the bus, or <code>nullptr</code> if the bus is empty or there is no message matching <em>type</em>. The message is taken from the bus.</dd></dl>
<p>MT safe. </p>

</div>
</div>
<a id="afee2efa82585c1bf8477705ac9ed3daa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afee2efa82585c1bf8477705ac9ed3daa">&#9670;&#160;</a></span>pop() <span class="overload">[3/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="classGst_1_1Message.html">Gst::Message</a>&gt; Gst::Bus::pop </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda">ClockTime</a>&#160;</td>
          <td class="paramname"><em>timeout</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a message from the bus, waiting up to the specified timeout. </p>
<p>If <em>timeout</em> is 0, this function behaves like <a class="el" href="classGst_1_1Bus.html#a7ad0a942d63ce75a4e14fbaf45e68f5b" title="Get a message from the bus. ">pop()</a>. If <em>timeout</em> is <a class="el" href="namespaceGst.html#a07ca62fa6d891070ab6d46c45cd388f1" title="A constant to define an undefined clock time. ">Gst::CLOCK_TIME_NONE</a>, this function will block forever until a message was posted on the bus.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">timeout</td><td>A timeout. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The <a class="el" href="classGst_1_1Message.html" title="A class that represents lightweight objects to signal the application of pipeline events...">Gst::Message</a> that is on the bus after the specified timeout or <code>nullptr</code> if the bus is empty after the timeout expired. The message is taken from the bus.</dd></dl>
<p>MT safe. </p>

</div>
</div>
<a id="ad8a5b535f84f41376fef170f085d2c2a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad8a5b535f84f41376fef170f085d2c2a">&#9670;&#160;</a></span>pop() <span class="overload">[4/4]</span></h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt;<a class="el" href="classGst_1_1Message.html">Gst::Message</a>&gt; Gst::Bus::pop </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="namespaceGst.html#ad35f82b74cae5822fe16b231e8293cda">ClockTime</a>&#160;</td>
          <td class="paramname"><em>timeout</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="group__gstreamermmEnums.html#ga704e8de3c3f9698d3c3ca15d61190a86">MessageType</a>&#160;</td>
          <td class="paramname"><em>message_type</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Get a message from the bus whose type matches the message type mask <em>message_type</em>, waiting up to the specified timeout (and discarding any messages that do not match the mask provided). </p>
<p>If <em>timeout</em> is 0, this function behaves like pop_filtered(). If <em>timeout</em> is <a class="el" href="namespaceGst.html#a07ca62fa6d891070ab6d46c45cd388f1" title="A constant to define an undefined clock time. ">Gst::CLOCK_TIME_NONE</a>, this function will block forever until a matching message was posted on the bus.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">timeout</td><td>A timeout in nanoseconds, or GST_CLOCK_TIME_NONE to wait forever. </td></tr>
    <tr><td class="paramname">message_type</td><td><a class="el" href="classGst_1_1Message.html" title="A class that represents lightweight objects to signal the application of pipeline events...">Message</a> types to take into account, GST_MESSAGE_ANY for any type. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A <a class="el" href="classGst_1_1Message.html" title="A class that represents lightweight objects to signal the application of pipeline events...">Gst::Message</a> matching the filter in <em>message_type</em>, or <code>nullptr</code> if no matching message was found on the bus until the timeout expired. The message is taken from the bus.</dd></dl>
<p>MT safe. </p>

</div>
</div>
<a id="a3b662a895e575e69402dfe0d8ee639a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3b662a895e575e69402dfe0d8ee639a0">&#9670;&#160;</a></span>post()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gst::Bus::post </td>
          <td>(</td>
          <td class="paramtype">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Message.html">Gst::Message</a> &gt;&amp;&amp;&#160;</td>
          <td class="paramname"><em>message</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Post a message on the given bus. </p>
<p>Ownership of the message is taken by the bus.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">message</td><td>The <a class="el" href="classGst_1_1Message.html" title="A class that represents lightweight objects to signal the application of pipeline events...">Gst::Message</a> to post. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd><code>true</code> if the message could be posted, <code>false</code> if the bus is flushing.</dd></dl>
<p>MT safe. </p>

</div>
</div>
<a id="a40fa3f6509f69f5225c13f7cc9d7a065"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a40fa3f6509f69f5225c13f7cc9d7a065">&#9670;&#160;</a></span>remove_signal_watch()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::Bus::remove_signal_watch </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Removes a signal watch previously added with <a class="el" href="classGst_1_1Bus.html#ab9241830bd40558cec8feab18da5c9ba" title="Adds a bus signal watch to the default main context with the given priority (e.g. PRIORITY_DEFAULT)...">add_signal_watch()</a>. </p>
<p>MT safe. </p>

</div>
</div>
<a id="ad4a0a824253b962fec6fc092d9fc8f12"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad4a0a824253b962fec6fc092d9fc8f12">&#9670;&#160;</a></span>remove_watch()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool Gst::Bus::remove_watch </td>
          <td>(</td>
          <td class="paramtype">guint&#160;</td>
          <td class="paramname"><em>watch_id</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Removes bus watch with event source id from main context. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">watch_id</td><td>The event source id. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>true if removal was succesful, false otherwise. </dd></dl>

</div>
</div>
<a id="a021e5534f0ff4c6984a3689f578ffaaa"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a021e5534f0ff4c6984a3689f578ffaaa">&#9670;&#160;</a></span>set_flushing()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::Bus::set_flushing </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>flushing</em> = <code>true</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>If <em>flushing</em>, flush out and unref any messages queued in the bus. </p>
<p>Releases references to the message origin objects. Will flush future messages until <a class="el" href="classGst_1_1Bus.html#a021e5534f0ff4c6984a3689f578ffaaa" title="If flushing, flush out and unref any messages queued in the bus. ">set_flushing()</a> sets <em>flushing</em> to <code>false</code>.</p>
<p>MT safe.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">flushing</td><td>Whether or not to flush the bus. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a03a30f0239ae86e3eff8a1a8cbcd8049"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a03a30f0239ae86e3eff8a1a8cbcd8049">&#9670;&#160;</a></span>set_sync_handler()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Gst::Bus::set_sync_handler </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGst_1_1Bus.html#a554b1271c366f020a741e9dc2517d60d">SlotMessageSync</a>&amp;&#160;</td>
          <td class="paramname"><em>slot</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the synchronous handler on the bus. </p>
<p>The slot will be called every time a new message is posted on the bus. Note that the function will be called in the same thread context as the posting object (synchronously). This function is usually only called by the creator of the bus. Applications should handle messages asynchronously using the watch and poll functions or enable the "sync-message" signal emission with <a class="el" href="classGst_1_1Bus.html#aa623c9d21b773bca8f256a349da82601" title="Instructs GStreamer to emit the &quot;sync-message&quot; signal after running the bus&#39;s sync handler...">enable_sync_message_emission()</a>.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">slot</td><td>The handler slot to install. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="acd9359c7b44a06050789bf2401dcd2cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acd9359c7b44a06050789bf2401dcd2cb">&#9670;&#160;</a></span>signal_message()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::SignalProxy&lt; void,const Glib::RefPtr&lt;<a class="el" href="classGst_1_1Message.html">Gst::Message</a>&gt;&amp; &gt; Gst::Bus::signal_message </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section user"><dt>Slot Prototype:</dt><dd><code>void on_my_message(const Glib::RefPtr&lt;Gst::Message&gt;&amp; message)</code></dd></dl>
<p>A message has been posted on the bus. This signal is emitted from a GSource added to the mainloop. this signal will only be emitted when there is a mainloop running.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">message</td><td>The message that has been posted asynchronously. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="a08ea23aea22e834ea347bf6bb7bb7d9d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a08ea23aea22e834ea347bf6bb7bb7d9d">&#9670;&#160;</a></span>signal_sync_message()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Glib::SignalProxy&lt; void,const Glib::RefPtr&lt;<a class="el" href="classGst_1_1Message.html">Gst::Message</a>&gt;&amp; &gt; Gst::Bus::signal_sync_message </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<dl class="section user"><dt>Slot Prototype:</dt><dd><code>void on_my_sync_message(const Glib::RefPtr&lt;Gst::Message&gt;&amp; message)</code></dd></dl>
<p>A message has been posted on the bus. This signal is emitted from the thread that posted the message so one has to be careful with locking.</p>
<p>This signal will not be emitted by default, you have to call <a class="el" href="classGst_1_1Bus.html#aa623c9d21b773bca8f256a349da82601" title="Instructs GStreamer to emit the &quot;sync-message&quot; signal after running the bus&#39;s sync handler...">Gst::Bus::enable_sync_message_emission()</a> before.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">message</td><td>The message that has been posted synchronously. </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<h2 class="groupheader">Friends And Related Function Documentation</h2>
<a id="a7e894d91c45c1d858aa85ae15506ce67"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e894d91c45c1d858aa85ae15506ce67">&#9670;&#160;</a></span>wrap()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Glib::RefPtr&lt; <a class="el" href="classGst_1_1Bus.html">Gst::Bus</a> &gt; wrap </td>
          <td>(</td>
          <td class="paramtype">GstBus *&#160;</td>
          <td class="paramname"><em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>take_copy</em> = <code>false</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">related</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>A <a class="el" href="namespaceGlib.html#a43fcab2a44083e8b7b6a1c8193acae2b">Glib::wrap()</a> method for this object. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">object</td><td>The C instance. </td></tr>
    <tr><td class="paramname">take_copy</td><td>False if the result should take ownership of the C instance. True if it should take a new copy or ref. </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>A C++ instance that wraps this C instance. </dd></dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Sat Oct 21 2017 12:59:00 for gstreamermm by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>