StoredFunctorPointerCall2< T, FunctionPointer, Arg1, Arg2 > Struct Template Reference


Detailed Description

template<typename T, typename FunctionPointer, typename Arg1, typename Arg2>
struct QtConcurrent::StoredFunctorPointerCall2< T, FunctionPointer, Arg1, Arg2 >

Definition at line 507 of file qtconcurrentstoredfunctioncall.h.

#include <qtconcurrentstoredfunctioncall.h>

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

List of all members.

Public Member Functions

  StoredFunctorPointerCall2 (FunctionPointer *_function, const Arg1 &_arg1, const Arg2 &_arg2)
void  runFunctor ()

Public Attributes

FunctionPointer *  function
Arg1  arg1
Arg2  arg2

Constructor & Destructor Documentation

StoredFunctorPointerCall2 ( FunctionPointer *  _function,
const Arg1 &  _arg1,
const Arg2 &  _arg2 
) [inline]

Definition at line 509 of file qtconcurrentstoredfunctioncall.h.

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

Member Function Documentation

void runFunctor ( ) [inline, virtual]

Implements RunFunctionTaskBase< T >.

Definition at line 511 of file qtconcurrentstoredfunctioncall.h.

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

Member Data Documentation

FunctionPointer* function

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