![]() |
![]() |
Public Types | |
typedef signal_emit1< T_return, T_arg1, T_accumulator > | self_type |
typedef T_accumulator::result_type | result_type |
typedef slot<T_return, T_arg1> | slot_type |
typedef internal::slot_iterator_buf< self_type > | slot_iterator_buf_type |
typedef signal_impl::const_iterator_type | iterator_type |
Public Member Functions | |
signal_emit1 (typename type_trait<T_arg1>::take _A_a1) | |
Instantiates the class. | |
T_return | operator() (const slot_type& _A_slot) const |
Invokes a slot using the buffered parameter values. | |
Static Public Member Functions | |
result_type | emit (signal_impl* impl, typename type_trait<T_arg1>::take _A_a1) |
Executes a list of slots using an accumulator of type T_accumulator. | |
Public Attributes | |
type_trait<T_arg1>::take | _A_a1_ |
This template implements the emit() function of signal1. Template specializations are available to optimize signal emission when no accumulator is used, i.e. the template argument T_accumulator is nil
.
|
|
|
|
|
|
|
|
|
|
|
Instantiates the class. The parameters are stored in member variables. operator()() passes the values on to some slot. |
|
Executes a list of slots using an accumulator of type T_accumulator. The arguments are buffered in a temporary instance of signal_emit1.
|
|
Invokes a slot using the buffered parameter values.
|
|
|