<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <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.7.1 --> <div class="navigation" id="top"> <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 class="current"><a href="annotated.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="annotated.html"><span>Class List</span></a></li> <li><a href="classes.html"><span>Class Index</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="a00157.html">scim</a>::<a class="el" href="a00005.html">BoundSlot1_2</a> </div> </div> <div class="contents"> <h1>scim::BoundSlot1_2< R, P1, P2 > Class Template Reference<br> <small> [<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> <p> <a href="a00218.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#b636fb2ba7aa670642bdef721dea2a6b">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="#b636fb2ba7aa670642bdef721dea2a6b"></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. <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><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="b636fb2ba7aa670642bdef721dea2a6b"></a><!-- doxytag: member="scim::BoundSlot1_2::call" ref="b636fb2ba7aa670642bdef721dea2a6b" 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> 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#0168dcef017f9c3f7782791551478d8c">scim::Slot1< R, P1 ></a>.</p> </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> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Sun Apr 19 13:02:39 2009 for scim by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.7.1 </small></address> </body> </html>