1 // -*- c++ -*-
2 /* Do not edit! -- generated file */
3 
4 
5 #ifndef _SIGC_MACROS_METHOD_SLOTHM4_
6 #define _SIGC_MACROS_METHOD_SLOTHM4_
7 
8 #include <sigc++/slot.h>
9 #include <sigc++/functors/mem_fun.h>
10 
11 #ifndef LIBSIGC_DISABLE_DEPRECATED
12 
13 namespace SigC {
14 
15 /** Creates a functor of type Sigc::Slot1 that wraps a  method.
16  *
17  * @param _A_func Pointer to method that should be wrapped.
18  * @return Functor that executes _A_func on invokation.
19  *
20  * @deprecated Use sigc::mem_fun() instead.
21  * @ingroup compat
22  */
23 template <class T_return, class T_obj>
24 inline Slot1<T_return, T_obj&>
slot(T_return (T_obj::* _A_func)())25 slot(T_return (T_obj::*_A_func)() )
26 { return ::sigc::mem_functor0<T_return, T_obj>(_A_func); }
27 
28 /** Creates a functor of type Sigc::Slot2 that wraps a  method.
29  *
30  * @param _A_func Pointer to method that should be wrapped.
31  * @return Functor that executes _A_func on invokation.
32  *
33  * @deprecated Use sigc::mem_fun() instead.
34  * @ingroup compat
35  */
36 template <class T_return, class T_arg1, class T_obj>
37 inline Slot2<T_return, T_obj&, T_arg1>
slot(T_return (T_obj::* _A_func)(T_arg1))38 slot(T_return (T_obj::*_A_func)(T_arg1) )
39 { return ::sigc::mem_functor1<T_return, T_obj, T_arg1>(_A_func); }
40 
41 /** Creates a functor of type Sigc::Slot3 that wraps a  method.
42  *
43  * @param _A_func Pointer to method that should be wrapped.
44  * @return Functor that executes _A_func on invokation.
45  *
46  * @deprecated Use sigc::mem_fun() instead.
47  * @ingroup compat
48  */
49 template <class T_return, class T_arg1,class T_arg2, class T_obj>
50 inline Slot3<T_return, T_obj&, T_arg1,T_arg2>
slot(T_return (T_obj::* _A_func)(T_arg1,T_arg2))51 slot(T_return (T_obj::*_A_func)(T_arg1,T_arg2) )
52 { return ::sigc::mem_functor2<T_return, T_obj, T_arg1,T_arg2>(_A_func); }
53 
54 /** Creates a functor of type Sigc::Slot4 that wraps a  method.
55  *
56  * @param _A_func Pointer to method that should be wrapped.
57  * @return Functor that executes _A_func on invokation.
58  *
59  * @deprecated Use sigc::mem_fun() instead.
60  * @ingroup compat
61  */
62 template <class T_return, class T_arg1,class T_arg2,class T_arg3, class T_obj>
63 inline Slot4<T_return, T_obj&, T_arg1,T_arg2,T_arg3>
slot(T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3))64 slot(T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3) )
65 { return ::sigc::mem_functor3<T_return, T_obj, T_arg1,T_arg2,T_arg3>(_A_func); }
66 
67 /** Creates a functor of type Sigc::Slot5 that wraps a  method.
68  *
69  * @param _A_func Pointer to method that should be wrapped.
70  * @return Functor that executes _A_func on invokation.
71  *
72  * @deprecated Use sigc::mem_fun() instead.
73  * @ingroup compat
74  */
75 template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4, class T_obj>
76 inline Slot5<T_return, T_obj&, T_arg1,T_arg2,T_arg3,T_arg4>
slot(T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4))77 slot(T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4) )
78 { return ::sigc::mem_functor4<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4>(_A_func); }
79 
80 /** Creates a functor of type Sigc::Slot6 that wraps a  method.
81  *
82  * @param _A_func Pointer to method that should be wrapped.
83  * @return Functor that executes _A_func on invokation.
84  *
85  * @deprecated Use sigc::mem_fun() instead.
86  * @ingroup compat
87  */
88 template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4,class T_arg5, class T_obj>
89 inline Slot6<T_return, T_obj&, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5>
slot(T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5))90 slot(T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5) )
91 { return ::sigc::mem_functor5<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5>(_A_func); }
92 
93 /** Creates a functor of type Sigc::Slot7 that wraps a  method.
94  *
95  * @param _A_func Pointer to method that should be wrapped.
96  * @return Functor that executes _A_func on invokation.
97  *
98  * @deprecated Use sigc::mem_fun() instead.
99  * @ingroup compat
100  */
101 template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4,class T_arg5,class T_arg6, class T_obj>
102 inline Slot7<T_return, T_obj&, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6>
slot(T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6))103 slot(T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6) )
104 { return ::sigc::mem_functor6<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6>(_A_func); }
105 
106 
107 /** Creates a functor of type Sigc::Slot1 that wraps a const method.
108  *
109  * @param _A_func Pointer to method that should be wrapped.
110  * @return Functor that executes _A_func on invokation.
111  *
112  * @deprecated Use sigc::mem_fun() instead.
113  * @ingroup compat
114  */
115 template <class T_return, class T_obj>
116 inline Slot1<T_return, T_obj&>
slot(T_return (T_obj::* _A_func)()const)117 slot(T_return (T_obj::*_A_func)() const)
118 { return ::sigc::const_mem_functor0<T_return, T_obj>(_A_func); }
119 
120 /** Creates a functor of type Sigc::Slot2 that wraps a const method.
121  *
122  * @param _A_func Pointer to method that should be wrapped.
123  * @return Functor that executes _A_func on invokation.
124  *
125  * @deprecated Use sigc::mem_fun() instead.
126  * @ingroup compat
127  */
128 template <class T_return, class T_arg1, class T_obj>
129 inline Slot2<T_return, T_obj&, T_arg1>
slot(T_return (T_obj::* _A_func)(T_arg1)const)130 slot(T_return (T_obj::*_A_func)(T_arg1) const)
131 { return ::sigc::const_mem_functor1<T_return, T_obj, T_arg1>(_A_func); }
132 
133 /** Creates a functor of type Sigc::Slot3 that wraps a const method.
134  *
135  * @param _A_func Pointer to method that should be wrapped.
136  * @return Functor that executes _A_func on invokation.
137  *
138  * @deprecated Use sigc::mem_fun() instead.
139  * @ingroup compat
140  */
141 template <class T_return, class T_arg1,class T_arg2, class T_obj>
142 inline Slot3<T_return, T_obj&, T_arg1,T_arg2>
slot(T_return (T_obj::* _A_func)(T_arg1,T_arg2)const)143 slot(T_return (T_obj::*_A_func)(T_arg1,T_arg2) const)
144 { return ::sigc::const_mem_functor2<T_return, T_obj, T_arg1,T_arg2>(_A_func); }
145 
146 /** Creates a functor of type Sigc::Slot4 that wraps a const method.
147  *
148  * @param _A_func Pointer to method that should be wrapped.
149  * @return Functor that executes _A_func on invokation.
150  *
151  * @deprecated Use sigc::mem_fun() instead.
152  * @ingroup compat
153  */
154 template <class T_return, class T_arg1,class T_arg2,class T_arg3, class T_obj>
155 inline Slot4<T_return, T_obj&, T_arg1,T_arg2,T_arg3>
slot(T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3)const)156 slot(T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3) const)
157 { return ::sigc::const_mem_functor3<T_return, T_obj, T_arg1,T_arg2,T_arg3>(_A_func); }
158 
159 /** Creates a functor of type Sigc::Slot5 that wraps a const method.
160  *
161  * @param _A_func Pointer to method that should be wrapped.
162  * @return Functor that executes _A_func on invokation.
163  *
164  * @deprecated Use sigc::mem_fun() instead.
165  * @ingroup compat
166  */
167 template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4, class T_obj>
168 inline Slot5<T_return, T_obj&, T_arg1,T_arg2,T_arg3,T_arg4>
slot(T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4)const)169 slot(T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4) const)
170 { return ::sigc::const_mem_functor4<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4>(_A_func); }
171 
172 /** Creates a functor of type Sigc::Slot6 that wraps a const method.
173  *
174  * @param _A_func Pointer to method that should be wrapped.
175  * @return Functor that executes _A_func on invokation.
176  *
177  * @deprecated Use sigc::mem_fun() instead.
178  * @ingroup compat
179  */
180 template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4,class T_arg5, class T_obj>
181 inline Slot6<T_return, T_obj&, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5>
slot(T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5)const)182 slot(T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5) const)
183 { return ::sigc::const_mem_functor5<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5>(_A_func); }
184 
185 /** Creates a functor of type Sigc::Slot7 that wraps a const method.
186  *
187  * @param _A_func Pointer to method that should be wrapped.
188  * @return Functor that executes _A_func on invokation.
189  *
190  * @deprecated Use sigc::mem_fun() instead.
191  * @ingroup compat
192  */
193 template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4,class T_arg5,class T_arg6, class T_obj>
194 inline Slot7<T_return, T_obj&, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6>
slot(T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6)const)195 slot(T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6) const)
196 { return ::sigc::const_mem_functor6<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6>(_A_func); }
197 
198 
199 /** Creates a functor of type Sigc::Slot1 that wraps a volatile method.
200  *
201  * @param _A_func Pointer to method that should be wrapped.
202  * @return Functor that executes _A_func on invokation.
203  *
204  * @deprecated Use sigc::mem_fun() instead.
205  * @ingroup compat
206  */
207 template <class T_return, class T_obj>
208 inline Slot1<T_return, T_obj&>
slot(T_return (T_obj::* _A_func)()volatile)209 slot(T_return (T_obj::*_A_func)() volatile)
210 { return ::sigc::volatile_mem_functor0<T_return, T_obj>(_A_func); }
211 
212 /** Creates a functor of type Sigc::Slot2 that wraps a volatile method.
213  *
214  * @param _A_func Pointer to method that should be wrapped.
215  * @return Functor that executes _A_func on invokation.
216  *
217  * @deprecated Use sigc::mem_fun() instead.
218  * @ingroup compat
219  */
220 template <class T_return, class T_arg1, class T_obj>
221 inline Slot2<T_return, T_obj&, T_arg1>
slot(T_return (T_obj::* _A_func)(T_arg1)volatile)222 slot(T_return (T_obj::*_A_func)(T_arg1) volatile)
223 { return ::sigc::volatile_mem_functor1<T_return, T_obj, T_arg1>(_A_func); }
224 
225 /** Creates a functor of type Sigc::Slot3 that wraps a volatile method.
226  *
227  * @param _A_func Pointer to method that should be wrapped.
228  * @return Functor that executes _A_func on invokation.
229  *
230  * @deprecated Use sigc::mem_fun() instead.
231  * @ingroup compat
232  */
233 template <class T_return, class T_arg1,class T_arg2, class T_obj>
234 inline Slot3<T_return, T_obj&, T_arg1,T_arg2>
slot(T_return (T_obj::* _A_func)(T_arg1,T_arg2)volatile)235 slot(T_return (T_obj::*_A_func)(T_arg1,T_arg2) volatile)
236 { return ::sigc::volatile_mem_functor2<T_return, T_obj, T_arg1,T_arg2>(_A_func); }
237 
238 /** Creates a functor of type Sigc::Slot4 that wraps a volatile method.
239  *
240  * @param _A_func Pointer to method that should be wrapped.
241  * @return Functor that executes _A_func on invokation.
242  *
243  * @deprecated Use sigc::mem_fun() instead.
244  * @ingroup compat
245  */
246 template <class T_return, class T_arg1,class T_arg2,class T_arg3, class T_obj>
247 inline Slot4<T_return, T_obj&, T_arg1,T_arg2,T_arg3>
slot(T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3)volatile)248 slot(T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3) volatile)
249 { return ::sigc::volatile_mem_functor3<T_return, T_obj, T_arg1,T_arg2,T_arg3>(_A_func); }
250 
251 /** Creates a functor of type Sigc::Slot5 that wraps a volatile method.
252  *
253  * @param _A_func Pointer to method that should be wrapped.
254  * @return Functor that executes _A_func on invokation.
255  *
256  * @deprecated Use sigc::mem_fun() instead.
257  * @ingroup compat
258  */
259 template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4, class T_obj>
260 inline Slot5<T_return, T_obj&, T_arg1,T_arg2,T_arg3,T_arg4>
slot(T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4)volatile)261 slot(T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4) volatile)
262 { return ::sigc::volatile_mem_functor4<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4>(_A_func); }
263 
264 /** Creates a functor of type Sigc::Slot6 that wraps a volatile method.
265  *
266  * @param _A_func Pointer to method that should be wrapped.
267  * @return Functor that executes _A_func on invokation.
268  *
269  * @deprecated Use sigc::mem_fun() instead.
270  * @ingroup compat
271  */
272 template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4,class T_arg5, class T_obj>
273 inline Slot6<T_return, T_obj&, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5>
slot(T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5)volatile)274 slot(T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5) volatile)
275 { return ::sigc::volatile_mem_functor5<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5>(_A_func); }
276 
277 /** Creates a functor of type Sigc::Slot7 that wraps a volatile method.
278  *
279  * @param _A_func Pointer to method that should be wrapped.
280  * @return Functor that executes _A_func on invokation.
281  *
282  * @deprecated Use sigc::mem_fun() instead.
283  * @ingroup compat
284  */
285 template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4,class T_arg5,class T_arg6, class T_obj>
286 inline Slot7<T_return, T_obj&, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6>
slot(T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6)volatile)287 slot(T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6) volatile)
288 { return ::sigc::volatile_mem_functor6<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6>(_A_func); }
289 
290 
291 /** Creates a functor of type Sigc::Slot1 that wraps a const volatile method.
292  *
293  * @param _A_func Pointer to method that should be wrapped.
294  * @return Functor that executes _A_func on invokation.
295  *
296  * @deprecated Use sigc::mem_fun() instead.
297  * @ingroup compat
298  */
299 template <class T_return, class T_obj>
300 inline Slot1<T_return, T_obj&>
slot(T_return (T_obj::* _A_func)()const volatile)301 slot(T_return (T_obj::*_A_func)() const volatile)
302 { return ::sigc::const_volatile_mem_functor0<T_return, T_obj>(_A_func); }
303 
304 /** Creates a functor of type Sigc::Slot2 that wraps a const volatile method.
305  *
306  * @param _A_func Pointer to method that should be wrapped.
307  * @return Functor that executes _A_func on invokation.
308  *
309  * @deprecated Use sigc::mem_fun() instead.
310  * @ingroup compat
311  */
312 template <class T_return, class T_arg1, class T_obj>
313 inline Slot2<T_return, T_obj&, T_arg1>
slot(T_return (T_obj::* _A_func)(T_arg1)const volatile)314 slot(T_return (T_obj::*_A_func)(T_arg1) const volatile)
315 { return ::sigc::const_volatile_mem_functor1<T_return, T_obj, T_arg1>(_A_func); }
316 
317 /** Creates a functor of type Sigc::Slot3 that wraps a const volatile method.
318  *
319  * @param _A_func Pointer to method that should be wrapped.
320  * @return Functor that executes _A_func on invokation.
321  *
322  * @deprecated Use sigc::mem_fun() instead.
323  * @ingroup compat
324  */
325 template <class T_return, class T_arg1,class T_arg2, class T_obj>
326 inline Slot3<T_return, T_obj&, T_arg1,T_arg2>
slot(T_return (T_obj::* _A_func)(T_arg1,T_arg2)const volatile)327 slot(T_return (T_obj::*_A_func)(T_arg1,T_arg2) const volatile)
328 { return ::sigc::const_volatile_mem_functor2<T_return, T_obj, T_arg1,T_arg2>(_A_func); }
329 
330 /** Creates a functor of type Sigc::Slot4 that wraps a const volatile method.
331  *
332  * @param _A_func Pointer to method that should be wrapped.
333  * @return Functor that executes _A_func on invokation.
334  *
335  * @deprecated Use sigc::mem_fun() instead.
336  * @ingroup compat
337  */
338 template <class T_return, class T_arg1,class T_arg2,class T_arg3, class T_obj>
339 inline Slot4<T_return, T_obj&, T_arg1,T_arg2,T_arg3>
slot(T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3)const volatile)340 slot(T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3) const volatile)
341 { return ::sigc::const_volatile_mem_functor3<T_return, T_obj, T_arg1,T_arg2,T_arg3>(_A_func); }
342 
343 /** Creates a functor of type Sigc::Slot5 that wraps a const volatile method.
344  *
345  * @param _A_func Pointer to method that should be wrapped.
346  * @return Functor that executes _A_func on invokation.
347  *
348  * @deprecated Use sigc::mem_fun() instead.
349  * @ingroup compat
350  */
351 template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4, class T_obj>
352 inline Slot5<T_return, T_obj&, T_arg1,T_arg2,T_arg3,T_arg4>
slot(T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4)const volatile)353 slot(T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4) const volatile)
354 { return ::sigc::const_volatile_mem_functor4<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4>(_A_func); }
355 
356 /** Creates a functor of type Sigc::Slot6 that wraps a const volatile method.
357  *
358  * @param _A_func Pointer to method that should be wrapped.
359  * @return Functor that executes _A_func on invokation.
360  *
361  * @deprecated Use sigc::mem_fun() instead.
362  * @ingroup compat
363  */
364 template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4,class T_arg5, class T_obj>
365 inline Slot6<T_return, T_obj&, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5>
slot(T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5)const volatile)366 slot(T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5) const volatile)
367 { return ::sigc::const_volatile_mem_functor5<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5>(_A_func); }
368 
369 /** Creates a functor of type Sigc::Slot7 that wraps a const volatile method.
370  *
371  * @param _A_func Pointer to method that should be wrapped.
372  * @return Functor that executes _A_func on invokation.
373  *
374  * @deprecated Use sigc::mem_fun() instead.
375  * @ingroup compat
376  */
377 template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4,class T_arg5,class T_arg6, class T_obj>
378 inline Slot7<T_return, T_obj&, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6>
slot(T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6)const volatile)379 slot(T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6) const volatile)
380 { return ::sigc::const_volatile_mem_functor6<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6>(_A_func); }
381 
382 
383 
384 }
385 
386 #endif
387 #endif /* _SIGC_MACROS_METHOD_SLOTHM4_ */
388