MemberFunctionWrapper1< T, C, U > Class Template Reference


Detailed Description

template<typename T, typename C, typename U>
class QtConcurrent::MemberFunctionWrapper1< T, C, U >

Definition at line 128 of file qtconcurrentfunctionwrappers.h.

#include <qtconcurrentfunctionwrappers.h>

List of all members.

Public Types

typedef T(C::*  FunctionPointerType )(U)
typedef T  result_type

Public Member Functions

  MemberFunctionWrapper1 (FunctionPointerType _functionPointer)
operator() (C &c, U u)

Member Typedef Documentation


Constructor & Destructor Documentation

MemberFunctionWrapper1 ( FunctionPointerType  _functionPointer ) [inline]

Definition at line 134 of file qtconcurrentfunctionwrappers.h.

        : functionPointer(_functionPointer)
    { }

Member Function Documentation

T operator() ( C &  c,
u 
) [inline]

Definition at line 138 of file qtconcurrentfunctionwrappers.h.

    {
        return (c.*functionPointer)(u);
    }

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