Shohei Yasutake / Mbed 2 deprecated koibumi2000

Dependencies:   fll mbed-rtos mbed

Revision:
9:0d6631edfc32
Parent:
8:d16a0fcc2735
Child:
11:21b3b0494baa
diff -r d16a0fcc2735 -r 0d6631edfc32 fll.h
--- a/fll.h	Sat Feb 14 16:51:25 2015 +0000
+++ b/fll.h	Sat Feb 14 17:10:12 2015 +0000
@@ -1,11 +1,13 @@
 // Frame Level Language
 // interface
 
+#pragma once
+
 #include "mbed.h"
 #include "rtos.h"
 #include <stdint.h>
 
-// buttons represented by 16 bit 
+// buttons represented by 16 bit
 #define R1 0x0001
 #define TRIANGLE 0x0002
 #define CIRCLE 0x0004
@@ -35,30 +37,6 @@
     virtual button_t await() = 0;
 };
 
-// 0 input and repeat given button sequence
-class RepeaterSource : public Producer
-{
-private:
-    int i;
-    button_t* button_seq;
-    int size;
-public:
-    RepeaterSource(button_t *bs, int s);
-    virtual button_t await();
-};
-
-// N inputs
-class FoldFlow : public Producer
-{
-private:
-    Producer** sources;
-    int sources_size;
-public:
-    FoldFlow(Producer **srcs, int srcs_size);
-    virtual button_t fold(button_t *bs, int bs_size) = 0;
-    virtual button_t await();
-};
-
 // Sink is the end of button stream network
 // It sends next button to Output object through rtos::Mail
 class Sink