|
psychic-ui 0.0.0
|
#include <Slot.hpp>
Public Member Functions | |
| SlotBase (const SlotBase &)=delete | |
| SlotBase & | operator= (const SlotBase &)=delete |
| SlotBase (SlotBase &&)=delete | |
| SlotBase & | operator= (SlotBase &&)=delete |
| virtual void | disconnect ()=0 |
| virtual bool | connected () const =0 |
Type-erased slot, so that a ScopedSlot can hold a slot of any signal.
|
nodiscardpure virtual |
Whether the callback will still be called when the signal is emitted
Implemented in psychic_ui::Slot< T >.
|
pure virtual |
Disconnects this slot from its signal. Safe to call more than once, from inside the callback, and after the signal was destroyed.
Implemented in psychic_ui::Slot< T >.