Corrade::Interconnect::Receiver class

Receiver object.

Contains member function slots. See Signals and slots for introduction.

Constructors, destructors, conversion operators

Receiver(const Receiver&) deleted
Copying is not allowed.
Receiver(Receiver&&) deleted
Moving is not allowed.

Public functions

auto operator=(const Receiver&) -> Receiver& deleted
Copying is not allowed.
auto operator=(Receiver&&) -> Receiver& deleted
Moving is not allowed.
auto hasSlotConnections() const -> bool
Whether the receiver is connected to any signal.
auto slotConnectionCount() const -> std::size_t
Count of connections to this receiver slots.
void disconnectAllSlots()
Disconnect everything from this receiver slots.

Function documentation

bool Corrade::Interconnect::Receiver::hasSlotConnections() const

Whether the receiver is connected to any signal.

std::size_t Corrade::Interconnect::Receiver::slotConnectionCount() const

Count of connections to this receiver slots.

void Corrade::Interconnect::Receiver::disconnectAllSlots()

Disconnect everything from this receiver slots.