<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>scim: scim::BoundSlot1_2< R, P1, P2 > Class Template Reference</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> <link href="tabs.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.0 --> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</span></a></li> <li><a href="modules.html"><span>Modules</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li id="current"><a href="classes.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul></div> <div class="tabs"> <ul> <li><a href="classes.html"><span>Alphabetical List</span></a></li> <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="nav"> <a class="el" href="a00157.html">scim</a>::<a class="el" href="a00005.html">BoundSlot1_2</a></div> <h1>scim::BoundSlot1_2< R, P1, P2 > Class Template Reference<br> <small> [<a class="el" href="a00159.html">SignalSlot</a>, <a class="el" href="a00159.html">SignalSlot</a>]</small> </h1><!-- doxytag: class="scim::BoundSlot1_2" --><!-- doxytag: inherits="scim::Slot1" -->Converts a slot taking two arguments into a slot taking one argument. <a href="#_details">More...</a> <p> <code>#include <scim_bind.h></code> <p> Inheritance diagram for scim::BoundSlot1_2< R, P1, P2 >:<p><center><img src="a00257.png" border="0" usemap="#a00258" alt="Inheritance graph"></center> <map name="a00258"> <area href="a00097.html" shape="rect" coords="44,157,199,181" alt=""> <area href="a00095.html" shape="rect" coords="78,83,166,107" alt=""> <area href="a00072.html" shape="rect" coords="36,8,207,32" alt=""> </map> <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for scim::BoundSlot1_2< R, P1, P2 >:<p><center><img src="a00259.png" border="0" usemap="#a00260" alt="Collaboration graph"></center> <map name="a00260"> <area href="a00097.html" shape="rect" coords="15,163,170,187" alt=""> <area href="a00095.html" shape="rect" coords="48,85,136,109" alt=""> <area href="a00072.html" shape="rect" coords="7,8,178,32" alt=""> </map> <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="a00261.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="a00005.html#48900c4e6adf86a9efa32f1c5708211d">BoundSlot1_2</a> (<a class="el" href="a00098.html">Slot2</a>< R, P1, P2 > *slot, P2 p2)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual R </td><td class="memItemRight" valign="bottom"><a class="el" href="a00005.html#bca81e7e440c906352f3d0e537ecbf36">call</a> (P1 p1) const</td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight">Calls the original slot passing it argument p1 and the bound argument p as the last parameter. <a href="#bca81e7e440c906352f3d0e537ecbf36"></a><br></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <h3>template<typename R, typename P1, typename P2><br> class scim::BoundSlot1_2< R, P1, P2 ></h3> Converts a slot taking two arguments into a slot taking one argument. <p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="48900c4e6adf86a9efa32f1c5708211d"></a><!-- doxytag: member="scim::BoundSlot1_2::BoundSlot1_2" ref="48900c4e6adf86a9efa32f1c5708211d" args="(Slot2< R, P1, P2 > *slot, P2 p2)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename R, typename P1, typename P2> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00005.html">scim::BoundSlot1_2</a>< R, P1, P2 >::<a class="el" href="a00005.html">BoundSlot1_2</a> </td> <td>(</td> <td class="paramtype"><a class="el" href="a00098.html">Slot2</a>< R, P1, P2 > * </td> <td class="paramname"> <em>slot</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">P2 </td> <td class="paramname"> <em>p2</em></td><td> </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> Constructor. <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> </td><td>- a pointer to a slot of type Slot1<R, P1, P2>. </td></tr> <tr><td valign="top"></td><td valign="top"><em>p2</em> </td><td>- a bound argument of type P2 </td></tr> </table> </dl> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="bca81e7e440c906352f3d0e537ecbf36"></a><!-- doxytag: member="scim::BoundSlot1_2::call" ref="bca81e7e440c906352f3d0e537ecbf36" args="(P1 p1) const" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename R, typename P1, typename P2> </div> <table class="memname"> <tr> <td class="memname">virtual R <a class="el" href="a00005.html">scim::BoundSlot1_2</a>< R, P1, P2 >::call </td> <td>(</td> <td class="paramtype">P1 </td> <td class="paramname"> <em>p1</em> </td> <td> ) </td> <td width="100%"> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Calls the original slot passing it argument p1 and the bound argument p as the last parameter. <p> <p> Implements <a class="el" href="a00097.html#e9f21ec35607cc9f76b5fc2a3c0e0a09">scim::Slot1< R, P1 ></a>. </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="a00115.html">scim_bind.h</a></ul> <hr size="1"><address style="align: right;"><small>Generated on Thu Jun 28 14:12:36 2007 for scim by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.0 </small></address> </body> </html>