mbed library sources. Supersedes mbed-src.

Dependents:   Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more

Embed: (wiki syntax)

« Back to documentation index

Callback class

Callback class
[Platform]

Data Structures

class  Callback< R()>
 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.
template<typename R >
Callback< R()> callback (const Callback< R()> &func)
 Create a callback class with type inferred from the arguments.
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.
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.
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.
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.
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.
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.
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.
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.
template<typename T , typename U , typename R >
 MBED_DEPRECATED_SINCE ("mbed-os-5.1","Arguments to callback have been reordered to callback(func, arg)") Callback< R()> callback(U *obj
 Create a callback class with type inferred from the arguments.
template<typename R , typename A0 >
Callback< R(A0)> callback (R(*func)(A0)=0)
 Create a callback class with type inferred from the arguments.
template<typename R , typename A0 >
Callback< R(A0)> callback (const Callback< R(A0)> &func)
 Create a callback class with type inferred from the arguments.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.

Function Documentation

Callback< R()> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2, A3, A4)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2, A3, A4)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2, A3, A4)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2, A3, A4)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2, A3, A4)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2, A3, A4)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2, A3, A4)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2, A3, A4)> 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 cmsis/BUILD/mbed/platform/Callback.h.

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.

Parameters:
funcStatic function to attach
Returns:
Callback with inferred type

Definition at line 4768 of file cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2, A3, A4)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2, A3)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2, A3)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2, A3)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2, A3)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2, A3)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2, A3)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2, A3)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2, A3)> 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 cmsis/BUILD/mbed/platform/Callback.h.

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.

Parameters:
funcStatic function to attach
Returns:
Callback with inferred type

Definition at line 4585 of file cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2, A3)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R()> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R()> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1, A2)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R()> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0, A1)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R()> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R()> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R(A0)> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R()> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R()> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R()> 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 cmsis/BUILD/mbed/platform/Callback.h.

Callback< R()> 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 cmsis/BUILD/mbed/platform/Callback.h.

MBED_DEPRECATED_SINCE ( "mbed-os-5.1"  ,
"Arguments to callback have been reordered to callback(func, arg)"   
)

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
Parameters:
objOptional pointer to object to bind to function
funcStatic function to attach
Returns:
Callback with inferred type
Parameters:
objOptional pointer to object to bind to function
funcStatic function to attach
Returns:
Callback with inferred type
Parameters:
objOptional pointer to object to bind to function
funcStatic function to attach
Returns:
Callback with inferred type
Parameters:
objOptional pointer to object to bind to function
funcStatic function to attach
Returns:
Callback with inferred type
Parameters:
objOptional pointer to object to bind to function
funcStatic function to attach
Returns:
Callback with inferred type
Parameters:
objOptional pointer to object to bind to function
funcStatic function to attach
Returns:
Callback with inferred type
Parameters:
objOptional pointer to object to bind to function
funcStatic function to attach
Returns:
Callback with inferred type