EasyDelegate  2.0
Delegate and deferred callers for C++11.
Public Member Functions | List of all members
EasyDelegate::ITypedDeferredCaller< returnType > Class Template Referenceabstract

A less generic deferred caller type that retains return type information. Use this if you don't care about signature information and want to call the methods and get their return values. More...

#include <deferredcallers.hpp>

Inheritance diagram for EasyDelegate::ITypedDeferredCaller< returnType >:
EasyDelegate::IDeferredCaller EasyDelegate::DeferredMemberCaller< classType, returnType, parameters > EasyDelegate::DeferredStaticCaller< returnType, parameters >

Public Member Functions

virtual EASYDELEGATE_INLINE returnType dispatch (void) const =0
 Invoke the deferred caller and return the result to the calling method. More...
 
- Public Member Functions inherited from EasyDelegate::IDeferredCaller
virtual EASYDELEGATE_INLINE void genericDispatch (void) const =0
 Invoke the deferred caller and ignore the return value.
 
virtual EASYDELEGATE_INLINE bool hasThisPointer (const void *thisPointer) const noexcept
 Returns whether or not this deferred caller calls against the given this pointer. More...
 

Detailed Description

template<typename returnType>
class EasyDelegate::ITypedDeferredCaller< returnType >

A less generic deferred caller type that retains return type information. Use this if you don't care about signature information and want to call the methods and get their return values.

Member Function Documentation

template<typename returnType >
virtual EASYDELEGATE_INLINE returnType EasyDelegate::ITypedDeferredCaller< returnType >::dispatch ( void  ) const
pure virtual

Invoke the deferred caller and return the result to the calling method.

Returns
The value of the called method's return.

Implemented in EasyDelegate::DeferredMemberCaller< classType, returnType, parameters >, and EasyDelegate::DeferredStaticCaller< returnType, parameters >.


The documentation for this class was generated from the following file: