| libsigc++ 3.6.0
    | 
Like sigc::signal but the additional template parameter T_accumulator defines the accumulator type that should be used. More...
#include <sigc++/signal.h>

| Public Member Functions | |
| accumulated ()=default | |
| accumulated (const accumulated &src) | |
|  Public Member Functions inherited from sigc::signal_with_accumulator< T_return, T_accumulator, T_arg... > | |
| signal_with_accumulator ()=default | |
| signal_with_accumulator (const signal_with_accumulator &src) | |
| signal_with_accumulator (signal_with_accumulator &&src) | |
| connection | connect (const slot_type & slot_) | 
| Add a slot at the end of the list of slots. | |
| connection | connect (slot_type && slot_) | 
| Add a slot at the end of the list of slots. | |
| connection | connect_first (const slot_type & slot_) | 
| Add a slot at the beginning of the list of slots. | |
| connection | connect_first (slot_type && slot_) | 
| Add a slot at the beginning of the list of slots. | |
| decltype(auto) | emit (type_trait_take_t< T_arg >... a) const | 
| Triggers the emission of the signal. | |
| decltype(auto) | make_slot () const | 
| Creates a functor that calls emit() on this signal. | |
| decltype(auto) | operator() (type_trait_take_t< T_arg >... a) const | 
| Triggers the emission of the signal (see emit()). | |
| signal_with_accumulator & | operator= (const signal_with_accumulator &src) | 
| signal_with_accumulator & | operator= (signal_with_accumulator &&src) | 
|  Public Member Functions inherited from sigc::signal_base | |
| signal_base () noexcept | |
| signal_base (const signal_base &src) noexcept | |
| signal_base (signal_base &&src) | |
| ~signal_base () | |
| void | block (bool should_block=true) noexcept | 
| Sets the blocking state of all slots in the list. | |
| bool | blocked () const noexcept | 
| Returns whether all slots in the list are blocked. | |
| void | clear () | 
| Empties the list of slots. | |
| bool | empty () const noexcept | 
| Returns whether the list of slots is empty. | |
| signal_base & | operator= (const signal_base &src) | 
| signal_base & | operator= (signal_base &&src) | 
| size_type | size () const noexcept | 
| Returns the number of slots in the list. | |
| void | unblock () noexcept | 
| Unsets the blocking state of all slots in the list. | |
| Additional Inherited Members | |
|  Public Types inherited from sigc::signal_with_accumulator< T_return, T_accumulator, T_arg... > | |
| using | slot_type = slot< T_return(T_arg...)> | 
|  Public Types inherited from sigc::signal_base | |
| using | size_type = std::size_t | 
|  Protected Types inherited from sigc::signal_base | |
| using | iterator_type = internal::signal_impl::iterator_type | 
|  Protected Member Functions inherited from sigc::signal_base | |
| 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. | |
|  Protected Attributes inherited from sigc::signal_base | |
| std::shared_ptr< internal::signal_impl > | impl_ | 
| The signal_impl object encapsulating the slot list. | |
Like sigc::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 |