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

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

#include "murl_util_method_call.h"

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

Public Member Functions

 MethodCall5 (ObjectType *object, Bool(ObjectType::*method)(Par1Type, Par2Type, Par3Type, Par4Type, Par5Type), Par1Type par1, Par2Type par2, Par3Type par3, Par4Type par4, Par5Type par5)
 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 Par5Type>
class Murl::Util::MethodCall5< ObjectType, Par1Type, Par2Type, Par3Type, Par4Type, Par5Type >

The method call object with 5 method parameters.

Constructor & Destructor Documentation

◆ MethodCall5()

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

The constructor.

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

Member Function Documentation

◆ Invoke()

template<class ObjectType , class Par1Type , class Par2Type , class Par3Type , class Par4Type , class Par5Type >
Bool Murl::Util::MethodCall5< ObjectType, Par1Type, Par2Type, Par3Type, Par4Type, Par5Type >::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.