Mistake on this page?
Report an issue in GitHub or email us
Data Structures | Functions
Callback class

Data Structures

class  Callback< F >
 Callback class based on template specialization. More...
 
class  Callback< R(A0)>
 Callback class based on template specialization. More...
 
class  Callback< R(A0, A1)>
 Callback class based on template specialization. More...
 
class  Callback< R(A0, A1, A2)>
 Callback class based on template specialization. More...
 
class  Callback< R(A0, A1, A2, A3)>
 Callback class based on template specialization. More...
 
class  Callback< R(A0, A1, A2, A3, A4)>
 Callback class based on template specialization. More...
 

Functions

template<typename R >
Callback< R()> callback (R(*func)()=0)
 Create a callback class with type inferred from the arguments. More...
 
template<typename R >
Callback< R()> callback (const Callback< R()> &func)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R >
Callback< R()> callback (U *obj, R(T::*method)())
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R >
Callback< R()> callback (const U *obj, R(T::*method)() const)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R >
Callback< R()> callback (volatile U *obj, R(T::*method)() volatile)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R >
Callback< R()> callback (const volatile U *obj, R(T::*method)() const volatile)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R >
Callback< R()> callback (R(*func)(T *), U *arg)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R >
Callback< R()> callback (R(*func)(const T *), const U *arg)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R >
Callback< R()> callback (R(*func)(volatile T *), volatile U *arg)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R >
Callback< R()> callback (R(*func)(const volatile T *), const volatile U *arg)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R >
Callback< R()> callback (U *obj, R(*func)(T *))
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R >
Callback< R()> callback (const U *obj, R(*func)(const T *))
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R >
Callback< R()> callback (volatile U *obj, R(*func)(volatile T *))
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R >
Callback< R()> callback (const volatile U *obj, R(*func)(const volatile T *))
 Create a callback class with type inferred from the arguments. More...
 
template<typename R , typename A0 >
Callback< R(A0)> callback (R(*func)(A0)=0)
 Create a callback class with type inferred from the arguments. More...
 
template<typename R , typename A0 >
Callback< R(A0)> callback (const Callback< R(A0)> &func)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 >
Callback< R(A0)> callback (U *obj, R(T::*method)(A0))
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 >
Callback< R(A0)> callback (const U *obj, R(T::*method)(A0) const)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 >
Callback< R(A0)> callback (volatile U *obj, R(T::*method)(A0) volatile)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 >
Callback< R(A0)> callback (const volatile U *obj, R(T::*method)(A0) const volatile)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 >
Callback< R(A0)> callback (R(*func)(T *, A0), U *arg)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 >
Callback< R(A0)> callback (R(*func)(const T *, A0), const U *arg)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 >
Callback< R(A0)> callback (R(*func)(volatile T *, A0), volatile U *arg)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 >
Callback< R(A0)> callback (R(*func)(const volatile T *, A0), const volatile U *arg)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 >
Callback< R(A0)> callback (U *obj, R(*func)(T *, A0))
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 >
Callback< R(A0)> callback (const U *obj, R(*func)(const T *, A0))
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 >
Callback< R(A0)> callback (volatile U *obj, R(*func)(volatile T *, A0))
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 >
Callback< R(A0)> callback (const volatile U *obj, R(*func)(const volatile T *, A0))
 Create a callback class with type inferred from the arguments. More...
 
template<typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (R(*func)(A0, A1)=0)
 Create a callback class with type inferred from the arguments. More...
 
template<typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (const Callback< R(A0, A1)> &func)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (U *obj, R(T::*method)(A0, A1))
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (const U *obj, R(T::*method)(A0, A1) const)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (volatile U *obj, R(T::*method)(A0, A1) volatile)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (const volatile U *obj, R(T::*method)(A0, A1) const volatile)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (R(*func)(T *, A0, A1), U *arg)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (R(*func)(const T *, A0, A1), const U *arg)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (R(*func)(volatile T *, A0, A1), volatile U *arg)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (R(*func)(const volatile T *, A0, A1), const volatile U *arg)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (U *obj, R(*func)(T *, A0, A1))
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (const U *obj, R(*func)(const T *, A0, A1))
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (volatile U *obj, R(*func)(volatile T *, A0, A1))
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 >
Callback< R(A0, A1)> callback (const volatile U *obj, R(*func)(const volatile T *, A0, A1))
 Create a callback class with type inferred from the arguments. More...
 
template<typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (R(*func)(A0, A1, A2)=0)
 Create a callback class with type inferred from the arguments. More...
 
template<typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (const Callback< R(A0, A1, A2)> &func)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (U *obj, R(T::*method)(A0, A1, A2))
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (const U *obj, R(T::*method)(A0, A1, A2) const)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (volatile U *obj, R(T::*method)(A0, A1, A2) volatile)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (const volatile U *obj, R(T::*method)(A0, A1, A2) const volatile)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (R(*func)(T *, A0, A1, A2), U *arg)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (R(*func)(const T *, A0, A1, A2), const U *arg)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (R(*func)(volatile T *, A0, A1, A2), volatile U *arg)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (R(*func)(const volatile T *, A0, A1, A2), const volatile U *arg)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (U *obj, R(*func)(T *, A0, A1, A2))
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (const U *obj, R(*func)(const T *, A0, A1, A2))
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (volatile U *obj, R(*func)(volatile T *, A0, A1, A2))
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 >
Callback< R(A0, A1, A2)> callback (const volatile U *obj, R(*func)(const volatile T *, A0, A1, A2))
 Create a callback class with type inferred from the arguments. More...
 
template<typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (R(*func)(A0, A1, A2, A3)=0)
 Create a callback class with type inferred from the arguments. More...
 
template<typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (const Callback< R(A0, A1, A2, A3)> &func)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (U *obj, R(T::*method)(A0, A1, A2, A3))
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (const U *obj, R(T::*method)(A0, A1, A2, A3) const)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (volatile U *obj, R(T::*method)(A0, A1, A2, A3) volatile)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (const volatile U *obj, R(T::*method)(A0, A1, A2, A3) const volatile)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (R(*func)(T *, A0, A1, A2, A3), U *arg)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (R(*func)(const T *, A0, A1, A2, A3), const U *arg)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (R(*func)(volatile T *, A0, A1, A2, A3), volatile U *arg)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (R(*func)(const volatile T *, A0, A1, A2, A3), const volatile U *arg)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (U *obj, R(*func)(T *, A0, A1, A2, A3))
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (const U *obj, R(*func)(const T *, A0, A1, A2, A3))
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (volatile U *obj, R(*func)(volatile T *, A0, A1, A2, A3))
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 , typename A3 >
Callback< R(A0, A1, A2, A3)> callback (const volatile U *obj, R(*func)(const volatile T *, A0, A1, A2, A3))
 Create a callback class with type inferred from the arguments. More...
 
template<typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (R(*func)(A0, A1, A2, A3, A4)=0)
 Create a callback class with type inferred from the arguments. More...
 
template<typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (const Callback< R(A0, A1, A2, A3, A4)> &func)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (U *obj, R(T::*method)(A0, A1, A2, A3, A4))
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (const U *obj, R(T::*method)(A0, A1, A2, A3, A4) const)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (volatile U *obj, R(T::*method)(A0, A1, A2, A3, A4) volatile)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (const volatile U *obj, R(T::*method)(A0, A1, A2, A3, A4) const volatile)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (R(*func)(T *, A0, A1, A2, A3, A4), U *arg)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (R(*func)(const T *, A0, A1, A2, A3, A4), const U *arg)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (R(*func)(volatile T *, A0, A1, A2, A3, A4), volatile U *arg)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (R(*func)(const volatile T *, A0, A1, A2, A3, A4), const volatile U *arg)
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (U *obj, R(*func)(T *, A0, A1, A2, A3, A4))
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (const U *obj, R(*func)(const T *, A0, A1, A2, A3, A4))
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (volatile U *obj, R(*func)(volatile T *, A0, A1, A2, A3, A4))
 Create a callback class with type inferred from the arguments. More...
 
template<typename T , typename U , typename R , typename A0 , typename A1 , typename A2 , typename A3 , typename A4 >
Callback< R(A0, A1, A2, A3, A4)> callback (const volatile U *obj, R(*func)(const volatile T *, A0, A1, A2, A3, A4))
 Create a callback class with type inferred from the arguments. More...
 

Detailed Description

Function Documentation

Callback<R()> mbed::callback ( R(*)()  func = 0)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
Returns
Callback with inferred type

Definition at line 3842 of file Callback.h.

Callback<R()> mbed::callback ( const Callback< R()> &  func)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
Returns
Callback with inferred type

Definition at line 3853 of file Callback.h.

Callback<R()> mbed::callback ( U *  obj,
R(T::*)()  method 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
methodMember function to attach
Returns
Callback with inferred type

Definition at line 3865 of file Callback.h.

Callback<R()> mbed::callback ( const U *  obj,
R(T::*)() const  method 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
methodMember function to attach
Returns
Callback with inferred type

Definition at line 3877 of file Callback.h.

Callback<R()> mbed::callback ( volatile U *  obj,
R(T::*)() volatile  method 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
methodMember function to attach
Returns
Callback with inferred type

Definition at line 3889 of file Callback.h.

Callback<R()> mbed::callback ( const volatile U *  obj,
R(T::*)() const volatile  method 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
methodMember function to attach
Returns
Callback with inferred type

Definition at line 3901 of file Callback.h.

Callback<R()> mbed::callback ( R(*)(T *)  func,
U *  arg 
)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
argPointer argument to function
Returns
Callback with inferred type

Definition at line 3913 of file Callback.h.

Callback<R()> mbed::callback ( R(*)(const T *)  func,
const U *  arg 
)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
argPointer argument to function
Returns
Callback with inferred type

Definition at line 3925 of file Callback.h.

Callback<R()> mbed::callback ( R(*)(volatile T *)  func,
volatile U *  arg 
)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
argPointer argument to function
Returns
Callback with inferred type

Definition at line 3937 of file Callback.h.

Callback<R()> mbed::callback ( R(*)(const volatile T *)  func,
const volatile U *  arg 
)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
argPointer argument to function
Returns
Callback with inferred type

Definition at line 3949 of file Callback.h.

Callback<R()> mbed::callback ( U *  obj,
R(*)(T *)  func 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
funcStatic function to attach
Returns
Callback with inferred type
Deprecated:
Arguments to callback have been reordered to callback(func, arg)

Definition at line 3965 of file Callback.h.

Callback<R()> mbed::callback ( const U *  obj,
R(*)(const T *)  func 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
funcStatic function to attach
Returns
Callback with inferred type
Deprecated:
Arguments to callback have been reordered to callback(func, arg)

Definition at line 3981 of file Callback.h.

Callback<R()> mbed::callback ( volatile U *  obj,
R(*)(volatile T *)  func 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
funcStatic function to attach
Returns
Callback with inferred type
Deprecated:
Arguments to callback have been reordered to callback(func, arg)

Definition at line 3997 of file Callback.h.

Callback<R()> mbed::callback ( const volatile U *  obj,
R(*)(const volatile T *)  func 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
funcStatic function to attach
Returns
Callback with inferred type
Deprecated:
Arguments to callback have been reordered to callback(func, arg)

Definition at line 4013 of file Callback.h.

Callback<R(A0)> mbed::callback ( R(*)(A0)  func = 0)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
Returns
Callback with inferred type

Definition at line 4025 of file Callback.h.

Callback<R(A0)> mbed::callback ( const Callback< R(A0)> &  func)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
Returns
Callback with inferred type

Definition at line 4036 of file Callback.h.

Callback<R(A0)> mbed::callback ( U *  obj,
R(T::*)(A0)  method 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
methodMember function to attach
Returns
Callback with inferred type

Definition at line 4048 of file Callback.h.

Callback<R(A0)> mbed::callback ( const U *  obj,
R(T::*)(A0) const  method 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
methodMember function to attach
Returns
Callback with inferred type

Definition at line 4060 of file Callback.h.

Callback<R(A0)> mbed::callback ( volatile U *  obj,
R(T::*)(A0) volatile  method 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
methodMember function to attach
Returns
Callback with inferred type

Definition at line 4072 of file Callback.h.

Callback<R(A0)> mbed::callback ( const volatile U *  obj,
R(T::*)(A0) const volatile  method 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
methodMember function to attach
Returns
Callback with inferred type

Definition at line 4084 of file Callback.h.

Callback<R(A0)> mbed::callback ( R(*)(T *, A0)  func,
U *  arg 
)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
argPointer argument to function
Returns
Callback with inferred type

Definition at line 4096 of file Callback.h.

Callback<R(A0)> mbed::callback ( R(*)(const T *, A0)  func,
const U *  arg 
)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
argPointer argument to function
Returns
Callback with inferred type

Definition at line 4108 of file Callback.h.

Callback<R(A0)> mbed::callback ( R(*)(volatile T *, A0)  func,
volatile U *  arg 
)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
argPointer argument to function
Returns
Callback with inferred type

Definition at line 4120 of file Callback.h.

Callback<R(A0)> mbed::callback ( R(*)(const volatile T *, A0)  func,
const volatile U *  arg 
)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
argPointer argument to function
Returns
Callback with inferred type

Definition at line 4132 of file Callback.h.

Callback<R(A0)> mbed::callback ( U *  obj,
R(*)(T *, A0)  func 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
funcStatic function to attach
Returns
Callback with inferred type
Deprecated:
Arguments to callback have been reordered to callback(func, arg)

Definition at line 4148 of file Callback.h.

Callback<R(A0)> mbed::callback ( const U *  obj,
R(*)(const T *, A0)  func 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
funcStatic function to attach
Returns
Callback with inferred type
Deprecated:
Arguments to callback have been reordered to callback(func, arg)

Definition at line 4164 of file Callback.h.

Callback<R(A0)> mbed::callback ( volatile U *  obj,
R(*)(volatile T *, A0)  func 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
funcStatic function to attach
Returns
Callback with inferred type
Deprecated:
Arguments to callback have been reordered to callback(func, arg)

Definition at line 4180 of file Callback.h.

Callback<R(A0)> mbed::callback ( const volatile U *  obj,
R(*)(const volatile T *, A0)  func 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
funcStatic function to attach
Returns
Callback with inferred type
Deprecated:
Arguments to callback have been reordered to callback(func, arg)

Definition at line 4196 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( R(*)(A0, A1)  func = 0)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
Returns
Callback with inferred type

Definition at line 4208 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( const Callback< R(A0, A1)> &  func)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
Returns
Callback with inferred type

Definition at line 4219 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( U *  obj,
R(T::*)(A0, A1)  method 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
methodMember function to attach
Returns
Callback with inferred type

Definition at line 4231 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( const U *  obj,
R(T::*)(A0, A1) const  method 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
methodMember function to attach
Returns
Callback with inferred type

Definition at line 4243 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( volatile U *  obj,
R(T::*)(A0, A1) volatile  method 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
methodMember function to attach
Returns
Callback with inferred type

Definition at line 4255 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( const volatile U *  obj,
R(T::*)(A0, A1) const volatile  method 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
methodMember function to attach
Returns
Callback with inferred type

Definition at line 4267 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( R(*)(T *, A0, A1)  func,
U *  arg 
)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
argPointer argument to function
Returns
Callback with inferred type

Definition at line 4279 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( R(*)(const T *, A0, A1)  func,
const U *  arg 
)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
argPointer argument to function
Returns
Callback with inferred type

Definition at line 4291 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( R(*)(volatile T *, A0, A1)  func,
volatile U *  arg 
)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
argPointer argument to function
Returns
Callback with inferred type

Definition at line 4303 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( R(*)(const volatile T *, A0, A1)  func,
const volatile U *  arg 
)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
argPointer argument to function
Returns
Callback with inferred type

Definition at line 4315 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( U *  obj,
R(*)(T *, A0, A1)  func 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
funcStatic function to attach
Returns
Callback with inferred type
Deprecated:
Arguments to callback have been reordered to callback(func, arg)

Definition at line 4331 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( const U *  obj,
R(*)(const T *, A0, A1)  func 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
funcStatic function to attach
Returns
Callback with inferred type
Deprecated:
Arguments to callback have been reordered to callback(func, arg)

Definition at line 4347 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( volatile U *  obj,
R(*)(volatile T *, A0, A1)  func 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
funcStatic function to attach
Returns
Callback with inferred type
Deprecated:
Arguments to callback have been reordered to callback(func, arg)

Definition at line 4363 of file Callback.h.

Callback<R(A0, A1)> mbed::callback ( const volatile U *  obj,
R(*)(const volatile T *, A0, A1)  func 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
funcStatic function to attach
Returns
Callback with inferred type
Deprecated:
Arguments to callback have been reordered to callback(func, arg)

Definition at line 4379 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( R(*)(A0, A1, A2)  func = 0)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
Returns
Callback with inferred type

Definition at line 4391 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( const Callback< R(A0, A1, A2)> &  func)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
Returns
Callback with inferred type

Definition at line 4402 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( U *  obj,
R(T::*)(A0, A1, A2)  method 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
methodMember function to attach
Returns
Callback with inferred type

Definition at line 4414 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( const U *  obj,
R(T::*)(A0, A1, A2) const  method 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
methodMember function to attach
Returns
Callback with inferred type

Definition at line 4426 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( volatile U *  obj,
R(T::*)(A0, A1, A2) volatile  method 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
methodMember function to attach
Returns
Callback with inferred type

Definition at line 4438 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( const volatile U *  obj,
R(T::*)(A0, A1, A2) const volatile  method 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
methodMember function to attach
Returns
Callback with inferred type

Definition at line 4450 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( R(*)(T *, A0, A1, A2)  func,
U *  arg 
)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
argPointer argument to function
Returns
Callback with inferred type

Definition at line 4462 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( R(*)(const T *, A0, A1, A2)  func,
const U *  arg 
)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
argPointer argument to function
Returns
Callback with inferred type

Definition at line 4474 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( R(*)(volatile T *, A0, A1, A2)  func,
volatile U *  arg 
)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
argPointer argument to function
Returns
Callback with inferred type

Definition at line 4486 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( R(*)(const volatile T *, A0, A1, A2)  func,
const volatile U *  arg 
)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
argPointer argument to function
Returns
Callback with inferred type

Definition at line 4498 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( U *  obj,
R(*)(T *, A0, A1, A2)  func 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
funcStatic function to attach
Returns
Callback with inferred type
Deprecated:
Arguments to callback have been reordered to callback(func, arg)

Definition at line 4514 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( const U *  obj,
R(*)(const T *, A0, A1, A2)  func 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
funcStatic function to attach
Returns
Callback with inferred type
Deprecated:
Arguments to callback have been reordered to callback(func, arg)

Definition at line 4530 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( volatile U *  obj,
R(*)(volatile T *, A0, A1, A2)  func 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
funcStatic function to attach
Returns
Callback with inferred type
Deprecated:
Arguments to callback have been reordered to callback(func, arg)

Definition at line 4546 of file Callback.h.

Callback<R(A0, A1, A2)> mbed::callback ( const volatile U *  obj,
R(*)(const volatile T *, A0, A1, A2)  func 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
funcStatic function to attach
Returns
Callback with inferred type
Deprecated:
Arguments to callback have been reordered to callback(func, arg)

Definition at line 4562 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( R(*)(A0, A1, A2, A3)  func = 0)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
Returns
Callback with inferred type

Definition at line 4574 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( const Callback< R(A0, A1, A2, A3)> &  func)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
Returns
Callback with inferred type

Definition at line 4585 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( U *  obj,
R(T::*)(A0, A1, A2, A3)  method 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
methodMember function to attach
Returns
Callback with inferred type

Definition at line 4597 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( const U *  obj,
R(T::*)(A0, A1, A2, A3) const  method 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
methodMember function to attach
Returns
Callback with inferred type

Definition at line 4609 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( volatile U *  obj,
R(T::*)(A0, A1, A2, A3) volatile  method 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
methodMember function to attach
Returns
Callback with inferred type

Definition at line 4621 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( const volatile U *  obj,
R(T::*)(A0, A1, A2, A3) const volatile  method 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
methodMember function to attach
Returns
Callback with inferred type

Definition at line 4633 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( R(*)(T *, A0, A1, A2, A3)  func,
U *  arg 
)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
argPointer argument to function
Returns
Callback with inferred type

Definition at line 4645 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( R(*)(const T *, A0, A1, A2, A3)  func,
const U *  arg 
)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
argPointer argument to function
Returns
Callback with inferred type

Definition at line 4657 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( R(*)(volatile T *, A0, A1, A2, A3)  func,
volatile U *  arg 
)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
argPointer argument to function
Returns
Callback with inferred type

Definition at line 4669 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( R(*)(const volatile T *, A0, A1, A2, A3)  func,
const volatile U *  arg 
)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
argPointer argument to function
Returns
Callback with inferred type

Definition at line 4681 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( U *  obj,
R(*)(T *, A0, A1, A2, A3)  func 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
funcStatic function to attach
Returns
Callback with inferred type
Deprecated:
Arguments to callback have been reordered to callback(func, arg)

Definition at line 4697 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( const U *  obj,
R(*)(const T *, A0, A1, A2, A3)  func 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
funcStatic function to attach
Returns
Callback with inferred type
Deprecated:
Arguments to callback have been reordered to callback(func, arg)

Definition at line 4713 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( volatile U *  obj,
R(*)(volatile T *, A0, A1, A2, A3)  func 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
funcStatic function to attach
Returns
Callback with inferred type
Deprecated:
Arguments to callback have been reordered to callback(func, arg)

Definition at line 4729 of file Callback.h.

Callback<R(A0, A1, A2, A3)> mbed::callback ( const volatile U *  obj,
R(*)(const volatile T *, A0, A1, A2, A3)  func 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
funcStatic function to attach
Returns
Callback with inferred type
Deprecated:
Arguments to callback have been reordered to callback(func, arg)

Definition at line 4745 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( R(*)(A0, A1, A2, A3, A4)  func = 0)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
Returns
Callback with inferred type

Definition at line 4757 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( const Callback< R(A0, A1, A2, A3, A4)> &  func)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
Returns
Callback with inferred type

Definition at line 4768 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( U *  obj,
R(T::*)(A0, A1, A2, A3, A4)  method 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
methodMember function to attach
Returns
Callback with inferred type

Definition at line 4780 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( const U *  obj,
R(T::*)(A0, A1, A2, A3, A4) const  method 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
methodMember function to attach
Returns
Callback with inferred type

Definition at line 4792 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( volatile U *  obj,
R(T::*)(A0, A1, A2, A3, A4) volatile  method 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
methodMember function to attach
Returns
Callback with inferred type

Definition at line 4804 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( const volatile U *  obj,
R(T::*)(A0, A1, A2, A3, A4) const volatile  method 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
methodMember function to attach
Returns
Callback with inferred type

Definition at line 4816 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( R(*)(T *, A0, A1, A2, A3, A4)  func,
U *  arg 
)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
argPointer argument to function
Returns
Callback with inferred type

Definition at line 4828 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( R(*)(const T *, A0, A1, A2, A3, A4)  func,
const U *  arg 
)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
argPointer argument to function
Returns
Callback with inferred type

Definition at line 4840 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( R(*)(volatile T *, A0, A1, A2, A3, A4)  func,
volatile U *  arg 
)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
argPointer argument to function
Returns
Callback with inferred type

Definition at line 4852 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( R(*)(const volatile T *, A0, A1, A2, A3, A4)  func,
const volatile U *  arg 
)

Create a callback class with type inferred from the arguments.

Parameters
funcStatic function to attach
argPointer argument to function
Returns
Callback with inferred type

Definition at line 4864 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( U *  obj,
R(*)(T *, A0, A1, A2, A3, A4)  func 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
funcStatic function to attach
Returns
Callback with inferred type
Deprecated:
Arguments to callback have been reordered to callback(func, arg)

Definition at line 4880 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( const U *  obj,
R(*)(const T *, A0, A1, A2, A3, A4)  func 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
funcStatic function to attach
Returns
Callback with inferred type
Deprecated:
Arguments to callback have been reordered to callback(func, arg)

Definition at line 4896 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( volatile U *  obj,
R(*)(volatile T *, A0, A1, A2, A3, A4)  func 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
funcStatic function to attach
Returns
Callback with inferred type
Deprecated:
Arguments to callback have been reordered to callback(func, arg)

Definition at line 4912 of file Callback.h.

Callback<R(A0, A1, A2, A3, A4)> mbed::callback ( const volatile U *  obj,
R(*)(const volatile T *, A0, A1, A2, A3, A4)  func 
)

Create a callback class with type inferred from the arguments.

Parameters
objOptional pointer to object to bind to function
funcStatic function to attach
Returns
Callback with inferred type
Deprecated:
Arguments to callback have been reordered to callback(func, arg)

Definition at line 4928 of file Callback.h.

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.