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 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144
|
<!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::MethodSlot3< T, 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="a00059.html">MethodSlot3</a></div>
<h1>scim::MethodSlot3< T, 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::MethodSlot3" --><!-- doxytag: inherits="scim::Slot3" -->A slot template for methods in a class of type T 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::MethodSlot3< T, R, P1, P2, P3 >:<p><center><img src="a00581.png" border="0" usemap="#a00582" alt="Inheritance graph"></center>
<map name="a00582">
<area href="a00099.html" shape="rect" coords="36,157,247,181" alt="">
<area href="a00095.html" shape="rect" coords="98,83,186,107" alt="">
<area href="a00072.html" shape="rect" coords="56,8,227,32" alt="">
</map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for scim::MethodSlot3< T, R, P1, P2, P3 >:<p><center><img src="a00583.png" border="0" usemap="#a00584" alt="Collaboration graph"></center>
<map name="a00584">
<area href="a00099.html" shape="rect" coords="7,163,217,187" alt="">
<area href="a00095.html" shape="rect" coords="68,85,156,109" 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="a00585.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="a00059.html#6737b5000c41ecea69faf8db74200342">MethodSlot3</a> (T *object, PMF function)</td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual R </td><td class="memItemRight" valign="bottom"><a class="el" href="a00059.html#e8f964c39259c14c5b2baddf66110cc4">call</a> (P1 p1, P2 p2, P3 p3) const </td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template<typename T, typename R, typename P1, typename P2, typename P3><br>
class scim::MethodSlot3< T, R, P1, P2, P3 ></h3>
A slot template for methods in a class of type T 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="6737b5000c41ecea69faf8db74200342"></a><!-- doxytag: member="scim::MethodSlot3::MethodSlot3" ref="6737b5000c41ecea69faf8db74200342" args="(T *object, PMF function)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename T, typename R, typename P1, typename P2, typename P3> </div>
<table class="memname">
<tr>
<td class="memname"><a class="el" href="a00059.html">scim::MethodSlot3</a>< T, R, P1, P2, P3 >::<a class="el" href="a00059.html">MethodSlot3</a> </td>
<td>(</td>
<td class="paramtype">T * </td>
<td class="paramname"> <em>object</em>, </td>
</tr>
<tr>
<td class="paramkey"></td>
<td></td>
<td class="paramtype">PMF </td>
<td class="paramname"> <em>function</em></td><td> </td>
</tr>
<tr>
<td></td>
<td>)</td>
<td></td><td></td><td width="100%"><code> [inline]</code></td>
</tr>
</table>
</div>
<div class="memdoc">
<p>
Construct a new method slot for a class member 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>object</em> </td><td>- a pointer to an object of type T. </td></tr>
<tr><td valign="top"></td><td valign="top"><em>function</em> </td><td>- a class method with the signature R (T::*PMF)(P1, P2, P3). </td></tr>
</table>
</dl>
</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="e8f964c39259c14c5b2baddf66110cc4"></a><!-- doxytag: member="scim::MethodSlot3::call" ref="e8f964c39259c14c5b2baddf66110cc4" args="(P1 p1, P2 p2, P3 p3) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template<typename T, typename R, typename P1, typename P2, typename P3> </div>
<table class="memname">
<tr>
<td class="memname">virtual R <a class="el" href="a00059.html">scim::MethodSlot3</a>< T, 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 class method 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 method. </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>
|