|
0.12.0
|
|
Freundlich's C++ toolkit |
Default base class for signals. Provides no unlinking capabilities.
| T | The signal's function type |
See the module documentation for more information.
Public Types | |
| typedef T | function_signature |
| A typedef for the function's return type. | |
| typedef fcppt::function::object< T > | function_type |
| A typedef for the wrapped function. | |
Public Member Functions | |
| signal::auto_connection | connect (function_type const &) |
| Connect a callback to this signal. | |
| bool | empty () const |
| Return if the signal has connections attached to it. | |
Protected Types | |
| typedef detail::concrete_connection < function_signature > | concrete_connection |
| typedef boost::intrusive::list < concrete_connection, boost::intrusive::constant_time_size < false > > | connection_list |
Protected Member Functions | |
| base () | |
| ~base () | |
| connection_list & | connections () const |
|
protected |
|
protected |
| typedef T fcppt::signal::base< T >::function_signature |
A typedef for the function's return type.
| typedef fcppt::function::object< T > fcppt::signal::base< T >::function_type |
A typedef for the wrapped function.
|
protected |
|
protected |
| fcppt::signal::auto_connection fcppt::signal::base< T >::connect | ( | function_type const & | _function | ) |
Connect a callback to this signal.
|
protected |
| bool fcppt::signal::base< T >::empty | ( | ) | const |
Return if the signal has connections attached to it.
1.8.2