29 #ifndef __WINK_SLOT_H__
30 #define __WINK_SLOT_H__
41 template <
typename Signature>
63 template <
typename T,
typename MemFnPtr>
82 template <
typename T,
typename MemFnPtr>
106 template <
class ...Args>
144 #endif // __WINK_SLOT_H__
~slot()
Destructor.
Definition: slot.h:93
slot(FnPtr fn)
Definition: slot.h:75
bool operator>(const __this_type &slot) const
Definition: slot.h:124
slot(const __this_type &slot)
Copy constructor.
Definition: slot.h:88
static slot< Signature > bind(Signature fn)
Definition: slot.h:56
fastdelegate::FastDelegate< Signature > __impl_delegate
The implementation of the slot, as a delegate.
Definition: slot.h:136
__impl_delegate _delegate
Definition: slot.h:139
slot< Signature > __this_type
Definition: slot.h:46
void operator()(Args &&...args) const
Definition: slot.h:107
bool operator<=(const __this_type &slot) const
Definition: slot.h:127
__this_type & operator=(const __this_type &slot)
Definition: slot.h:98
bool operator==(const __this_type &slot) const
Definition: slot.h:115
Signature FnPtr
A static function pointer with the correct signature.
Definition: slot.h:51
slot(T *obj, MemFnPtr fn)
Definition: slot.h:83
bool operator!=(const __this_type &slot) const
Definition: slot.h:118
bool operator>=(const __this_type &slot) const
Definition: slot.h:130
static slot< Signature > bind(T *obj, MemFnPtr fn)
Definition: slot.h:64
slot()
Construct a slot with no call-back.
Definition: slot.h:70
bool operator<(const __this_type &slot) const
Definition: slot.h:121
Describes a slot that may be added to a signal, or used stand-alone for a call-back.
Definition: slot.h:42