![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
demo versie 16/05
Dependencies: EthernetInterface mbed-rto mbed
Fork of ProjectVLC by
Receiver.h@31:915f6cb7ffa5, 2018-04-25 (annotated)
- Committer:
- KlaasGovaerts
- Date:
- Wed Apr 25 14:51:18 2018 +0000
- Revision:
- 31:915f6cb7ffa5
- Parent:
- 30:996da48a265c
- Child:
- 35:efdbfccf2678
- Child:
- 71:5e8ba1357442
- Child:
- 74:8c0068ed7c1e
- Child:
- 75:31c15986b85e
Reciever werkt multithreaded
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
KlaasGovaerts | 28:bf62c46acb3e | 1 | #include "rtos.h" |
KlaasGovaerts | 30:996da48a265c | 2 | #include "Interpreter.h" |
KlaasGovaerts | 30:996da48a265c | 3 | #include "TCPlistener.h" |
KlaasGovaerts | 28:bf62c46acb3e | 4 | |
KlaasGovaerts | 28:bf62c46acb3e | 5 | #ifndef RECEIVER_H |
KlaasGovaerts | 28:bf62c46acb3e | 6 | #define RECEIVER_H |
KlaasGovaerts | 28:bf62c46acb3e | 7 | class Receiver{ |
KlaasGovaerts | 28:bf62c46acb3e | 8 | private: |
KlaasGovaerts | 31:915f6cb7ffa5 | 9 | Queue<int,8>* queue; |
KlaasGovaerts | 30:996da48a265c | 10 | Interpreter interpreter; |
KlaasGovaerts | 30:996da48a265c | 11 | TCPlistener listener; |
KlaasGovaerts | 30:996da48a265c | 12 | char command[512]; |
KlaasGovaerts | 28:bf62c46acb3e | 13 | public: |
KlaasGovaerts | 31:915f6cb7ffa5 | 14 | Receiver(Queue<int,8>* queue); |
KlaasGovaerts | 30:996da48a265c | 15 | void start(); |
KlaasGovaerts | 28:bf62c46acb3e | 16 | }; |
KlaasGovaerts | 28:bf62c46acb3e | 17 | #endif |