27
27
Inheritance diagram for sigc::mem_functor1< T_return, T_obj, T_arg1 >:<p><center><img src="classsigc_1_1mem__functor1__inherit__graph.png" border="0" usemap="#sigc_1_1mem__functor1_3_01T__return_00_01T__obj_00_01T__arg1_01_4__inherit__map" alt="Inheritance graph"></center>
28
28
<map name="sigc_1_1mem__functor1_3_01T__return_00_01T__obj_00_01T__arg1_01_4__inherit__map">
29
<area href="classsigc_1_1bound__mem__functor1.html" shape="rect" coords="7,156,329,174" alt="">
30
<area href="structsigc_1_1functor__base.html" shape="rect" coords="109,17,227,36" alt="">
29
<area href="classsigc_1_1bound__mem__functor1.html" shape="rect" coords="8,158,354,182" alt="">
30
<area href="structsigc_1_1functor__base.html" shape="rect" coords="116,9,246,33" alt="">
32
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classsigc_1_1mem__functor1-members.html">List of all members.</a><table border=0 cellpadding=0 cellspacing=0>
32
<center><font size="2">[<a href="graph_legend.html">legend</a>]</font></center><a href="classsigc_1_1mem__functor1-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0">
34
<tr><td colspan=2><br><h2>Public Types</h2></td></tr>
35
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef T_return(T_obj::* </td><td class="memItemRight" valign=bottom><a class="el" href="classsigc_1_1mem__functor1.html#w0">function_type</a> )(T_arg1)</td></tr>
37
<tr><td class="memItemLeft" nowrap align=right valign=top>typedef T_return </td><td class="memItemRight" valign=bottom><a class="el" href="classsigc_1_1mem__functor1.html#w1">result_type</a></td></tr>
39
<tr><td colspan=2><br><h2>Public Member Functions</h2></td></tr>
40
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classsigc_1_1mem__functor1.html#a0">mem_functor1</a> ()</td></tr>
34
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
35
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef T_return(T_obj::* </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1mem__functor1.html#w0">function_type</a> )(T_arg1)</td></tr>
37
<tr><td class="memItemLeft" nowrap align="right" valign="top">typedef T_return </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1mem__functor1.html#w1">result_type</a></td></tr>
39
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
40
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1mem__functor1.html#a0">mem_functor1</a> ()</td></tr>
42
42
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs an invalid functor. <a href="#a0"></a><br></td></tr>
43
<tr><td class="memItemLeft" nowrap align=right valign=top> </td><td class="memItemRight" valign=bottom><a class="el" href="classsigc_1_1mem__functor1.html#a1">mem_functor1</a> (<a class="el" href="classsigc_1_1mem__functor1.html#w0">function_type</a> _A_func)</td></tr>
43
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1mem__functor1.html#a1">mem_functor1</a> (<a class="el" href="classsigc_1_1mem__functor1.html#w0">function_type</a> _A_func)</td></tr>
45
45
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructs a <a class="el" href="classsigc_1_1mem__functor1.html">mem_functor1</a> object that wraps the passed method. <a href="#a1"></a><br></td></tr>
46
<tr><td class="memItemLeft" nowrap align=right valign=top>T_return </td><td class="memItemRight" valign=bottom><a class="el" href="classsigc_1_1mem__functor1.html#a2">operator()</a> (T_obj* _A_obj, typename <a class="el" href="structsigc_1_1type__trait.html">type_trait</a><T_arg1>::take _A_a1) const</td></tr>
46
<tr><td class="memItemLeft" nowrap align="right" valign="top">T_return </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1mem__functor1.html#a2">operator()</a> (T_obj* _A_obj, typename <a class="el" href="structsigc_1_1type__trait.html">type_trait</a><T_arg1>::take _A_a1) const </td></tr>
48
48
<tr><td class="mdescLeft"> </td><td class="mdescRight">Execute the wrapped method operating on the passed instance. <a href="#a2"></a><br></td></tr>
49
<tr><td class="memItemLeft" nowrap align=right valign=top>T_return </td><td class="memItemRight" valign=bottom><a class="el" href="classsigc_1_1mem__functor1.html#a3">operator()</a> (T_obj& _A_obj, typename <a class="el" href="structsigc_1_1type__trait.html">type_trait</a><T_arg1>::take _A_a1) const</td></tr>
49
<tr><td class="memItemLeft" nowrap align="right" valign="top">T_return </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1mem__functor1.html#a3">operator()</a> (T_obj& _A_obj, typename <a class="el" href="structsigc_1_1type__trait.html">type_trait</a><T_arg1>::take _A_a1) const </td></tr>
51
51
<tr><td class="mdescLeft"> </td><td class="mdescRight">Execute the wrapped method operating on the passed instance. <a href="#a3"></a><br></td></tr>
52
<tr><td colspan=2><br><h2>Protected Attributes</h2></td></tr>
53
<tr><td class="memItemLeft" nowrap align=right valign=top><a class="el" href="classsigc_1_1mem__functor1.html#w0">function_type</a> </td><td class="memItemRight" valign=bottom><a class="el" href="classsigc_1_1mem__functor1.html#p0">func_ptr_</a></td></tr>
52
<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
53
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classsigc_1_1mem__functor1.html#w0">function_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1mem__functor1.html#p0">func_ptr_</a></td></tr>
56
56
<hr><a name="_details"></a><h2>Detailed Description</h2>
60
60
<a class="el" href="classsigc_1_1mem__functor1.html">mem_functor1</a> wraps methods with 1 argument(s).
62
Use the convenience function <a class="el" href="group__mem__fun.html#ga80">mem_fun()</a> to create an instance of <a class="el" href="classsigc_1_1mem__functor1.html">mem_functor1</a>.<p>
62
Use the convenience function <a class="el" href="group__mem__fun.html#ga56">mem_fun()</a> to create an instance of <a class="el" href="classsigc_1_1mem__functor1.html">mem_functor1</a>.<p>
63
63
The following template arguments are used:<ul>
64
64
<li><em>T_arg1</em> Argument type used in the definition of <a class="el" href="classsigc_1_1mem__functor1.html#a2">operator()()</a>.</li><li><em>T_return</em> The return type of <a class="el" href="classsigc_1_1mem__functor1.html#a2">operator()()</a>.</li><li><em>T_obj</em> The object type. </li></ul>
67
67
<hr><h2>Member Typedef Documentation</h2>
68
<a class="anchor" name="w0" doxytag="sigc::mem_functor1::function_type" ></a><p>
68
<a class="anchor" name="w0" doxytag="sigc::mem_functor1::function_type"></a><p>
69
69
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
75
75
template <class T_return, class T_obj, class T_arg1> </td>
78
<td class="md" nowrap valign="top"> typedef T_return(T_obj::* <a class="el" href="classsigc_1_1mem__functor1.html">sigc::mem_functor1</a><T_return, T_obj, T_arg1>::<a class="el" href="classsigc_1_1mem__functor1.html#w0">function_type</a>)(T_arg1) </td>
78
<td class="md" nowrap valign="top">typedef T_return(T_obj::* <a class="el" href="classsigc_1_1mem__functor1.html">sigc::mem_functor1</a><T_return, T_obj, T_arg1>::<a class="el" href="classsigc_1_1mem__functor1.html#w0">function_type</a>)(T_arg1) </td>
84
<table cellspacing=5 cellpadding=0 border=0>
84
<table cellspacing="5" cellpadding="0" border="0">
106
104
template <class T_return, class T_obj, class T_arg1> </td>
109
<td class="md" nowrap valign="top"> typedef T_return <a class="el" href="classsigc_1_1mem__functor1.html">sigc::mem_functor1</a><T_return, T_obj, T_arg1>::<a class="el" href="classsigc_1_1mem__functor1.html#w1">result_type</a> </td>
107
<td class="md" nowrap valign="top">typedef T_return <a class="el" href="classsigc_1_1mem__functor1.html">sigc::mem_functor1</a><T_return, T_obj, T_arg1>::<a class="el" href="classsigc_1_1mem__functor1.html#w1">result_type</a> </td>
115
<table cellspacing=5 cellpadding=0 border=0>
113
<table cellspacing="5" cellpadding="0" border="0">
134
132
template <class T_return, class T_obj, class T_arg1> </td>
137
<td class="md" nowrap valign="top"> <a class="el" href="classsigc_1_1mem__functor1.html">sigc::mem_functor1</a><T_return, T_obj, T_arg1>::<a class="el" href="classsigc_1_1mem__functor1.html">mem_functor1</a> </td>
135
<td class="md" nowrap valign="top"><a class="el" href="classsigc_1_1mem__functor1.html">sigc::mem_functor1</a><T_return, T_obj, T_arg1>::<a class="el" href="classsigc_1_1mem__functor1.html">mem_functor1</a> </td>
138
136
<td class="md" valign="top">(</td>
139
137
<td class="mdname1" valign="top" nowrap> </td>
140
138
<td class="md" valign="top"> ) </td>
167
165
template <class T_return, class T_obj, class T_arg1> </td>
170
<td class="md" nowrap valign="top"> <a class="el" href="classsigc_1_1mem__functor1.html">sigc::mem_functor1</a><T_return, T_obj, T_arg1>::<a class="el" href="classsigc_1_1mem__functor1.html">mem_functor1</a> </td>
168
<td class="md" nowrap valign="top"><a class="el" href="classsigc_1_1mem__functor1.html">sigc::mem_functor1</a><T_return, T_obj, T_arg1>::<a class="el" href="classsigc_1_1mem__functor1.html">mem_functor1</a> </td>
171
169
<td class="md" valign="top">(</td>
172
170
<td class="md" nowrap valign="top"><a class="el" href="classsigc_1_1mem__functor1.html#w0">function_type</a> </td>
173
171
<td class="mdname1" valign="top" nowrap> <em>_A_func</em> </td>
191
189
<dl compact><dt><b>Parameters:</b></dt><dd>
192
190
<table border="0" cellspacing="2" cellpadding="0">
193
<tr><td></td><td valign=top><em>_A_func</em> </td><td>Pointer to method will be invoked from <a class="el" href="classsigc_1_1mem__functor1.html#a2">operator()()</a>. </td></tr>
191
<tr><td valign="top"></td><td valign="top"><em>_A_func</em> </td><td>Pointer to method will be invoked from <a class="el" href="classsigc_1_1mem__functor1.html#a2">operator()()</a>. </td></tr>
199
197
<hr><h2>Member Function Documentation</h2>
200
<a class="anchor" name="a3" doxytag="sigc::mem_functor1::operator()" ></a><p>
198
<a class="anchor" name="a3" doxytag="sigc::mem_functor1::operator()"></a><p>
201
199
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
203
201
<td class="mdRow">
207
205
template <class T_return, class T_obj, class T_arg1> </td>
210
<td class="md" nowrap valign="top"> T_return <a class="el" href="classsigc_1_1mem__functor1.html">sigc::mem_functor1</a><T_return, T_obj, T_arg1>::operator() </td>
208
<td class="md" nowrap valign="top">T_return <a class="el" href="classsigc_1_1mem__functor1.html">sigc::mem_functor1</a><T_return, T_obj, T_arg1>::operator() </td>
211
209
<td class="md" valign="top">(</td>
212
210
<td class="md" nowrap valign="top">T_obj& </td>
213
211
<td class="mdname" nowrap> <em>_A_obj</em>, </td>
216
214
<td class="md" nowrap align="right"></td>
218
216
<td class="md" nowrap>typename <a class="el" href="structsigc_1_1type__trait.html">type_trait</a><T_arg1>::take </td>
219
217
<td class="mdname" nowrap> <em>_A_a1</em></td>
223
221
<td class="md">) </td>
224
222
<td class="md" colspan="2"> const<code> [inline]</code></td>
240
238
<dl compact><dt><b>Parameters:</b></dt><dd>
241
239
<table border="0" cellspacing="2" cellpadding="0">
242
<tr><td></td><td valign=top><em>_A_obj</em> </td><td>Reference to instance the method should operate on. </td></tr>
243
<tr><td></td><td valign=top><em>_A_a1</em> </td><td>Argument to be passed on to the method. </td></tr>
240
<tr><td valign="top"></td><td valign="top"><em>_A_obj</em> </td><td>Reference to instance the method should operate on. </td></tr>
241
<tr><td valign="top"></td><td valign="top"><em>_A_a1</em> </td><td>Argument to be passed on to the method. </td></tr>
246
244
<dl compact><dt><b>Returns:</b></dt><dd>The return value of the method invocation. </dd></dl>
250
<a class="anchor" name="a2" doxytag="sigc::mem_functor1::operator()" ></a><p>
248
<a class="anchor" name="a2" doxytag="sigc::mem_functor1::operator()"></a><p>
251
249
<table class="mdTable" width="100%" cellpadding="2" cellspacing="0">
253
251
<td class="mdRow">
257
255
template <class T_return, class T_obj, class T_arg1> </td>
260
<td class="md" nowrap valign="top"> T_return <a class="el" href="classsigc_1_1mem__functor1.html">sigc::mem_functor1</a><T_return, T_obj, T_arg1>::operator() </td>
258
<td class="md" nowrap valign="top">T_return <a class="el" href="classsigc_1_1mem__functor1.html">sigc::mem_functor1</a><T_return, T_obj, T_arg1>::operator() </td>
261
259
<td class="md" valign="top">(</td>
262
260
<td class="md" nowrap valign="top">T_obj* </td>
263
261
<td class="mdname" nowrap> <em>_A_obj</em>, </td>
266
264
<td class="md" nowrap align="right"></td>
268
266
<td class="md" nowrap>typename <a class="el" href="structsigc_1_1type__trait.html">type_trait</a><T_arg1>::take </td>
269
267
<td class="mdname" nowrap> <em>_A_a1</em></td>
273
271
<td class="md">) </td>
274
272
<td class="md" colspan="2"> const<code> [inline]</code></td>
290
288
<dl compact><dt><b>Parameters:</b></dt><dd>
291
289
<table border="0" cellspacing="2" cellpadding="0">
292
<tr><td></td><td valign=top><em>_A_obj</em> </td><td>Pointer to instance the method should operate on. </td></tr>
293
<tr><td></td><td valign=top><em>_A_a1</em> </td><td>Argument to be passed on to the method. </td></tr>
290
<tr><td valign="top"></td><td valign="top"><em>_A_obj</em> </td><td>Pointer to instance the method should operate on. </td></tr>
291
<tr><td valign="top"></td><td valign="top"><em>_A_a1</em> </td><td>Argument to be passed on to the method. </td></tr>
296
294
<dl compact><dt><b>Returns:</b></dt><dd>The return value of the method invocation. </dd></dl>
308
306
template <class T_return, class T_obj, class T_arg1> </td>
311
<td class="md" nowrap valign="top"> <a class="el" href="classsigc_1_1mem__functor1.html#w0">function_type</a> <a class="el" href="classsigc_1_1mem__functor1.html">sigc::mem_functor1</a><T_return, T_obj, T_arg1>::<a class="el" href="classsigc_1_1mem__functor1.html#p0">func_ptr_</a><code> [protected]</code> </td>
309
<td class="md" nowrap valign="top"><a class="el" href="classsigc_1_1mem__functor1.html#w0">function_type</a> <a class="el" href="classsigc_1_1mem__functor1.html">sigc::mem_functor1</a><T_return, T_obj, T_arg1>::<a class="el" href="classsigc_1_1mem__functor1.html#p0">func_ptr_</a><code> [protected]</code> </td>
317
<table cellspacing=5 cellpadding=0 border=0>
315
<table cellspacing="5" cellpadding="0" border="0">