<!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.7"/> <title>glibmm: Gio::PollableInputStream 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" /> </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 style="padding-left: 0.5em;"> <div id="projectname">glibmm  <span id="projectnumber">2.42.0</span> </div> </td> </tr> </tbody> </table> </div> <!-- end header part --> <!-- Generated by Doxygen 1.8.7 --> <div id="navrow1" class="tabs"> <ul class="tablist"> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="examples.html"><span>Examples</span></a></li> </ul> </div> <div id="navrow2" class="tabs2"> <ul class="tablist"> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="inherits.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div id="nav-path" class="navpath"> <ul> <li class="navelem"><a class="el" href="namespaceGio.html">Gio</a></li><li class="navelem"><a class="el" href="classGio_1_1PollableInputStream.html">PollableInputStream</a></li> </ul> </div> </div><!-- top --> <div class="header"> <div class="summary"> <a href="#pub-methods">Public Member Functions</a> | <a href="#pub-static-methods">Static Public Member Functions</a> | <a href="#pro-methods">Protected Member Functions</a> | <a href="#related">Related Functions</a> | <a href="classGio_1_1PollableInputStream-members.html">List of all members</a> </div> <div class="headertitle"> <div class="title">Gio::PollableInputStream Class Reference</div> </div> </div><!--header--> <div class="contents"> <p><a class="el" href="classGio_1_1PollableInputStream.html" title="PollableInputStream - Interface for pollable input streams. ">PollableInputStream</a> - Interface for pollable input streams. <a href="classGio_1_1PollableInputStream.html#details">More...</a></p> <p><code>#include <giomm/pollableinputstream.h></code></p> <div class="dynheader"> Inheritance diagram for Gio::PollableInputStream:</div> <div class="dyncontent"> <div class="center"><img src="classGio_1_1PollableInputStream__inherit__graph.png" border="0" usemap="#Gio_1_1PollableInputStream_inherit__map" alt="Inheritance graph"/></div> <map name="Gio_1_1PollableInputStream_inherit__map" id="Gio_1_1PollableInputStream_inherit__map"> <area shape="rect" id="node5" href="classGio_1_1ConverterInputStream.html" title="ConverterInputstream - Converter Input Stream. " alt="" coords="5,304,200,331"/><area shape="rect" id="node2" href="classGlib_1_1Interface.html" title="Glib::Interface" alt="" coords="47,155,157,181"/><area shape="rect" id="node3" href="classGlib_1_1ObjectBase.html" title="Glib::ObjectBase is a common base class for Objects and Interfaces. " alt="" coords="39,80,165,107"/><area shape="rect" id="node4" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1trackable.html" title="sigc::trackable" alt="" coords="45,5,160,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-methods"></a> Public Member Functions</h2></td></tr> <tr class="memitem:a078e51ceaafb0f1c606b4926e48e4692"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1PollableInputStream.html#a078e51ceaafb0f1c606b4926e48e4692">~PollableInputStream</a> ()</td></tr> <tr class="separator:a078e51ceaafb0f1c606b4926e48e4692"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae397a025e7818472f54b3dac909d0ae4"><td class="memItemLeft" align="right" valign="top">GPollableInputStream* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1PollableInputStream.html#ae397a025e7818472f54b3dac909d0ae4">gobj</a> ()</td></tr> <tr class="memdesc:ae397a025e7818472f54b3dac909d0ae4"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#ae397a025e7818472f54b3dac909d0ae4">More...</a><br /></td></tr> <tr class="separator:ae397a025e7818472f54b3dac909d0ae4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a282ece015ac557a1dce344ce37d6206d"><td class="memItemLeft" align="right" valign="top">const GPollableInputStream* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1PollableInputStream.html#a282ece015ac557a1dce344ce37d6206d">gobj</a> () const </td></tr> <tr class="memdesc:a282ece015ac557a1dce344ce37d6206d"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a282ece015ac557a1dce344ce37d6206d">More...</a><br /></td></tr> <tr class="separator:a282ece015ac557a1dce344ce37d6206d"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a126d3e0ac7ddaa198d20ff7713d27005"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1PollableInputStream.html#a126d3e0ac7ddaa198d20ff7713d27005">can_poll</a> () const </td></tr> <tr class="memdesc:a126d3e0ac7ddaa198d20ff7713d27005"><td class="mdescLeft"> </td><td class="mdescRight">Checks if <em>stream</em> is actually pollable. <a href="#a126d3e0ac7ddaa198d20ff7713d27005">More...</a><br /></td></tr> <tr class="separator:a126d3e0ac7ddaa198d20ff7713d27005"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8fd79806de520cf1ba84097159896bc1"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1PollableInputStream.html#a8fd79806de520cf1ba84097159896bc1">is_readable</a> () const </td></tr> <tr class="memdesc:a8fd79806de520cf1ba84097159896bc1"><td class="mdescLeft"> </td><td class="mdescRight">Checks if <em>stream</em> can be read. <a href="#a8fd79806de520cf1ba84097159896bc1">More...</a><br /></td></tr> <tr class="separator:a8fd79806de520cf1ba84097159896bc1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8eb0aa54e3a6cb3bb00d6a898139381a"><td class="memItemLeft" align="right" valign="top">gssize </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1PollableInputStream.html#a8eb0aa54e3a6cb3bb00d6a898139381a">read_nonblocking</a> (void* buffer, gsize <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01659.html#gad2f89a1340c43c8451e522d045aaa1b6">count</a>, const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1Cancellable.html">Cancellable</a> >& cancellable)</td></tr> <tr class="memdesc:a8eb0aa54e3a6cb3bb00d6a898139381a"><td class="mdescLeft"> </td><td class="mdescRight">Attempts to read up to <em>count</em> bytes from <em>stream</em> into <em>buffer</em>, as with g_input_stream_read(). <a href="#a8eb0aa54e3a6cb3bb00d6a898139381a">More...</a><br /></td></tr> <tr class="separator:a8eb0aa54e3a6cb3bb00d6a898139381a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a2d7130fc1b0291eb9531cb3b61052a8e"><td class="memItemLeft" align="right" valign="top">gssize </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1PollableInputStream.html#a2d7130fc1b0291eb9531cb3b61052a8e">read_nonblocking</a> (void* buffer, gsize <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01659.html#gad2f89a1340c43c8451e522d045aaa1b6">count</a>)</td></tr> <tr class="memdesc:a2d7130fc1b0291eb9531cb3b61052a8e"><td class="mdescLeft"> </td><td class="mdescRight">A <a class="el" href="classGio_1_1PollableInputStream.html#a8eb0aa54e3a6cb3bb00d6a898139381a" title="Attempts to read up to count bytes from stream into buffer, as with g_input_stream_read(). ">read_nonblocking()</a> convenience overload. <a href="#a2d7130fc1b0291eb9531cb3b61052a8e">More...</a><br /></td></tr> <tr class="separator:a2d7130fc1b0291eb9531cb3b61052a8e"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:abff8a2ec181af77f5eb3d84fb0e523f1"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1PollableInputStream.html#abff8a2ec181af77f5eb3d84fb0e523f1">can_poll_vfunc</a> () const </td></tr> <tr class="separator:abff8a2ec181af77f5eb3d84fb0e523f1"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5ae8a5e398be325a70cd0302b0163c5a"><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1PollableInputStream.html#a5ae8a5e398be325a70cd0302b0163c5a">is_readable_vfunc</a> () const </td></tr> <tr class="separator:a5ae8a5e398be325a70cd0302b0163c5a"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ac00544ec021330e5b8592a0071d183ad"><td class="memItemLeft" align="right" valign="top">virtual gssize </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1PollableInputStream.html#ac00544ec021330e5b8592a0071d183ad">read_nonblocking_vfunc</a> (void* buffer, gsize <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a01659.html#gad2f89a1340c43c8451e522d045aaa1b6">count</a>)</td></tr> <tr class="separator:ac00544ec021330e5b8592a0071d183ad"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classGlib_1_1Interface"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classGlib_1_1Interface')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classGlib_1_1Interface.html">Glib::Interface</a></td></tr> <tr class="memitem:a3ab20f29c40967352d1bf2d88bfe11e5 inherit pub_methods_classGlib_1_1Interface"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Interface.html#a3ab20f29c40967352d1bf2d88bfe11e5">Interface</a> ()</td></tr> <tr class="memdesc:a3ab20f29c40967352d1bf2d88bfe11e5 inherit pub_methods_classGlib_1_1Interface"><td class="mdescLeft"> </td><td class="mdescRight">A Default constructor. <a href="#a3ab20f29c40967352d1bf2d88bfe11e5">More...</a><br /></td></tr> <tr class="separator:a3ab20f29c40967352d1bf2d88bfe11e5 inherit pub_methods_classGlib_1_1Interface"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ae05bf6a4ce0f0992c2ad01429d13f9f7 inherit pub_methods_classGlib_1_1Interface"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Interface.html#ae05bf6a4ce0f0992c2ad01429d13f9f7">Interface</a> (const Glib::Interface_Class& interface_class)</td></tr> <tr class="memdesc:ae05bf6a4ce0f0992c2ad01429d13f9f7 inherit pub_methods_classGlib_1_1Interface"><td class="mdescLeft"> </td><td class="mdescRight">Called by constructors of derived classes. <a href="#ae05bf6a4ce0f0992c2ad01429d13f9f7">More...</a><br /></td></tr> <tr class="separator:ae05bf6a4ce0f0992c2ad01429d13f9f7 inherit pub_methods_classGlib_1_1Interface"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a00253b22a76f751f1627865451cbc404 inherit pub_methods_classGlib_1_1Interface"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Interface.html#a00253b22a76f751f1627865451cbc404">Interface</a> (GObject* castitem)</td></tr> <tr class="memdesc:a00253b22a76f751f1627865451cbc404 inherit pub_methods_classGlib_1_1Interface"><td class="mdescLeft"> </td><td class="mdescRight">Called by constructors of derived classes. <a href="#a00253b22a76f751f1627865451cbc404">More...</a><br /></td></tr> <tr class="separator:a00253b22a76f751f1627865451cbc404 inherit pub_methods_classGlib_1_1Interface"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a8e12a7a3e0281e28798326ad65e3560c inherit pub_methods_classGlib_1_1Interface"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Interface.html#a8e12a7a3e0281e28798326ad65e3560c">~Interface</a> ()</td></tr> <tr class="separator:a8e12a7a3e0281e28798326ad65e3560c inherit pub_methods_classGlib_1_1Interface"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a969e9396f75132a9577428f4fa932d42 inherit pub_methods_classGlib_1_1Interface"><td class="memItemLeft" align="right" valign="top">GObject* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Interface.html#a969e9396f75132a9577428f4fa932d42">gobj</a> ()</td></tr> <tr class="separator:a969e9396f75132a9577428f4fa932d42 inherit pub_methods_classGlib_1_1Interface"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a70a443071a69d3372c2cdd7128a91ed1 inherit pub_methods_classGlib_1_1Interface"><td class="memItemLeft" align="right" valign="top">const GObject* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1Interface.html#a70a443071a69d3372c2cdd7128a91ed1">gobj</a> () const </td></tr> <tr class="separator:a70a443071a69d3372c2cdd7128a91ed1 inherit pub_methods_classGlib_1_1Interface"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pub_methods_classGlib_1_1ObjectBase"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classGlib_1_1ObjectBase')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="classGlib_1_1ObjectBase.html">Glib::ObjectBase</a></td></tr> <tr class="memitem:aab599d3eec4b4a9ddc95ccdc6100053d inherit pub_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#aab599d3eec4b4a9ddc95ccdc6100053d">set_property_value</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& property_name, const <a class="el" href="classGlib_1_1ValueBase.html">Glib::ValueBase</a>& value)</td></tr> <tr class="memdesc:aab599d3eec4b4a9ddc95ccdc6100053d inherit pub_methods_classGlib_1_1ObjectBase"><td class="mdescLeft"> </td><td class="mdescRight">You probably want to use a specific property_*() accessor method instead. <a href="#aab599d3eec4b4a9ddc95ccdc6100053d">More...</a><br /></td></tr> <tr class="separator:aab599d3eec4b4a9ddc95ccdc6100053d inherit pub_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5e30750441b92f0246c9d4ece95fc8a0 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a5e30750441b92f0246c9d4ece95fc8a0">get_property_value</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& property_name, <a class="el" href="classGlib_1_1ValueBase.html">Glib::ValueBase</a>& value) const </td></tr> <tr class="memdesc:a5e30750441b92f0246c9d4ece95fc8a0 inherit pub_methods_classGlib_1_1ObjectBase"><td class="mdescLeft"> </td><td class="mdescRight">You probably want to use a specific property_*() accessor method instead. <a href="#a5e30750441b92f0246c9d4ece95fc8a0">More...</a><br /></td></tr> <tr class="separator:a5e30750441b92f0246c9d4ece95fc8a0 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad37844f7ea2c0091a22d011e04c48820 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memTemplParams" colspan="2">template<class PropertyType > </td></tr> <tr class="memitem:ad37844f7ea2c0091a22d011e04c48820 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#ad37844f7ea2c0091a22d011e04c48820">set_property</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& property_name, const PropertyType& value)</td></tr> <tr class="memdesc:ad37844f7ea2c0091a22d011e04c48820 inherit pub_methods_classGlib_1_1ObjectBase"><td class="mdescLeft"> </td><td class="mdescRight">You probably want to use a specific property_*() accessor method instead. <a href="#ad37844f7ea2c0091a22d011e04c48820">More...</a><br /></td></tr> <tr class="separator:ad37844f7ea2c0091a22d011e04c48820 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a5f894c9c36ad391fdc85552af67a8530 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memTemplParams" colspan="2">template<class PropertyType > </td></tr> <tr class="memitem:a5f894c9c36ad391fdc85552af67a8530 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memTemplItemLeft" align="right" valign="top">void </td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a5f894c9c36ad391fdc85552af67a8530">get_property</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& property_name, PropertyType& value) const </td></tr> <tr class="memdesc:a5f894c9c36ad391fdc85552af67a8530 inherit pub_methods_classGlib_1_1ObjectBase"><td class="mdescLeft"> </td><td class="mdescRight">You probably want to use a specific property_*() accessor method instead. <a href="#a5f894c9c36ad391fdc85552af67a8530">More...</a><br /></td></tr> <tr class="separator:a5f894c9c36ad391fdc85552af67a8530 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:adc6c1e8f094275114d6e2c3ef3a33f98 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#adc6c1e8f094275114d6e2c3ef3a33f98">connect_property_changed</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& property_name, const <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>< void >& slot)</td></tr> <tr class="memdesc:adc6c1e8f094275114d6e2c3ef3a33f98 inherit pub_methods_classGlib_1_1ObjectBase"><td class="mdescLeft"> </td><td class="mdescRight">You can use the signal_changed() signal of the property proxy instead, but this is necessary when using the reduced API. <a href="#adc6c1e8f094275114d6e2c3ef3a33f98">More...</a><br /></td></tr> <tr class="separator:adc6c1e8f094275114d6e2c3ef3a33f98 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a896d7773c00bd2dcd310c861282ee8d1 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top"><a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/structsigc_1_1connection.html">sigc::connection</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a896d7773c00bd2dcd310c861282ee8d1">connect_property_changed_with_return</a> (const <a class="el" href="classGlib_1_1ustring.html">Glib::ustring</a>& property_name, const <a class="elRef" href="http://library.gnome.org/devel/libsigc++/unstable/classsigc_1_1slot.html">sigc::slot</a>< void >& slot)</td></tr> <tr class="memdesc:a896d7773c00bd2dcd310c861282ee8d1 inherit pub_methods_classGlib_1_1ObjectBase"><td class="mdescLeft"> </td><td class="mdescRight">You can use the signal_changed() signal of the property proxy instead, but this is necessary when using the reduced API. <a href="#a896d7773c00bd2dcd310c861282ee8d1">More...</a><br /></td></tr> <tr class="separator:a896d7773c00bd2dcd310c861282ee8d1 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a6e9e13b75f116c20212d318204ce8ea3 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a6e9e13b75f116c20212d318204ce8ea3">freeze_notify</a> ()</td></tr> <tr class="memdesc:a6e9e13b75f116c20212d318204ce8ea3 inherit pub_methods_classGlib_1_1ObjectBase"><td class="mdescLeft"> </td><td class="mdescRight">Increases the freeze count on object. <a href="#a6e9e13b75f116c20212d318204ce8ea3">More...</a><br /></td></tr> <tr class="separator:a6e9e13b75f116c20212d318204ce8ea3 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a1bd8ea7bd8c4084ade6b3c27dddf06a4 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a1bd8ea7bd8c4084ade6b3c27dddf06a4">thaw_notify</a> ()</td></tr> <tr class="memdesc:a1bd8ea7bd8c4084ade6b3c27dddf06a4 inherit pub_methods_classGlib_1_1ObjectBase"><td class="mdescLeft"> </td><td class="mdescRight">Reverts the effect of a previous call to <a class="el" href="classGlib_1_1ObjectBase.html#a6e9e13b75f116c20212d318204ce8ea3" title="Increases the freeze count on object. ">freeze_notify()</a>. <a href="#a1bd8ea7bd8c4084ade6b3c27dddf06a4">More...</a><br /></td></tr> <tr class="separator:a1bd8ea7bd8c4084ade6b3c27dddf06a4 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a896a8a5db20043ea82956e3ef4b9c4ae inherit pub_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a896a8a5db20043ea82956e3ef4b9c4ae">reference</a> () const </td></tr> <tr class="memdesc:a896a8a5db20043ea82956e3ef4b9c4ae inherit pub_methods_classGlib_1_1ObjectBase"><td class="mdescLeft"> </td><td class="mdescRight">Increment the reference count for this object. <a href="#a896a8a5db20043ea82956e3ef4b9c4ae">More...</a><br /></td></tr> <tr class="separator:a896a8a5db20043ea82956e3ef4b9c4ae inherit pub_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3234b8ffb2a35b927e2978c8f3bfbfe3 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a3234b8ffb2a35b927e2978c8f3bfbfe3">unreference</a> () const </td></tr> <tr class="memdesc:a3234b8ffb2a35b927e2978c8f3bfbfe3 inherit pub_methods_classGlib_1_1ObjectBase"><td class="mdescLeft"> </td><td class="mdescRight">Decrement the reference count for this object. <a href="#a3234b8ffb2a35b927e2978c8f3bfbfe3">More...</a><br /></td></tr> <tr class="separator:a3234b8ffb2a35b927e2978c8f3bfbfe3 inherit pub_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a4c6efc18be8cb9c56e58fc0bd20fafbe inherit pub_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">GObject* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a4c6efc18be8cb9c56e58fc0bd20fafbe">gobj</a> ()</td></tr> <tr class="memdesc:a4c6efc18be8cb9c56e58fc0bd20fafbe inherit pub_methods_classGlib_1_1ObjectBase"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a4c6efc18be8cb9c56e58fc0bd20fafbe">More...</a><br /></td></tr> <tr class="separator:a4c6efc18be8cb9c56e58fc0bd20fafbe inherit pub_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a778a94181132976bbfb0519793f3b32e inherit pub_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">const GObject* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a778a94181132976bbfb0519793f3b32e">gobj</a> () const </td></tr> <tr class="memdesc:a778a94181132976bbfb0519793f3b32e inherit pub_methods_classGlib_1_1ObjectBase"><td class="mdescLeft"> </td><td class="mdescRight">Provides access to the underlying C GObject. <a href="#a778a94181132976bbfb0519793f3b32e">More...</a><br /></td></tr> <tr class="separator:a778a94181132976bbfb0519793f3b32e inherit pub_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a9b2a5eb93102f1849e5419016e22a15f inherit pub_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">GObject* </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a9b2a5eb93102f1849e5419016e22a15f">gobj_copy</a> () const </td></tr> <tr class="memdesc:a9b2a5eb93102f1849e5419016e22a15f inherit pub_methods_classGlib_1_1ObjectBase"><td class="mdescLeft"> </td><td class="mdescRight">Give a ref-ed copy to someone. Use for direct struct access. <a href="#a9b2a5eb93102f1849e5419016e22a15f">More...</a><br /></td></tr> <tr class="separator:a9b2a5eb93102f1849e5419016e22a15f inherit pub_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2"> </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:a3f2d5350f4fa25919328d4911e816de4"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1PollableInputStream.html#a3f2d5350f4fa25919328d4911e816de4">add_interface</a> (GType gtype_implementer)</td></tr> <tr class="separator:a3f2d5350f4fa25919328d4911e816de4"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad698362f2b1a62c3a35c74a04d196a97"><td class="memItemLeft" align="right" valign="top">static GType </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1PollableInputStream.html#ad698362f2b1a62c3a35c74a04d196a97">get_type</a> ()</td></tr> <tr class="memdesc:ad698362f2b1a62c3a35c74a04d196a97"><td class="mdescLeft"> </td><td class="mdescRight">Get the GType for this class, for use with the underlying GObject type system. <a href="#ad698362f2b1a62c3a35c74a04d196a97">More...</a><br /></td></tr> <tr class="separator:ad698362f2b1a62c3a35c74a04d196a97"><td class="memSeparator" colspan="2"> </td></tr> </table><table class="memberdecls"> <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> Protected Member Functions</h2></td></tr> <tr class="memitem:a823f9090b70e59716eca1e582aa8073c"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1PollableInputStream.html#a823f9090b70e59716eca1e582aa8073c">PollableInputStream</a> ()</td></tr> <tr class="memdesc:a823f9090b70e59716eca1e582aa8073c"><td class="mdescLeft"> </td><td class="mdescRight">You should derive from this class to use it. <a href="#a823f9090b70e59716eca1e582aa8073c">More...</a><br /></td></tr> <tr class="separator:a823f9090b70e59716eca1e582aa8073c"><td class="memSeparator" colspan="2"> </td></tr> <tr class="inherit_header pro_methods_classGlib_1_1ObjectBase"><td colspan="2" onclick="javascript:toggleInherit('pro_methods_classGlib_1_1ObjectBase')"><img src="closed.png" alt="-"/> Protected Member Functions inherited from <a class="el" href="classGlib_1_1ObjectBase.html">Glib::ObjectBase</a></td></tr> <tr class="memitem:a27d3451d9ca28d6a2f00838d7c56d545 inherit pro_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a27d3451d9ca28d6a2f00838d7c56d545">ObjectBase</a> ()</td></tr> <tr class="memdesc:a27d3451d9ca28d6a2f00838d7c56d545 inherit pro_methods_classGlib_1_1ObjectBase"><td class="mdescLeft"> </td><td class="mdescRight">This default constructor is called implicitly from the constructor of user-derived classes, even if, for instance, Gtk::Button calls a different <a class="el" href="classGlib_1_1ObjectBase.html" title="Glib::ObjectBase is a common base class for Objects and Interfaces. ">ObjectBase</a> constructor. <a href="#a27d3451d9ca28d6a2f00838d7c56d545">More...</a><br /></td></tr> <tr class="separator:a27d3451d9ca28d6a2f00838d7c56d545 inherit pro_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:ad4ef18214894c6874579313ab21d1018 inherit pro_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#ad4ef18214894c6874579313ab21d1018">ObjectBase</a> (const char* custom_type_name)</td></tr> <tr class="memdesc:ad4ef18214894c6874579313ab21d1018 inherit pro_methods_classGlib_1_1ObjectBase"><td class="mdescLeft"> </td><td class="mdescRight">A derived constructor always overrides this choice. <a href="#ad4ef18214894c6874579313ab21d1018">More...</a><br /></td></tr> <tr class="separator:ad4ef18214894c6874579313ab21d1018 inherit pro_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3d59b4d85b0ee72a727e6b2e1b31a2ff inherit pro_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a3d59b4d85b0ee72a727e6b2e1b31a2ff">ObjectBase</a> (const <a class="elRef" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/a00947.html">std::type_info</a>& custom_type_info)</td></tr> <tr class="memdesc:a3d59b4d85b0ee72a727e6b2e1b31a2ff inherit pro_methods_classGlib_1_1ObjectBase"><td class="mdescLeft"> </td><td class="mdescRight">This constructor is a special feature to allow creation of derived types on the fly, without having to use g_object_new() manually. <a href="#a3d59b4d85b0ee72a727e6b2e1b31a2ff">More...</a><br /></td></tr> <tr class="separator:a3d59b4d85b0ee72a727e6b2e1b31a2ff inherit pro_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a42ac047a06c36c2d9c75f7cffc537dc4 inherit pro_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a42ac047a06c36c2d9c75f7cffc537dc4">~ObjectBase</a> ()=0</td></tr> <tr class="separator:a42ac047a06c36c2d9c75f7cffc537dc4 inherit pro_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2"> </td></tr> <tr class="memitem:a3faafb14c4f0ca60fbf0f5f5c4d549d0 inherit pro_methods_classGlib_1_1ObjectBase"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1ObjectBase.html#a3faafb14c4f0ca60fbf0f5f5c4d549d0">initialize</a> (GObject* castitem)</td></tr> <tr class="separator:a3faafb14c4f0ca60fbf0f5f5c4d549d0 inherit pro_methods_classGlib_1_1ObjectBase"><td class="memSeparator" colspan="2"> </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:ac3af174b3ea79ce80fef958070db6b7f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak" /> < <a class="el" href="classGio_1_1PollableInputStream.html">Gio::PollableInputStream</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGio_1_1PollableInputStream.html#ac3af174b3ea79ce80fef958070db6b7f">wrap</a> (GPollableInputStream* object, bool take_copy=false)</td></tr> <tr class="memdesc:ac3af174b3ea79ce80fef958070db6b7f"><td class="mdescLeft"> </td><td class="mdescRight">A <a class="el" href="namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">Glib::wrap()</a> method for this object. <a href="#ac3af174b3ea79ce80fef958070db6b7f">More...</a><br /></td></tr> <tr class="separator:ac3af174b3ea79ce80fef958070db6b7f"><td class="memSeparator" colspan="2"> </td></tr> </table> <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> <div class="textblock"><p><a class="el" href="classGio_1_1PollableInputStream.html" title="PollableInputStream - Interface for pollable input streams. ">PollableInputStream</a> - Interface for pollable input streams. </p> <p><a class="el" href="classGio_1_1PollableInputStream.html" title="PollableInputStream - Interface for pollable input streams. ">PollableInputStream</a> is implemented by InputStreams that can be polled for readiness to read. This can be used when interfacing with a non-GIO API that expects UNIX-file-descriptor-style asynchronous I/O rather than GIO-style. </p><dl class="since_2_34"><dt><b><a class="el" href="since_2_34.html#_since_2_34000060">Since glibmm 2.34:</a></b></dt><dd></dd></dl> </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> <a class="anchor" id="a823f9090b70e59716eca1e582aa8073c"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">Gio::PollableInputStream::PollableInputStream </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">protected</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>You should derive from this class to use it. </p> </div> </div> <a class="anchor" id="a078e51ceaafb0f1c606b4926e48e4692"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual Gio::PollableInputStream::~PollableInputStream </td> <td>(</td> <td class="paramname"></td><td>)</td> <td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <h2 class="groupheader">Member Function Documentation</h2> <a class="anchor" id="a3f2d5350f4fa25919328d4911e816de4"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static void Gio::PollableInputStream::add_interface </td> <td>(</td> <td class="paramtype">GType </td> <td class="paramname"><em>gtype_implementer</em></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"> </div> </div> <a class="anchor" id="a126d3e0ac7ddaa198d20ff7713d27005"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gio::PollableInputStream::can_poll </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Checks if <em>stream</em> is actually pollable. </p> <p>Some classes may implement <a class="el" href="classGio_1_1PollableInputStream.html" title="PollableInputStream - Interface for pollable input streams. ">PollableInputStream</a> but have only certain instances of that class be pollable. If this method returns <code>false</code>, then the behavior of other <a class="el" href="classGio_1_1PollableInputStream.html" title="PollableInputStream - Interface for pollable input streams. ">PollableInputStream</a> methods is undefined.</p> <p>For any given stream, the value returned by this method is constant; a stream cannot switch from pollable to non-pollable or vice versa.</p> <dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000172">Since glibmm 2.28:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>stream</em> is pollable, <code>false</code> if not. </dd></dl> </div> </div> <a class="anchor" id="abff8a2ec181af77f5eb3d84fb0e523f1"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual bool Gio::PollableInputStream::can_poll_vfunc </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">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="ad698362f2b1a62c3a35c74a04d196a97"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">static GType Gio::PollableInputStream::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 class="anchor" id="ae397a025e7818472f54b3dac909d0ae4"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">GPollableInputStream* Gio::PollableInputStream::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 class="anchor" id="a282ece015ac557a1dce344ce37d6206d"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">const GPollableInputStream* Gio::PollableInputStream::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 class="anchor" id="a8fd79806de520cf1ba84097159896bc1"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">bool Gio::PollableInputStream::is_readable </td> <td>(</td> <td class="paramname"></td><td>)</td> <td> const</td> </tr> </table> </div><div class="memdoc"> <p>Checks if <em>stream</em> can be read. </p> <p>Note that some stream types may not be able to implement this 100% reliably, and it is possible that a call to g_input_stream_read() after this returns <code>true</code> would still block. To guarantee non-blocking behavior, you should always use g_pollable_input_stream_read_nonblocking(), which will return a IO_ERROR_WOULD_BLOCK error rather than blocking.</p> <dl class="since_2_28"><dt><b><a class="el" href="since_2_28.html#_since_2_28000173">Since glibmm 2.28:</a></b></dt><dd></dd></dl> <dl class="section return"><dt>Returns</dt><dd><code>true</code> if <em>stream</em> is readable, <code>false</code> if not. If an error has occurred on <em>stream</em>, this will result in g_pollable_input_stream_is_readable() returning <code>true</code>, and the next attempt to read will return the error. </dd></dl> </div> </div> <a class="anchor" id="a5ae8a5e398be325a70cd0302b0163c5a"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual bool Gio::PollableInputStream::is_readable_vfunc </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">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> </div> </div> <a class="anchor" id="a8eb0aa54e3a6cb3bb00d6a898139381a"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">gssize Gio::PollableInputStream::read_nonblocking </td> <td>(</td> <td class="paramtype">void * </td> <td class="paramname"><em>buffer</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">gsize </td> <td class="paramname"><em>count</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">const <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1Cancellable.html">Cancellable</a> >& </td> <td class="paramname"><em>cancellable</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>Attempts to read up to <em>count</em> bytes from <em>stream</em> into <em>buffer</em>, as with g_input_stream_read(). </p> <p>If <em>stream</em> is not currently readable, this will immediately return IO_ERROR_WOULD_BLOCK, and you can use g_pollable_input_stream_create_source() to create a Source that will be triggered when <em>stream</em> is readable.</p> <p>Note that since this method never blocks, you cannot actually use <em>cancellable</em> to cancel it. However, it will return an error if <em>cancellable</em> has already been cancelled when you call, which may happen if you call this method after a source triggers due to having been cancelled.</p> <p>Virtual: read_nonblocking</p> <dl class="params"><dt>Parameters</dt><dd> <table class="params"> <tr><td class="paramname">buffer</td><td>A buffer to read data into (which should be at least <em>count</em> bytes long). </td></tr> <tr><td class="paramname">count</td><td>The number of bytes you want to read. </td></tr> <tr><td class="paramname">cancellable</td><td>A <a class="el" href="classGio_1_1Cancellable.html" title="Allows actions to be cancelled. ">Cancellable</a>, or <code>0</code>. </td></tr> </table> </dd> </dl> <dl class="section return"><dt>Returns</dt><dd>The number of bytes read, or -1 on error (including IO_ERROR_WOULD_BLOCK). </dd></dl> </div> </div> <a class="anchor" id="a2d7130fc1b0291eb9531cb3b61052a8e"></a> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">gssize Gio::PollableInputStream::read_nonblocking </td> <td>(</td> <td class="paramtype">void * </td> <td class="paramname"><em>buffer</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">gsize </td> <td class="paramname"><em>count</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </div><div class="memdoc"> <p>A <a class="el" href="classGio_1_1PollableInputStream.html#a8eb0aa54e3a6cb3bb00d6a898139381a" title="Attempts to read up to count bytes from stream into buffer, as with g_input_stream_read(). ">read_nonblocking()</a> convenience overload. </p> </div> </div> <a class="anchor" id="ac00544ec021330e5b8592a0071d183ad"></a> <div class="memitem"> <div class="memproto"> <table class="mlabels"> <tr> <td class="mlabels-left"> <table class="memname"> <tr> <td class="memname">virtual gssize Gio::PollableInputStream::read_nonblocking_vfunc </td> <td>(</td> <td class="paramtype">void * </td> <td class="paramname"><em>buffer</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">gsize </td> <td class="paramname"><em>count</em> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">virtual</span></span> </td> </tr> </table> </div><div class="memdoc"> <dl class="exception"><dt>Exceptions</dt><dd> <table class="exception"> <tr><td class="paramname">Glib::Error.</td><td></td></tr> </table> </dd> </dl> </div> </div> <h2 class="groupheader">Friends And Related Function Documentation</h2> <a class="anchor" id="ac3af174b3ea79ce80fef958070db6b7f"></a> <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="classGlib_1_1RefPtr.html">Glib::RefPtr</a>< <a class="el" href="classGio_1_1PollableInputStream.html">Gio::PollableInputStream</a> > wrap </td> <td>(</td> <td class="paramtype">GPollableInputStream * </td> <td class="paramname"><em>object</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">bool </td> <td class="paramname"><em>take_copy</em> = <code>false</code> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td> </tr> </table> </td> <td class="mlabels-right"> <span class="mlabels"><span class="mlabel">related</span></span> </td> </tr> </table> </div><div class="memdoc"> <p>A <a class="el" href="namespaceGlib.html#a671306f4a3a0cae5ab4d7a9d54886592">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 Mon Sep 22 2014 21:38:31 for glibmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/> </a> 1.8.7 </small></address> </body> </html>