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 3848 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 3859 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 3871 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 3883 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 3895 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 3907 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 3919 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 3931 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 3943 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 3955 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 3971 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 3987 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 4003 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 4019 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 4031 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 4042 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 4054 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 4066 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 4078 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 4090 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 4102 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 4114 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 4126 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 4138 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 4154 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 4170 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 4186 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 4202 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 4214 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 4225 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 4237 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 4249 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 4261 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 4273 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 4285 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 4297 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 4309 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 4321 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 4337 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 4353 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 4369 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 4385 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 4397 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 4408 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 4420 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 4432 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 4444 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 4456 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 4468 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 4480 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 4492 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 4504 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 4520 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 4536 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 4552 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 4568 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 4580 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 4591 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 4603 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 4615 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 4627 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 4639 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 4651 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 4663 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 4675 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 4687 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 4703 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 4719 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 4735 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 4751 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 4763 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 4774 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 4786 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 4798 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 4810 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 4822 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 4834 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 4846 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 4858 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 4870 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 4886 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 4902 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 4918 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 4934 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.