ConstMemberFunctionWrapper< T, C > Class Template Reference


Detailed Description

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

Definition at line 148 of file qtconcurrentfunctionwrappers.h.

#include <qtconcurrentfunctionwrappers.h>

List of all members.

Public Types

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

Public Member Functions

  ConstMemberFunctionWrapper (FunctionPointerType _functionPointer)
operator() (const C &c) const

Member Typedef Documentation

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

Constructor & Destructor Documentation

ConstMemberFunctionWrapper ( FunctionPointerType  _functionPointer ) [inline]

Definition at line 153 of file qtconcurrentfunctionwrappers.h.

    :functionPointer(_functionPointer) { }

Member Function Documentation

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

Definition at line 156 of file qtconcurrentfunctionwrappers.h.

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

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