<!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"/> <title>glibmm: Glib::TimeoutSource Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"/> <link href="doxygen.css" rel="stylesheet" type="text/css"/> </head> <body> <!-- Generated by Doxygen 1.6.1 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <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 class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><a class="el" href="namespaceGlib.html">Glib</a>::<a class="el" href="classGlib_1_1TimeoutSource.html">TimeoutSource</a> </div> </div> <div class="contents"> <h1>Glib::TimeoutSource Class Reference<br/> <small> [<a class="el" href="group__MainLoop.html">The Main Event Loop</a>]</small> </h1><!-- doxytag: class="Glib::TimeoutSource" --><!-- doxytag: inherits="Glib::Source" --> <p>Inherits <a class="el" href="classGlib_1_1Source.html">Glib::Source</a>.</p> <div class="dynheader"> Collaboration diagram for Glib::TimeoutSource:</div> <div class="dynsection"> <div class="center"><img src="classGlib_1_1TimeoutSource__coll__graph.png" border="0" usemap="#Glib_1_1TimeoutSource_coll__map" alt="Collaboration graph"/></div> <map name="Glib_1_1TimeoutSource_coll__map" id="Glib_1_1TimeoutSource_coll__map"> <area shape="rect" href="classGlib_1_1Source.html" title="Glib::Source" alt="" coords="5,5,99,35"/><area shape="rect" href="structGlib_1_1TimeVal.html" title="Glib::TimeVal is a wrapper around the glib structure GTimeVal." alt="" coords="123,5,221,35"/></map> <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div> <p><a href="classGlib_1_1TimeoutSource-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classGlib_1_1TimeoutSource.html">Glib::TimeoutSource</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1TimeoutSource.html#a922118e49e86690ad1b1b343734eaec6">CppObjectType</a></td></tr> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">sigc::connection </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1TimeoutSource.html#afd5504a056dbbf1c2aa38450c59c197d">connect</a> (const sigc::slot< bool >&<a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">slot</a>)</td></tr> <tr><td colspan="2"><h2>Static Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><br class="typebreak"/> < <a class="el" href="classGlib_1_1TimeoutSource.html">TimeoutSource</a> > </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1TimeoutSource.html#aafe1898dd9ded8c66fc1dc9e9ba80884">create</a> (unsigned int interval)</td></tr> <tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1TimeoutSource.html#a1477a30365d9b50fc3a02c92535d084c">TimeoutSource</a> (unsigned int interval)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1TimeoutSource.html#abe7d69a1390602de55a5207b1e25d64e">~TimeoutSource</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1TimeoutSource.html#a08b0603920ff6ca9d3986121d584746a">prepare</a> (int& timeout)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1TimeoutSource.html#a1d618d99c0d7d6b65b0118174e1cfdfc">check</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">virtual bool </td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1TimeoutSource.html#a27f49b37169765057787f68dabb0cad3">dispatch</a> (sigc::slot_base*<a class="elRef" href="../../../libsigc++-2.0/reference/html/classsigc_1_1slot.html">slot</a>)</td></tr> </table> <hr/><h2>Member Typedef Documentation</h2> <a class="anchor" id="a922118e49e86690ad1b1b343734eaec6"></a><!-- doxytag: member="Glib::TimeoutSource::CppObjectType" ref="a922118e49e86690ad1b1b343734eaec6" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">typedef <a class="el" href="classGlib_1_1TimeoutSource.html">Glib::TimeoutSource</a> <a class="el" href="classGlib_1_1TimeoutSource.html">Glib::TimeoutSource::CppObjectType</a></td> </tr> </table> </div> <div class="memdoc"> <p>Reimplemented from <a class="el" href="classGlib_1_1Source.html#a2edc89f6c4601e50f5aa22cb36eb9437">Glib::Source</a>.</p> </div> </div> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a1477a30365d9b50fc3a02c92535d084c"></a><!-- doxytag: member="Glib::TimeoutSource::TimeoutSource" ref="a1477a30365d9b50fc3a02c92535d084c" args="(unsigned int interval)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Glib::TimeoutSource::TimeoutSource </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>interval</em></td> <td> ) </td> <td><code> [explicit, protected]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="abe7d69a1390602de55a5207b1e25d64e"></a><!-- doxytag: member="Glib::TimeoutSource::~TimeoutSource" ref="abe7d69a1390602de55a5207b1e25d64e" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual Glib::TimeoutSource::~TimeoutSource </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a1d618d99c0d7d6b65b0118174e1cfdfc"></a><!-- doxytag: member="Glib::TimeoutSource::check" ref="a1d618d99c0d7d6b65b0118174e1cfdfc" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool Glib::TimeoutSource::check </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Implements <a class="el" href="classGlib_1_1Source.html#a914448375c7e0dfcee1a686a006c685d">Glib::Source</a>.</p> </div> </div> <a class="anchor" id="afd5504a056dbbf1c2aa38450c59c197d"></a><!-- doxytag: member="Glib::TimeoutSource::connect" ref="afd5504a056dbbf1c2aa38450c59c197d" args="(const sigc::slot< bool > &slot)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">sigc::connection Glib::TimeoutSource::connect </td> <td>(</td> <td class="paramtype">const sigc::slot< bool > & </td> <td class="paramname"> <em>slot</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="aafe1898dd9ded8c66fc1dc9e9ba80884"></a><!-- doxytag: member="Glib::TimeoutSource::create" ref="aafe1898dd9ded8c66fc1dc9e9ba80884" args="(unsigned int interval)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">static <a class="el" href="classGlib_1_1RefPtr.html">Glib::RefPtr</a><<a class="el" href="classGlib_1_1TimeoutSource.html">TimeoutSource</a>> Glib::TimeoutSource::create </td> <td>(</td> <td class="paramtype">unsigned int </td> <td class="paramname"> <em>interval</em></td> <td> ) </td> <td><code> [static]</code></td> </tr> </table> </div> <div class="memdoc"> </div> </div> <a class="anchor" id="a27f49b37169765057787f68dabb0cad3"></a><!-- doxytag: member="Glib::TimeoutSource::dispatch" ref="a27f49b37169765057787f68dabb0cad3" args="(sigc::slot_base *slot)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool Glib::TimeoutSource::dispatch </td> <td>(</td> <td class="paramtype">sigc::slot_base * </td> <td class="paramname"> <em>slot</em></td> <td> ) </td> <td><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Implements <a class="el" href="classGlib_1_1Source.html#aaf867fd3b09fc05d9c3e20cd89f35bd9">Glib::Source</a>.</p> </div> </div> <a class="anchor" id="a08b0603920ff6ca9d3986121d584746a"></a><!-- doxytag: member="Glib::TimeoutSource::prepare" ref="a08b0603920ff6ca9d3986121d584746a" args="(int &timeout)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">virtual bool Glib::TimeoutSource::prepare </td> <td>(</td> <td class="paramtype">int & </td> <td class="paramname"> <em>timeout</em></td> <td> ) </td> <td><code> [protected, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Implements <a class="el" href="classGlib_1_1Source.html#abc0e9e88fa74766818d317cd75d6aa3f">Glib::Source</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following file:<ul> <li>glibmm/main.h</li> </ul> </div> <hr size="1"/><address style="text-align: right;"><small>Generated on Mon Sep 21 11:07:26 2009 for glibmm by  <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address> </body> </html>