35#include <Pt/Callable.h>
90template <
typename R,
typename... As>
Base type for various "slot" types.
Definition Slot.h:92
virtual Slot * clone() const =0
Clone this object with new.
Represents a connection between a Signal/Delegate and a slot.
Definition Connection.h:96
Endpoint of a signal/slot connection.
Definition Slot.h:55
virtual ~Slot()
Destructor.
Definition Slot.h:59
virtual bool equals(const Slot &slot) const =0
Returns true if two slots are equal in value.
virtual void onConnect(const Connection &c)=0
Notifies of connects.
virtual void onDisconnect(const Connection &c)=0
Notifies of disconnects.
ConstMethodSlot< R, ClassT, As... > slot(ClassT &object, R(BaseT::*method)(As...) const)
Returns a slot object for the given object/member pair.
Definition ConstMethod.h:172
virtual Slot * clone() const =0
Clone this object with new.
virtual const Callback * callable() const =0
Returns the callable converted to the type-erased Callback interface.
Core module.
Definition Allocator.h:33