Lines Matching refs:method
813 * A proxy similar to the FunctorProxy, but allows calling a method of a bound
822 MethodPointer method;
825 MethodProxy(T *obj, MethodPointer meth) : object(obj), method(meth) {}
826 Counter value() const { return (object->*method)(); }
827 Result result() const { return (object->*method)(); }
828 Result total() const { return (object->*method)(); }
865 * Extended functor that calls the specified method of the provided object.
867 * @param obj Pointer to the object whose method should be called.
868 * @param method Pointer of the function / method of the object.
873 method(T *obj, V (T::*method)() const)
875 proxy = new MethodProxy<T,V>(obj, method);