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


Detailed Description

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

Definition at line 517 of file qtconcurrentstoredfunctioncall.h.

#include <qtconcurrentstoredfunctioncall.h>

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

List of all members.

Public Member Functions

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

Public Attributes

FunctionPointer *  function
Arg1  arg1
Arg2  arg2

Constructor & Destructor Documentation

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

Definition at line 519 of file qtconcurrentstoredfunctioncall.h.

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

Member Function Documentation

void runFunctor ( ) [inline, virtual]

Implements RunFunctionTaskBase< T >.

Definition at line 521 of file qtconcurrentstoredfunctioncall.h.

{(*function)(arg1, arg2); }

Member Data Documentation

FunctionPointer* function

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