Logo Search packages:      
Sourcecode: ardour version File versions

template<class T_arg1, class T_arg2, class T_return, class T_obj, class T_obj2>
bound_const_volatile_mem_functor2< T_return, T_obj, T_arg1, T_arg2 > sigc::mem_fun ( T_obj *  _A_obj,
T_return(T_obj2::*)(T_arg1, T_arg2) const  _A_func 
) [inline]

Creates a functor of type sigc::bound_const_mem_functor2 which encapsulates a method and an object instance.

Parameters:
_A_obj Pointer to object instance the functor should operate on.
_A_func Pointer to method that should be wrapped.
Returns:
Functor that executes _A_func on invokation.
Creates a functor of type sigc::bound_const_volatile_mem_functor2 which encapsulates a method and an object instance.
Parameters:
_A_obj Pointer to object instance the functor should operate on.
_A_func Pointer to method that should be wrapped.
Returns:
Functor that executes _A_func on invokation.

Definition at line 5455 of file mem_fun.h.

{ return bound_const_mem_functor2<T_return, T_obj, T_arg1,T_arg2>(_A_obj, _A_func); }


Generated by  Doxygen 1.6.0   Back to index