AUI Framework  develop
Cross-platform base for C++ UI apps
Loading...
Searching...
No Matches
ASignal< Args > Class Template Referencefinal

Member Function Documentation

> All members, including inherited

◆ clearAllOutgoingConnections()

template<typename... Args>
void ASignal< Args >::clearAllOutgoingConnections ( ) const
inlineoverridevirtualnoexcept

Implements AAbstractSignal.

◆ clearAllOutgoingConnectionsWith()

template<typename... Args>
void ASignal< Args >::clearAllOutgoingConnectionsWith ( aui::no_escape< AObjectBase > receiver) const
inlineoverridevirtualnoexcept
Parameters
receiverobject to clear connections with.

Implements AAbstractSignal.

◆ hasOutgoingConnectionsWith()

template<typename... Args>
bool ASignal< Args >::hasOutgoingConnectionsWith ( aui::no_escape< AObjectBase > receiver) const
inlinenodiscardoverridevirtualnoexcept
Parameters
receiverreceiver objects to check connections with.
Returns
Whether this signal has connections with passed receiver object.

Implements AAbstractSignal.

◆ operator bool()

template<typename... Args>
ASignal< Args >::operator bool ( ) const
inline

It's very useful then signal argument values calculation is expensive and you do not want to calculate them if no slots connected to the signal.

Returns
true, if slot contains any connected slots, false otherwise.