Main Page Groups Namespaces

# sigc::internal::slot_call3< T_functor, T_return, T_arg1, T_arg2, T_arg3 > 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, typename type_trait<T_arg2>::take a_2, typename type_trait<T_arg3>::take a_3)
| 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, class T_arg2, class T_arg3>
struct sigc::internal::slot_call3< T_functor, T_return, T_arg1, T_arg2, T_arg3 >

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().
- T_arg2 Argument type used in the definition of call_it().
- T_arg3 Argument type used in the definition of call_it().

## Member Function Documentation

template <class T_functor, class T_return, class T_arg1, class T_arg2, class T_arg3>

static T_return sigc::internal::slot_call3<T_functor, T_return, T_arg1, T_arg2, T_arg3>::call_it | ( | slot_rep* | rep,
|  | typename type_trait<T_arg1>::take | a_1,
|  | typename type_trait<T_arg2>::take | a_2,
|  | typename type_trait<T_arg3>::take | a_3 |
| ) |  |  | `[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.
  | _A_a2 | Argument to be passed on to the functor.
  | _A_a3 | 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, class T_arg2, class T_arg3>

static hook sigc::internal::slot_call3<T_functor, T_return, T_arg1, T_arg2, T_arg3>::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