|
5.0.0
Freundlich's C++ toolkit
|
Default base class for signals. Provides no unlinking capabilities.
| T | The signal's function type |
See fcppt.signal for more information.
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_NONCOPYABLE (base) | |
| fcppt::signal::auto_connection | connect (function &&) |
| Connect a callback to this signal. | |
| bool | empty () const |
| Return if the signal has connections attached to it. | |
Protected Types | |
| using | concrete_connection = fcppt::signal::detail::concrete_connection<function_signature> |
| 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::base< T >::function = fcppt::function<T> |
A typedef for the wrapped function.
| using fcppt::signal::base< T >::function_signature = T |
A typedef for the function's return type.
|
protected |
|
protectednoexcept |
|
protected |
| fcppt::signal::auto_connection fcppt::signal::base< T >::connect | ( | function && | ) |
Connect a callback to this signal.
|
protected |
| bool fcppt::signal::base< T >::empty | ( | ) | const |
Return if the signal has connections attached to it.
| fcppt::signal::base< T >::FCPPT_NONCOPYABLE | ( | base< T > | ) |
|
protectednoexcept |