First version
Dependencies: mbed EthernetInterface mbed-rto
Receiver.h@74:8c0068ed7c1e, 2018-05-15 (annotated)
- Committer:
- KlaasGovaerts
- Date:
- Tue May 15 21:34:09 2018 +0000
- Revision:
- 74:8c0068ed7c1e
- Parent:
- 30:915f6cb7ffa5
Probeersel (werkt niet).
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
KlaasGovaerts | 24:bf62c46acb3e | 1 | #include "rtos.h" |
KlaasGovaerts | 29:996da48a265c | 2 | #include "Interpreter.h" |
KlaasGovaerts | 29:996da48a265c | 3 | #include "TCPlistener.h" |
KlaasGovaerts | 24:bf62c46acb3e | 4 | |
KlaasGovaerts | 24:bf62c46acb3e | 5 | #ifndef RECEIVER_H |
KlaasGovaerts | 24:bf62c46acb3e | 6 | #define RECEIVER_H |
KlaasGovaerts | 24:bf62c46acb3e | 7 | class Receiver{ |
KlaasGovaerts | 24:bf62c46acb3e | 8 | private: |
KlaasGovaerts | 74:8c0068ed7c1e | 9 | Queue<QueueMessage,1>* queue; |
KlaasGovaerts | 29:996da48a265c | 10 | Interpreter interpreter; |
KlaasGovaerts | 29:996da48a265c | 11 | TCPlistener listener; |
KlaasGovaerts | 29:996da48a265c | 12 | char command[512]; |
KlaasGovaerts | 24:bf62c46acb3e | 13 | public: |
KlaasGovaerts | 74:8c0068ed7c1e | 14 | Receiver(Queue<QueueMessage,1>* queue); |
KlaasGovaerts | 29:996da48a265c | 15 | void start(); |
KlaasGovaerts | 24:bf62c46acb3e | 16 | }; |
KlaasGovaerts | 24:bf62c46acb3e | 17 | #endif |