1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118
|
<!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::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.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="a00035.html">FunctionSlot0</a></div>
<h1>scim::FunctionSlot0< R > 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::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>
Inheritance diagram for scim::FunctionSlot0< R >:<p><center><img src="a00516.png" border="0" usemap="#a00517" alt="Inheritance graph"></center>
<map name="a00517">
<area href="a00096.html" shape="rect" coords="35,157,163,181" alt="">
<area href="a00095.html" shape="rect" coords="55,83,143,107" alt="">
<area href="a00072.html" shape="rect" coords="13,8,184,32" alt="">
</map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for scim::FunctionSlot0< R >:<p><center><img src="a00518.png" border="0" usemap="#a00519" alt="Collaboration graph"></center>
<map name="a00519">
<area href="a00096.html" shape="rect" coords="35,157,163,181" alt="">
<area href="a00095.html" shape="rect" coords="55,83,143,107" alt="">
<area href="a00072.html" shape="rect" coords="13,8,184,32" alt="">
</map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="a00520.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#c5e09d78f527424d936abf0228d8d321">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.
<p>
<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 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)(). </td></tr>
</table>
</dl>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="c5e09d78f527424d936abf0228d8d321"></a><!-- doxytag: member="scim::FunctionSlot0::call" ref="c5e09d78f527424d936abf0228d8d321" 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 width="100%"> 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#50e6d15f3cc3a07021ba400b5ffd81e9">scim::Slot0< R ></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:44 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>
|