FunctionWrapper1< T, U > Class Template Reference


Detailed Description

template<typename T, typename U>
class QtConcurrent::FunctionWrapper1< T, U >

Definition at line 76 of file qtconcurrentfunctionwrappers.h.

#include <qtconcurrentfunctionwrappers.h>

List of all members.

Public Types

typedef T(*  FunctionPointerType )(U u)
typedef T  result_type

Public Member Functions

  FunctionWrapper1 (FunctionPointerType _functionPointer)
operator() (U u)

Member Typedef Documentation


Constructor & Destructor Documentation

FunctionWrapper1 ( FunctionPointerType  _functionPointer ) [inline]

Definition at line 81 of file qtconcurrentfunctionwrappers.h.

    :functionPointer(_functionPointer) { }

Member Function Documentation

T operator() ( u ) [inline]

Definition at line 84 of file qtconcurrentfunctionwrappers.h.

    {
        return functionPointer(u);
    }

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