@@ -38,6 +38,7 @@ class CallChainLink;
38
38
* sequence using CallChain::call(). Used mostly by the interrupt chaining code,
39
39
* but can be used for other purposes.
40
40
*
41
+ * @deprecated Do not use this class. This class is not part of the public API of mbed-os and is being removed in the future.
41
42
* @note Synchronization level: Not protected
42
43
*
43
44
* Example:
@@ -74,18 +75,27 @@ class CallChainLink;
74
75
class CallChain : private NonCopyable <CallChain> {
75
76
public:
76
77
/* * Create an empty chain
78
+ * @deprecated
79
+ * Do not use this function, this class is not part of the public API of mbed-os and is being removed in the future.
77
80
*
78
81
* @param size (optional) Initial size of the chain
79
82
*/
80
83
MBED_DEPRECATED_SINCE (" mbed-os-5.6" , " This class is not part of the "
81
84
" public API of mbed-os and is being removed in the future." )
82
85
CallChain (int size = 4 );
83
86
87
+ /* * Create an empty chain
88
+ * @deprecated
89
+ * Do not use this function, this class is not part of the public API of mbed-os and is being removed in the future.
90
+ */
84
91
MBED_DEPRECATED_SINCE (" mbed-os-5.6" , " This class is not part of the "
85
92
" public API of mbed-os and is being removed in the future." )
86
93
virtual ~CallChain ();
87
94
88
95
/* * Add a function at the end of the chain
96
+ *
97
+ * @deprecated
98
+ * Do not use this function, this class is not part of the public API of mbed-os and is being removed in the future.
89
99
*
90
100
* @param func A pointer to a void function
91
101
*
@@ -117,6 +127,9 @@ class CallChain : private NonCopyable<CallChain> {
117
127
}
118
128
119
129
/* * Add a function at the beginning of the chain
130
+ * @deprecated
131
+ * Do not use this function, this class is not part of the public API of mbed-os and is being removed in the future.
132
+ *
120
133
*
121
134
* @param func A pointer to a void function
122
135
*
@@ -148,12 +161,17 @@ class CallChain : private NonCopyable<CallChain> {
148
161
}
149
162
150
163
/* * Get the number of functions in the chain
164
+ * @deprecated
165
+ * Do not use this function, this class is not part of the public API of mbed-os and is being removed in the future.
166
+ *
151
167
*/
152
168
MBED_DEPRECATED_SINCE (" mbed-os-5.6" , " This class is not part of the "
153
169
" public API of mbed-os and is being removed in the future." )
154
170
int size () const ;
155
171
156
172
/* * Get a function object from the chain
173
+ * @deprecated
174
+ * Do not use this function, this class is not part of the public API of mbed-os and is being removed in the future.
157
175
*
158
176
* @param i function object index
159
177
*
@@ -165,6 +183,8 @@ class CallChain : private NonCopyable<CallChain> {
165
183
pFunctionPointer_t get (int i) const ;
166
184
167
185
/* * Look for a function object in the call chain
186
+ * @deprecated
187
+ * Do not use this function, this class is not part of the public API of mbed-os and is being removed in the future.
168
188
*
169
189
* @param f the function object to search
170
190
*
@@ -176,12 +196,15 @@ class CallChain : private NonCopyable<CallChain> {
176
196
int find (pFunctionPointer_t f) const ;
177
197
178
198
/* * Clear the call chain (remove all functions in the chain).
199
+ * @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.
179
200
*/
180
201
MBED_DEPRECATED_SINCE (" mbed-os-5.6" , " This class is not part of the "
181
202
" public API of mbed-os and is being removed in the future." )
182
203
void clear ();
183
204
184
205
/* * Remove a function object from the chain
206
+ * @deprecated
207
+ * Do not use this function, this class is not part of the public API of mbed-os and is being removed in the future.
185
208
*
186
209
* @arg f the function object to remove
187
210
*
@@ -193,17 +216,30 @@ class CallChain : private NonCopyable<CallChain> {
193
216
bool remove (pFunctionPointer_t f);
194
217
195
218
/* * Call all the functions in the chain in sequence
219
+ * @deprecated
220
+ * Do not use this function, this class is not part of the public API of mbed-os and is being removed in the future.
221
+ *
196
222
*/
197
223
MBED_DEPRECATED_SINCE (" mbed-os-5.6" , " This class is not part of the "
198
224
" public API of mbed-os and is being removed in the future." )
199
225
void call ();
200
226
227
+ /* *
228
+ * @deprecated
229
+ * Do not use this function, this class is not part of the public API of mbed-os and is being removed in the future.
230
+ *
231
+ */
201
232
MBED_DEPRECATED_SINCE (" mbed-os-5.6" , " This class is not part of the "
202
233
" public API of mbed-os and is being removed in the future." )
203
234
void operator ()(void ) {
204
235
call ();
205
236
}
206
237
238
+ /* *
239
+ * @deprecated
240
+ * Do not use this function, this class is not part of the public API of mbed-os and is being removed in the future.
241
+ *
242
+ */
207
243
MBED_DEPRECATED_SINCE (" mbed-os-5.6" , " This class is not part of the "
208
244
" public API of mbed-os and is being removed in the future." )
209
245
pFunctionPointer_t operator [](int i) const {
0 commit comments