FunctionWrapper0< T > Class Template Reference

FunctionWrapper0< T > Class Template Reference

#include <qtconcurrentfunctionwrappers.h>

Class Description

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

Definition at line 59 of file qtconcurrentfunctionwrappers.h.

Public Types

typedef T(* FunctionPointerType) ()
 
typedef T result_type
 

Public Member Functions

 FunctionWrapper0 (FunctionPointerType _functionPointer)
 
operator() ()
 

Member Typedef Documentation

typedef T(* FunctionPointerType) ()

Definition at line 62 of file qtconcurrentfunctionwrappers.h.

typedef T result_type

Definition at line 63 of file qtconcurrentfunctionwrappers.h.

Constructor & Destructor Documentation

FunctionWrapper0 ( FunctionPointerType  _functionPointer)
inline

Definition at line 64 of file qtconcurrentfunctionwrappers.h.

65  :functionPointer(_functionPointer) { }

Member Function Documentation

T operator() ( )
inline

Definition at line 67 of file qtconcurrentfunctionwrappers.h.

68  {
69  return functionPointer();
70  }

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