libsigc++ 2.2.10
Public Types | Public Member Functions
sigc::slot< T_return, nil, nil, nil, nil, nil, nil, nil > Class Template Reference

Convenience wrapper for the numbered sigc::slot0 template. More...

#include <sigc++/functors/slot.h>

Inheritance diagram for sigc::slot< T_return, nil, nil, nil, nil, nil, nil, nil >:
Inheritance graph
[legend]

List of all members.

Public Types

typedef slot0< T_return > 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)

Detailed Description

template<class T_return>
class sigc::slot< T_return, nil, nil, nil, nil, nil, nil, nil >

Convenience wrapper for the numbered sigc::slot0 template.

See the base class for useful methods. This is the template specialization of the unnumbered sigc::slot template for 0 argument(s), specialized for different numbers of arguments This is possible because the template has default (nil) template types.


Constructor & Destructor Documentation

template <class T_return >
template <class T_functor >
sigc::slot< T_return, nil, nil, nil, nil, nil, nil, nil >::slot ( const T_functor &  _A_func) [inline]

Constructs a slot from an arbitrary functor.

Parameters:
_A_funcThe desired functor the new slot should be assigned to.