⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.72
Server IP:
41.128.143.86
Server:
Linux host.raqmix.cloud 6.8.0-1025-azure #30~22.04.1-Ubuntu SMP Wed Mar 12 15:28:20 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
8.3.23
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
include
/
x86_64-linux-gnu
/
qt5
/
QtConcurrent
/
View File Name :
qtconcurrentstoredfunctioncall.h
/**************************************************************************** ** ** Copyright (C) 2016 The Qt Company Ltd. ** Contact: https://www.qt.io/licensing/ ** ** This file is part of the QtConcurrent module of the Qt Toolkit. ** ** $QT_BEGIN_LICENSE:LGPL$ ** Commercial License Usage ** Licensees holding valid commercial Qt licenses may use this file in ** accordance with the commercial license agreement provided with the ** Software or, alternatively, in accordance with the terms contained in ** a written agreement between you and The Qt Company. For licensing terms ** and conditions see https://www.qt.io/terms-conditions. For further ** information use the contact form at https://www.qt.io/contact-us. ** ** GNU Lesser General Public License Usage ** Alternatively, this file may be used under the terms of the GNU Lesser ** General Public License version 3 as published by the Free Software ** Foundation and appearing in the file LICENSE.LGPL3 included in the ** packaging of this file. Please review the following information to ** ensure the GNU Lesser General Public License version 3 requirements ** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. ** ** GNU General Public License Usage ** Alternatively, this file may be used under the terms of the GNU ** General Public License version 2.0 or (at your option) the GNU General ** Public license version 3 or any later version approved by the KDE Free ** Qt Foundation. The licenses are as published by the Free Software ** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 ** included in the packaging of this file. Please review the following ** information to ensure the GNU General Public License requirements will ** be met: https://www.gnu.org/licenses/gpl-2.0.html and ** https://www.gnu.org/licenses/gpl-3.0.html. ** ** $QT_END_LICENSE$ ** ****************************************************************************/ // Generated code, do not edit! Use generator at tools/qtconcurrent/generaterun/ #ifndef QTCONCURRENT_STOREDFUNCTIONCALL_H #define QTCONCURRENT_STOREDFUNCTIONCALL_H #include
#ifndef QT_NO_CONCURRENT #include
QT_BEGIN_NAMESPACE #ifndef Q_QDOC namespace QtConcurrent { template
struct StoredFunctorCall0: public RunFunctionTask
{ inline StoredFunctorCall0(FunctionPointer _function) : function(_function) {} void runFunctor() override { this->result = function(); } FunctionPointer function; }; template
struct StoredFunctorCall0
: public RunFunctionTask
{ inline StoredFunctorCall0(FunctionPointer _function) : function(_function) {} void runFunctor() override { function(); } FunctionPointer function; }; template
struct StoredFunctorPointerCall0: public RunFunctionTask
{ inline StoredFunctorPointerCall0(FunctionPointer * _function) : function(_function) {} void runFunctor() override { this->result =(*function)(); } FunctionPointer * function; }; template
struct VoidStoredFunctorPointerCall0: public RunFunctionTask
{ inline VoidStoredFunctorPointerCall0(FunctionPointer * _function) : function(_function) {} void runFunctor() override { (*function)(); } FunctionPointer * function; }; template
struct SelectStoredFunctorPointerCall0 { typedef typename SelectSpecialization
::template Type
, VoidStoredFunctorPointerCall0
>::type type; }; template
class StoredMemberFunctionCall0 : public RunFunctionTask
{ public: StoredMemberFunctionCall0(T (Class::*_fn)(), const Class &_object) : fn(_fn), object(_object){ } void runFunctor() override { this->result = (object.*fn)(); } private: T (Class::*fn)(); Class object; }; template
class VoidStoredMemberFunctionCall0 : public RunFunctionTask
{ public: VoidStoredMemberFunctionCall0(T (Class::*_fn)(), const Class &_object) : fn(_fn), object(_object){ } void runFunctor() override { (object.*fn)(); } private: T (Class::*fn)(); Class object; }; template
struct SelectStoredMemberFunctionCall0 { typedef typename SelectSpecialization
::template Type
, VoidStoredMemberFunctionCall0
>::type type; }; template
class StoredConstMemberFunctionCall0 : public RunFunctionTask
{ public: StoredConstMemberFunctionCall0(T (Class::*_fn)() const, const Class &_object) : fn(_fn), object(_object){ } void runFunctor() override { this->result = (object.*fn)(); } private: T (Class::*fn)() const; const Class object; }; template
class VoidStoredConstMemberFunctionCall0 : public RunFunctionTask
{ public: VoidStoredConstMemberFunctionCall0(T (Class::*_fn)() const, const Class &_object) : fn(_fn), object(_object){ } void runFunctor() override { (object.*fn)(); } private: T (Class::*fn)() const; const Class object; }; template
struct SelectStoredConstMemberFunctionCall0 { typedef typename SelectSpecialization
::template Type
, VoidStoredConstMemberFunctionCall0
>::type type; }; template
class StoredMemberFunctionPointerCall0 : public RunFunctionTask
{ public: StoredMemberFunctionPointerCall0(T (Class::*_fn)(), Class *_object) : fn(_fn), object(_object){ } void runFunctor() override { this->result = (object->*fn)(); } private: T (Class::*fn)(); Class *object; }; template
class VoidStoredMemberFunctionPointerCall0 : public RunFunctionTask
{ public: VoidStoredMemberFunctionPointerCall0(T (Class::*_fn)(), Class *_object) : fn(_fn), object(_object){ } void runFunctor() override { (object->*fn)(); } private: T (Class::*fn)(); Class *object; }; template
struct SelectStoredMemberFunctionPointerCall0 { typedef typename SelectSpecialization
::template Type
, VoidStoredMemberFunctionPointerCall0
>::type type; }; template
class StoredConstMemberFunctionPointerCall0 : public RunFunctionTask
{ public: StoredConstMemberFunctionPointerCall0(T (Class::*_fn)() const, Class const *_object) : fn(_fn), object(_object){ } void runFunctor() override { this->result = (object->*fn)(); } private: T (Class::*fn)() const; Class const *object; }; template
class VoidStoredConstMemberFunctionPointerCall0 : public RunFunctionTask
{ public: VoidStoredConstMemberFunctionPointerCall0(T (Class::*_fn)() const, Class const *_object) : fn(_fn), object(_object){ } void runFunctor() override { (object->*fn)(); } private: T (Class::*fn)() const; Class const *object; }; template
struct SelectStoredConstMemberFunctionPointerCall0 { typedef typename SelectSpecialization
::template Type
, VoidStoredConstMemberFunctionPointerCall0
>::type type; }; #if defined(__cpp_noexcept_function_type) && __cpp_noexcept_function_type >= 201510 template
class StoredNoExceptMemberFunctionCall0 : public RunFunctionTask
{ public: StoredNoExceptMemberFunctionCall0(T (Class::*_fn)() noexcept, const Class &_object) : fn(_fn), object(_object){ } void runFunctor() override { this->result = (object.*fn)(); } private: T (Class::*fn)() noexcept; Class object; }; template
class VoidStoredNoExceptMemberFunctionCall0 : public RunFunctionTask
{ public: VoidStoredNoExceptMemberFunctionCall0(T (Class::*_fn)() noexcept, const Class &_object) : fn(_fn), object(_object){ } void runFunctor() override { (object.*fn)(); } private: T (Class::*fn)() noexcept; Class object; }; template
struct SelectStoredNoExceptMemberFunctionCall0 { typedef typename SelectSpecialization
::template Type
, VoidStoredNoExceptMemberFunctionCall0
>::type type; }; template
class StoredConstNoExceptMemberFunctionCall0 : public RunFunctionTask
{ public: StoredConstNoExceptMemberFunctionCall0(T (Class::*_fn)() const noexcept, const Class &_object) : fn(_fn), object(_object){ } void runFunctor() override { this->result = (object.*fn)(); } private: T (Class::*fn)() const noexcept; const Class object; }; template
class VoidStoredConstNoExceptMemberFunctionCall0 : public RunFunctionTask
{ public: VoidStoredConstNoExceptMemberFunctionCall0(T (Class::*_fn)() const noexcept, const Class &_object) : fn(_fn), object(_object){ } void runFunctor() override { (object.*fn)(); } private: T (Class::*fn)() const noexcept; const Class object; }; template
struct SelectStoredConstNoExceptMemberFunctionCall0 { typedef typename SelectSpecialization
::template Type
, VoidStoredConstNoExceptMemberFunctionCall0
>::type type; }; template
class StoredNoExceptMemberFunctionPointerCall0 : public RunFunctionTask
{ public: StoredNoExceptMemberFunctionPointerCall0(T (Class::*_fn)() noexcept, Class *_object) : fn(_fn), object(_object){ } void runFunctor() override { this->result = (object->*fn)(); } private: T (Class::*fn)() noexcept; Class *object; }; template
class VoidStoredNoExceptMemberFunctionPointerCall0 : public RunFunctionTask
{ public: VoidStoredNoExceptMemberFunctionPointerCall0(T (Class::*_fn)() noexcept, Class *_object) : fn(_fn), object(_object){ } void runFunctor() override { (object->*fn)(); } private: T (Class::*fn)() noexcept; Class *object; }; template
struct SelectStoredNoExceptMemberFunctionPointerCall0 { typedef typename SelectSpecialization
::template Type
, VoidStoredNoExceptMemberFunctionPointerCall0
>::type type; }; template
class StoredConstNoExceptMemberFunctionPointerCall0 : public RunFunctionTask
{ public: StoredConstNoExceptMemberFunctionPointerCall0(T (Class::*_fn)() const noexcept, Class const *_object) : fn(_fn), object(_object){ } void runFunctor() override { this->result = (object->*fn)(); } private: T (Class::*fn)() const noexcept; Class const *object; }; template
class VoidStoredConstNoExceptMemberFunctionPointerCall0 : public RunFunctionTask
{ public: VoidStoredConstNoExceptMemberFunctionPointerCall0(T (Class::*_fn)() const noexcept, Class const *_object) : fn(_fn), object(_object){ } void runFunctor() override { (object->*fn)(); } private: T (Class::*fn)() const noexcept; Class const *object; }; template
struct SelectStoredConstNoExceptMemberFunctionPointerCall0 { typedef typename SelectSpecialization
::template Type
, VoidStoredConstNoExceptMemberFunctionPointerCall0
>::type type; }; #endif template
struct StoredFunctorCall1: public RunFunctionTask
{ inline StoredFunctorCall1(FunctionPointer _function, const Arg1 &_arg1) : function(_function), arg1(_arg1) {} void runFunctor() override { this->result = function(arg1); } FunctionPointer function; Arg1 arg1; }; template
struct StoredFunctorCall1
: public RunFunctionTask
{ inline StoredFunctorCall1(FunctionPointer _function, const Arg1 &_arg1) : function(_function), arg1(_arg1) {} void runFunctor() override { function(arg1); } FunctionPointer function; Arg1 arg1; }; template
struct StoredFunctorPointerCall1: public RunFunctionTask
{ inline StoredFunctorPointerCall1(FunctionPointer * _function, const Arg1 &_arg1) : function(_function), arg1(_arg1) {} void runFunctor() override { this->result =(*function)(arg1); } FunctionPointer * function; Arg1 arg1; }; template
struct VoidStoredFunctorPointerCall1: public RunFunctionTask
{ inline VoidStoredFunctorPointerCall1(FunctionPointer * _function, const Arg1 &_arg1) : function(_function), arg1(_arg1) {} void runFunctor() override { (*function)(arg1); } FunctionPointer * function; Arg1 arg1; }; template
struct SelectStoredFunctorPointerCall1 { typedef typename SelectSpecialization
::template Type
, VoidStoredFunctorPointerCall1
>::type type; }; template
class StoredMemberFunctionCall1 : public RunFunctionTask
{ public: StoredMemberFunctionCall1(T (Class::*_fn)(Param1), const Class &_object, const Arg1 &_arg1) : fn(_fn), object(_object), arg1(_arg1){ } void runFunctor() override { this->result = (object.*fn)(arg1); } private: T (Class::*fn)(Param1); Class object; Arg1 arg1; }; template
class VoidStoredMemberFunctionCall1 : public RunFunctionTask
{ public: VoidStoredMemberFunctionCall1(T (Class::*_fn)(Param1), const Class &_object, const Arg1 &_arg1) : fn(_fn), object(_object), arg1(_arg1){ } void runFunctor() override { (object.*fn)(arg1); } private: T (Class::*fn)(Param1); Class object; Arg1 arg1; }; template
struct SelectStoredMemberFunctionCall1 { typedef typename SelectSpecialization
::template Type
, VoidStoredMemberFunctionCall1
>::type type; }; template
class StoredConstMemberFunctionCall1 : public RunFunctionTask
{ public: StoredConstMemberFunctionCall1(T (Class::*_fn)(Param1) const, const Class &_object, const Arg1 &_arg1) : fn(_fn), object(_object), arg1(_arg1){ } void runFunctor() override { this->result = (object.*fn)(arg1); } private: T (Class::*fn)(Param1) const; const Class object; Arg1 arg1; }; template
class VoidStoredConstMemberFunctionCall1 : public RunFunctionTask
{ public: VoidStoredConstMemberFunctionCall1(T (Class::*_fn)(Param1) const, const Class &_object, const Arg1 &_arg1) : fn(_fn), object(_object), arg1(_arg1){ } void runFunctor() override { (object.*fn)(arg1); } private: T (Class::*fn)(Param1) const; const Class object; Arg1 arg1; }; template
struct SelectStoredConstMemberFunctionCall1 { typedef typename SelectSpecialization
::template Type
, VoidStoredConstMemberFunctionCall1
>::type type; }; template
class StoredMemberFunctionPointerCall1 : public RunFunctionTask
{ public: StoredMemberFunctionPointerCall1(T (Class::*_fn)(Param1), Class *_object, const Arg1 &_arg1) : fn(_fn), object(_object), arg1(_arg1){ } void runFunctor() override { this->result = (object->*fn)(arg1); } private: T (Class::*fn)(Param1); Class *object; Arg1 arg1; }; template
class VoidStoredMemberFunctionPointerCall1 : public RunFunctionTask
{ public: VoidStoredMemberFunctionPointerCall1(T (Class::*_fn)(Param1), Class *_object, const Arg1 &_arg1) : fn(_fn), object(_object), arg1(_arg1){ } void runFunctor() override { (object->*fn)(arg1); } private: T (Class::*fn)(Param1); Class *object; Arg1 arg1; }; template
struct SelectStoredMemberFunctionPointerCall1 { typedef typename SelectSpecialization
::template Type
, VoidStoredMemberFunctionPointerCall1
>::type type; }; template
class StoredConstMemberFunctionPointerCall1 : public RunFunctionTask
{ public: StoredConstMemberFunctionPointerCall1(T (Class::*_fn)(Param1) const, Class const *_object, const Arg1 &_arg1) : fn(_fn), object(_object), arg1(_arg1){ } void runFunctor() override { this->result = (object->*fn)(arg1); } private: T (Class::*fn)(Param1) const; Class const *object; Arg1 arg1; }; template
class VoidStoredConstMemberFunctionPointerCall1 : public RunFunctionTask
{ public: VoidStoredConstMemberFunctionPointerCall1(T (Class::*_fn)(Param1) const, Class const *_object, const Arg1 &_arg1) : fn(_fn), object(_object), arg1(_arg1){ } void runFunctor() override { (object->*fn)(arg1); } private: T (Class::*fn)(Param1) const; Class const *object; Arg1 arg1; }; template
struct SelectStoredConstMemberFunctionPointerCall1 { typedef typename SelectSpecialization
::template Type
, VoidStoredConstMemberFunctionPointerCall1
>::type type; }; #if defined(__cpp_noexcept_function_type) && __cpp_noexcept_function_type >= 201510 template
class StoredNoExceptMemberFunctionCall1 : public RunFunctionTask
{ public: StoredNoExceptMemberFunctionCall1(T (Class::*_fn)(Param1) noexcept, const Class &_object, const Arg1 &_arg1) : fn(_fn), object(_object), arg1(_arg1){ } void runFunctor() override { this->result = (object.*fn)(arg1); } private: T (Class::*fn)(Param1) noexcept; Class object; Arg1 arg1; }; template
class VoidStoredNoExceptMemberFunctionCall1 : public RunFunctionTask
{ public: VoidStoredNoExceptMemberFunctionCall1(T (Class::*_fn)(Param1) noexcept, const Class &_object, const Arg1 &_arg1) : fn(_fn), object(_object), arg1(_arg1){ } void runFunctor() override { (object.*fn)(arg1); } private: T (Class::*fn)(Param1) noexcept; Class object; Arg1 arg1; }; template
struct SelectStoredNoExceptMemberFunctionCall1 { typedef typename SelectSpecialization
::template Type
, VoidStoredNoExceptMemberFunctionCall1
>::type type; }; template
class StoredConstNoExceptMemberFunctionCall1 : public RunFunctionTask
{ public: StoredConstNoExceptMemberFunctionCall1(T (Class::*_fn)(Param1) const noexcept, const Class &_object, const Arg1 &_arg1) : fn(_fn), object(_object), arg1(_arg1){ } void runFunctor() override { this->result = (object.*fn)(arg1); } private: T (Class::*fn)(Param1) const noexcept; const Class object; Arg1 arg1; }; template
class VoidStoredConstNoExceptMemberFunctionCall1 : public RunFunctionTask
{ public: VoidStoredConstNoExceptMemberFunctionCall1(T (Class::*_fn)(Param1) const noexcept, const Class &_object, const Arg1 &_arg1) : fn(_fn), object(_object), arg1(_arg1){ } void runFunctor() override { (object.*fn)(arg1); } private: T (Class::*fn)(Param1) const noexcept; const Class object; Arg1 arg1; }; template
struct SelectStoredConstNoExceptMemberFunctionCall1 { typedef typename SelectSpecialization
::template Type
, VoidStoredConstNoExceptMemberFunctionCall1
>::type type; }; template
class StoredNoExceptMemberFunctionPointerCall1 : public RunFunctionTask
{ public: StoredNoExceptMemberFunctionPointerCall1(T (Class::*_fn)(Param1) noexcept, Class *_object, const Arg1 &_arg1) : fn(_fn), object(_object), arg1(_arg1){ } void runFunctor() override { this->result = (object->*fn)(arg1); } private: T (Class::*fn)(Param1) noexcept; Class *object; Arg1 arg1; }; template
class VoidStoredNoExceptMemberFunctionPointerCall1 : public RunFunctionTask
{ public: VoidStoredNoExceptMemberFunctionPointerCall1(T (Class::*_fn)(Param1) noexcept, Class *_object, const Arg1 &_arg1) : fn(_fn), object(_object), arg1(_arg1){ } void runFunctor() override { (object->*fn)(arg1); } private: T (Class::*fn)(Param1) noexcept; Class *object; Arg1 arg1; }; template
struct SelectStoredNoExceptMemberFunctionPointerCall1 { typedef typename SelectSpecialization
::template Type
, VoidStoredNoExceptMemberFunctionPointerCall1
>::type type; }; template
class StoredConstNoExceptMemberFunctionPointerCall1 : public RunFunctionTask
{ public: StoredConstNoExceptMemberFunctionPointerCall1(T (Class::*_fn)(Param1) const noexcept, Class const *_object, const Arg1 &_arg1) : fn(_fn), object(_object), arg1(_arg1){ } void runFunctor() override { this->result = (object->*fn)(arg1); } private: T (Class::*fn)(Param1) const noexcept; Class const *object; Arg1 arg1; }; template
class VoidStoredConstNoExceptMemberFunctionPointerCall1 : public RunFunctionTask
{ public: VoidStoredConstNoExceptMemberFunctionPointerCall1(T (Class::*_fn)(Param1) const noexcept, Class const *_object, const Arg1 &_arg1) : fn(_fn), object(_object), arg1(_arg1){ } void runFunctor() override { (object->*fn)(arg1); } private: T (Class::*fn)(Param1) const noexcept; Class const *object; Arg1 arg1; }; template
struct SelectStoredConstNoExceptMemberFunctionPointerCall1 { typedef typename SelectSpecialization
::template Type
, VoidStoredConstNoExceptMemberFunctionPointerCall1
>::type type; }; #endif template
struct StoredFunctorCall2: public RunFunctionTask
{ inline StoredFunctorCall2(FunctionPointer _function, const Arg1 &_arg1, const Arg2 &_arg2) : function(_function), arg1(_arg1), arg2(_arg2) {} void runFunctor() override { this->result = function(arg1, arg2); } FunctionPointer function; Arg1 arg1; Arg2 arg2; }; template
struct StoredFunctorCall2
: public RunFunctionTask
{ inline StoredFunctorCall2(FunctionPointer _function, const Arg1 &_arg1, const Arg2 &_arg2) : function(_function), arg1(_arg1), arg2(_arg2) {} void runFunctor() override { function(arg1, arg2); } FunctionPointer function; Arg1 arg1; Arg2 arg2; }; template
struct StoredFunctorPointerCall2: public RunFunctionTask
{ inline StoredFunctorPointerCall2(FunctionPointer * _function, const Arg1 &_arg1, const Arg2 &_arg2) : function(_function), arg1(_arg1), arg2(_arg2) {} void runFunctor() override { this->result =(*function)(arg1, arg2); } FunctionPointer * function; Arg1 arg1; Arg2 arg2; }; template
struct VoidStoredFunctorPointerCall2: public RunFunctionTask
{ inline VoidStoredFunctorPointerCall2(FunctionPointer * _function, const Arg1 &_arg1, const Arg2 &_arg2) : function(_function), arg1(_arg1), arg2(_arg2) {} void runFunctor() override { (*function)(arg1, arg2); } FunctionPointer * function; Arg1 arg1; Arg2 arg2; }; template
struct SelectStoredFunctorPointerCall2 { typedef typename SelectSpecialization
::template Type
, VoidStoredFunctorPointerCall2
>::type type; }; template
class StoredMemberFunctionCall2 : public RunFunctionTask
{ public: StoredMemberFunctionCall2(T (Class::*_fn)(Param1, Param2), const Class &_object, const Arg1 &_arg1, const Arg2 &_arg2) : fn(_fn), object(_object), arg1(_arg1), arg2(_arg2){ } void runFunctor() override { this->result = (object.*fn)(arg1, arg2); } private: T (Class::*fn)(Param1, Param2); Class object; Arg1 arg1; Arg2 arg2; }; template
class VoidStoredMemberFunctionCall2 : public RunFunctionTask
{ public: VoidStoredMemberFunctionCall2(T (Class::*_fn)(Param1, Param2), const Class &_object, const Arg1 &_arg1, const Arg2 &_arg2) : fn(_fn), object(_object), arg1(_arg1), arg2(_arg2){ } void runFunctor() override { (object.*fn)(arg1, arg2); } private: T (Class::*fn)(Param1, Param2); Class object; Arg1 arg1; Arg2 arg2; }; template
struct SelectStoredMemberFunctionCall2 { typedef typename SelectSpecialization
::template Type
, VoidStoredMemberFunctionCall2
>::type type; }; template
class StoredConstMemberFunctionCall2 : public RunFunctionTask
{ public: StoredConstMemberFunctionCall2(T (Class::*_fn)(Param1, Param2) const, const Class &_object, const Arg1 &_arg1, const Arg2 &_arg2) : fn(_fn), object(_object), arg1(_arg1), arg2(_arg2){ } void runFunctor() override { this->result = (object.*fn)(arg1, arg2); } private: T (Class::*fn)(Param1, Param2) const; const Class object; Arg1 arg1; Arg2 arg2; }; template
class VoidStoredConstMemberFunctionCall2 : public RunFunctionTask
{ public: VoidStoredConstMemberFunctionCall2(T (Class::*_fn)(Param1, Param2) const, const Class &_object, const Arg1 &_arg1, const Arg2 &_arg2) : fn(_fn), object(_object), arg1(_arg1), arg2(_arg2){ } void runFunctor() override { (object.*fn)(arg1, arg2); } private: T (Class::*fn)(Param1, Param2) const; const Class object; Arg1 arg1; Arg2 arg2; }; template
struct SelectStoredConstMemberFunctionCall2 { typedef typename SelectSpecialization
::template Type
, VoidStoredConstMemberFunctionCall2
>::type type; }; template
class StoredMemberFunctionPointerCall2 : public RunFunctionTask
{ public: StoredMemberFunctionPointerCall2(T (Class::*_fn)(Param1, Param2), Class *_object, const Arg1 &_arg1, const Arg2 &_arg2) : fn(_fn), object(_object), arg1(_arg1), arg2(_arg2){ } void runFunctor() override { this->result = (object->*fn)(arg1, arg2); } private: T (Class::*fn)(Param1, Param2); Class *object; Arg1 arg1; Arg2 arg2; }; template
class VoidStoredMemberFunctionPointerCall2 : public RunFunctionTask
{ public: VoidStoredMemberFunctionPointerCall2(T (Class::*_fn)(Param1, Param2), Class *_object, const Arg1 &_arg1, const Arg2 &_arg2) : fn(_fn), object(_object), arg1(_arg1), arg2(_arg2){ } void runFunctor() override { (object->*fn)(arg1, arg2); } private: T (Class::*fn)(Param1, Param2); Class *object; Arg1 arg1; Arg2 arg2; }; template
struct SelectStoredMemberFunctionPointerCall2 { typedef typename SelectSpecialization
::template Type
, VoidStoredMemberFunctionPointerCall2
>::type type; }; template
class StoredConstMemberFunctionPointerCall2 : public RunFunctionTask
{ public: StoredConstMemberFunctionPointerCall2(T (Class::*_fn)(Param1, Param2) const, Class const *_object, const Arg1 &_arg1, const Arg2 &_arg2) : fn(_fn), object(_object), arg1(_arg1), arg2(_arg2){ } void runFunctor() override { this->result = (object->*fn)(arg1, arg2); } private: T (Class::*fn)(Param1, Param2) const; Class const *object; Arg1 arg1; Arg2 arg2; }; template
class VoidStoredConstMemberFunctionPointerCall2 : public RunFunctionTask
{ public: VoidStoredConstMemberFunctionPointerCall2(T (Class::*_fn)(Param1, Param2) const, Class const *_object, const Arg1 &_arg1, const Arg2 &_arg2) : fn(_fn), object(_object), arg1(_arg1), arg2(_arg2){ } void runFunctor() override { (object->*fn)(arg1, arg2); } private: T (Class::*fn)(Param1, Param2) const; Class const *object; Arg1 arg1; Arg2 arg2; }; template
struct SelectStoredConstMemberFunctionPointerCall2 { typedef typename SelectSpecialization
::template Type
, VoidStoredConstMemberFunctionPointerCall2
>::type type; }; #if defined(__cpp_noexcept_function_type) && __cpp_noexcept_function_type >= 201510 template
class StoredNoExceptMemberFunctionCall2 : public RunFunctionTask
{ public: StoredNoExceptMemberFunctionCall2(T (Class::*_fn)(Param1, Param2) noexcept, const Class &_object, const Arg1 &_arg1, const Arg2 &_arg2) : fn(_fn), object(_object), arg1(_arg1), arg2(_arg2){ } void runFunctor() override { this->result = (object.*fn)(arg1, arg2); } private: T (Class::*fn)(Param1, Param2) noexcept; Class object; Arg1 arg1; Arg2 arg2; }; template
class VoidStoredNoExceptMemberFunctionCall2 : public RunFunctionTask
{ public: VoidStoredNoExceptMemberFunctionCall2(T (Class::*_fn)(Param1, Param2) noexcept, const Class &_object, const Arg1 &_arg1, const Arg2 &_arg2) : fn(_fn), object(_object), arg1(_arg1), arg2(_arg2){ } void runFunctor() override { (object.*fn)(arg1, arg2); } private: T (Class::*fn)(Param1, Param2) noexcept; Class object; Arg1 arg1; Arg2 arg2; }; template
struct SelectStoredNoExceptMemberFunctionCall2 { typedef typename SelectSpecialization
::template Type
, VoidStoredNoExceptMemberFunctionCall2
>::type type; }; template
class StoredConstNoExceptMemberFunctionCall2 : public RunFunctionTask
{ public: StoredConstNoExceptMemberFunctionCall2(T (Class::*_fn)(Param1, Param2) const noexcept, const Class &_object, const Arg1 &_arg1, const Arg2 &_arg2) : fn(_fn), object(_object), arg1(_arg1), arg2(_arg2){ } void runFunctor() override { this->result = (object.*fn)(arg1, arg2); } private: T (Class::*fn)(Param1, Param2) const noexcept; const Class object; Arg1 arg1; Arg2 arg2; }; template
class VoidStoredConstNoExceptMemberFunctionCall2 : public RunFunctionTask
{ public: VoidStoredConstNoExceptMemberFunctionCall2(T (Class::*_fn)(Param1, Param2) const noexcept, const Class &_object, const Arg1 &_arg1, const Arg2 &_arg2) : fn(_fn), object(_object), arg1(_arg1), arg2(_arg2){ } void runFunctor() override { (object.*fn)(arg1, arg2); } private: T (Class::*fn)(Param1, Param2) const noexcept; const Class object; Arg1 arg1; Arg2 arg2; }; template
struct SelectStoredConstNoExceptMemberFunctionCall2 { typedef typename SelectSpecialization
::template Type
, VoidStoredConstNoExceptMemberFunctionCall2
>::type type; }; template
class StoredNoExceptMemberFunctionPointerCall2 : public RunFunctionTask
{ public: StoredNoExceptMemberFunctionPointerCall2(T (Class::*_fn)(Param1, Param2) noexcept, Class *_object, const Arg1 &_arg1, const Arg2 &_arg2) : fn(_fn), object(_object), arg1(_arg1), arg2(_arg2){ } void runFunctor() override { this->result = (object->*fn)(arg1, arg2); } private: T (Class::*fn)(Param1, Param2) noexcept; Class *object; Arg1 arg1; Arg2 arg2; }; template
class VoidStoredNoExceptMemberFunctionPointerCall2 : public RunFunctionTask
{ public: VoidStoredNoExceptMemberFunctionPointerCall2(T (Class::*_fn)(Param1, Param2) noexcept, Class *_object, const Arg1 &_arg1, const Arg2 &_arg2) : fn(_fn), object(_object), arg1(_arg1), arg2(_arg2){ } void runFunctor() override { (object->*fn)(arg1, arg2); } private: T (Class::*fn)(Param1, Param2) noexcept; Class *object; Arg1 arg1; Arg2 arg2; }; template
struct SelectStoredNoExceptMemberFunctionPointerCall2 { typedef typename SelectSpecialization
::template Type
, VoidStoredNoExceptMemberFunctionPointerCall2
>::type type; }; template
class StoredConstNoExceptMemberFunctionPointerCall2 : public RunFunctionTask
{ public: StoredConstNoExceptMemberFunctionPointerCall2(T (Class::*_fn)(Param1, Param2) const noexcept, Class const *_object, const Arg1 &_arg1, const Arg2 &_arg2) : fn(_fn), object(_object), arg1(_arg1), arg2(_arg2){ } void runFunctor() override { this->result = (object->*fn)(arg1, arg2); } private: T (Class::*fn)(Param1, Param2) const noexcept; Class const *object; Arg1 arg1; Arg2 arg2; }; template
class VoidStoredConstNoExceptMemberFunctionPointerCall2 : public RunFunctionTask
{ public: VoidStoredConstNoExceptMemberFunctionPointerCall2(T (Class::*_fn)(Param1, Param2) const noexcept, Class const *_object, const Arg1 &_arg1, const Arg2 &_arg2) : fn(_fn), object(_object), arg1(_arg1), arg2(_arg2){ } void runFunctor() override { (object->*fn)(arg1, arg2); } private: T (Class::*fn)(Param1, Param2) const noexcept; Class const *object; Arg1 arg1; Arg2 arg2; }; template
struct SelectStoredConstNoExceptMemberFunctionPointerCall2 { typedef typename SelectSpecialization
::template Type
, VoidStoredConstNoExceptMemberFunctionPointerCall2
>::type type; }; #endif template
struct StoredFunctorCall3: public RunFunctionTask
{ inline StoredFunctorCall3(FunctionPointer _function, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3) : function(_function), arg1(_arg1), arg2(_arg2), arg3(_arg3) {} void runFunctor() override { this->result = function(arg1, arg2, arg3); } FunctionPointer function; Arg1 arg1; Arg2 arg2; Arg3 arg3; }; template
struct StoredFunctorCall3
: public RunFunctionTask
{ inline StoredFunctorCall3(FunctionPointer _function, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3) : function(_function), arg1(_arg1), arg2(_arg2), arg3(_arg3) {} void runFunctor() override { function(arg1, arg2, arg3); } FunctionPointer function; Arg1 arg1; Arg2 arg2; Arg3 arg3; }; template
struct StoredFunctorPointerCall3: public RunFunctionTask
{ inline StoredFunctorPointerCall3(FunctionPointer * _function, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3) : function(_function), arg1(_arg1), arg2(_arg2), arg3(_arg3) {} void runFunctor() override { this->result =(*function)(arg1, arg2, arg3); } FunctionPointer * function; Arg1 arg1; Arg2 arg2; Arg3 arg3; }; template
struct VoidStoredFunctorPointerCall3: public RunFunctionTask
{ inline VoidStoredFunctorPointerCall3(FunctionPointer * _function, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3) : function(_function), arg1(_arg1), arg2(_arg2), arg3(_arg3) {} void runFunctor() override { (*function)(arg1, arg2, arg3); } FunctionPointer * function; Arg1 arg1; Arg2 arg2; Arg3 arg3; }; template
struct SelectStoredFunctorPointerCall3 { typedef typename SelectSpecialization
::template Type
, VoidStoredFunctorPointerCall3
>::type type; }; template
class StoredMemberFunctionCall3 : public RunFunctionTask
{ public: StoredMemberFunctionCall3(T (Class::*_fn)(Param1, Param2, Param3), const Class &_object, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3) : fn(_fn), object(_object), arg1(_arg1), arg2(_arg2), arg3(_arg3){ } void runFunctor() override { this->result = (object.*fn)(arg1, arg2, arg3); } private: T (Class::*fn)(Param1, Param2, Param3); Class object; Arg1 arg1; Arg2 arg2; Arg3 arg3; }; template
class VoidStoredMemberFunctionCall3 : public RunFunctionTask
{ public: VoidStoredMemberFunctionCall3(T (Class::*_fn)(Param1, Param2, Param3), const Class &_object, const Arg1 &_arg1, const Arg2 &_arg2, const Arg3 &_arg3) : fn(_fn), object(_object), arg1(_arg1), arg2(_arg2), arg3(_arg3){ } void runFunctor() override { (object.*fn)(arg1, arg2, arg3); } private: T (Class::*fn)(Param1, Param2, Param3); Class object; Arg1 arg1; Arg2 arg2; Arg3 arg3; }; template
struct SelectStoredMemberFunctionCall3 { typedef typename SelectSpecialization
::template Type