Murl::Util::MethodCall2< ObjectType, Par1Type, Par2Type > Class Template Reference

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

#include "murl_util_method_call.h"

Inheritance diagram for Murl::Util::MethodCall2< ObjectType, Par1Type, Par2Type >:

Public Member Functions

 MethodCall2 (ObjectType *object, Bool(ObjectType::*method)(Par1Type, Par2Type), Par1Type par1, Par2Type par2)
 The constructor. More...
 
Bool Invoke () const override
 Invoke the method pointer. More...
 

Detailed Description

template<class ObjectType, class Par1Type, class Par2Type>
class Murl::Util::MethodCall2< ObjectType, Par1Type, Par2Type >

The method call object with 2 method parameters.

Constructor & Destructor Documentation

◆ MethodCall2()

template<class ObjectType , class Par1Type , class Par2Type >
Murl::Util::MethodCall2< ObjectType, Par1Type, Par2Type >::MethodCall2 ( ObjectType *  object,
Bool(ObjectType::*)(Par1Type, Par2Type)  method,
Par1Type  par1,
Par2Type  par2 
)
inline

The constructor.

Parameters
objectThe method's object context.
methodThe method pointer.
par1The 1st parameter.
par2The 2nd parameter.

Member Function Documentation

◆ Invoke()

template<class ObjectType , class Par1Type , class Par2Type >
Bool Murl::Util::MethodCall2< ObjectType, Par1Type, Par2Type >::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.