4.6.0
Freundlich's C++ toolkit
|
A base class for signals providing unlinking.
T | The signal's function type |
See fcppt.signal for more information on unlinking.
Public Types | |
using | function_signature = T |
A typedef for the function's return type. | |
using | function = fcppt::function<T> |
A typedef for the wrapped function. | |
Public Member Functions | |
fcppt::signal::auto_connection | connect (function &&, fcppt::signal::unregister::function &&) |
Connect a callback to this signal. | |
bool | empty () const |
Return if the signal has connections attached to it. | |
Protected Types | |
using | concrete_connection |
using | connection_list = fcppt::intrusive::list<concrete_connection> |
Protected Member Functions | |
base () | |
base (base &&) noexcept | |
base & | operator= (base &&) noexcept |
~base () | |
connection_list & | connections () const |
|
protected |
|
protected |
using fcppt::signal::unregister::base< T >::function = fcppt::function<T> |
A typedef for the wrapped function.
using fcppt::signal::unregister::base< T >::function_signature = T |
A typedef for the function's return type.
|
protected |
|
protectednoexcept |
|
protected |
fcppt::signal::auto_connection fcppt::signal::unregister::base< T >::connect | ( | function && | , |
fcppt::signal::unregister::function && | ) |
Connect a callback to this signal.
|
protected |
bool fcppt::signal::unregister::base< T >::empty | ( | ) | const |
Return if the signal has connections attached to it.
|
protectednoexcept |