mbed library sources. Supersedes mbed-src.

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

Revision:
187:0387e8f68319
Parent:
184:08ed48f1de7f
Child:
189:f392fc9709a3
--- a/platform/CallChain.h	Fri Jun 22 16:45:37 2018 +0100
+++ b/platform/CallChain.h	Thu Sep 06 13:40:20 2018 +0100
@@ -75,26 +75,26 @@
 class CallChain : private NonCopyable<CallChain> {
 public:
     /** Create an empty chain
-     *  @deprecated 
+     *  @deprecated
      *  Do not use this function, this class is not part of the public API of mbed-os and is being removed in the future.
      *
      *  @param size (optional) Initial size of the chain
      */
     MBED_DEPRECATED_SINCE("mbed-os-5.6", "This class is not part of the "
-        "public API of mbed-os and is being removed in the future.")
+                          "public API of mbed-os and is being removed in the future.")
     CallChain(int size = 4);
 
     /** Create an empty chain
-     *  @deprecated 
+     *  @deprecated
      *  Do not use this function, this class is not part of the public API of mbed-os and is being removed in the future.
      */
     MBED_DEPRECATED_SINCE("mbed-os-5.6", "This class is not part of the "
-        "public API of mbed-os and is being removed in the future.")
+                          "public API of mbed-os and is being removed in the future.")
     virtual ~CallChain();
 
     /** Add a function at the end of the chain
      *
-     *  @deprecated 
+     *  @deprecated
      *  Do not use this function, this class is not part of the public API of mbed-os and is being removed in the future.
      *
      *  @param func A pointer to a void function
@@ -103,7 +103,7 @@
      *  The function object created for 'func'
      */
     MBED_DEPRECATED_SINCE("mbed-os-5.6", "This class is not part of the "
-        "public API of mbed-os and is being removed in the future.")
+                          "public API of mbed-os and is being removed in the future.")
     pFunctionPointer_t add(Callback<void()> func);
 
     /** Add a function at the end of the chain
@@ -120,14 +120,15 @@
      */
     template<typename T, typename M>
     MBED_DEPRECATED_SINCE("mbed-os-5.1",
-        "The add function does not support cv-qualifiers. Replaced by "
-        "add(callback(obj, method)).")
-    pFunctionPointer_t add(T *obj, M method) {
+                          "The add function does not support cv-qualifiers. Replaced by "
+                          "add(callback(obj, method)).")
+    pFunctionPointer_t add(T *obj, M method)
+    {
         return add(callback(obj, method));
     }
 
     /** Add a function at the beginning of the chain
-     *  @deprecated 
+     *  @deprecated
      *  Do not use this function, this class is not part of the public API of mbed-os and is being removed in the future.
      *
      *
@@ -137,7 +138,7 @@
      *  The function object created for 'func'
      */
     MBED_DEPRECATED_SINCE("mbed-os-5.6", "This class is not part of the "
-        "public API of mbed-os and is being removed in the future.")
+                          "public API of mbed-os and is being removed in the future.")
     pFunctionPointer_t add_front(Callback<void()> func);
 
     /** Add a function at the beginning of the chain
@@ -154,23 +155,24 @@
      */
     template<typename T, typename M>
     MBED_DEPRECATED_SINCE("mbed-os-5.1",
-        "The add_front function does not support cv-qualifiers. Replaced by "
-        "add_front(callback(obj, method)).")
-    pFunctionPointer_t add_front(T *obj, M method) {
+                          "The add_front function does not support cv-qualifiers. Replaced by "
+                          "add_front(callback(obj, method)).")
+    pFunctionPointer_t add_front(T *obj, M method)
+    {
         return add_front(callback(obj, method));
     }
 
     /** Get the number of functions in the chain
-     *  @deprecated 
+     *  @deprecated
      *  Do not use this function, this class is not part of the public API of mbed-os and is being removed in the future.
      *
      */
     MBED_DEPRECATED_SINCE("mbed-os-5.6", "This class is not part of the "
-        "public API of mbed-os and is being removed in the future.")
+                          "public API of mbed-os and is being removed in the future.")
     int size() const;
 
     /** Get a function object from the chain
-     *  @deprecated 
+     *  @deprecated
      *  Do not use this function, this class is not part of the public API of mbed-os and is being removed in the future.
      *
      *  @param i function object index
@@ -179,11 +181,11 @@
      *  The function object at position 'i' in the chain
      */
     MBED_DEPRECATED_SINCE("mbed-os-5.6", "This class is not part of the "
-        "public API of mbed-os and is being removed in the future.")
+                          "public API of mbed-os and is being removed in the future.")
     pFunctionPointer_t get(int i) const;
 
     /** Look for a function object in the call chain
-     *  @deprecated 
+     *  @deprecated
      *  Do not use this function, this class is not part of the public API of mbed-os and is being removed in the future.
      *
      *  @param f the function object to search
@@ -192,18 +194,18 @@
      *  The index of the function object if found, -1 otherwise.
      */
     MBED_DEPRECATED_SINCE("mbed-os-5.6", "This class is not part of the "
-        "public API of mbed-os and is being removed in the future.")
+                          "public API of mbed-os and is being removed in the future.")
     int find(pFunctionPointer_t f) const;
 
     /** Clear the call chain (remove all functions in the chain).
      *  @deprecated Do not use this function. This class is not part of the public API of mbed-os and is being removed in the future.
      */
     MBED_DEPRECATED_SINCE("mbed-os-5.6", "This class is not part of the "
-        "public API of mbed-os and is being removed in the future.")
+                          "public API of mbed-os and is being removed in the future.")
     void clear();
 
     /** Remove a function object from the chain
-     *  @deprecated 
+     *  @deprecated
      *  Do not use this function, this class is not part of the public API of mbed-os and is being removed in the future.
      *
      *  @arg f the function object to remove
@@ -212,37 +214,39 @@
      *  true if the function object was found and removed, false otherwise.
      */
     MBED_DEPRECATED_SINCE("mbed-os-5.6", "This class is not part of the "
-        "public API of mbed-os and is being removed in the future.")
+                          "public API of mbed-os and is being removed in the future.")
     bool remove(pFunctionPointer_t f);
 
     /** Call all the functions in the chain in sequence
-     *  @deprecated 
+     *  @deprecated
      *  Do not use this function, this class is not part of the public API of mbed-os and is being removed in the future.
      *
      */
     MBED_DEPRECATED_SINCE("mbed-os-5.6", "This class is not part of the "
-        "public API of mbed-os and is being removed in the future.")
+                          "public API of mbed-os and is being removed in the future.")
     void call();
 
-    /** 
-     *  @deprecated 
+    /**
+     *  @deprecated
      *  Do not use this function, this class is not part of the public API of mbed-os and is being removed in the future.
      *
      */
     MBED_DEPRECATED_SINCE("mbed-os-5.6", "This class is not part of the "
-        "public API of mbed-os and is being removed in the future.")
-    void operator ()(void) {
+                          "public API of mbed-os and is being removed in the future.")
+    void operator()(void)
+    {
         call();
     }
 
-    /** 
-     *  @deprecated 
+    /**
+     *  @deprecated
      *  Do not use this function, this class is not part of the public API of mbed-os and is being removed in the future.
      *
      */
     MBED_DEPRECATED_SINCE("mbed-os-5.6", "This class is not part of the "
-        "public API of mbed-os and is being removed in the future.")
-    pFunctionPointer_t operator [](int i) const {
+                          "public API of mbed-os and is being removed in the future.")
+    pFunctionPointer_t operator [](int i) const
+    {
         return get(i);
     }