File: a00060.html

package info (click to toggle)
scim 1.4.7-3
  • links: PTS, VCS
  • area: main
  • in suites: lenny
  • size: 20,368 kB
  • ctags: 12,834
  • sloc: cpp: 51,239; sh: 22,370; ansic: 18,716; makefile: 1,258; xml: 641; yacc: 288
file content (150 lines) | stat: -rw-r--r-- 7,611 bytes parent folder | download
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
145
146
147
148
149
150
<!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::MethodSlot4&lt; T, R, P1, P2, P3, P4 &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="a00060.html">MethodSlot4</a></div>
<h1>scim::MethodSlot4&lt; T, R, P1, P2, P3, P4 &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::MethodSlot4" --><!-- doxytag: inherits="scim::Slot4" -->A slot template for methods in a class of type T taking four arguments of type P1, P2, P3 and P4, 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::MethodSlot4&lt; T, R, P1, P2, P3, P4 &gt;:<p><center><img src="a00601.png" border="0" usemap="#a00602" alt="Inheritance graph"></center>
<map name="a00602">
<area href="a00100.html" shape="rect" coords="36,157,273,181" alt="">
<area href="a00095.html" shape="rect" coords="111,83,199,107" alt="">
<area href="a00072.html" shape="rect" coords="69,8,240,32" alt="">
</map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for scim::MethodSlot4&lt; T, R, P1, P2, P3, P4 &gt;:<p><center><img src="a00603.png" border="0" usemap="#a00604" alt="Collaboration graph"></center>
<map name="a00604">
<area href="a00100.html" shape="rect" coords="7,163,244,187" alt="">
<area href="a00095.html" shape="rect" coords="81,85,169,109" alt="">
<area href="a00072.html" shape="rect" coords="40,8,211,32" alt="">
</map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center><a href="a00605.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="a00060.html#aade38b24c805144b08cf9f74febd68f">MethodSlot4</a> (T *object, PMF 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="a00060.html#b03b1c93a910189b603bab5bf52ef76e">call</a> (P1 p1, P2 p2, P3 p3, P4 p4) const</td></tr>

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

A slot template for methods in a class of type T taking four arguments of type P1, P2, P3 and P4, and returning a value of type R. 
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="aade38b24c805144b08cf9f74febd68f"></a><!-- doxytag: member="scim::MethodSlot4::MethodSlot4" ref="aade38b24c805144b08cf9f74febd68f" args="(T *object, PMF function)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T, typename R, typename P1, typename P2, typename P3, typename P4&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00060.html">scim::MethodSlot4</a>&lt; T, R, P1, P2, P3, P4 &gt;::<a class="el" href="a00060.html">MethodSlot4</a>           </td>
          <td>(</td>
          <td class="paramtype">T *&nbsp;</td>
          <td class="paramname"> <em>object</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">PMF&nbsp;</td>
          <td class="paramname"> <em>function</em></td><td>&nbsp;</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>&nbsp;</td><td>- a pointer to an object of type T. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>function</em>&nbsp;</td><td>- a class method with the signature R (T::*PMF)(P1, P2, P3, P4). </td></tr>
  </table>
</dl>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="b03b1c93a910189b603bab5bf52ef76e"></a><!-- doxytag: member="scim::MethodSlot4::call" ref="b03b1c93a910189b603bab5bf52ef76e" args="(P1 p1, P2 p2, P3 p3, P4 p4) const" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T, typename R, typename P1, typename P2, typename P3, typename P4&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual R <a class="el" href="a00060.html">scim::MethodSlot4</a>&lt; T, R, P1, P2, P3, P4 &gt;::call           </td>
          <td>(</td>
          <td class="paramtype">P1&nbsp;</td>
          <td class="paramname"> <em>p1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">P2&nbsp;</td>
          <td class="paramname"> <em>p2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">P3&nbsp;</td>
          <td class="paramname"> <em>p3</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">P4&nbsp;</td>
          <td class="paramname"> <em>p4</em></td><td>&nbsp;</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, p3 and p4. <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="a00100.html#771b29ab00ccb86aba80126fa1f64588">scim::Slot4&lt; R, P1, P2, P3, P4 &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:48 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>