File: a00006.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 (140 lines) | stat: -rw-r--r-- 7,185 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
<!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::BoundSlot2_3&lt; R, P1, P2, P3 &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="a00006.html">BoundSlot2_3</a></div>
<h1>scim::BoundSlot2_3&lt; R, P1, P2, P3 &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::BoundSlot2_3" --><!-- doxytag: inherits="scim::Slot2" -->Converts a slot taking three arguments into a slot taking two arguments.  
<a href="#_details">More...</a>
<p>
<code>#include &lt;scim_bind.h&gt;</code>
<p>
Inheritance diagram for scim::BoundSlot2_3&lt; R, P1, P2, P3 &gt;:<p><center><img src="a00262.png" border="0" usemap="#a00263" alt="Inheritance graph"></center>
<map name="a00263">
<area href="a00098.html" shape="rect" coords="43,157,227,181" alt="">
<area href="a00095.html" shape="rect" coords="91,83,179,107" alt="">
<area href="a00072.html" shape="rect" coords="49,8,220,32" alt="">
</map>
<center><font size="2">[<a target="top" href="graph_legend.html">legend</a>]</font></center>Collaboration diagram for scim::BoundSlot2_3&lt; R, P1, P2, P3 &gt;:<p><center><img src="a00264.png" border="0" usemap="#a00265" alt="Collaboration graph"></center>
<map name="a00265">
<area href="a00098.html" shape="rect" coords="7,163,191,187" alt="">
<area href="a00095.html" shape="rect" coords="55,85,143,109" 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="a00266.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="a00006.html#61331abacbe18bf734f8f7cd2622ce85">BoundSlot2_3</a> (<a class="el" href="a00099.html">Slot3</a>&lt; R, P1, P2, P3 &gt; *slot, P3 p3)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual R&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="a00006.html#58cb009912d9ac777fd3c47637b56162">call</a> (P1 p1, P2 p2) const </td></tr>

<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Calls the original slot passing it arguments p1 and p2, and the bound argument p as the last parameter.  <a href="#58cb009912d9ac777fd3c47637b56162"></a><br></td></tr>
</table>
<hr><a name="_details"></a><h2>Detailed Description</h2>
<h3>template&lt;typename R, typename P1, typename P2, typename P3&gt;<br>
 class scim::BoundSlot2_3&lt; R, P1, P2, P3 &gt;</h3>

Converts a slot taking three arguments into a slot taking two arguments. 
<p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="61331abacbe18bf734f8f7cd2622ce85"></a><!-- doxytag: member="scim::BoundSlot2_3::BoundSlot2_3" ref="61331abacbe18bf734f8f7cd2622ce85" args="(Slot3&lt; R, P1, P2, P3 &gt; *slot, P3 p3)" -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename R, typename P1, typename P2, typename P3&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="a00006.html">scim::BoundSlot2_3</a>&lt; R, P1, P2, P3 &gt;::<a class="el" href="a00006.html">BoundSlot2_3</a>           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="a00099.html">Slot3</a>&lt; R, P1, P2, P3 &gt; *&nbsp;</td>
          <td class="paramname"> <em>slot</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">P3&nbsp;</td>
          <td class="paramname"> <em>p3</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>
Constructor. <dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>slot</em>&nbsp;</td><td>- a pointer to a slot of type Slot1&lt;R, P1, P2, P3&gt;. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>p3</em>&nbsp;</td><td>- a bound argument of type P3 </td></tr>
  </table>
</dl>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="58cb009912d9ac777fd3c47637b56162"></a><!-- doxytag: member="scim::BoundSlot2_3::call" ref="58cb009912d9ac777fd3c47637b56162" args="(P1 p1, P2 p2) const " -->
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename R, typename P1, typename P2, typename P3&gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">virtual R <a class="el" href="a00006.html">scim::BoundSlot2_3</a>&lt; R, P1, P2, P3 &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><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 original slot passing it arguments p1 and p2, and the bound argument p as the last parameter. 
<p>

<p>
Implements <a class="el" href="a00098.html#1aeb51b15514976abf653ce327f38ccc">scim::Slot2&lt; R, P1, P2 &gt;</a>.
</div>
</div><p>
<hr>The documentation for this class was generated from the following file:<ul>
<li><a class="el" href="a00115.html">scim_bind.h</a></ul>
<hr size="1"><address style="align: right;"><small>Generated on Thu Jun 28 14:12:36 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>