Functor< R(A1, A2) >::Method< C, M > Class Template Reference

Implementation calls binary method M of class C. More...

#include <Functor.h>

Inheritance diagram for Functor< R(A1, A2) >::Method< C, M >:
FunctorMethod< C, M, Base >

Public Member Functions

 Method (C *_instance, M _method)
 Construct from a pointer to a class instance and method.
call (const A1 &p1, const A2 &p2) const
 Call the method through the class instance.
Public Member Functions inherited from FunctorMethod< C, M, Base >
bool matches (const C *_instance, M _method) const
 Return true if the instance and method match.
bool is_valid () const
 Return true if valid (able to be called)

Additional Inherited Members

Protected Attributes inherited from FunctorMethod< C, M, Base >
Reference::To< C, false > instance
 The instance of the class.
method
 The method to be called.

Detailed Description

template<typename R, typename A1, typename A2>
template<class C, typename M>
class Functor< R(A1, A2) >::Method< C, M >

Implementation calls binary method M of class C.


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

Generated using doxygen 1.14.0