2
2
/* Do not edit! -- generated file */
5
#ifndef _SIGC_MACROS_OBJECT_SLOTHM4_
6
#define _SIGC_MACROS_OBJECT_SLOTHM4_
8
#include <sigc++/slot.h>
9
#include <sigc++/object.h>
10
#include <sigc++/functors/mem_fun.h>
12
#ifndef LIBSIGC_DISABLE_DEPRECATED
16
/** Creates a functor of type SigC::Slot0 that encapsulates a method and an object instance.
17
* @e _A_obj must be of a type that inherits from SigC::Object.
19
* @param _A_obj Reference to object instance the functor should operate on.
20
* @param _A_func Pointer to method that should be wrapped.
21
* @return Functor that executes _A_func on invokation.
23
* @deprecated Use sigc::mem_fun() instead.
26
template <class T_return, class T_obj1, class T_obj2>
27
inline Slot0<T_return>
28
slot( T_obj1& _A_obj, T_return (T_obj2::*_A_func)() )
29
{ (void)dynamic_cast< Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
30
return ::sigc::bound_mem_functor0<T_return, T_obj2>(_A_obj, _A_func); }
32
/** Creates a functor of type SigC::Slot1 that encapsulates a method and an object instance.
33
* @e _A_obj must be of a type that inherits from SigC::Object.
35
* @param _A_obj Reference to object instance the functor should operate on.
36
* @param _A_func Pointer to method that should be wrapped.
37
* @return Functor that executes _A_func on invokation.
39
* @deprecated Use sigc::mem_fun() instead.
42
template <class T_return, class T_arg1, class T_obj1, class T_obj2>
43
inline Slot1<T_return, T_arg1>
44
slot( T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1) )
45
{ (void)dynamic_cast< Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
46
return ::sigc::bound_mem_functor1<T_return, T_obj2, T_arg1>(_A_obj, _A_func); }
48
/** Creates a functor of type SigC::Slot2 that encapsulates a method and an object instance.
49
* @e _A_obj must be of a type that inherits from SigC::Object.
51
* @param _A_obj Reference to object instance the functor should operate on.
52
* @param _A_func Pointer to method that should be wrapped.
53
* @return Functor that executes _A_func on invokation.
55
* @deprecated Use sigc::mem_fun() instead.
58
template <class T_return, class T_arg1,class T_arg2, class T_obj1, class T_obj2>
59
inline Slot2<T_return, T_arg1,T_arg2>
60
slot( T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1,T_arg2) )
61
{ (void)dynamic_cast< Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
62
return ::sigc::bound_mem_functor2<T_return, T_obj2, T_arg1,T_arg2>(_A_obj, _A_func); }
64
/** Creates a functor of type SigC::Slot3 that encapsulates a method and an object instance.
65
* @e _A_obj must be of a type that inherits from SigC::Object.
67
* @param _A_obj Reference to object instance the functor should operate on.
68
* @param _A_func Pointer to method that should be wrapped.
69
* @return Functor that executes _A_func on invokation.
71
* @deprecated Use sigc::mem_fun() instead.
74
template <class T_return, class T_arg1,class T_arg2,class T_arg3, class T_obj1, class T_obj2>
75
inline Slot3<T_return, T_arg1,T_arg2,T_arg3>
76
slot( T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1,T_arg2,T_arg3) )
77
{ (void)dynamic_cast< Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
78
return ::sigc::bound_mem_functor3<T_return, T_obj2, T_arg1,T_arg2,T_arg3>(_A_obj, _A_func); }
80
/** Creates a functor of type SigC::Slot4 that encapsulates a method and an object instance.
81
* @e _A_obj must be of a type that inherits from SigC::Object.
83
* @param _A_obj Reference to object instance the functor should operate on.
84
* @param _A_func Pointer to method that should be wrapped.
85
* @return Functor that executes _A_func on invokation.
87
* @deprecated Use sigc::mem_fun() instead.
90
template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4, class T_obj1, class T_obj2>
91
inline Slot4<T_return, T_arg1,T_arg2,T_arg3,T_arg4>
92
slot( T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4) )
93
{ (void)dynamic_cast< Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
94
return ::sigc::bound_mem_functor4<T_return, T_obj2, T_arg1,T_arg2,T_arg3,T_arg4>(_A_obj, _A_func); }
96
/** Creates a functor of type SigC::Slot5 that encapsulates a method and an object instance.
97
* @e _A_obj must be of a type that inherits from SigC::Object.
99
* @param _A_obj Reference to object instance the functor should operate on.
100
* @param _A_func Pointer to method that should be wrapped.
101
* @return Functor that executes _A_func on invokation.
103
* @deprecated Use sigc::mem_fun() instead.
106
template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4,class T_arg5, class T_obj1, class T_obj2>
107
inline Slot5<T_return, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5>
108
slot( T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5) )
109
{ (void)dynamic_cast< Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
110
return ::sigc::bound_mem_functor5<T_return, T_obj2, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5>(_A_obj, _A_func); }
112
/** Creates a functor of type SigC::Slot6 that encapsulates a method and an object instance.
113
* @e _A_obj must be of a type that inherits from SigC::Object.
115
* @param _A_obj Reference to object instance the functor should operate on.
116
* @param _A_func Pointer to method that should be wrapped.
117
* @return Functor that executes _A_func on invokation.
119
* @deprecated Use sigc::mem_fun() instead.
122
template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4,class T_arg5,class T_arg6, class T_obj1, class T_obj2>
123
inline Slot6<T_return, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6>
124
slot( T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6) )
125
{ (void)dynamic_cast< Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
126
return ::sigc::bound_mem_functor6<T_return, T_obj2, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6>(_A_obj, _A_func); }
128
/** Creates a functor of type SigC::Slot7 that encapsulates a method and an object instance.
129
* @e _A_obj must be of a type that inherits from SigC::Object.
131
* @param _A_obj Reference to object instance the functor should operate on.
132
* @param _A_func Pointer to method that should be wrapped.
133
* @return Functor that executes _A_func on invokation.
135
* @deprecated Use sigc::mem_fun() instead.
138
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_obj1, class T_obj2>
139
inline Slot7<T_return, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7>
140
slot( T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7) )
141
{ (void)dynamic_cast< Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
142
return ::sigc::bound_mem_functor7<T_return, T_obj2, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7>(_A_obj, _A_func); }
145
/** Creates a functor of type SigC::Slot0 that encapsulates a const method and an object instance.
146
* @e _A_obj must be of a type that inherits from SigC::Object.
148
* @param _A_obj Reference to object instance the functor should operate on.
149
* @param _A_func Pointer to method that should be wrapped.
150
* @return Functor that executes _A_func on invokation.
152
* @deprecated Use sigc::mem_fun() instead.
155
template <class T_return, class T_obj1, class T_obj2>
156
inline Slot0<T_return>
157
slot(const T_obj1& _A_obj, T_return (T_obj2::*_A_func)() const)
158
{ (void)dynamic_cast<const Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
159
return ::sigc::bound_const_mem_functor0<T_return, T_obj2>(_A_obj, _A_func); }
161
/** Creates a functor of type SigC::Slot1 that encapsulates a const method and an object instance.
162
* @e _A_obj must be of a type that inherits from SigC::Object.
164
* @param _A_obj Reference to object instance the functor should operate on.
165
* @param _A_func Pointer to method that should be wrapped.
166
* @return Functor that executes _A_func on invokation.
168
* @deprecated Use sigc::mem_fun() instead.
171
template <class T_return, class T_arg1, class T_obj1, class T_obj2>
172
inline Slot1<T_return, T_arg1>
173
slot(const T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1) const)
174
{ (void)dynamic_cast<const Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
175
return ::sigc::bound_const_mem_functor1<T_return, T_obj2, T_arg1>(_A_obj, _A_func); }
177
/** Creates a functor of type SigC::Slot2 that encapsulates a const method and an object instance.
178
* @e _A_obj must be of a type that inherits from SigC::Object.
180
* @param _A_obj Reference to object instance the functor should operate on.
181
* @param _A_func Pointer to method that should be wrapped.
182
* @return Functor that executes _A_func on invokation.
184
* @deprecated Use sigc::mem_fun() instead.
187
template <class T_return, class T_arg1,class T_arg2, class T_obj1, class T_obj2>
188
inline Slot2<T_return, T_arg1,T_arg2>
189
slot(const T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1,T_arg2) const)
190
{ (void)dynamic_cast<const Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
191
return ::sigc::bound_const_mem_functor2<T_return, T_obj2, T_arg1,T_arg2>(_A_obj, _A_func); }
193
/** Creates a functor of type SigC::Slot3 that encapsulates a const method and an object instance.
194
* @e _A_obj must be of a type that inherits from SigC::Object.
196
* @param _A_obj Reference to object instance the functor should operate on.
197
* @param _A_func Pointer to method that should be wrapped.
198
* @return Functor that executes _A_func on invokation.
200
* @deprecated Use sigc::mem_fun() instead.
203
template <class T_return, class T_arg1,class T_arg2,class T_arg3, class T_obj1, class T_obj2>
204
inline Slot3<T_return, T_arg1,T_arg2,T_arg3>
205
slot(const T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1,T_arg2,T_arg3) const)
206
{ (void)dynamic_cast<const Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
207
return ::sigc::bound_const_mem_functor3<T_return, T_obj2, T_arg1,T_arg2,T_arg3>(_A_obj, _A_func); }
209
/** Creates a functor of type SigC::Slot4 that encapsulates a const method and an object instance.
210
* @e _A_obj must be of a type that inherits from SigC::Object.
212
* @param _A_obj Reference to object instance the functor should operate on.
213
* @param _A_func Pointer to method that should be wrapped.
214
* @return Functor that executes _A_func on invokation.
216
* @deprecated Use sigc::mem_fun() instead.
219
template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4, class T_obj1, class T_obj2>
220
inline Slot4<T_return, T_arg1,T_arg2,T_arg3,T_arg4>
221
slot(const T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4) const)
222
{ (void)dynamic_cast<const Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
223
return ::sigc::bound_const_mem_functor4<T_return, T_obj2, T_arg1,T_arg2,T_arg3,T_arg4>(_A_obj, _A_func); }
225
/** Creates a functor of type SigC::Slot5 that encapsulates a const method and an object instance.
226
* @e _A_obj must be of a type that inherits from SigC::Object.
228
* @param _A_obj Reference to object instance the functor should operate on.
229
* @param _A_func Pointer to method that should be wrapped.
230
* @return Functor that executes _A_func on invokation.
232
* @deprecated Use sigc::mem_fun() instead.
235
template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4,class T_arg5, class T_obj1, class T_obj2>
236
inline Slot5<T_return, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5>
237
slot(const T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5) const)
238
{ (void)dynamic_cast<const Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
239
return ::sigc::bound_const_mem_functor5<T_return, T_obj2, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5>(_A_obj, _A_func); }
241
/** Creates a functor of type SigC::Slot6 that encapsulates a const method and an object instance.
242
* @e _A_obj must be of a type that inherits from SigC::Object.
244
* @param _A_obj Reference to object instance the functor should operate on.
245
* @param _A_func Pointer to method that should be wrapped.
246
* @return Functor that executes _A_func on invokation.
248
* @deprecated Use sigc::mem_fun() instead.
251
template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4,class T_arg5,class T_arg6, class T_obj1, class T_obj2>
252
inline Slot6<T_return, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6>
253
slot(const T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6) const)
254
{ (void)dynamic_cast<const Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
255
return ::sigc::bound_const_mem_functor6<T_return, T_obj2, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6>(_A_obj, _A_func); }
257
/** Creates a functor of type SigC::Slot7 that encapsulates a const method and an object instance.
258
* @e _A_obj must be of a type that inherits from SigC::Object.
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.
264
* @deprecated Use sigc::mem_fun() instead.
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_arg7, class T_obj1, class T_obj2>
268
inline Slot7<T_return, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7>
269
slot(const T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7) const)
270
{ (void)dynamic_cast<const Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
271
return ::sigc::bound_const_mem_functor7<T_return, T_obj2, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7>(_A_obj, _A_func); }
274
/** Creates a functor of type SigC::Slot0 that encapsulates a volatile method and an object instance.
275
* @e _A_obj must be of a type that inherits from SigC::Object.
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.
281
* @deprecated Use sigc::mem_fun() instead.
284
template <class T_return, class T_obj1, class T_obj2>
285
inline Slot0<T_return>
286
slot( T_obj1& _A_obj, T_return (T_obj2::*_A_func)() volatile)
287
{ (void)dynamic_cast< Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
288
return ::sigc::bound_volatile_mem_functor0<T_return, T_obj2>(_A_obj, _A_func); }
290
/** Creates a functor of type SigC::Slot1 that encapsulates a volatile method and an object instance.
291
* @e _A_obj must be of a type that inherits from SigC::Object.
293
* @param _A_obj Reference to object instance the functor should operate on.
294
* @param _A_func Pointer to method that should be wrapped.
295
* @return Functor that executes _A_func on invokation.
297
* @deprecated Use sigc::mem_fun() instead.
300
template <class T_return, class T_arg1, class T_obj1, class T_obj2>
301
inline Slot1<T_return, T_arg1>
302
slot( T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1) volatile)
303
{ (void)dynamic_cast< Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
304
return ::sigc::bound_volatile_mem_functor1<T_return, T_obj2, T_arg1>(_A_obj, _A_func); }
306
/** Creates a functor of type SigC::Slot2 that encapsulates a volatile method and an object instance.
307
* @e _A_obj must be of a type that inherits from SigC::Object.
309
* @param _A_obj Reference to object instance the functor should operate on.
310
* @param _A_func Pointer to method that should be wrapped.
311
* @return Functor that executes _A_func on invokation.
313
* @deprecated Use sigc::mem_fun() instead.
316
template <class T_return, class T_arg1,class T_arg2, class T_obj1, class T_obj2>
317
inline Slot2<T_return, T_arg1,T_arg2>
318
slot( T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1,T_arg2) volatile)
319
{ (void)dynamic_cast< Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
320
return ::sigc::bound_volatile_mem_functor2<T_return, T_obj2, T_arg1,T_arg2>(_A_obj, _A_func); }
322
/** Creates a functor of type SigC::Slot3 that encapsulates a volatile method and an object instance.
323
* @e _A_obj must be of a type that inherits from SigC::Object.
325
* @param _A_obj Reference to object instance the functor should operate on.
326
* @param _A_func Pointer to method that should be wrapped.
327
* @return Functor that executes _A_func on invokation.
329
* @deprecated Use sigc::mem_fun() instead.
332
template <class T_return, class T_arg1,class T_arg2,class T_arg3, class T_obj1, class T_obj2>
333
inline Slot3<T_return, T_arg1,T_arg2,T_arg3>
334
slot( T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1,T_arg2,T_arg3) volatile)
335
{ (void)dynamic_cast< Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
336
return ::sigc::bound_volatile_mem_functor3<T_return, T_obj2, T_arg1,T_arg2,T_arg3>(_A_obj, _A_func); }
338
/** Creates a functor of type SigC::Slot4 that encapsulates a volatile method and an object instance.
339
* @e _A_obj must be of a type that inherits from SigC::Object.
341
* @param _A_obj Reference to object instance the functor should operate on.
342
* @param _A_func Pointer to method that should be wrapped.
343
* @return Functor that executes _A_func on invokation.
345
* @deprecated Use sigc::mem_fun() instead.
348
template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4, class T_obj1, class T_obj2>
349
inline Slot4<T_return, T_arg1,T_arg2,T_arg3,T_arg4>
350
slot( T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4) volatile)
351
{ (void)dynamic_cast< Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
352
return ::sigc::bound_volatile_mem_functor4<T_return, T_obj2, T_arg1,T_arg2,T_arg3,T_arg4>(_A_obj, _A_func); }
354
/** Creates a functor of type SigC::Slot5 that encapsulates a volatile method and an object instance.
355
* @e _A_obj must be of a type that inherits from SigC::Object.
357
* @param _A_obj Reference to object instance the functor should operate on.
358
* @param _A_func Pointer to method that should be wrapped.
359
* @return Functor that executes _A_func on invokation.
361
* @deprecated Use sigc::mem_fun() instead.
364
template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4,class T_arg5, class T_obj1, class T_obj2>
365
inline Slot5<T_return, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5>
366
slot( T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5) volatile)
367
{ (void)dynamic_cast< Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
368
return ::sigc::bound_volatile_mem_functor5<T_return, T_obj2, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5>(_A_obj, _A_func); }
370
/** Creates a functor of type SigC::Slot6 that encapsulates a volatile method and an object instance.
371
* @e _A_obj must be of a type that inherits from SigC::Object.
373
* @param _A_obj Reference to object instance the functor should operate on.
374
* @param _A_func Pointer to method that should be wrapped.
375
* @return Functor that executes _A_func on invokation.
377
* @deprecated Use sigc::mem_fun() instead.
380
template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4,class T_arg5,class T_arg6, class T_obj1, class T_obj2>
381
inline Slot6<T_return, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6>
382
slot( T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6) volatile)
383
{ (void)dynamic_cast< Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
384
return ::sigc::bound_volatile_mem_functor6<T_return, T_obj2, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6>(_A_obj, _A_func); }
386
/** Creates a functor of type SigC::Slot7 that encapsulates a volatile method and an object instance.
387
* @e _A_obj must be of a type that inherits from SigC::Object.
389
* @param _A_obj Reference to object instance the functor should operate on.
390
* @param _A_func Pointer to method that should be wrapped.
391
* @return Functor that executes _A_func on invokation.
393
* @deprecated Use sigc::mem_fun() instead.
396
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_obj1, class T_obj2>
397
inline Slot7<T_return, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7>
398
slot( T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7) volatile)
399
{ (void)dynamic_cast< Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
400
return ::sigc::bound_volatile_mem_functor7<T_return, T_obj2, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7>(_A_obj, _A_func); }
403
/** Creates a functor of type SigC::Slot0 that encapsulates a const volatile method and an object instance.
404
* @e _A_obj must be of a type that inherits from SigC::Object.
406
* @param _A_obj Reference to object instance the functor should operate on.
407
* @param _A_func Pointer to method that should be wrapped.
408
* @return Functor that executes _A_func on invokation.
410
* @deprecated Use sigc::mem_fun() instead.
413
template <class T_return, class T_obj1, class T_obj2>
414
inline Slot0<T_return>
415
slot(const T_obj1& _A_obj, T_return (T_obj2::*_A_func)() const volatile)
416
{ (void)dynamic_cast<const Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
417
return ::sigc::bound_const_volatile_mem_functor0<T_return, T_obj2>(_A_obj, _A_func); }
419
/** Creates a functor of type SigC::Slot1 that encapsulates a const volatile method and an object instance.
420
* @e _A_obj must be of a type that inherits from SigC::Object.
422
* @param _A_obj Reference to object instance the functor should operate on.
423
* @param _A_func Pointer to method that should be wrapped.
424
* @return Functor that executes _A_func on invokation.
426
* @deprecated Use sigc::mem_fun() instead.
429
template <class T_return, class T_arg1, class T_obj1, class T_obj2>
430
inline Slot1<T_return, T_arg1>
431
slot(const T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1) const volatile)
432
{ (void)dynamic_cast<const Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
433
return ::sigc::bound_const_volatile_mem_functor1<T_return, T_obj2, T_arg1>(_A_obj, _A_func); }
435
/** Creates a functor of type SigC::Slot2 that encapsulates a const volatile method and an object instance.
436
* @e _A_obj must be of a type that inherits from SigC::Object.
438
* @param _A_obj Reference to object instance the functor should operate on.
439
* @param _A_func Pointer to method that should be wrapped.
440
* @return Functor that executes _A_func on invokation.
442
* @deprecated Use sigc::mem_fun() instead.
445
template <class T_return, class T_arg1,class T_arg2, class T_obj1, class T_obj2>
446
inline Slot2<T_return, T_arg1,T_arg2>
447
slot(const T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1,T_arg2) const volatile)
448
{ (void)dynamic_cast<const Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
449
return ::sigc::bound_const_volatile_mem_functor2<T_return, T_obj2, T_arg1,T_arg2>(_A_obj, _A_func); }
451
/** Creates a functor of type SigC::Slot3 that encapsulates a const volatile method and an object instance.
452
* @e _A_obj must be of a type that inherits from SigC::Object.
454
* @param _A_obj Reference to object instance the functor should operate on.
455
* @param _A_func Pointer to method that should be wrapped.
456
* @return Functor that executes _A_func on invokation.
458
* @deprecated Use sigc::mem_fun() instead.
461
template <class T_return, class T_arg1,class T_arg2,class T_arg3, class T_obj1, class T_obj2>
462
inline Slot3<T_return, T_arg1,T_arg2,T_arg3>
463
slot(const T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1,T_arg2,T_arg3) const volatile)
464
{ (void)dynamic_cast<const Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
465
return ::sigc::bound_const_volatile_mem_functor3<T_return, T_obj2, T_arg1,T_arg2,T_arg3>(_A_obj, _A_func); }
467
/** Creates a functor of type SigC::Slot4 that encapsulates a const volatile method and an object instance.
468
* @e _A_obj must be of a type that inherits from SigC::Object.
470
* @param _A_obj Reference to object instance the functor should operate on.
471
* @param _A_func Pointer to method that should be wrapped.
472
* @return Functor that executes _A_func on invokation.
474
* @deprecated Use sigc::mem_fun() instead.
477
template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4, class T_obj1, class T_obj2>
478
inline Slot4<T_return, T_arg1,T_arg2,T_arg3,T_arg4>
479
slot(const T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4) const volatile)
480
{ (void)dynamic_cast<const Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
481
return ::sigc::bound_const_volatile_mem_functor4<T_return, T_obj2, T_arg1,T_arg2,T_arg3,T_arg4>(_A_obj, _A_func); }
483
/** Creates a functor of type SigC::Slot5 that encapsulates a const volatile method and an object instance.
484
* @e _A_obj must be of a type that inherits from SigC::Object.
486
* @param _A_obj Reference to object instance the functor should operate on.
487
* @param _A_func Pointer to method that should be wrapped.
488
* @return Functor that executes _A_func on invokation.
490
* @deprecated Use sigc::mem_fun() instead.
493
template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4,class T_arg5, class T_obj1, class T_obj2>
494
inline Slot5<T_return, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5>
495
slot(const T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5) const volatile)
496
{ (void)dynamic_cast<const Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
497
return ::sigc::bound_const_volatile_mem_functor5<T_return, T_obj2, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5>(_A_obj, _A_func); }
499
/** Creates a functor of type SigC::Slot6 that encapsulates a const volatile method and an object instance.
500
* @e _A_obj must be of a type that inherits from SigC::Object.
502
* @param _A_obj Reference to object instance the functor should operate on.
503
* @param _A_func Pointer to method that should be wrapped.
504
* @return Functor that executes _A_func on invokation.
506
* @deprecated Use sigc::mem_fun() instead.
509
template <class T_return, class T_arg1,class T_arg2,class T_arg3,class T_arg4,class T_arg5,class T_arg6, class T_obj1, class T_obj2>
510
inline Slot6<T_return, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6>
511
slot(const T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6) const volatile)
512
{ (void)dynamic_cast<const Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
513
return ::sigc::bound_const_volatile_mem_functor6<T_return, T_obj2, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6>(_A_obj, _A_func); }
515
/** Creates a functor of type SigC::Slot7 that encapsulates a const volatile method and an object instance.
516
* @e _A_obj must be of a type that inherits from SigC::Object.
518
* @param _A_obj Reference to object instance the functor should operate on.
519
* @param _A_func Pointer to method that should be wrapped.
520
* @return Functor that executes _A_func on invokation.
522
* @deprecated Use sigc::mem_fun() instead.
525
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_obj1, class T_obj2>
526
inline Slot7<T_return, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7>
527
slot(const T_obj1& _A_obj, T_return (T_obj2::*_A_func)(T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7) const volatile)
528
{ (void)dynamic_cast<const Object&>(_A_obj); // trigger compiler error if T_obj1 does not derive from SigC::Object
529
return ::sigc::bound_const_volatile_mem_functor7<T_return, T_obj2, T_arg1,T_arg2,T_arg3,T_arg4,T_arg5,T_arg6,T_arg7>(_A_obj, _A_func); }
536
#endif /* _SIGC_MACROS_OBJECT_SLOTHM4_ */