|
| DeferredStaticCaller (const StaticDelegateMethodPointer methodPointer, parameters...params) |
| Constructor accepting a pointer to a static method. More...
|
|
EASYDELEGATE_INLINE returnType | dispatch (void) const |
| Dispatches the DeferredStaticCaller. More...
|
|
EASYDELEGATE_INLINE void | genericDispatch (void) const |
| Dispatches the DeferredStaticCaller, ignoring the return value. More...
|
|
EASYDELEGATE_INLINE bool | callsMethod (const StaticDelegateMethodPointer methodPointer) const noexcept |
| Returns whether or not this DeferredStaticCaller calls the given static method address. More...
|
|
template<typename otherReturn , typename... otherParams> |
EASYDELEGATE_INLINE bool | callsMethod (const StaticMethodPointer< otherReturn, otherParams...> methodPointer) const noexcept |
| Returns whether or not this DeferredStaticCaller calls the given static method address of a differing signature. More...
|
|
template<typename otherClass , typename otherReturn , typename... otherParams> |
EASYDELEGATE_INLINE bool | callsMethod (const MemberMethodPointer< otherClass, otherReturn, otherParams...> methodPointer) const noexcept |
| Returns whether or not this DeferredStaticCaller calls the given class member method address. More...
|
|
EASYDELEGATE_INLINE bool | hasSameMethodAs (const DeferredStaticCaller< returnType, parameters...> *other) const noexcept |
| Returns whether or not this DeferredStaticCaller calls the same method as the specified DeferredStaticCaller. More...
|
|
template<typename otherClass , typename otherReturn , typename... otherParams> |
EASYDELEGATE_INLINE bool | hasSameMethodAs (const DeferredMemberCaller< otherClass, otherReturn, otherParams...> *other) const noexcept |
| Returns whether or not this DeferredStaticCaller calls the same method as the specified DeferredMemberCaller. More...
|
|
template<typename otherReturn , typename... otherParams> |
EASYDELEGATE_INLINE bool | hasSameMethodAs (const DeferredStaticCaller< otherReturn, otherParams...> *other) const noexcept |
| Returns whether or not this DeferredStaticCaller calls the same of the given DeferredStaticCaller of a differing signature. More...
|
|
EASYDELEGATE_INLINE bool | hasThisPointer (const void *thisPointer) const noexcept |
| Returns whether or not this DeferredStaticCaller calls against the given this pointer. More...
|
|
template<typename otherClass , typename otherReturn , typename... otherParams> |
EASYDELEGATE_INLINE bool | hasSameThisPointerAs (const IDeferredCaller *other) const noexcept |
| Returns whether or not this DeferredStaticCaller shares the same this pointer as the given IDeferredCaller. More...
|
|
template<typename returnType, typename... parameters>
class EasyDelegate::DeferredStaticCaller< returnType, parameters >
A deferred caller type for static methods.
The DeferredStaticCaller class works by storing the information required to make a call against a static method in its data structure when constructed. The parameters are stored in an std::tuple and are later unpacked when the DeferredStaticCaller is dispatched.
- Examples:
- example.cpp.