Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > e8cbfa9673da18966abee0a6d7051b87 > files > 298

glibmm2.4-doc-2.16.1-1mdv2008.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>glibmm 2.4: Glib::SignalProxy3&lt; R, P1, P2, P3 &gt; Class Template Reference</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="#ffffff">
<table border="0" width="100%">
<tr>
    <td width="10%" height="40"><img src="../../images/gtkmm_logo.gif" alt="logo" border="0" width="100%" height="100%"/></td>
    <td width="90%" height="40"><img src="../../images/top.gif" alt="top" width="100%" height="40"/></td>
</tr>
</table>
<center>
  <a class="qindex" href="../../../../gtkmm-2.4/docs/index.html">Main Page</a> &nbsp;
  <a href="../../../../gtkmm-2.4/docs/reference/html/group__Widgets.html">Widgets</a> &nbsp;
  <a class="qindex" href="namespaces.html">glibmm Namespaces</a> &nbsp;
  <a href="../../../../gtkmm-2.4/docs/tutorial/html/index.html"> Book</a> &nbsp;
</center>
<hr width="100%"/>

<!-- begin main content -->
<div id="content">
<!-- Generated by Doxygen 1.5.3 -->
<div class="nav">
<a class="el" href="namespaceGlib.html">Glib</a>::<a class="el" href="classGlib_1_1SignalProxy3.html">SignalProxy3</a></div>
<h1>Glib::SignalProxy3&lt; R, P1, P2, P3 &gt; Class Template Reference</h1><!-- doxytag: class="Glib::SignalProxy3" --><!-- doxytag: inherits="Glib::SignalProxyNormal" -->Proxy for signals with 3 arguments.  
<a href="#_details">More...</a>
<p>
<div class="dynheader">
Inheritance diagram for Glib::SignalProxy3&lt; R, P1, P2, P3 &gt;:</div>
<div class="dynsection">
<p><center><img src="classGlib_1_1SignalProxy3__inherit__graph.png" border="0" usemap="#Glib_1_1SignalProxy3_3_01R_00_01P1_00_01P2_00_01P3_01_4__inherit__map" alt="Inheritance graph"></center>
<map name="Glib_1_1SignalProxy3_3_01R_00_01P1_00_01P2_00_01P3_01_4__inherit__map">
<area shape="rect" href="classGlib_1_1SignalProxyNormal.html" title="The SignalProxy provides an API similar to sigc::signal that can be used to connect..." alt="" coords="43,84,221,111"><area shape="rect" href="classGlib_1_1SignalProxyBase.html" title="Glib::SignalProxyBase" alt="" coords="51,7,213,33"></map>
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center></div>

<p>
<a href="classGlib_1_1SignalProxy3-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef sigc::slot<br>
&lt;R, P1, P2, P3&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1SignalProxy3.html#b5d5438ce6ed3166b6c52d25846c81c8">SlotType</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef sigc::slot<br>
&lt;void, P1, P2, P3&gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1SignalProxy3.html#42233030672ff6bec3c0dafd2a8466d4">VoidSlotType</a></td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1SignalProxy3.html#3b4115c9c7c64a716232900dfdcfcde5">SignalProxy3</a> (<a class="el" href="classGlib_1_1ObjectBase.html">ObjectBase</a>* obj, const SignalProxyInfo* info)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">sigc::connection&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1SignalProxy3.html#1787ab4cf55c107e3cf89c76b1f080b5">connect</a> (const <a class="el" href="classGlib_1_1SignalProxy3.html#b5d5438ce6ed3166b6c52d25846c81c8">SlotType</a>&amp; slot, bool after=true)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Connects a signal to a signal handler.  <a href="#1787ab4cf55c107e3cf89c76b1f080b5"></a><br></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">sigc::connection&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classGlib_1_1SignalProxy3.html#7c36c3b4bae5eaed0eb6268abab7b247">connect_notify</a> (const <a class="el" href="classGlib_1_1SignalProxy3.html#42233030672ff6bec3c0dafd2a8466d4">VoidSlotType</a>&amp; slot, bool after=false)</td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Connects a signal to a signal handler without a return value.  <a href="#7c36c3b4bae5eaed0eb6268abab7b247"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template &lt;class R, class P1, class P2, class P3&gt;<br>
 class Glib::SignalProxy3&lt; R, P1, P2, P3 &gt;</h3>

Proxy for signals with 3 arguments. 
<p>
Use the <a class="el" href="classGlib_1_1SignalProxy3.html#1787ab4cf55c107e3cf89c76b1f080b5" title="Connects a signal to a signal handler.">connect()</a> method, with <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/group__s20__3__8__memadaptors.html#gga2">sigc::mem_fun()</a> or <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/group__s20__3__7__adaptors.html#gga1">sigc::ptr_fun()</a> to connect signals to signal handlers. <hr><h2>Member Typedef Documentation</h2>
<a class="anchor" name="b5d5438ce6ed3166b6c52d25846c81c8"></a><!-- doxytag: member="Glib::SignalProxy3::SlotType" ref="b5d5438ce6ed3166b6c52d25846c81c8" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template &lt;class R, class P1, class P2, class P3&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef sigc::slot&lt;R,P1,P2,P3&gt; <a class="el" href="classGlib_1_1SignalProxy3.html">Glib::SignalProxy3</a>&lt;R, P1, P2, P3&gt;::<a class="el" href="classGlib_1_1SignalProxy3.html#b5d5438ce6ed3166b6c52d25846c81c8">SlotType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<a class="anchor" name="42233030672ff6bec3c0dafd2a8466d4"></a><!-- doxytag: member="Glib::SignalProxy3::VoidSlotType" ref="42233030672ff6bec3c0dafd2a8466d4" args="" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template &lt;class R, class P1, class P2, class P3&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">typedef sigc::slot&lt;void,P1,P2,P3&gt; <a class="el" href="classGlib_1_1SignalProxy3.html">Glib::SignalProxy3</a>&lt;R, P1, P2, P3&gt;::<a class="el" href="classGlib_1_1SignalProxy3.html#42233030672ff6bec3c0dafd2a8466d4">VoidSlotType</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="3b4115c9c7c64a716232900dfdcfcde5"></a><!-- doxytag: member="Glib::SignalProxy3::SignalProxy3" ref="3b4115c9c7c64a716232900dfdcfcde5" args="(ObjectBase *obj, const SignalProxyInfo *info)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template &lt;class R, class P1, class P2, class P3&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classGlib_1_1SignalProxy3.html">Glib::SignalProxy3</a>&lt;R, P1, P2, P3&gt;::<a class="el" href="classGlib_1_1SignalProxy3.html">SignalProxy3</a>           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classGlib_1_1ObjectBase.html">ObjectBase</a>*&nbsp;</td>
          <td class="paramname"> <em>obj</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const SignalProxyInfo *&nbsp;</td>
          <td class="paramname"> <em>info</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="1787ab4cf55c107e3cf89c76b1f080b5"></a><!-- doxytag: member="Glib::SignalProxy3::connect" ref="1787ab4cf55c107e3cf89c76b1f080b5" args="(const SlotType &amp;slot, bool after=true)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template &lt;class R, class P1, class P2, class P3&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">sigc::connection <a class="el" href="classGlib_1_1SignalProxy3.html">Glib::SignalProxy3</a>&lt;R, P1, P2, P3&gt;::connect           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1SignalProxy3.html#b5d5438ce6ed3166b6c52d25846c81c8">SlotType</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>slot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>after</em> = <code>true</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Connects a signal to a signal handler. 
<p>
For instance, connect( sigc::mem_fun(*this, &amp;TheClass::on_something) );<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>slot</em>&nbsp;</td><td>The signal handler, usually created with <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/group__s20__3__8__memadaptors.html#gga2">sigc::mem_fun()</a>, or <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/group__s20__3__7__adaptors.html#gga1">sigc::ptr_fun()</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>after</em>&nbsp;</td><td>Whether this signal handler should be called before or after the default signal handler. </td></tr>
  </table>
</dl>

</div>
</div><p>
<a class="anchor" name="7c36c3b4bae5eaed0eb6268abab7b247"></a><!-- doxytag: member="Glib::SignalProxy3::connect_notify" ref="7c36c3b4bae5eaed0eb6268abab7b247" args="(const VoidSlotType &amp;slot, bool after=false)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template &lt;class R, class P1, class P2, class P3&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">sigc::connection <a class="el" href="classGlib_1_1SignalProxy3.html">Glib::SignalProxy3</a>&lt;R, P1, P2, P3&gt;::connect_notify           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classGlib_1_1SignalProxy3.html#42233030672ff6bec3c0dafd2a8466d4">VoidSlotType</a>&amp;&nbsp;</td>
          <td class="paramname"> <em>slot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>after</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Connects a signal to a signal handler without a return value. 
<p>
By default, the signal handler will be called before the default signal handler, in which case any return value would be replaced anyway by that of the later signal handler.<p>
For instance, connect( sigc::mem_fun(*this, &amp;TheClass::on_something) );<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>slot</em>&nbsp;</td><td>The signal handler, which should have a void return type, usually created with <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/group__s20__3__8__memadaptors.html#gga2">sigc::mem_fun()</a>, or <a class="elRef" doxygen="libstdc++.tag.xml:http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/" href="http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/group__s20__3__7__adaptors.html#gga1">sigc::ptr_fun()</a>. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>after</em>&nbsp;</td><td>Whether this signal handler should be called before or after the default signal handler. </td></tr>
  </table>
</dl>

</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="signalproxy_8h.html">signalproxy.h</a></ul>
</div> <!-- end main content -->

<hr><address><small>
Generated for glibmm 2.4 by <a href="http://www.doxygen.org/index.html">
Doxygen</a> 1.5.3 &copy;&nbsp;1997-2001</small></address>
</body>
</html>