libsigc++  2.10.2
Public Types | Public Member Functions | Protected Attributes | List of all members
sigc::mem_functor7< T_return, T_obj, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 > Class Template Reference

mem_functor7 wraps methods with 7 argument(s). More...

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

Inheritance diagram for sigc::mem_functor7< T_return, T_obj, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >:
Inheritance graph
[legend]

Public Types

typedef T_return(T_obj::* function_type) (T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7)
 
typedef T_return result_type
 

Public Member Functions

 mem_functor7 ()
 Constructs an invalid functor. More...
 
 mem_functor7 (function_type _A_func)
 Constructs a mem_functor7 object that wraps the passed method. More...
 
T_return operator() (T_obj* _A_obj, type_trait_take_t< T_arg1 > _A_a1, type_trait_take_t< T_arg2 > _A_a2, type_trait_take_t< T_arg3 > _A_a3, type_trait_take_t< T_arg4 > _A_a4, type_trait_take_t< T_arg5 > _A_a5, type_trait_take_t< T_arg6 > _A_a6, type_trait_take_t< T_arg7 > _A_a7) const
 Execute the wrapped method operating on the passed instance. More...
 
T_return operator() (T_obj& _A_obj, type_trait_take_t< T_arg1 > _A_a1, type_trait_take_t< T_arg2 > _A_a2, type_trait_take_t< T_arg3 > _A_a3, type_trait_take_t< T_arg4 > _A_a4, type_trait_take_t< T_arg5 > _A_a5, type_trait_take_t< T_arg6 > _A_a6, type_trait_take_t< T_arg7 > _A_a7) const
 Execute the wrapped method operating on the passed instance. More...
 

Protected Attributes

function_type func_ptr_
 

Detailed Description

template<class T_return, class T_obj, class T_arg1, class T_arg2, class T_arg3, class T_arg4, class T_arg5, class T_arg6, class T_arg7>
class sigc::mem_functor7< T_return, T_obj, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >

mem_functor7 wraps methods with 7 argument(s).

Use the convenience function mem_fun() to create an instance of mem_functor7.

The following template arguments are used:

Member Typedef Documentation

template <class T_return , class T_obj , class T_arg1 , class T_arg2 , class T_arg3 , class T_arg4 , class T_arg5 , class T_arg6 , class T_arg7 >
typedef T_return(T_obj::* sigc::mem_functor7< T_return, T_obj, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >::function_type) (T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7)
template <class T_return , class T_obj , class T_arg1 , class T_arg2 , class T_arg3 , class T_arg4 , class T_arg5 , class T_arg6 , class T_arg7 >
typedef T_return sigc::mem_functor7< T_return, T_obj, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >::result_type

Constructor & Destructor Documentation

template <class T_return , class T_obj , class T_arg1 , class T_arg2 , class T_arg3 , class T_arg4 , class T_arg5 , class T_arg6 , class T_arg7 >
sigc::mem_functor7< T_return, T_obj, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >::mem_functor7 ( )
inline

Constructs an invalid functor.

template <class T_return , class T_obj , class T_arg1 , class T_arg2 , class T_arg3 , class T_arg4 , class T_arg5 , class T_arg6 , class T_arg7 >
sigc::mem_functor7< T_return, T_obj, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >::mem_functor7 ( function_type  _A_func)
inlineexplicit

Constructs a mem_functor7 object that wraps the passed method.

Parameters
_A_funcPointer to method will be invoked from operator()().

Member Function Documentation

template <class T_return , class T_obj , class T_arg1 , class T_arg2 , class T_arg3 , class T_arg4 , class T_arg5 , class T_arg6 , class T_arg7 >
T_return sigc::mem_functor7< T_return, T_obj, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >::operator() ( T_obj *  _A_obj,
type_trait_take_t< T_arg1 >  _A_a1,
type_trait_take_t< T_arg2 >  _A_a2,
type_trait_take_t< T_arg3 >  _A_a3,
type_trait_take_t< T_arg4 >  _A_a4,
type_trait_take_t< T_arg5 >  _A_a5,
type_trait_take_t< T_arg6 >  _A_a6,
type_trait_take_t< T_arg7 >  _A_a7 
) const
inline

Execute the wrapped method operating on the passed instance.

Deprecated:
Please use the constructor that takes the object by reference instead.
Parameters
_A_objPointer to instance the method should operate on.
_A_a1Argument to be passed on to the method.
_A_a2Argument to be passed on to the method.
_A_a3Argument to be passed on to the method.
_A_a4Argument to be passed on to the method.
_A_a5Argument to be passed on to the method.
_A_a6Argument to be passed on to the method.
_A_a7Argument to be passed on to the method.
Returns
The return value of the method invocation.
template <class T_return , class T_obj , class T_arg1 , class T_arg2 , class T_arg3 , class T_arg4 , class T_arg5 , class T_arg6 , class T_arg7 >
T_return sigc::mem_functor7< T_return, T_obj, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >::operator() ( T_obj &  _A_obj,
type_trait_take_t< T_arg1 >  _A_a1,
type_trait_take_t< T_arg2 >  _A_a2,
type_trait_take_t< T_arg3 >  _A_a3,
type_trait_take_t< T_arg4 >  _A_a4,
type_trait_take_t< T_arg5 >  _A_a5,
type_trait_take_t< T_arg6 >  _A_a6,
type_trait_take_t< T_arg7 >  _A_a7 
) const
inline

Execute the wrapped method operating on the passed instance.

Parameters
_A_objReference to instance the method should operate on.
_A_a1Argument to be passed on to the method.
_A_a2Argument to be passed on to the method.
_A_a3Argument to be passed on to the method.
_A_a4Argument to be passed on to the method.
_A_a5Argument to be passed on to the method.
_A_a6Argument to be passed on to the method.
_A_a7Argument to be passed on to the method.
Returns
The return value of the method invocation.

Member Data Documentation

template <class T_return , class T_obj , class T_arg1 , class T_arg2 , class T_arg3 , class T_arg4 , class T_arg5 , class T_arg6 , class T_arg7 >
function_type sigc::mem_functor7< T_return, T_obj, T_arg1, T_arg2, T_arg3, T_arg4, T_arg5, T_arg6, T_arg7 >::func_ptr_
protected