17#include <AUI/Common/SharedPtrTypes.h>
18#include <AUI/Traits/values.h>
375 [[nodiscard]]
bool isDestroyed()
const noexcept {
380 virtual void clearAllConnections()
noexcept = 0;
383 void linkSlot(
AObject*
object)
noexcept;
384 void unlinkSlot(
AObject*
object)
noexcept;
386 static bool& isDisconnected();
391 bool mDestroyed =
false;
394#include <AUI/Common/AObject.h>
396inline bool& AAbstractSignal::isDisconnected() {
397 return AObject::isDisconnected();
401 return object->weakPtr();
Base class for signal.
Definition: AAbstractSignal.h:368
A base object class.
Definition: AObject.h:49
An std::weak_ptr with AUI extensions.
Definition: SharedPtrTypes.h:51
Does not allow escaping, allowing to accept lvalue ref, rvalue ref, shared_ptr and etc without overhe...
Definition: values.h:127