Rev 392 | Rev 397 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 392 | Rev 396 | ||
---|---|---|---|
1 | #ifndef QT_COMMUNICATION_H |
1 | #ifndef QT_COMMUNICATION_H |
2 | #define QT_COMMUNICATION_H |
2 | #define QT_COMMUNICATION_H |
3 | #include <Communication.h> |
3 | #include <Communication.h> |
4 | 4 | ||
5 | /** |
5 | /** |
6 | * QT specific communication class |
6 | * QT specific communication class |
7 | * based on the communication interface |
7 | * based on the communication interface |
8 | * using the SerialPort implementation |
8 | * using the SerialPort implementation |
9 | * by VIANNEY-LIAUD Philippe |
9 | * by VIANNEY-LIAUD Philippe |
10 | * ( philippe.vianney.liaud gmail.com ) |
10 | * ( philippe.vianney.liaud gmail.com ) |
11 | */ |
11 | */ |
- | 12 | ||
- | 13 | using namespace std; |
|
12 | 14 | ||
13 | class QTCommunication : public Communication { |
15 | class QTCommunication : public Communication { |
14 | public: |
16 | public: |
15 | void connectMK(string addr); |
17 | void connectMK(string addr); |
16 | bool sendCmd(char cmd, int address, char data[150], unsigned int length, bool resend); |
18 | bool sendCmd(char cmd, int address, char data[150], unsigned int length, bool resend); |
- | 19 | void stopReSend(); |
|
17 | }; |
20 | }; |
18 | #endif |
21 | #endif |