Mbed OS Reference
|
Data Structures | |
class | Callback< Signature > |
Callback class based on template specialization. More... | |
class | Callback< R(ArgTs...)> |
Callback class based on template specialization. More... | |
Functions | |
template<typename R , typename... ArgTs> | |
Callback< R(ArgTs...)> | callback (R(*func)(ArgTs...)=nullptr) noexcept |
Create a callback class with type inferred from the arguments. More... | |
template<typename R , typename... ArgTs> | |
Callback< R(ArgTs...)> | callback (const Callback< R(ArgTs...)> &func) |
Create a callback class with type inferred from the arguments. More... | |
template<typename R , typename... ArgTs> | |
Callback< R(ArgTs...)> | callback (Callback< R(ArgTs...)> &&func) noexcept |
Create a callback class with type inferred from the arguments. More... | |
template<typename T , typename U , typename R , typename... ArgTs> | |
Callback< R(ArgTs...)> | callback (U *obj, R(T::*method)(ArgTs...)) noexcept |
Create a callback class with type inferred from the arguments. More... | |
template<typename T , typename U , typename R , typename... ArgTs> | |
Callback< R(ArgTs...)> | callback (R(*func)(T *, ArgTs...), U *arg) noexcept |
Create a callback class with type inferred from the arguments. More... | |
template<typename F > | |
Callback< detail::unqualify_fn_t< detail::member_type_t< decltype(&mstd::remove_cvref_t< F >::operator())> > > | callback (F &&f) |
Create a Create a callback class with type inferred from the arguments. More... | |
|
noexcept |
Create a callback class with type inferred from the arguments.
func | Static function to attach |
Definition at line 678 of file Callback.h.
Create a callback class with type inferred from the arguments.
func | Static function to attach |
Definition at line 689 of file Callback.h.
Create a callback class with type inferred from the arguments.
func | Static function to attach |
Definition at line 700 of file Callback.h.
|
noexcept |
Create a callback class with type inferred from the arguments.
obj | Optional pointer to object to bind to function |
method | Member function to attach |
Definition at line 712 of file Callback.h.
|
noexcept |
Create a callback class with type inferred from the arguments.
func | Static function to attach |
arg | Pointer argument to function |
Definition at line 766 of file Callback.h.
Callback< detail::unqualify_fn_t< detail::member_type_t< decltype(&mstd::remove_cvref_t< F >::operator())> > > callback | ( | F && | f | ) |
Create a Create a callback class with type inferred from the arguments.
f | Function object to attach |
Definition at line 795 of file Callback.h.