sdf
Dependencies: AvailableMemory mbed-rtos mbed
Parser.h@0:1c8f2727e9f5, 2014-04-03 (annotated)
- Committer:
- y7jin
- Date:
- Thu Apr 03 22:56:32 2014 +0000
- Revision:
- 0:1c8f2727e9f5
hello
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
y7jin | 0:1c8f2727e9f5 | 1 | #ifndef _PARSER_H |
y7jin | 0:1c8f2727e9f5 | 2 | #define _PARSER_H |
y7jin | 0:1c8f2727e9f5 | 3 | |
y7jin | 0:1c8f2727e9f5 | 4 | #include "mbed.h" |
y7jin | 0:1c8f2727e9f5 | 5 | #include "SDF.h" |
y7jin | 0:1c8f2727e9f5 | 6 | #include "RingBuffer.h" |
y7jin | 0:1c8f2727e9f5 | 7 | |
y7jin | 0:1c8f2727e9f5 | 8 | using namespace std; |
y7jin | 0:1c8f2727e9f5 | 9 | class SDFG; |
y7jin | 0:1c8f2727e9f5 | 10 | class Parser{ |
y7jin | 0:1c8f2727e9f5 | 11 | public: |
y7jin | 0:1c8f2727e9f5 | 12 | /*parse sdf configuration file, set the values for sdfg*/ |
y7jin | 0:1c8f2727e9f5 | 13 | static void parseSDFG(char *path, SDFG *sdfg); |
y7jin | 0:1c8f2727e9f5 | 14 | /*parse input file to populate input buffer*/ |
y7jin | 0:1c8f2727e9f5 | 15 | static void parseInput(char *path, RingBuffer *buf); |
y7jin | 0:1c8f2727e9f5 | 16 | }; |
y7jin | 0:1c8f2727e9f5 | 17 | |
y7jin | 0:1c8f2727e9f5 | 18 | #endif |