1 // -*- c++ -*-
2 /* Do not edit! -- generated file */
3
4
5 #ifndef _SIGC_MACROS_CLASS_SLOTHM4_
6 #define _SIGC_MACROS_CLASS_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 // slot_class()
16 /** Creates a functor of type SigC::Slot0 that encapsulates a method and an object instance.
17 *
18 * This function is part of the compatibility module and therefore deprecated.
19 * Use sigc::mem_fun() instead.
20 *
21 * @param _A_obj Reference to object instance the functor should operate on.
22 * @param _A_func Pointer to method that should be wrapped.
23 * @return Functor that executes _A_func on invokation.
24 *
25 * @deprecated Use sigc::mem_fun() instead.
26 * @ingroup compat
27 */
28 template <class T_return, class T_obj>
29 inline Slot0<T_return>
slot_class(T_obj & _A_obj,T_return (T_obj::* _A_func)())30 slot_class( T_obj& _A_obj, T_return (T_obj::*_A_func)() )
31 { return ::sigc::bound_mem_functor0<T_return, T_obj>(_A_obj, _A_func); }
32
33 /** Creates a functor of type SigC::Slot1 that encapsulates a method and an object instance.
34 *
35 * This function is part of the compatibility module and therefore deprecated.
36 * Use sigc::mem_fun() instead.
37 *
38 * @param _A_obj Reference to object instance the functor should operate on.
39 * @param _A_func Pointer to method that should be wrapped.
40 * @return Functor that executes _A_func on invokation.
41 *
42 * @deprecated Use sigc::mem_fun() instead.
43 * @ingroup compat
44 */
45 template <class T_return, class T_arg1, class T_obj>
46 inline Slot1<T_return, T_arg1>
slot_class(T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1))47 slot_class( T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1) )
48 { return ::sigc::bound_mem_functor1<T_return, T_obj, T_arg1>(_A_obj, _A_func); }
49
50 /** Creates a functor of type SigC::Slot2 that encapsulates a method and an object instance.
51 *
52 * This function is part of the compatibility module and therefore deprecated.
53 * Use sigc::mem_fun() instead.
54 *
55 * @param _A_obj Reference to object instance the functor should operate on.
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_obj>
63 inline Slot2<T_return, T_arg1,T_arg2>
slot_class(T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1,T_arg2))64 slot_class( T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1,T_arg2) )
65 { return ::sigc::bound_mem_functor2<T_return, T_obj, T_arg1,T_arg2>(_A_obj, _A_func); }
66
67 /** Creates a functor of type SigC::Slot3 that encapsulates a method and an object instance.
68 *
69 * This function is part of the compatibility module and therefore deprecated.
70 * Use sigc::mem_fun() instead.
71 *
72 * @param _A_obj Reference to object instance the functor should operate on.
73 * @param _A_func Pointer to method that should be wrapped.
74 * @return Functor that executes _A_func on invokation.
75 *
76 * @deprecated Use sigc::mem_fun() instead.
77 * @ingroup compat
78 */
79 template <class T_return, class T_arg1,class T_arg2,class T_arg3, class T_obj>
80 inline Slot3<T_return, T_arg1,T_arg2,T_arg3>
slot_class(T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3))81 slot_class( T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3) )
82 { return ::sigc::bound_mem_functor3<T_return, T_obj, T_arg1,T_arg2,T_arg3>(_A_obj, _A_func); }
83
84 /** Creates a functor of type SigC::Slot4 that encapsulates a method and an object instance.
85 *
86 * This function is part of the compatibility module and therefore deprecated.
87 * Use sigc::mem_fun() instead.
88 *
89 * @param _A_obj Reference to object instance the functor should operate on.
90 * @param _A_func Pointer to method that should be wrapped.
91 * @return Functor that executes _A_func on invokation.
92 *
93 * @deprecated Use sigc::mem_fun() instead.
94 * @ingroup compat
95 */
96 template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4, class T_obj>
97 inline Slot4<T_return, T_arg1,T_arg2,T_arg3,T_arg4>
slot_class(T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4))98 slot_class( T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4) )
99 { return ::sigc::bound_mem_functor4<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4>(_A_obj, _A_func); }
100
101 /** Creates a functor of type SigC::Slot5 that encapsulates a method and an object instance.
102 *
103 * This function is part of the compatibility module and therefore deprecated.
104 * Use sigc::mem_fun() instead.
105 *
106 * @param _A_obj Reference to object instance the functor should operate on.
107 * @param _A_func Pointer to method that should be wrapped.
108 * @return Functor that executes _A_func on invokation.
109 *
110 * @deprecated Use sigc::mem_fun() instead.
111 * @ingroup compat
112 */
113 template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4,class T_arg5, class T_obj>
114 inline Slot5<T_return, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5>
slot_class(T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5))115 slot_class( T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5) )
116 { return ::sigc::bound_mem_functor5<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5>(_A_obj, _A_func); }
117
118 /** Creates a functor of type SigC::Slot6 that encapsulates a method and an object instance.
119 *
120 * This function is part of the compatibility module and therefore deprecated.
121 * Use sigc::mem_fun() instead.
122 *
123 * @param _A_obj Reference to object instance the functor should operate on.
124 * @param _A_func Pointer to method that should be wrapped.
125 * @return Functor that executes _A_func on invokation.
126 *
127 * @deprecated Use sigc::mem_fun() instead.
128 * @ingroup compat
129 */
130 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>
131 inline Slot6<T_return, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6>
slot_class(T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6))132 slot_class( T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6) )
133 { return ::sigc::bound_mem_functor6<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6>(_A_obj, _A_func); }
134
135 /** Creates a functor of type SigC::Slot7 that encapsulates a method and an object instance.
136 *
137 * This function is part of the compatibility module and therefore deprecated.
138 * Use sigc::mem_fun() instead.
139 *
140 * @param _A_obj Reference to object instance the functor should operate on.
141 * @param _A_func Pointer to method that should be wrapped.
142 * @return Functor that executes _A_func on invokation.
143 *
144 * @deprecated Use sigc::mem_fun() instead.
145 * @ingroup compat
146 */
147 template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4,class T_arg5,class T_arg6,class T_arg7, class T_obj>
148 inline Slot7<T_return, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7>
slot_class(T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7))149 slot_class( T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7) )
150 { return ::sigc::bound_mem_functor7<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7>(_A_obj, _A_func); }
151
152
153 /** Creates a functor of type SigC::Slot0 that encapsulates a const method and an object instance.
154 *
155 * This function is part of the compatibility module and therefore deprecated.
156 * Use sigc::mem_fun() instead.
157 *
158 * @param _A_obj Reference to object instance the functor should operate on.
159 * @param _A_func Pointer to method that should be wrapped.
160 * @return Functor that executes _A_func on invokation.
161 *
162 * @deprecated Use sigc::mem_fun() instead.
163 * @ingroup compat
164 */
165 template <class T_return, class T_obj>
166 inline Slot0<T_return>
slot_class(const T_obj & _A_obj,T_return (T_obj::* _A_func)()const)167 slot_class(const T_obj& _A_obj, T_return (T_obj::*_A_func)() const)
168 { return ::sigc::bound_const_mem_functor0<T_return, T_obj>(_A_obj, _A_func); }
169
170 /** Creates a functor of type SigC::Slot1 that encapsulates a const method and an object instance.
171 *
172 * This function is part of the compatibility module and therefore deprecated.
173 * Use sigc::mem_fun() instead.
174 *
175 * @param _A_obj Reference to object instance the functor should operate on.
176 * @param _A_func Pointer to method that should be wrapped.
177 * @return Functor that executes _A_func on invokation.
178 *
179 * @deprecated Use sigc::mem_fun() instead.
180 * @ingroup compat
181 */
182 template <class T_return, class T_arg1, class T_obj>
183 inline Slot1<T_return, T_arg1>
slot_class(const T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1)const)184 slot_class(const T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1) const)
185 { return ::sigc::bound_const_mem_functor1<T_return, T_obj, T_arg1>(_A_obj, _A_func); }
186
187 /** Creates a functor of type SigC::Slot2 that encapsulates a const method and an object instance.
188 *
189 * This function is part of the compatibility module and therefore deprecated.
190 * Use sigc::mem_fun() instead.
191 *
192 * @param _A_obj Reference to object instance the functor should operate on.
193 * @param _A_func Pointer to method that should be wrapped.
194 * @return Functor that executes _A_func on invokation.
195 *
196 * @deprecated Use sigc::mem_fun() instead.
197 * @ingroup compat
198 */
199 template <class T_return, class T_arg1,class T_arg2, class T_obj>
200 inline Slot2<T_return, T_arg1,T_arg2>
slot_class(const T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1,T_arg2)const)201 slot_class(const T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1,T_arg2) const)
202 { return ::sigc::bound_const_mem_functor2<T_return, T_obj, T_arg1,T_arg2>(_A_obj, _A_func); }
203
204 /** Creates a functor of type SigC::Slot3 that encapsulates a const method and an object instance.
205 *
206 * This function is part of the compatibility module and therefore deprecated.
207 * Use sigc::mem_fun() instead.
208 *
209 * @param _A_obj Reference to object instance the functor should operate on.
210 * @param _A_func Pointer to method that should be wrapped.
211 * @return Functor that executes _A_func on invokation.
212 *
213 * @deprecated Use sigc::mem_fun() instead.
214 * @ingroup compat
215 */
216 template <class T_return, class T_arg1,class T_arg2,class T_arg3, class T_obj>
217 inline Slot3<T_return, T_arg1,T_arg2,T_arg3>
slot_class(const T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3)const)218 slot_class(const T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3) const)
219 { return ::sigc::bound_const_mem_functor3<T_return, T_obj, T_arg1,T_arg2,T_arg3>(_A_obj, _A_func); }
220
221 /** Creates a functor of type SigC::Slot4 that encapsulates a const method and an object instance.
222 *
223 * This function is part of the compatibility module and therefore deprecated.
224 * Use sigc::mem_fun() instead.
225 *
226 * @param _A_obj Reference to object instance the functor should operate on.
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_arg3,class T_arg4, class T_obj>
234 inline Slot4<T_return, T_arg1,T_arg2,T_arg3,T_arg4>
slot_class(const T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4)const)235 slot_class(const T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4) const)
236 { return ::sigc::bound_const_mem_functor4<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4>(_A_obj, _A_func); }
237
238 /** Creates a functor of type SigC::Slot5 that encapsulates a const method and an object instance.
239 *
240 * This function is part of the compatibility module and therefore deprecated.
241 * Use sigc::mem_fun() instead.
242 *
243 * @param _A_obj Reference to object instance the functor should operate on.
244 * @param _A_func Pointer to method that should be wrapped.
245 * @return Functor that executes _A_func on invokation.
246 *
247 * @deprecated Use sigc::mem_fun() instead.
248 * @ingroup compat
249 */
250 template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4,class T_arg5, class T_obj>
251 inline Slot5<T_return, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5>
slot_class(const T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5)const)252 slot_class(const T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5) const)
253 { return ::sigc::bound_const_mem_functor5<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5>(_A_obj, _A_func); }
254
255 /** Creates a functor of type SigC::Slot6 that encapsulates a const method and an object instance.
256 *
257 * This function is part of the compatibility module and therefore deprecated.
258 * Use sigc::mem_fun() instead.
259 *
260 * @param _A_obj Reference to object instance the functor should operate on.
261 * @param _A_func Pointer to method that should be wrapped.
262 * @return Functor that executes _A_func on invokation.
263 *
264 * @deprecated Use sigc::mem_fun() instead.
265 * @ingroup compat
266 */
267 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>
268 inline Slot6<T_return, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6>
slot_class(const T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6)const)269 slot_class(const T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6) const)
270 { return ::sigc::bound_const_mem_functor6<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6>(_A_obj, _A_func); }
271
272 /** Creates a functor of type SigC::Slot7 that encapsulates a const method and an object instance.
273 *
274 * This function is part of the compatibility module and therefore deprecated.
275 * Use sigc::mem_fun() instead.
276 *
277 * @param _A_obj Reference to object instance the functor should operate on.
278 * @param _A_func Pointer to method that should be wrapped.
279 * @return Functor that executes _A_func on invokation.
280 *
281 * @deprecated Use sigc::mem_fun() instead.
282 * @ingroup compat
283 */
284 template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4,class T_arg5,class T_arg6,class T_arg7, class T_obj>
285 inline Slot7<T_return, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7>
slot_class(const T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7)const)286 slot_class(const T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7) const)
287 { return ::sigc::bound_const_mem_functor7<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7>(_A_obj, _A_func); }
288
289
290 /** Creates a functor of type SigC::Slot0 that encapsulates a volatile method and an object instance.
291 *
292 * This function is part of the compatibility module and therefore deprecated.
293 * Use sigc::mem_fun() instead.
294 *
295 * @param _A_obj Reference to object instance the functor should operate on.
296 * @param _A_func Pointer to method that should be wrapped.
297 * @return Functor that executes _A_func on invokation.
298 *
299 * @deprecated Use sigc::mem_fun() instead.
300 * @ingroup compat
301 */
302 template <class T_return, class T_obj>
303 inline Slot0<T_return>
slot_class(T_obj & _A_obj,T_return (T_obj::* _A_func)()volatile)304 slot_class( T_obj& _A_obj, T_return (T_obj::*_A_func)() volatile)
305 { return ::sigc::bound_volatile_mem_functor0<T_return, T_obj>(_A_obj, _A_func); }
306
307 /** Creates a functor of type SigC::Slot1 that encapsulates a volatile method and an object instance.
308 *
309 * This function is part of the compatibility module and therefore deprecated.
310 * Use sigc::mem_fun() instead.
311 *
312 * @param _A_obj Reference to object instance the functor should operate on.
313 * @param _A_func Pointer to method that should be wrapped.
314 * @return Functor that executes _A_func on invokation.
315 *
316 * @deprecated Use sigc::mem_fun() instead.
317 * @ingroup compat
318 */
319 template <class T_return, class T_arg1, class T_obj>
320 inline Slot1<T_return, T_arg1>
slot_class(T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1)volatile)321 slot_class( T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1) volatile)
322 { return ::sigc::bound_volatile_mem_functor1<T_return, T_obj, T_arg1>(_A_obj, _A_func); }
323
324 /** Creates a functor of type SigC::Slot2 that encapsulates a volatile method and an object instance.
325 *
326 * This function is part of the compatibility module and therefore deprecated.
327 * Use sigc::mem_fun() instead.
328 *
329 * @param _A_obj Reference to object instance the functor should operate on.
330 * @param _A_func Pointer to method that should be wrapped.
331 * @return Functor that executes _A_func on invokation.
332 *
333 * @deprecated Use sigc::mem_fun() instead.
334 * @ingroup compat
335 */
336 template <class T_return, class T_arg1,class T_arg2, class T_obj>
337 inline Slot2<T_return, T_arg1,T_arg2>
slot_class(T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1,T_arg2)volatile)338 slot_class( T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1,T_arg2) volatile)
339 { return ::sigc::bound_volatile_mem_functor2<T_return, T_obj, T_arg1,T_arg2>(_A_obj, _A_func); }
340
341 /** Creates a functor of type SigC::Slot3 that encapsulates a volatile method and an object instance.
342 *
343 * This function is part of the compatibility module and therefore deprecated.
344 * Use sigc::mem_fun() instead.
345 *
346 * @param _A_obj Reference to object instance the functor should operate on.
347 * @param _A_func Pointer to method that should be wrapped.
348 * @return Functor that executes _A_func on invokation.
349 *
350 * @deprecated Use sigc::mem_fun() instead.
351 * @ingroup compat
352 */
353 template <class T_return, class T_arg1,class T_arg2,class T_arg3, class T_obj>
354 inline Slot3<T_return, T_arg1,T_arg2,T_arg3>
slot_class(T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3)volatile)355 slot_class( T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3) volatile)
356 { return ::sigc::bound_volatile_mem_functor3<T_return, T_obj, T_arg1,T_arg2,T_arg3>(_A_obj, _A_func); }
357
358 /** Creates a functor of type SigC::Slot4 that encapsulates a volatile method and an object instance.
359 *
360 * This function is part of the compatibility module and therefore deprecated.
361 * Use sigc::mem_fun() instead.
362 *
363 * @param _A_obj Reference to object instance the functor should operate on.
364 * @param _A_func Pointer to method that should be wrapped.
365 * @return Functor that executes _A_func on invokation.
366 *
367 * @deprecated Use sigc::mem_fun() instead.
368 * @ingroup compat
369 */
370 template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4, class T_obj>
371 inline Slot4<T_return, T_arg1,T_arg2,T_arg3,T_arg4>
slot_class(T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4)volatile)372 slot_class( T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4) volatile)
373 { return ::sigc::bound_volatile_mem_functor4<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4>(_A_obj, _A_func); }
374
375 /** Creates a functor of type SigC::Slot5 that encapsulates a volatile method and an object instance.
376 *
377 * This function is part of the compatibility module and therefore deprecated.
378 * Use sigc::mem_fun() instead.
379 *
380 * @param _A_obj Reference to object instance the functor should operate on.
381 * @param _A_func Pointer to method that should be wrapped.
382 * @return Functor that executes _A_func on invokation.
383 *
384 * @deprecated Use sigc::mem_fun() instead.
385 * @ingroup compat
386 */
387 template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4,class T_arg5, class T_obj>
388 inline Slot5<T_return, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5>
slot_class(T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5)volatile)389 slot_class( T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5) volatile)
390 { return ::sigc::bound_volatile_mem_functor5<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5>(_A_obj, _A_func); }
391
392 /** Creates a functor of type SigC::Slot6 that encapsulates a volatile method and an object instance.
393 *
394 * This function is part of the compatibility module and therefore deprecated.
395 * Use sigc::mem_fun() instead.
396 *
397 * @param _A_obj Reference to object instance the functor should operate on.
398 * @param _A_func Pointer to method that should be wrapped.
399 * @return Functor that executes _A_func on invokation.
400 *
401 * @deprecated Use sigc::mem_fun() instead.
402 * @ingroup compat
403 */
404 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>
405 inline Slot6<T_return, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6>
slot_class(T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6)volatile)406 slot_class( T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6) volatile)
407 { return ::sigc::bound_volatile_mem_functor6<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6>(_A_obj, _A_func); }
408
409 /** Creates a functor of type SigC::Slot7 that encapsulates a volatile method and an object instance.
410 *
411 * This function is part of the compatibility module and therefore deprecated.
412 * Use sigc::mem_fun() instead.
413 *
414 * @param _A_obj Reference to object instance the functor should operate on.
415 * @param _A_func Pointer to method that should be wrapped.
416 * @return Functor that executes _A_func on invokation.
417 *
418 * @deprecated Use sigc::mem_fun() instead.
419 * @ingroup compat
420 */
421 template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4,class T_arg5,class T_arg6,class T_arg7, class T_obj>
422 inline Slot7<T_return, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7>
slot_class(T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7)volatile)423 slot_class( T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7) volatile)
424 { return ::sigc::bound_volatile_mem_functor7<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7>(_A_obj, _A_func); }
425
426
427 /** Creates a functor of type SigC::Slot0 that encapsulates a const volatile method and an object instance.
428 *
429 * This function is part of the compatibility module and therefore deprecated.
430 * Use sigc::mem_fun() instead.
431 *
432 * @param _A_obj Reference to object instance the functor should operate on.
433 * @param _A_func Pointer to method that should be wrapped.
434 * @return Functor that executes _A_func on invokation.
435 *
436 * @deprecated Use sigc::mem_fun() instead.
437 * @ingroup compat
438 */
439 template <class T_return, class T_obj>
440 inline Slot0<T_return>
slot_class(const T_obj & _A_obj,T_return (T_obj::* _A_func)()const volatile)441 slot_class(const T_obj& _A_obj, T_return (T_obj::*_A_func)() const volatile)
442 { return ::sigc::bound_const_volatile_mem_functor0<T_return, T_obj>(_A_obj, _A_func); }
443
444 /** Creates a functor of type SigC::Slot1 that encapsulates a const volatile method and an object instance.
445 *
446 * This function is part of the compatibility module and therefore deprecated.
447 * Use sigc::mem_fun() instead.
448 *
449 * @param _A_obj Reference to object instance the functor should operate on.
450 * @param _A_func Pointer to method that should be wrapped.
451 * @return Functor that executes _A_func on invokation.
452 *
453 * @deprecated Use sigc::mem_fun() instead.
454 * @ingroup compat
455 */
456 template <class T_return, class T_arg1, class T_obj>
457 inline Slot1<T_return, T_arg1>
slot_class(const T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1)const volatile)458 slot_class(const T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1) const volatile)
459 { return ::sigc::bound_const_volatile_mem_functor1<T_return, T_obj, T_arg1>(_A_obj, _A_func); }
460
461 /** Creates a functor of type SigC::Slot2 that encapsulates a const volatile method and an object instance.
462 *
463 * This function is part of the compatibility module and therefore deprecated.
464 * Use sigc::mem_fun() instead.
465 *
466 * @param _A_obj Reference to object instance the functor should operate on.
467 * @param _A_func Pointer to method that should be wrapped.
468 * @return Functor that executes _A_func on invokation.
469 *
470 * @deprecated Use sigc::mem_fun() instead.
471 * @ingroup compat
472 */
473 template <class T_return, class T_arg1,class T_arg2, class T_obj>
474 inline Slot2<T_return, T_arg1,T_arg2>
slot_class(const T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1,T_arg2)const volatile)475 slot_class(const T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1,T_arg2) const volatile)
476 { return ::sigc::bound_const_volatile_mem_functor2<T_return, T_obj, T_arg1,T_arg2>(_A_obj, _A_func); }
477
478 /** Creates a functor of type SigC::Slot3 that encapsulates a const volatile method and an object instance.
479 *
480 * This function is part of the compatibility module and therefore deprecated.
481 * Use sigc::mem_fun() instead.
482 *
483 * @param _A_obj Reference to object instance the functor should operate on.
484 * @param _A_func Pointer to method that should be wrapped.
485 * @return Functor that executes _A_func on invokation.
486 *
487 * @deprecated Use sigc::mem_fun() instead.
488 * @ingroup compat
489 */
490 template <class T_return, class T_arg1,class T_arg2,class T_arg3, class T_obj>
491 inline Slot3<T_return, T_arg1,T_arg2,T_arg3>
slot_class(const T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3)const volatile)492 slot_class(const T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3) const volatile)
493 { return ::sigc::bound_const_volatile_mem_functor3<T_return, T_obj, T_arg1,T_arg2,T_arg3>(_A_obj, _A_func); }
494
495 /** Creates a functor of type SigC::Slot4 that encapsulates a const volatile method and an object instance.
496 *
497 * This function is part of the compatibility module and therefore deprecated.
498 * Use sigc::mem_fun() instead.
499 *
500 * @param _A_obj Reference to object instance the functor should operate on.
501 * @param _A_func Pointer to method that should be wrapped.
502 * @return Functor that executes _A_func on invokation.
503 *
504 * @deprecated Use sigc::mem_fun() instead.
505 * @ingroup compat
506 */
507 template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4, class T_obj>
508 inline Slot4<T_return, T_arg1,T_arg2,T_arg3,T_arg4>
slot_class(const T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4)const volatile)509 slot_class(const T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4) const volatile)
510 { return ::sigc::bound_const_volatile_mem_functor4<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4>(_A_obj, _A_func); }
511
512 /** Creates a functor of type SigC::Slot5 that encapsulates a const volatile method and an object instance.
513 *
514 * This function is part of the compatibility module and therefore deprecated.
515 * Use sigc::mem_fun() instead.
516 *
517 * @param _A_obj Reference to object instance the functor should operate on.
518 * @param _A_func Pointer to method that should be wrapped.
519 * @return Functor that executes _A_func on invokation.
520 *
521 * @deprecated Use sigc::mem_fun() instead.
522 * @ingroup compat
523 */
524 template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4,class T_arg5, class T_obj>
525 inline Slot5<T_return, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5>
slot_class(const T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5)const volatile)526 slot_class(const T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5) const volatile)
527 { return ::sigc::bound_const_volatile_mem_functor5<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5>(_A_obj, _A_func); }
528
529 /** Creates a functor of type SigC::Slot6 that encapsulates a const volatile method and an object instance.
530 *
531 * This function is part of the compatibility module and therefore deprecated.
532 * Use sigc::mem_fun() instead.
533 *
534 * @param _A_obj Reference to object instance the functor should operate on.
535 * @param _A_func Pointer to method that should be wrapped.
536 * @return Functor that executes _A_func on invokation.
537 *
538 * @deprecated Use sigc::mem_fun() instead.
539 * @ingroup compat
540 */
541 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>
542 inline Slot6<T_return, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6>
slot_class(const T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6)const volatile)543 slot_class(const T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6) const volatile)
544 { return ::sigc::bound_const_volatile_mem_functor6<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6>(_A_obj, _A_func); }
545
546 /** Creates a functor of type SigC::Slot7 that encapsulates a const volatile method and an object instance.
547 *
548 * This function is part of the compatibility module and therefore deprecated.
549 * Use sigc::mem_fun() instead.
550 *
551 * @param _A_obj Reference to object instance the functor should operate on.
552 * @param _A_func Pointer to method that should be wrapped.
553 * @return Functor that executes _A_func on invokation.
554 *
555 * @deprecated Use sigc::mem_fun() instead.
556 * @ingroup compat
557 */
558 template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4,class T_arg5,class T_arg6,class T_arg7, class T_obj>
559 inline Slot7<T_return, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7>
slot_class(const T_obj & _A_obj,T_return (T_obj::* _A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7)const volatile)560 slot_class(const T_obj& _A_obj, T_return (T_obj::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7) const volatile)
561 { return ::sigc::bound_const_volatile_mem_functor7<T_return, T_obj, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7>(_A_obj, _A_func); }
562
563
564
565 }
566
567 #endif
568 #endif /* _SIGC_MACROS_CLASS_SLOTHM4_ */
569