Lancaster University's fork of the mbed BLE API. Lives on github, https://github.com/lancaster-university/BLE_API
Dependents: microbit-dal microbit-dal microbit-ble-open microbit-dal ... more
Fork of BLE_API by
Diff: ble/FunctionPointerWithContext.h
- Revision:
- 953:f6eb43f524b2
- Parent:
- 952:8a6c287de1be
- Child:
- 957:15f5e9046dde
--- a/ble/FunctionPointerWithContext.h Thu Nov 26 12:52:33 2015 +0000 +++ b/ble/FunctionPointerWithContext.h Thu Nov 26 12:52:33 2015 +0000 @@ -94,6 +94,13 @@ } } + /** + * @brief Same as above + */ + void operator()(ContextType context) const { + call(context); + } + /** Same as above, workaround for mbed os FunctionPointer implementation. */ void call(ContextType context) { _caller(this, context);