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...
 
virtual Bool Invoke () const
 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>
virtual Bool Murl::Util::MethodCall1< ObjectType, Par1Type >::Invoke ( ) const
inlinevirtual

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-2018 Spraylight GmbH.