StoredMemberFunctionPointerCall2< T, Class, Param1, Arg1, Param2, Arg2 > Class Template Reference


Detailed Description

template<typename T, typename Class, typename Param1, typename Arg1, typename Param2, typename Arg2>
class QtConcurrent::StoredMemberFunctionPointerCall2< T, Class, Param1, Arg1, Param2, Arg2 >

Definition at line 612 of file qtconcurrentstoredfunctioncall.h.

#include <qtconcurrentstoredfunctioncall.h>

Inheritance diagram for StoredMemberFunctionPointerCall2< T, Class, Param1, Arg1, Param2, Arg2 >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

  StoredMemberFunctionPointerCall2 (T(Class::*_fn)(Param1, Param2), Class *_object, const Arg1 &_arg1, const Arg2 &_arg2)
void  runFunctor ()

Constructor & Destructor Documentation

StoredMemberFunctionPointerCall2 ( T(Class::*)(Param1, Param2)  _fn,
Class *  _object,
const Arg1 &  _arg1,
const Arg2 &  _arg2 
) [inline]

Definition at line 615 of file qtconcurrentstoredfunctioncall.h.

    : fn(_fn), object(_object), arg1(_arg1), arg2(_arg2){ }

Member Function Documentation

void runFunctor ( ) [inline, virtual]

Implements RunFunctionTaskBase< T >.

Definition at line 618 of file qtconcurrentstoredfunctioncall.h.

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

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