StoredFunctorPointerCall0< T, FunctionPointer > Struct Template Reference


Detailed Description

template<typename T, typename FunctionPointer>
struct QtConcurrent::StoredFunctorPointerCall0< T, FunctionPointer >

Definition at line 87 of file qtconcurrentstoredfunctioncall.h.

#include <qtconcurrentstoredfunctioncall.h>

Inheritance diagram for StoredFunctorPointerCall0< T, FunctionPointer >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  StoredFunctorPointerCall0 (FunctionPointer *_function)
void  runFunctor ()

Public Attributes

FunctionPointer *  function

Constructor & Destructor Documentation

StoredFunctorPointerCall0 ( FunctionPointer *  _function ) [inline]

Definition at line 89 of file qtconcurrentstoredfunctioncall.h.

      : function(_function) {}

Member Function Documentation

void runFunctor ( ) [inline, virtual]

Implements RunFunctionTaskBase< T >.

Definition at line 91 of file qtconcurrentstoredfunctioncall.h.

{ this->result =(*function)(); }

Member Data Documentation

FunctionPointer* function

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