rutz::mem_functor_base< mem_func > Class Template Reference

mem_functor_base adapts a member function to an ordinary operator(). More...

#include <rutz/functors.h>

Inheritance diagram for rutz::mem_functor_base< mem_func >:
Inheritance graph
[legend]
Collaboration diagram for rutz::mem_functor_base< mem_func >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef func_traits< mem_func >
::retn_t 
R
typedef func_traits< mem_func >
::class_t 
C

Public Member Functions

 mem_functor_base (mem_func f)
template<class ptr >
operator() (ptr obj)
 Function-call operator for object + 0 args.
template<class ptr , class P1 >
operator() (ptr obj, P1 p1)
 Function-call operator for object + 1 arg.
template<class ptr , class P1 , class P2 >
operator() (ptr obj, P1 p1, P2 p2)
 Function-call operator for object + 2 args.
template<class ptr , class P1 , class P2 , class P3 >
operator() (ptr obj, P1 p1, P2 p2, P3 p3)
 Function-call operator for object + 3 args.
template<class ptr , class P1 , class P2 , class P3 , class P4 >
operator() (ptr obj, P1 p1, P2 p2, P3 p3, P4 p4)
 Function-call operator for object + 4 args.
template<class ptr , class P1 , class P2 , class P3 , class P4 , class P5 >
operator() (ptr obj, P1 p1, P2 p2, P3 p3, P4 p4, P5 p5)
 Function-call operator for object + 5 args.
template<class ptr , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 >
operator() (ptr obj, P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6)
 Function-call operator for object + 6 args.

Detailed Description

template<class mem_func>
class rutz::mem_functor_base< mem_func >

mem_functor_base adapts a member function to an ordinary operator().

The "this" pointer is passed through the first argument of the operator() call, via a raw pointer or a smart pointer.

Definition at line 313 of file functors.h.


Member Function Documentation

template<class mem_func >
template<class ptr , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 >
R rutz::mem_functor_base< mem_func >::operator() ( ptr  obj,
P1  p1,
P2  p2,
P3  p3,
P4  p4,
P5  p5,
P6  p6 
) [inline]

Function-call operator for object + 6 args.

Definition at line 372 of file functors.h.

template<class mem_func >
template<class ptr , class P1 , class P2 , class P3 , class P4 , class P5 >
R rutz::mem_functor_base< mem_func >::operator() ( ptr  obj,
P1  p1,
P2  p2,
P3  p3,
P4  p4,
P5  p5 
) [inline]

Function-call operator for object + 5 args.

Definition at line 364 of file functors.h.

template<class mem_func >
template<class ptr , class P1 , class P2 , class P3 , class P4 >
R rutz::mem_functor_base< mem_func >::operator() ( ptr  obj,
P1  p1,
P2  p2,
P3  p3,
P4  p4 
) [inline]

Function-call operator for object + 4 args.

Definition at line 356 of file functors.h.

template<class mem_func >
template<class ptr , class P1 , class P2 , class P3 >
R rutz::mem_functor_base< mem_func >::operator() ( ptr  obj,
P1  p1,
P2  p2,
P3  p3 
) [inline]

Function-call operator for object + 3 args.

Definition at line 349 of file functors.h.

template<class mem_func >
template<class ptr , class P1 , class P2 >
R rutz::mem_functor_base< mem_func >::operator() ( ptr  obj,
P1  p1,
P2  p2 
) [inline]

Function-call operator for object + 2 args.

Definition at line 342 of file functors.h.

template<class mem_func >
template<class ptr , class P1 >
R rutz::mem_functor_base< mem_func >::operator() ( ptr  obj,
P1  p1 
) [inline]

Function-call operator for object + 1 arg.

Definition at line 335 of file functors.h.

template<class mem_func >
template<class ptr >
R rutz::mem_functor_base< mem_func >::operator() ( ptr  obj  )  [inline]

Function-call operator for object + 0 args.

Definition at line 328 of file functors.h.


The documentation for this class was generated from the following file:
Generated on Sun May 8 08:44:44 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3