<!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::FunctionSlot0< R > 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="a00035.html">FunctionSlot0</a> </div> </div> <div class="contents"> <h1>scim::FunctionSlot0< R > Class Template Reference<br> <small> [<a class="el" href="a00159.html">SignalSlot</a>]</small> </h1><!-- doxytag: class="scim::FunctionSlot0" --><!-- doxytag: inherits="scim::Slot0" -->A slot template for static functions taking no arguments and returning a value of type R. <a href="#_details">More...</a> <p> <code>#include <scim_slot.h></code> <p> <p> <a href="a00289.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="a00035.html#46e5d3ef1c5e83ce27e891f8eb927d85">FunctionSlot0</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="a00035.html#31ca39ecbcc6ac7d290964094f4c7448">call</a> () const </td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> <h3>template<typename R><br> class scim::FunctionSlot0< R ></h3> A slot template for static functions taking no arguments and returning a value of type R. <hr><h2>Constructor & Destructor Documentation</h2> <a class="anchor" name="46e5d3ef1c5e83ce27e891f8eb927d85"></a><!-- doxytag: member="scim::FunctionSlot0::FunctionSlot0" ref="46e5d3ef1c5e83ce27e891f8eb927d85" args="(PF function)" --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename R > </div> <table class="memname"> <tr> <td class="memname"><a class="el" href="a00035.html">scim::FunctionSlot0</a>< R >::<a class="el" href="a00035.html">FunctionSlot0</a> </td> <td>(</td> <td class="paramtype">PF </td> <td class="paramname"> <em>function</em> </td> <td> ) </td> <td><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)(). </td></tr> </table> </dl> </div> </div><p> <hr><h2>Member Function Documentation</h2> <a class="anchor" name="31ca39ecbcc6ac7d290964094f4c7448"></a><!-- doxytag: member="scim::FunctionSlot0::call" ref="31ca39ecbcc6ac7d290964094f4c7448" args="() const " --> <div class="memitem"> <div class="memproto"> <div class="memtemplate"> template<typename R > </div> <table class="memname"> <tr> <td class="memname">virtual R <a class="el" href="a00035.html">scim::FunctionSlot0</a>< R >::call </td> <td>(</td> <td class="paramname"> </td> <td> ) </td> <td> const<code> [inline, virtual]</code></td> </tr> </table> </div> <div class="memdoc"> <p> Calls the function connected to this slot. <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="a00096.html#238c0b261c0386cac38dd45887559139">scim::Slot0< R ></a>.</p> </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> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Sun Apr 19 13:02:44 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>