Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > 3c9265ee0944a35fbede43df6ed55872 > files > 95

lib64scim-devel-1.4.7-10mdv2008.1.x86_64.rpm

<!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::FunctionSlot1&lt; R, P1 &gt; 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&nbsp;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&nbsp;List</span></a></li>
    <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
    <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
    <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
  </ul></div>
<div class="nav">
<a class="el" href="a00157.html">scim</a>::<a class="el" href="a00036.html">FunctionSlot1</a></div>
<h1>scim::FunctionSlot1&lt; R, P1 &gt; Class Template Reference<br>
<small>
[<a class="el" href="a00159.html">SignalSlot</a>,&nbsp;<a class="el" href="a00159.html">SignalSlot</a>]</small>
</h1><!-- doxytag: class="scim::FunctionSlot1" --><!-- doxytag: inherits="scim::Slot1" -->A slot template for static functions taking one argument of type P1 and returning a value of type R.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;scim_slot.h&gt;</code>
<p>
Inheritance diagram for scim::FunctionSlot1&lt; R, P1 &gt;:<p><center><img src="a00536.png" border="0" usemap="#a00537" alt="Inheritance graph"></center>
<map name="a00537">
<area href="a00097.html" shape="rect" coords="35,157,189,181" alt="">
<area href="a00095.html" shape="rect" coords="68,83,156,107" alt="">
<area href="a00072.html" shape="rect" coords="27,8,197,32" alt="">
</map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for scim::FunctionSlot1&lt; R, P1 &gt;:<p><center><img src="a00538.png" border="0" usemap="#a00539" alt="Collaboration graph"></center>
<map name="a00539">
<area href="a00097.html" shape="rect" coords="35,157,189,181" alt="">
<area href="a00095.html" shape="rect" coords="68,83,156,107" alt="">
<area href="a00072.html" shape="rect" coords="27,8,197,32" alt="">
</map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="a00540.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">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00036.html#1b124c1a97ddcad863b8ca2d35032d6c">FunctionSlot1</a> (PF function)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual R&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00036.html#7880a1b7414997263476c2f8dc19a8e2">call</a> (P1 p1) const</td></tr>

</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;typename R, typename P1&gt;<br>
 class scim::FunctionSlot1&lt; R, P1 &gt;</h3>

A slot template for static functions taking one argument of type P1 and returning a value of type R. 
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="1b124c1a97ddcad863b8ca2d35032d6c"></a><!-- doxytag: member="scim::FunctionSlot1::FunctionSlot1" ref="1b124c1a97ddcad863b8ca2d35032d6c" args="(PF function)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename R, typename P1&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00036.html">scim::FunctionSlot1</a>&lt; R, P1 &gt;::<a class="el" href="a00036.html">FunctionSlot1</a>           </td>
          <td>(</td>
          <td class="paramtype">PF&nbsp;</td>
          <td class="paramname"> <em>function</em>          </td>
          <td>&nbsp;)&nbsp;</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>&nbsp;</td><td>- static function with the signature R (*PF)(P1). </td></tr>
  </table>
</dl>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="7880a1b7414997263476c2f8dc19a8e2"></a><!-- doxytag: member="scim::FunctionSlot1::call" ref="7880a1b7414997263476c2f8dc19a8e2" args="(P1 p1) const" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename R, typename P1&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual R <a class="el" href="a00036.html">scim::FunctionSlot1</a>&lt; R, P1 &gt;::call           </td>
          <td>(</td>
          <td class="paramtype">P1&nbsp;</td>
          <td class="paramname"> <em>p1</em>          </td>
          <td>&nbsp;)&nbsp;</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 argument p1. <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="a00097.html#e9f21ec35607cc9f76b5fc2a3c0e0a09">scim::Slot1&lt; R, P1 &gt;</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:45 2007 for scim by&nbsp;
<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>