<!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::FunctionSlot3< R, P1, P2, P3 > 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="a00038.html">FunctionSlot3</a></div> <h1>scim::FunctionSlot3< R, P1, P2, P3 > 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::FunctionSlot3" --><!-- doxytag: inherits="scim::Slot3" -->A slot template for static functions taking three arguments of type P1, P2 and P3, and returning a value of type R. <a href="#_details">More...</a> <p> <code>#include <scim_slot.h></code> <p> Inheritance diagram for scim::FunctionSlot3< R, P1, P2, P3 >:<p><center><img src="a00576.png" border="0" usemap="#a00577" alt="Inheritance graph"></center> <map name="a00577"> <area href="a00099.html" shape="rect" coords="33,157,244,181" alt=""> <area href="a00095.html" shape="rect" coords="95,83,183,107" alt=""> <area href="a00072.html" shape="rect" coords="53,8,224,32" alt=""> </map> <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for scim::FunctionSlot3< R, P1, P2, P3 >:<p><center><img src="a00578.png" border="0" usemap="#a00579" alt="Collaboration graph"></center> <map name="a00579"> <area href="a00099.html" shape="rect" coords="33,157,244,181" alt=""> <area href="a00095.html" shape="rect" coords="95,83,183,107" alt=""> <area href="a00072.html" shape="rect" coords="53,8,224,32" alt=""> </map> <center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="a00580.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="a00038.html#6c62aadc2c0c8cd06aef838ffd772ba9">FunctionSlot3</a> (PF function)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">virtual R </td><td class="memItemRight" valign="bottom"><a class="el" href="a00038.html#62cc6b0677e1afcff7be06be5352f817">call</a> (P1 p1, P2 p2, P3 p3) const </td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <h3>template<typename R, typename P1, typename P2, typename P3><br> class scim::FunctionSlot3< R, P1, P2, P3 ></h3> A slot template for static functions taking three arguments of type P1, P2 and P3, and returning a value of type R. <p> <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="6c62aadc2c0c8cd06aef838ffd772ba9"></a><!-- doxytag: member="scim::FunctionSlot3::FunctionSlot3" ref="6c62aadc2c0c8cd06aef838ffd772ba9" args="(PF function)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename R, typename P1, typename P2, typename P3> </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00038.html">scim::FunctionSlot3</a>< R, P1, P2, P3 >::<a class="el" href="a00038.html">FunctionSlot3</a> </td> <td>(</td> <td class="paramtype">PF </td> <td class="paramname"> <em>function</em> </td> <td> ) </td> <td width="100%"><code> [inline]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Construct a new function slot for a static function. <dl compact><dt><b>Parameters:</b></dt><dd> <table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"></td><td valign="top"><em>function</em> </td><td>- static function with the signature R (*PF)(P1, P2, P3). </td></tr> </table> </dl> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="62cc6b0677e1afcff7be06be5352f817"></a><!-- doxytag: member="scim::FunctionSlot3::call" ref="62cc6b0677e1afcff7be06be5352f817" args="(P1 p1, P2 p2, P3 p3) const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename R, typename P1, typename P2, typename P3> </div> <table class="memname"> <tr> <td class="memname">virtual R <a class="el" href="a00038.html">scim::FunctionSlot3</a>< R, P1, P2, P3 >::call </td> <td>(</td> <td class="paramtype">P1 </td> <td class="paramname"> <em>p1</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">P2 </td> <td class="paramname"> <em>p2</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">P3 </td> <td class="paramname"> <em>p3</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td width="100%"> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Calls the function connected to this slot passing it arguments p1, p2 and p3. <dl class="return" compact><dt><b>Returns:</b></dt><dd>a value of type R returned by the called function. </dd></dl> <p> Implements <a class="el" href="a00099.html#4a6aae9883ea1840cfcabcba72d68f75">scim::Slot3< R, P1, P2, P3 ></a>. </div> </div><p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="a00150.html">scim_slot.h</a></ul> <hr size="1"><address style="align: right;"><small>Generated on Thu Jun 28 14:12:47 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>