libsigc++ 2.0: sigc::internal::slot_call1< T_functor, T_return, T_arg1 > Struct Template Reference

Main Page Groups Namespaces

# sigc::internal::slot_call1< T_functor, T_return, T_arg1 > Struct Template Reference

Abstracts functor execution. More...

List of all members.

## Static Public Member Functions
static T_return | call_it (slot_rep* rep, typename type_trait<T_arg1>::take a_1)
| Invokes a functor of type `T_functor`.
static hook | address ()
| Forms a function pointer from call_it().

## Detailed Description

### template <class T_functor, class T_return, class T_arg1>
struct sigc::internal::slot_call1< T_functor, T_return, T_arg1 >

Abstracts functor execution.

call_it() invokes a functor of type T_functor with a list of parameters whose types are given by the template arguments. address() forms a function pointer from call_it().

The following template arguments are used:

- T_functor The functor type.
- T_return The return type of call_it().
- T_arg1 Argument type used in the definition of call_it().

## Member Function Documentation

template <class T_functor, class T_return, class T_arg1>

static T_return sigc::internal::slot_call1<T_functor, T_return, T_arg1>::call_it | ( | slot_rep* | rep,
|  | typename type_trait<T_arg1>::take | a_1 |
| ) |  |  | `[inline, static]`

Invokes a functor of type `T_functor`.

Parameters:

  | rep | slot_rep object that holds a functor of type `T_functor`.
  | _A_a1 | Argument to be passed on to the functor.

Returns:
  The return values of the functor invocation.

template <class T_functor, class T_return, class T_arg1>

static hook sigc::internal::slot_call1<T_functor, T_return, T_arg1>::address | ( |  | ) | `[inline, static]`

Forms a function pointer from call_it().

Returns:
  A function pointer formed from call_it().

The documentation for this struct was generated from the following file:

- functors/slot.h