@@ -5,6 +5,11 GR_ESB_bridge::GR_ESB_bridge(socexplorer | |||
|
5 | 5 | abstractSpwBridge(parent) |
|
6 | 6 | { |
|
7 | 7 | this->p_GUI = new GR_ESB_ui(); |
|
8 | this->soc = new QTcpSocket(this); | |
|
9 | } | |
|
10 | ||
|
11 | GR_ESB_bridge::~GR_ESB_bridge() | |
|
12 | { | |
|
8 | 13 | } |
|
9 | 14 | |
|
10 | 15 | bool GR_ESB_bridge::connectBridge() |
@@ -1,13 +1,14 | |||
|
1 | 1 | #ifndef GR_ESB_BRIDGE_H |
|
2 | 2 | #define GR_ESB_BRIDGE_H |
|
3 | 3 | #include "abstractspwbridge.h" |
|
4 | #include <QTcpSocket> | |
|
4 | 5 | |
|
5 | 6 | class GR_ESB_bridge : public abstractSpwBridge |
|
6 | 7 | { |
|
7 | 8 | Q_OBJECT |
|
8 | 9 | public: |
|
9 | 10 | explicit GR_ESB_bridge(socexplorerplugin *parent = 0); |
|
10 | ||
|
11 | ~GR_ESB_bridge(); | |
|
11 | 12 | signals: |
|
12 | 13 | |
|
13 | 14 | |
@@ -17,7 +18,9 public slots: | |||
|
17 | 18 | unsigned int Write(unsigned int *Value,unsigned int count, unsigned int address=0); |
|
18 | 19 | unsigned int Read(unsigned int *Value,unsigned int count, unsigned int address=0); |
|
19 | 20 | int pushRMAPPacket(char* packet,int size); |
|
21 | void packetReceived(); | |
|
20 | 22 | |
|
23 | QTcpSocket* soc; | |
|
21 | 24 | |
|
22 | 25 | }; |
|
23 | 26 |
General Comments 0
You need to be logged in to leave comments.
Login now