libsigc++ 3.6.0
|
Like sigc::trackable_signal but the additional template parameter T_accumulator defines the accumulator type that should be used. More...
#include <sigc++/signal.h>
Additional Inherited Members | |
![]() | |
using | slot_type = slot< T_return(T_arg...)> |
![]() | |
using | size_type = std::size_t |
![]() | |
using | func_destroy_notify = internal::func_destroy_notify |
![]() | |
using | func_destroy_notify = internal::func_destroy_notify |
![]() | |
using | iterator_type = internal::signal_impl::iterator_type |
![]() | |
iterator_type | connect (const slot_base & slot_) |
Adds a slot at the end of the list of slots. | |
iterator_type | connect (slot_base && slot_) |
Adds a slot at the end of the list of slots. | |
iterator_type | connect_first (const slot_base & slot_) |
Adds a slot at the beginning of the list of slots. | |
iterator_type | connect_first (slot_base && slot_) |
Adds a slot at the beginning of the list of slots. | |
std::shared_ptr< internal::signal_impl > | impl () const |
Returns the signal_impl object encapsulating the list of slots. | |
iterator_type | insert (iterator_type i, const slot_base & slot_) |
Adds a slot at the given position into the list of slots. | |
iterator_type | insert (iterator_type i, slot_base && slot_) |
Adds a slot at the given position into the list of slots. | |
![]() | |
std::shared_ptr< internal::signal_impl > | impl_ |
The signal_impl object encapsulating the slot list. | |
Like sigc::trackable_signal but the additional template parameter T_accumulator defines the accumulator type that should be used.
An accumulator is a functor that uses a pair of special iterators to step through a list of slots and calculate a return value from the results of the slot invocations. The iterators' operator*() executes the slot. The return value is buffered, so that in an expression like
the slot is executed only once.
|
default |
|
inline |