StoredFunctorPointerCall1< T, FunctionPointer, Arg1 > Struct Template Reference


Detailed Description

template<typename T, typename FunctionPointer, typename Arg1>
struct QtConcurrent::StoredFunctorPointerCall1< T, FunctionPointer, Arg1 >

Definition at line 297 of file qtconcurrentstoredfunctioncall.h.

#include <qtconcurrentstoredfunctioncall.h>

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

List of all members.

Public Member Functions

  StoredFunctorPointerCall1 (FunctionPointer *_function, const Arg1 &_arg1)
void  runFunctor ()

Public Attributes

FunctionPointer *  function
Arg1  arg1

Constructor & Destructor Documentation

StoredFunctorPointerCall1 ( FunctionPointer *  _function,
const Arg1 &  _arg1 
) [inline]

Definition at line 299 of file qtconcurrentstoredfunctioncall.h.

      : function(_function), arg1(_arg1) {}

Member Function Documentation

void runFunctor ( ) [inline, virtual]

Implements RunFunctionTaskBase< T >.

Definition at line 301 of file qtconcurrentstoredfunctioncall.h.

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

Member Data Documentation

FunctionPointer* function

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