libsigc++ 2.2.10
|
Convenience wrapper for the numbered sigc::slot4 template. More...
#include <sigc++/functors/slot.h>
Public Types | |
typedef slot4< T_return, T_arg1, T_arg2, T_arg3, T_arg4 > | parent_type |
Public Member Functions | |
template<class T_functor > | |
slot (const T_functor& _A_func) | |
Constructs a slot from an arbitrary functor. | |
slot (const slot& src) |
Convenience wrapper for the numbered sigc::slot4 template.
See the base class for useful methods. This is the template specialization of the unnumbered sigc::slot template for 4 argument(s), specialized for different numbers of arguments This is possible because the template has default (nil) template types.
sigc::slot< T_return, T_arg1, T_arg2, T_arg3, T_arg4, nil, nil, nil >::slot | ( | const T_functor & | _A_func | ) | [inline] |
Constructs a slot from an arbitrary functor.
_A_func | The desired functor the new slot should be assigned to. |