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...
 
virtual Bool Invoke () const
 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>
virtual Bool Murl::Util::MethodCall0< ObjectType >::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.