Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: fll mbed-rtos mbed
Diff: fll.h
- Revision:
- 5:130721ce29f7
- Parent:
- 3:edbf31a8589f
- Child:
- 6:d0348b7a2f05
diff -r 9ee673ca05ad -r 130721ce29f7 fll.h
--- a/fll.h Sat Feb 14 06:49:42 2015 +0000
+++ b/fll.h Sat Feb 14 07:25:27 2015 +0000
@@ -38,13 +38,14 @@
virtual button_t await();
};
-class Flow : Source
+class Pipe : public Source
{
private:
- vector<Source*>& sources;
+ Source** sources;
+ int sources_size;
public:
- Flow(vector<Source*> &srcs);
- virtual button_t fold(vector<button_t> &bs);
+ Pipe(Source **srcs, int srcs_size);
+ virtual button_t fold(button_t *bs, int bs_size) = 0;
virtual button_t await();
};
