![]() |
![]() |
Public Types | |
typedef signal_emit0< T_return, T_accumulator > | self_type |
typedef T_accumulator::result_type | result_type |
typedef slot<T_return> | slot_type |
typedef internal::slot_iterator_buf< self_type > | slot_iterator_buf_type |
typedef internal::slot_reverse_iterator_buf< self_type > | slot_reverse_iterator_buf_type |
typedef signal_impl::const_iterator_type | iterator_type |
Public Member Functions | |
signal_emit0 () | |
T_return | operator() (const slot_type& _A_slot) const |
Invokes a slot. | |
Static Public Member Functions | |
static result_type | emit (signal_impl* impl) |
Executes a list of slots using an accumulator of type T_accumulator. | |
static result_type | emit_reverse (signal_impl* impl) |
Executes a list of slots using an accumulator of type T_accumulator in reverse order. |
This template implements the emit() function of signal0. Template specializations are available to optimize signal emission when no accumulator is used, i.e. the template argument T_accumulator is nil
.
typedef signal_emit0<T_return, T_accumulator> sigc::internal::signal_emit0<T_return, T_accumulator>::self_type |
typedef T_accumulator::result_type sigc::internal::signal_emit0<T_return, T_accumulator>::result_type |
typedef slot<T_return> sigc::internal::signal_emit0<T_return, T_accumulator>::slot_type |
typedef internal::slot_iterator_buf<self_type> sigc::internal::signal_emit0<T_return, T_accumulator>::slot_iterator_buf_type |
typedef internal::slot_reverse_iterator_buf<self_type> sigc::internal::signal_emit0<T_return, T_accumulator>::slot_reverse_iterator_buf_type |
typedef signal_impl::const_iterator_type sigc::internal::signal_emit0<T_return, T_accumulator>::iterator_type |
sigc::internal::signal_emit0<T_return, T_accumulator>::signal_emit0 | ( | ) | [inline] |
T_return sigc::internal::signal_emit0<T_return, T_accumulator>::operator() | ( | const slot_type& | _A_slot | ) | const [inline] |
Invokes a slot.
_A_slot | Some slot to invoke. |
static result_type sigc::internal::signal_emit0<T_return, T_accumulator>::emit | ( | signal_impl* | impl | ) | [inline, static] |
Executes a list of slots using an accumulator of type T_accumulator.
static result_type sigc::internal::signal_emit0<T_return, T_accumulator>::emit_reverse | ( | signal_impl* | impl | ) | [inline, static] |
Executes a list of slots using an accumulator of type T_accumulator in reverse order.