EasyDelegate  2.0
Delegate and deferred callers for C++11.
Public Member Functions | List of all members
EasyDelegate::IDeferredCaller Class Referenceabstract

The most generic of the deferred caller types. All deferred callers eventually trace back to this class in their hierarchy, therefore it is possible to cast them to this type and use the EasyDelegate::IDeferredCaller::genericDispatch method. More...

#include <deferredcallers.hpp>

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

Public Member Functions

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

The most generic of the deferred caller types. All deferred callers eventually trace back to this class in their hierarchy, therefore it is possible to cast them to this type and use the EasyDelegate::IDeferredCaller::genericDispatch method.

Member Function Documentation

virtual EASYDELEGATE_INLINE bool EasyDelegate::IDeferredCaller::hasThisPointer ( const void *  thisPointer) const
inlinevirtualnoexcept

Returns whether or not this deferred caller calls against the given this pointer.

Parameters
thisPointerA pointer referring to the object of interest.
Returns
A boolean representing whether or not this deferred caller calls a member function against the given this pointer.
Note
Always returns false for static deferred caller types because they do not use a this pointer.

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


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