Subversion Repositories Projects

Rev

Rev 392 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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