1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
4 <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5 <meta http-equiv="X-UA-Compatible" content="IE=9"/>
6 <meta name="generator" content="Doxygen 1.8.9.1"/>
7 <title>libsigc++: sigc::mem_functor3< T_return, T_obj, T_arg1, T_arg2, T_arg3 > Class Template Reference</title>
8 <link href="tabs.css" rel="stylesheet" type="text/css"/>
9 <script type="text/javascript" src="jquery.js"></script>
10 <script type="text/javascript" src="dynsections.js"></script>
11 <link href="doxygen.css" rel="stylesheet" type="text/css" />
12 <link href="doxygen-extra.css" rel="stylesheet" type="text/css"/>
15 <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
17 <table cellspacing="0" cellpadding="0">
19 <tr style="height: 56px;">
20 <td style="padding-left: 0.5em;">
21 <div id="projectname">libsigc++
22  <span id="projectnumber">2.9.1</span>
29 <!-- end header part -->
30 <!-- Generated by Doxygen 1.8.9.1 -->
31 <div id="navrow1" class="tabs">
33 <li><a href="index.html"><span>Main Page</span></a></li>
34 <li><a href="pages.html"><span>Related Pages</span></a></li>
35 <li><a href="modules.html"><span>Modules</span></a></li>
36 <li><a href="namespaces.html"><span>Namespaces</span></a></li>
37 <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
40 <div id="navrow2" class="tabs2">
42 <li><a href="annotated.html"><span>Class List</span></a></li>
43 <li><a href="classes.html"><span>Class Index</span></a></li>
44 <li><a href="inherits.html"><span>Class Hierarchy</span></a></li>
45 <li><a href="functions.html"><span>Class Members</span></a></li>
48 <div id="nav-path" class="navpath">
50 <li class="navelem"><a class="el" href="namespacesigc.html">sigc</a></li><li class="navelem"><a class="el" href="classsigc_1_1mem__functor3.html">mem_functor3</a></li> </ul>
55 <a href="#pub-types">Public Types</a> |
56 <a href="#pub-methods">Public Member Functions</a> |
57 <a href="#pro-attribs">Protected Attributes</a> |
58 <a href="classsigc_1_1mem__functor3-members.html">List of all members</a> </div>
59 <div class="headertitle">
60 <div class="title">sigc::mem_functor3< T_return, T_obj, T_arg1, T_arg2, T_arg3 > Class Template Reference<div class="ingroups"><a class="el" href="group__sigcfunctors.html">Functors</a> » <a class="el" href="group__mem__fun.html">mem_fun()</a></div></div> </div>
62 <div class="contents">
64 <p><a class="el" href="classsigc_1_1mem__functor3.html" title="mem_functor3 wraps methods with 3 argument(s). ">mem_functor3</a> wraps methods with 3 argument(s).
65 <a href="classsigc_1_1mem__functor3.html#details">More...</a></p>
67 <p><code>#include <sigc++/functors/mem_fun.h></code></p>
68 <div class="dynheader">
69 Inheritance diagram for sigc::mem_functor3< T_return, T_obj, T_arg1, T_arg2, T_arg3 >:</div>
70 <div class="dyncontent">
71 <div class="center"><img src="classsigc_1_1mem__functor3__inherit__graph.png" border="0" usemap="#sigc_1_1mem__functor3_3_01T__return_00_01T__obj_00_01T__arg1_00_01T__arg2_00_01T__arg3_01_4_inherit__map" alt="Inheritance graph"/></div>
72 <map name="sigc_1_1mem__functor3_3_01T__return_00_01T__obj_00_01T__arg1_00_01T__arg2_00_01T__arg3_01_4_inherit__map" id="sigc_1_1mem__functor3_3_01T__return_00_01T__obj_00_01T__arg1_00_01T__arg2_00_01T__arg3_01_4_inherit__map">
73 <area shape="rect" id="node3" href="classsigc_1_1bound__mem__functor3.html" title="bound_mem_functor3 encapsulates a method with 3 arguments and an object instance. ..." alt="" coords="5,184,201,240"/><area shape="rect" id="node2" href="structsigc_1_1functor__base.html" title="A hint to the compiler. " alt="" coords="34,5,173,32"/></map>
74 <center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
75 <table class="memberdecls">
76 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
77 Public Types</h2></td></tr>
78 <tr class="memitem:a8da99a5dcfe5ae1cecd6ce93ab91b929"><td class="memItemLeft" align="right" valign="top">typedef T_return(T_obj::* </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1mem__functor3.html#a8da99a5dcfe5ae1cecd6ce93ab91b929">function_type</a>) (T_arg1, T_arg2, T_arg3)</td></tr>
79 <tr class="separator:a8da99a5dcfe5ae1cecd6ce93ab91b929"><td class="memSeparator" colspan="2"> </td></tr>
80 <tr class="memitem:af620103fa36aa86fb539843f7f730e01"><td class="memItemLeft" align="right" valign="top">typedef T_return </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1mem__functor3.html#af620103fa36aa86fb539843f7f730e01">result_type</a></td></tr>
81 <tr class="separator:af620103fa36aa86fb539843f7f730e01"><td class="memSeparator" colspan="2"> </td></tr>
82 </table><table class="memberdecls">
83 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
84 Public Member Functions</h2></td></tr>
85 <tr class="memitem:abc94be96c346537bca09c73a342f5ccd"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1mem__functor3.html#abc94be96c346537bca09c73a342f5ccd">mem_functor3</a> ()</td></tr>
86 <tr class="memdesc:abc94be96c346537bca09c73a342f5ccd"><td class="mdescLeft"> </td><td class="mdescRight">Constructs an invalid functor. <a href="#abc94be96c346537bca09c73a342f5ccd">More...</a><br /></td></tr>
87 <tr class="separator:abc94be96c346537bca09c73a342f5ccd"><td class="memSeparator" colspan="2"> </td></tr>
88 <tr class="memitem:af22e274e905262144832ca9683d8823f"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1mem__functor3.html#af22e274e905262144832ca9683d8823f">mem_functor3</a> (<a class="el" href="classsigc_1_1mem__functor3.html#a8da99a5dcfe5ae1cecd6ce93ab91b929">function_type</a> _A_func)</td></tr>
89 <tr class="memdesc:af22e274e905262144832ca9683d8823f"><td class="mdescLeft"> </td><td class="mdescRight">Constructs a <a class="el" href="classsigc_1_1mem__functor3.html" title="mem_functor3 wraps methods with 3 argument(s). ">mem_functor3</a> object that wraps the passed method. <a href="#af22e274e905262144832ca9683d8823f">More...</a><br /></td></tr>
90 <tr class="separator:af22e274e905262144832ca9683d8823f"><td class="memSeparator" colspan="2"> </td></tr>
91 <tr class="memitem:ac439b3c43a05818e8de962e21b3b8b47"><td class="memItemLeft" align="right" valign="top">T_return </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1mem__functor3.html#ac439b3c43a05818e8de962e21b3b8b47">operator()</a> (T_obj* _A_obj, <a class="el" href="namespacesigc.html#aa0d56c61023af35c47b79db80b32fd2e">type_trait_take_t</a>< T_arg1 > _A_a1, <a class="el" href="namespacesigc.html#aa0d56c61023af35c47b79db80b32fd2e">type_trait_take_t</a>< T_arg2 > _A_a2, <a class="el" href="namespacesigc.html#aa0d56c61023af35c47b79db80b32fd2e">type_trait_take_t</a>< T_arg3 > _A_a3) const </td></tr>
92 <tr class="memdesc:ac439b3c43a05818e8de962e21b3b8b47"><td class="mdescLeft"> </td><td class="mdescRight">Execute the wrapped method operating on the passed instance. <a href="#ac439b3c43a05818e8de962e21b3b8b47">More...</a><br /></td></tr>
93 <tr class="separator:ac439b3c43a05818e8de962e21b3b8b47"><td class="memSeparator" colspan="2"> </td></tr>
94 <tr class="memitem:a87f76b681fc83417aefe34a323a922ce"><td class="memItemLeft" align="right" valign="top">T_return </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1mem__functor3.html#a87f76b681fc83417aefe34a323a922ce">operator()</a> (T_obj& _A_obj, <a class="el" href="namespacesigc.html#aa0d56c61023af35c47b79db80b32fd2e">type_trait_take_t</a>< T_arg1 > _A_a1, <a class="el" href="namespacesigc.html#aa0d56c61023af35c47b79db80b32fd2e">type_trait_take_t</a>< T_arg2 > _A_a2, <a class="el" href="namespacesigc.html#aa0d56c61023af35c47b79db80b32fd2e">type_trait_take_t</a>< T_arg3 > _A_a3) const </td></tr>
95 <tr class="memdesc:a87f76b681fc83417aefe34a323a922ce"><td class="mdescLeft"> </td><td class="mdescRight">Execute the wrapped method operating on the passed instance. <a href="#a87f76b681fc83417aefe34a323a922ce">More...</a><br /></td></tr>
96 <tr class="separator:a87f76b681fc83417aefe34a323a922ce"><td class="memSeparator" colspan="2"> </td></tr>
97 </table><table class="memberdecls">
98 <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
99 Protected Attributes</h2></td></tr>
100 <tr class="memitem:ac7ed881bf6b6ef8c7ed418ad3bfc0ccc"><td class="memItemLeft" align="right" valign="top"><a class="el" href="classsigc_1_1mem__functor3.html#a8da99a5dcfe5ae1cecd6ce93ab91b929">function_type</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="classsigc_1_1mem__functor3.html#ac7ed881bf6b6ef8c7ed418ad3bfc0ccc">func_ptr_</a></td></tr>
101 <tr class="separator:ac7ed881bf6b6ef8c7ed418ad3bfc0ccc"><td class="memSeparator" colspan="2"> </td></tr>
103 <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
104 <div class="textblock"><h3>template<class T_return, class T_obj, class T_arg1, class T_arg2, class T_arg3><br />
105 class sigc::mem_functor3< T_return, T_obj, T_arg1, T_arg2, T_arg3 ></h3>
107 <p><a class="el" href="classsigc_1_1mem__functor3.html" title="mem_functor3 wraps methods with 3 argument(s). ">mem_functor3</a> wraps methods with 3 argument(s). </p>
108 <p>Use the convenience function <a class="el" href="group__mem__fun.html#gadf6b6d22c503b439019f0a2e77352419" title="Creates a functor of type sigc::mem_functor0 which wraps a method. ">mem_fun()</a> to create an instance of <a class="el" href="classsigc_1_1mem__functor3.html" title="mem_functor3 wraps methods with 3 argument(s). ">mem_functor3</a>.</p>
109 <p>The following template arguments are used:</p><ul>
110 <li><em>T_arg1</em> Argument type used in the definition of <a class="el" href="classsigc_1_1mem__functor3.html#ac439b3c43a05818e8de962e21b3b8b47" title="Execute the wrapped method operating on the passed instance. ">operator()()</a>.</li>
111 <li><em>T_arg2</em> Argument type used in the definition of <a class="el" href="classsigc_1_1mem__functor3.html#ac439b3c43a05818e8de962e21b3b8b47" title="Execute the wrapped method operating on the passed instance. ">operator()()</a>.</li>
112 <li><em>T_arg3</em> Argument type used in the definition of <a class="el" href="classsigc_1_1mem__functor3.html#ac439b3c43a05818e8de962e21b3b8b47" title="Execute the wrapped method operating on the passed instance. ">operator()()</a>.</li>
113 <li><em>T_return</em> The return type of <a class="el" href="classsigc_1_1mem__functor3.html#ac439b3c43a05818e8de962e21b3b8b47" title="Execute the wrapped method operating on the passed instance. ">operator()()</a>.</li>
114 <li><em>T_obj</em> The object type. </li>
116 </div><h2 class="groupheader">Member Typedef Documentation</h2>
117 <a class="anchor" id="a8da99a5dcfe5ae1cecd6ce93ab91b929"></a>
118 <div class="memitem">
119 <div class="memproto">
120 <div class="memtemplate">
121 template <class T_return , class T_obj , class T_arg1 , class T_arg2 , class T_arg3 > </div>
122 <table class="memname">
124 <td class="memname">typedef T_return(T_obj::* <a class="el" href="classsigc_1_1mem__functor3.html">sigc::mem_functor3</a>< T_return, T_obj, T_arg1, T_arg2, T_arg3 >::function_type) (T_arg1, T_arg2, T_arg3)</td>
127 </div><div class="memdoc">
131 <a class="anchor" id="af620103fa36aa86fb539843f7f730e01"></a>
132 <div class="memitem">
133 <div class="memproto">
134 <div class="memtemplate">
135 template <class T_return , class T_obj , class T_arg1 , class T_arg2 , class T_arg3 > </div>
136 <table class="memname">
138 <td class="memname">typedef T_return <a class="el" href="classsigc_1_1mem__functor3.html">sigc::mem_functor3</a>< T_return, T_obj, T_arg1, T_arg2, T_arg3 >::<a class="el" href="classsigc_1_1mem__functor3.html#af620103fa36aa86fb539843f7f730e01">result_type</a></td>
141 </div><div class="memdoc">
145 <h2 class="groupheader">Constructor & Destructor Documentation</h2>
146 <a class="anchor" id="abc94be96c346537bca09c73a342f5ccd"></a>
147 <div class="memitem">
148 <div class="memproto">
149 <div class="memtemplate">
150 template <class T_return , class T_obj , class T_arg1 , class T_arg2 , class T_arg3 > </div>
151 <table class="mlabels">
153 <td class="mlabels-left">
154 <table class="memname">
156 <td class="memname"><a class="el" href="classsigc_1_1mem__functor3.html">sigc::mem_functor3</a>< T_return, T_obj, T_arg1, T_arg2, T_arg3 >::<a class="el" href="classsigc_1_1mem__functor3.html">mem_functor3</a> </td>
158 <td class="paramname"></td><td>)</td>
163 <td class="mlabels-right">
164 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
167 </div><div class="memdoc">
169 <p>Constructs an invalid functor. </p>
173 <a class="anchor" id="af22e274e905262144832ca9683d8823f"></a>
174 <div class="memitem">
175 <div class="memproto">
176 <div class="memtemplate">
177 template <class T_return , class T_obj , class T_arg1 , class T_arg2 , class T_arg3 > </div>
178 <table class="mlabels">
180 <td class="mlabels-left">
181 <table class="memname">
183 <td class="memname"><a class="el" href="classsigc_1_1mem__functor3.html">sigc::mem_functor3</a>< T_return, T_obj, T_arg1, T_arg2, T_arg3 >::<a class="el" href="classsigc_1_1mem__functor3.html">mem_functor3</a> </td>
185 <td class="paramtype"><a class="el" href="classsigc_1_1mem__functor3.html#a8da99a5dcfe5ae1cecd6ce93ab91b929">function_type</a> </td>
186 <td class="paramname"><em>_A_func</em></td><td>)</td>
191 <td class="mlabels-right">
192 <span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">explicit</span></span> </td>
195 </div><div class="memdoc">
197 <p>Constructs a <a class="el" href="classsigc_1_1mem__functor3.html" title="mem_functor3 wraps methods with 3 argument(s). ">mem_functor3</a> object that wraps the passed method. </p>
198 <dl class="params"><dt>Parameters</dt><dd>
199 <table class="params">
200 <tr><td class="paramname">_A_func</td><td>Pointer to method will be invoked from <a class="el" href="classsigc_1_1mem__functor3.html#ac439b3c43a05818e8de962e21b3b8b47" title="Execute the wrapped method operating on the passed instance. ">operator()()</a>. </td></tr>
207 <h2 class="groupheader">Member Function Documentation</h2>
208 <a class="anchor" id="ac439b3c43a05818e8de962e21b3b8b47"></a>
209 <div class="memitem">
210 <div class="memproto">
211 <div class="memtemplate">
212 template <class T_return , class T_obj , class T_arg1 , class T_arg2 , class T_arg3 > </div>
213 <table class="mlabels">
215 <td class="mlabels-left">
216 <table class="memname">
218 <td class="memname">T_return <a class="el" href="classsigc_1_1mem__functor3.html">sigc::mem_functor3</a>< T_return, T_obj, T_arg1, T_arg2, T_arg3 >::operator() </td>
220 <td class="paramtype">T_obj * </td>
221 <td class="paramname"><em>_A_obj</em>, </td>
224 <td class="paramkey"></td>
226 <td class="paramtype"><a class="el" href="namespacesigc.html#aa0d56c61023af35c47b79db80b32fd2e">type_trait_take_t</a>< T_arg1 > </td>
227 <td class="paramname"><em>_A_a1</em>, </td>
230 <td class="paramkey"></td>
232 <td class="paramtype"><a class="el" href="namespacesigc.html#aa0d56c61023af35c47b79db80b32fd2e">type_trait_take_t</a>< T_arg2 > </td>
233 <td class="paramname"><em>_A_a2</em>, </td>
236 <td class="paramkey"></td>
238 <td class="paramtype"><a class="el" href="namespacesigc.html#aa0d56c61023af35c47b79db80b32fd2e">type_trait_take_t</a>< T_arg3 > </td>
239 <td class="paramname"><em>_A_a3</em> </td>
244 <td></td><td> const</td>
248 <td class="mlabels-right">
249 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
252 </div><div class="memdoc">
254 <p>Execute the wrapped method operating on the passed instance. </p>
255 <dl class="deprecated"><dt><b><a class="el" href="deprecated.html#_deprecated000089">Deprecated:</a></b></dt><dd>Please use the constructor that takes the object by reference instead.</dd></dl>
256 <dl class="params"><dt>Parameters</dt><dd>
257 <table class="params">
258 <tr><td class="paramname">_A_obj</td><td>Pointer to instance the method should operate on. </td></tr>
259 <tr><td class="paramname">_A_a1</td><td>Argument to be passed on to the method. </td></tr>
260 <tr><td class="paramname">_A_a2</td><td>Argument to be passed on to the method. </td></tr>
261 <tr><td class="paramname">_A_a3</td><td>Argument to be passed on to the method. </td></tr>
265 <dl class="section return"><dt>Returns</dt><dd>The return value of the method invocation. </dd></dl>
269 <a class="anchor" id="a87f76b681fc83417aefe34a323a922ce"></a>
270 <div class="memitem">
271 <div class="memproto">
272 <div class="memtemplate">
273 template <class T_return , class T_obj , class T_arg1 , class T_arg2 , class T_arg3 > </div>
274 <table class="mlabels">
276 <td class="mlabels-left">
277 <table class="memname">
279 <td class="memname">T_return <a class="el" href="classsigc_1_1mem__functor3.html">sigc::mem_functor3</a>< T_return, T_obj, T_arg1, T_arg2, T_arg3 >::operator() </td>
281 <td class="paramtype">T_obj & </td>
282 <td class="paramname"><em>_A_obj</em>, </td>
285 <td class="paramkey"></td>
287 <td class="paramtype"><a class="el" href="namespacesigc.html#aa0d56c61023af35c47b79db80b32fd2e">type_trait_take_t</a>< T_arg1 > </td>
288 <td class="paramname"><em>_A_a1</em>, </td>
291 <td class="paramkey"></td>
293 <td class="paramtype"><a class="el" href="namespacesigc.html#aa0d56c61023af35c47b79db80b32fd2e">type_trait_take_t</a>< T_arg2 > </td>
294 <td class="paramname"><em>_A_a2</em>, </td>
297 <td class="paramkey"></td>
299 <td class="paramtype"><a class="el" href="namespacesigc.html#aa0d56c61023af35c47b79db80b32fd2e">type_trait_take_t</a>< T_arg3 > </td>
300 <td class="paramname"><em>_A_a3</em> </td>
305 <td></td><td> const</td>
309 <td class="mlabels-right">
310 <span class="mlabels"><span class="mlabel">inline</span></span> </td>
313 </div><div class="memdoc">
315 <p>Execute the wrapped method operating on the passed instance. </p>
316 <dl class="params"><dt>Parameters</dt><dd>
317 <table class="params">
318 <tr><td class="paramname">_A_obj</td><td>Reference to instance the method should operate on. </td></tr>
319 <tr><td class="paramname">_A_a1</td><td>Argument to be passed on to the method. </td></tr>
320 <tr><td class="paramname">_A_a2</td><td>Argument to be passed on to the method. </td></tr>
321 <tr><td class="paramname">_A_a3</td><td>Argument to be passed on to the method. </td></tr>
325 <dl class="section return"><dt>Returns</dt><dd>The return value of the method invocation. </dd></dl>
329 <h2 class="groupheader">Member Data Documentation</h2>
330 <a class="anchor" id="ac7ed881bf6b6ef8c7ed418ad3bfc0ccc"></a>
331 <div class="memitem">
332 <div class="memproto">
333 <div class="memtemplate">
334 template <class T_return , class T_obj , class T_arg1 , class T_arg2 , class T_arg3 > </div>
335 <table class="mlabels">
337 <td class="mlabels-left">
338 <table class="memname">
340 <td class="memname"><a class="el" href="classsigc_1_1mem__functor3.html#a8da99a5dcfe5ae1cecd6ce93ab91b929">function_type</a> <a class="el" href="classsigc_1_1mem__functor3.html">sigc::mem_functor3</a>< T_return, T_obj, T_arg1, T_arg2, T_arg3 >::func_ptr_</td>
344 <td class="mlabels-right">
345 <span class="mlabels"><span class="mlabel">protected</span></span> </td>
348 </div><div class="memdoc">
352 </div><!-- contents -->
353 <!-- start footer part -->
354 <hr class="footer"/><address class="footer"><small>
355 Generated on Wed Mar 16 2016 13:54:33 for libsigc++ by  <a href="http://www.doxygen.org/index.html">
356 <img class="footer" src="doxygen.png" alt="doxygen"/>