EasyDelegate  2.0
Delegate and deferred callers for C++11.
Public Attributes | Protected Member Functions | List of all members
EasyDelegate::IDelegate Class Reference

A type that can represent any delegate type, but it cannot be invoked without casting to a delegate type that knows the proper method signature. More...

#include <delegates.hpp>

Inheritance diagram for EasyDelegate::IDelegate:
EasyDelegate::ITypedDelegate< returnType, parameters > EasyDelegate::ITypedDelegate< returnType, parameters...> EasyDelegate::MemberDelegate< classType, returnType, parameters > EasyDelegate::StaticDelegate< returnType, parameters >

Public Attributes

const bool mIsMemberDelegate
 A boolean representing whether or not this delegate is a member delegate.
 

Protected Member Functions

 IDelegate (const bool &isMemberDelegate) noexcept
 Constructor accepting a boolean. More...
 

Detailed Description

A type that can represent any delegate type, but it cannot be invoked without casting to a delegate type that knows the proper method signature.

This delegate type is useful in the event you wish to pass around delegates regardless of the type in a system where the method signature is resolved via other means for type casting and invocation.

This class type has one boolean readily available that can be used to help distinguish the actual type at runtime: mIsMemberDelegate.

Constructor & Destructor Documentation

EasyDelegate::IDelegate::IDelegate ( const bool &  isMemberDelegate)
inlineprotectednoexcept

Constructor accepting a boolean.

Parameters
isMemberDelegateA boolean representing whether or not this delegate is an instance of MemberDelegate.

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