FunctionWrapper1< T, U > Class Template Reference

FunctionWrapper1< T, U > Class Template Reference

#include <qtconcurrentfunctionwrappers.h>

Class Description

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

Definition at line 76 of file qtconcurrentfunctionwrappers.h.

Public Types

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

Public Member Functions

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

Member Typedef Documentation

typedef T(* FunctionPointerType) (U u)

Definition at line 79 of file qtconcurrentfunctionwrappers.h.

typedef T result_type

Definition at line 80 of file qtconcurrentfunctionwrappers.h.

Constructor & Destructor Documentation

FunctionWrapper1 ( FunctionPointerType  _functionPointer)
inline

Definition at line 81 of file qtconcurrentfunctionwrappers.h.

82  :functionPointer(_functionPointer) { }

Member Function Documentation

T operator() ( u)
inline

Definition at line 84 of file qtconcurrentfunctionwrappers.h.

85  {
86  return functionPointer(u);
87  }

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