Murl::Util::MethodCall4< ObjectType, Par1Type, Par2Type, Par3Type, Par4Type > Class Template Reference

The method call object with 4 method parameters. More...

#include "murl_util_method_call.h"

Inheritance diagram for Murl::Util::MethodCall4< ObjectType, Par1Type, Par2Type, Par3Type, Par4Type >:

Public Member Functions

 MethodCall4 (ObjectType *object, Bool(ObjectType::*method)(Par1Type, Par2Type, Par3Type, Par4Type), Par1Type par1, Par2Type par2, Par3Type par3, Par4Type par4)
 The constructor. More...
 
Bool Invoke () const override
 Invoke the method pointer. More...
 

Detailed Description

template<class ObjectType, class Par1Type, class Par2Type, class Par3Type, class Par4Type>
class Murl::Util::MethodCall4< ObjectType, Par1Type, Par2Type, Par3Type, Par4Type >

The method call object with 4 method parameters.

Constructor & Destructor Documentation

◆ MethodCall4()

template<class ObjectType , class Par1Type , class Par2Type , class Par3Type , class Par4Type >
Murl::Util::MethodCall4< ObjectType, Par1Type, Par2Type, Par3Type, Par4Type >::MethodCall4 ( ObjectType *  object,
Bool(ObjectType::*)(Par1Type, Par2Type, Par3Type, Par4Type)  method,
Par1Type  par1,
Par2Type  par2,
Par3Type  par3,
Par4Type  par4 
)
inline

The constructor.

Parameters
objectThe method's object context.
methodThe method pointer.
par1The 1st parameter.
par2The 2nd parameter.
par3The 3rd parameter.
par4The 4th parameter.

Member Function Documentation

◆ Invoke()

template<class ObjectType , class Par1Type , class Par2Type , class Par3Type , class Par4Type >
Bool Murl::Util::MethodCall4< ObjectType, Par1Type, Par2Type, Par3Type, Par4Type >::Invoke ( ) const
inlineoverridevirtual

Invoke the method pointer.

Returns
The return value from the method called.

Implements Murl::IMethodCall.


The documentation for this class was generated from the following file:
  • murl_util_method_call.h


Copyright © 2011-2024 Spraylight GmbH.