MemberFunctionWrapper< T, C > Class Template Reference


Detailed Description

template<typename T, typename C>
class QtConcurrent::MemberFunctionWrapper< T, C >

Definition at line 111 of file qtconcurrentfunctionwrappers.h.

#include <qtconcurrentfunctionwrappers.h>

List of all members.

Public Types

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

Public Member Functions

  MemberFunctionWrapper (FunctionPointerType _functionPointer)
operator() (C &c)

Member Typedef Documentation


Constructor & Destructor Documentation

MemberFunctionWrapper ( FunctionPointerType  _functionPointer ) [inline]

Definition at line 116 of file qtconcurrentfunctionwrappers.h.

    :functionPointer(_functionPointer) { }

Member Function Documentation

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

Definition at line 119 of file qtconcurrentfunctionwrappers.h.

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

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