4.4.1
|
|
Freundlich's C++ toolkit |
Represents a signal with a non-void return value.
Base | The signal's base class (determines the existence of unregister functions) |
Public Types | |
using | result_type = Result |
A typedef for the function's return type. | |
using | base = Base< Result(Args...)> |
A typedef for the signal's base class. | |
using | function = typename base::function |
using | combiner_function = fcppt::function< result_type(result_type, result_type)> |
Typedef to the combiner function. | |
using | initial_value = fcppt::strong_typedef< result_type,_ > |
Public Member Functions | |
object (combiner_function &&) | |
Construct a signal with a combiner. | |
object (object &&) noexcept | |
object & | operator= (object &&) noexcept |
~object () | |
Result | operator() (initial_value &&, Args...) |
Call the signal. | |
using fcppt::signal::object< Result(Args...), Base >::base = Base<Result(Args...)> |
A typedef for the signal's base class.
using fcppt::signal::object< Result(Args...), Base >::combiner_function = fcppt::function<result_type(result_type, result_type)> |
Typedef to the combiner function.
using fcppt::signal::object< Result(Args...), Base >::function = typename base::function |
using fcppt::signal::object< Result(Args...), Base >::initial_value = fcppt::strong_typedef< result_type ,_> |
using fcppt::signal::object< Result(Args...), Base >::result_type = Result |
A typedef for the function's return type.
|
explicit |
Construct a signal with a combiner.
|
noexcept |
fcppt::signal::object< Result(Args...), Base >::~object | ( | ) |
Result fcppt::signal::object< Result(Args...), Base >::operator() | ( | initial_value && | , |
Args... | |||
) |
Call the signal.
|
noexcept |