Murl::Util::MethodCall1< ObjectType, Par1Type > Class Template Reference

The method call object with 1 method parameter. More...

#include "murl_util_method_call.h"

Inheritance diagram for Murl::Util::MethodCall1< ObjectType, Par1Type >:

Public Member Functions

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

Detailed Description

template<class ObjectType, class Par1Type>
class Murl::Util::MethodCall1< ObjectType, Par1Type >

The method call object with 1 method parameter.

Constructor & Destructor Documentation

◆ MethodCall1()

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

The constructor.

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

Member Function Documentation

◆ Invoke()

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