~ubuntu-branches/ubuntu/lucid/ardour/lucid-proposed

« back to all changes in this revision

Viewing changes to libs/sigc++2/sigc++/object_slot.h

  • Committer: Bazaar Package Importer
  • Author(s): Luke Yelavich
  • Date: 2008-07-29 11:27:04 UTC
  • mfrom: (1.1.15 upstream)
  • Revision ID: james.westby@ubuntu.com-20080729112704-x1rmgb4tjotjyu5u
Tags: 1:2.5-0ubuntu1
* New upstream release.
* debian/patches/s390-FTBFS.patch: Dropped, as it fails to apply, and
  Ubuntu doesn't concern itself with s390.
* debian/control:
  - Fix package description, thanks to the patch in Debian bug #485892.
  - Metadata cleanup and sync control/control.in files.
  - Add libaubio-dev to Build-Depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
/* Do not edit! -- generated file */
3
3
 
4
4
 
5
 
#ifndef _SIGC_MACROS_OBJECT_SLOTHM4_
6
 
#define _SIGC_MACROS_OBJECT_SLOTHM4_
7
 
 
8
 
#include <sigc++/slot.h>
9
 
#include <sigc++/object.h>
10
 
#include <sigc++/functors/mem_fun.h>
11
 
 
12
 
#ifndef LIBSIGC_DISABLE_DEPRECATED
13
 
 
14
 
namespace SigC {
15
 
 
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.
18
 
 *
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.
22
 
 *
23
 
 * @deprecated Use sigc::mem_fun() instead.
24
 
 * @ingroup compat
25
 
 */
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); }
31
 
 
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.
34
 
 *
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.
38
 
 *
39
 
 * @deprecated Use sigc::mem_fun() instead.
40
 
 * @ingroup compat
41
 
 */
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); }
47
 
 
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.
50
 
 *
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.
54
 
 *
55
 
 * @deprecated Use sigc::mem_fun() instead.
56
 
 * @ingroup compat
57
 
 */
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); }
63
 
 
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.
66
 
 *
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.
70
 
 *
71
 
 * @deprecated Use sigc::mem_fun() instead.
72
 
 * @ingroup compat
73
 
 */
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); }
79
 
 
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.
82
 
 *
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.
86
 
 *
87
 
 * @deprecated Use sigc::mem_fun() instead.
88
 
 * @ingroup compat
89
 
 */
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); }
95
 
 
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.
98
 
 *
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.
102
 
 *
103
 
 * @deprecated Use sigc::mem_fun() instead.
104
 
 * @ingroup compat
105
 
 */
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); }
111
 
 
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.
114
 
 *
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.
118
 
 *
119
 
 * @deprecated Use sigc::mem_fun() instead.
120
 
 * @ingroup compat
121
 
 */
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); }
127
 
 
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.
130
 
 *
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.
134
 
 *
135
 
 * @deprecated Use sigc::mem_fun() instead.
136
 
 * @ingroup compat
137
 
 */
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); }
143
 
 
144
 
 
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.
147
 
 *
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.
151
 
 *
152
 
 * @deprecated Use sigc::mem_fun() instead.
153
 
 * @ingroup compat
154
 
 */
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); }
160
 
 
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.
163
 
 *
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.
167
 
 *
168
 
 * @deprecated Use sigc::mem_fun() instead.
169
 
 * @ingroup compat
170
 
 */
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); }
176
 
 
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.
179
 
 *
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.
183
 
 *
184
 
 * @deprecated Use sigc::mem_fun() instead.
185
 
 * @ingroup compat
186
 
 */
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); }
192
 
 
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.
195
 
 *
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.
199
 
 *
200
 
 * @deprecated Use sigc::mem_fun() instead.
201
 
 * @ingroup compat
202
 
 */
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); }
208
 
 
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.
211
 
 *
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.
215
 
 *
216
 
 * @deprecated Use sigc::mem_fun() instead.
217
 
 * @ingroup compat
218
 
 */
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); }
224
 
 
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.
227
 
 *
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.
231
 
 *
232
 
 * @deprecated Use sigc::mem_fun() instead.
233
 
 * @ingroup compat
234
 
 */
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); }
240
 
 
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.
243
 
 *
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.
247
 
 *
248
 
 * @deprecated Use sigc::mem_fun() instead.
249
 
 * @ingroup compat
250
 
 */
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); }
256
 
 
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.
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_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); }
272
 
 
273
 
 
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.
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_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); }
289
 
 
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.
292
 
 *
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.
296
 
 *
297
 
 * @deprecated Use sigc::mem_fun() instead.
298
 
 * @ingroup compat
299
 
 */
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); }
305
 
 
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.
308
 
 *
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.
312
 
 *
313
 
 * @deprecated Use sigc::mem_fun() instead.
314
 
 * @ingroup compat
315
 
 */
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); }
321
 
 
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.
324
 
 *
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.
328
 
 *
329
 
 * @deprecated Use sigc::mem_fun() instead.
330
 
 * @ingroup compat
331
 
 */
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); }
337
 
 
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.
340
 
 *
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.
344
 
 *
345
 
 * @deprecated Use sigc::mem_fun() instead.
346
 
 * @ingroup compat
347
 
 */
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); }
353
 
 
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.
356
 
 *
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.
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_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); }
369
 
 
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.
372
 
 *
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.
376
 
 *
377
 
 * @deprecated Use sigc::mem_fun() instead.
378
 
 * @ingroup compat
379
 
 */
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); }
385
 
 
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.
388
 
 *
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.
392
 
 *
393
 
 * @deprecated Use sigc::mem_fun() instead.
394
 
 * @ingroup compat
395
 
 */
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); }
401
 
 
402
 
 
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.
405
 
 *
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.
409
 
 *
410
 
 * @deprecated Use sigc::mem_fun() instead.
411
 
 * @ingroup compat
412
 
 */
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); }
418
 
 
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.
421
 
 *
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.
425
 
 *
426
 
 * @deprecated Use sigc::mem_fun() instead.
427
 
 * @ingroup compat
428
 
 */
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); }
434
 
 
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.
437
 
 *
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.
441
 
 *
442
 
 * @deprecated Use sigc::mem_fun() instead.
443
 
 * @ingroup compat
444
 
 */
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); }
450
 
 
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.
453
 
 *
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.
457
 
 *
458
 
 * @deprecated Use sigc::mem_fun() instead.
459
 
 * @ingroup compat
460
 
 */
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); }
466
 
 
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.
469
 
 *
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.
473
 
 *
474
 
 * @deprecated Use sigc::mem_fun() instead.
475
 
 * @ingroup compat
476
 
 */
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); }
482
 
 
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.
485
 
 *
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.
489
 
 *
490
 
 * @deprecated Use sigc::mem_fun() instead.
491
 
 * @ingroup compat
492
 
 */
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); }
498
 
 
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.
501
 
 *
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.
505
 
 *
506
 
 * @deprecated Use sigc::mem_fun() instead.
507
 
 * @ingroup compat
508
 
 */
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); }
514
 
 
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.
517
 
 *
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.
521
 
 *
522
 
 * @deprecated Use sigc::mem_fun() instead.
523
 
 * @ingroup compat
524
 
 */
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); }
530
 
 
531
 
 
532
 
 
533
 
}
534
 
 
535
 
#endif
536
 
#endif /* _SIGC_MACROS_OBJECT_SLOTHM4_ */