Go to most recent revision | Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
391 | Brean | 1 | #ifndef HANDLER_H |
2 | #define HANDLER_H |
||
3 | #include <string> |
||
4 | #include <Parser.h> |
||
392 | Brean | 5 | #include <Communication.h> |
391 | Brean | 6 | |
7 | /** |
||
8 | * The Handler handels commands that are send from/to the Mikrokopter |
||
9 | * and parses them using the Parser-class. |
||
10 | */ |
||
11 | |||
12 | class Handler { |
||
392 | Brean | 13 | private: |
14 | Communication * com; |
||
391 | Brean | 15 | public: |
392 | Brean | 16 | Handler(Communication * com); |
391 | Brean | 17 | void read_mixer(); |
393 | Brean | 18 | void receive_data(sRxData rx); |
391 | Brean | 19 | }; |
20 | |||
21 | #endif |