FunctionWrapper0< T > Class Template Reference


Detailed Description

template<typename T>
class QtConcurrent::FunctionWrapper0< T >

Definition at line 59 of file qtconcurrentfunctionwrappers.h.

#include <qtconcurrentfunctionwrappers.h>

List of all members.

Public Types

typedef T(*  FunctionPointerType )()
typedef T  result_type

Public Member Functions

  FunctionWrapper0 (FunctionPointerType _functionPointer)
operator() ()

Member Typedef Documentation


Constructor & Destructor Documentation

FunctionWrapper0 ( FunctionPointerType  _functionPointer ) [inline]

Definition at line 64 of file qtconcurrentfunctionwrappers.h.

    :functionPointer(_functionPointer) { }

Member Function Documentation

T operator() ( ) [inline]

Definition at line 67 of file qtconcurrentfunctionwrappers.h.

    {
        return functionPointer();
    }

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