Murl::Util::MethodCall0< ObjectType > Class Template Reference

The method call object. More...

#include "murl_util_method_call.h"

Inheritance diagram for Murl::Util::MethodCall0< ObjectType >:

Public Member Functions

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

Detailed Description

template<class ObjectType>
class Murl::Util::MethodCall0< ObjectType >

The method call object.

Constructor & Destructor Documentation

◆ MethodCall0()

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

The constructor.

Parameters
objectThe method's object context.
methodThe method pointer.

Member Function Documentation

◆ Invoke()

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