@@ -5,6 +5,11 GR_ESB_bridge::GR_ESB_bridge(socexplorer | |||||
5 | abstractSpwBridge(parent) |
|
5 | abstractSpwBridge(parent) | |
6 | { |
|
6 | { | |
7 | this->p_GUI = new GR_ESB_ui(); |
|
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 | bool GR_ESB_bridge::connectBridge() |
|
15 | bool GR_ESB_bridge::connectBridge() |
@@ -1,13 +1,14 | |||||
1 | #ifndef GR_ESB_BRIDGE_H |
|
1 | #ifndef GR_ESB_BRIDGE_H | |
2 | #define GR_ESB_BRIDGE_H |
|
2 | #define GR_ESB_BRIDGE_H | |
3 | #include "abstractspwbridge.h" |
|
3 | #include "abstractspwbridge.h" | |
|
4 | #include <QTcpSocket> | |||
4 |
|
5 | |||
5 | class GR_ESB_bridge : public abstractSpwBridge |
|
6 | class GR_ESB_bridge : public abstractSpwBridge | |
6 | { |
|
7 | { | |
7 | Q_OBJECT |
|
8 | Q_OBJECT | |
8 | public: |
|
9 | public: | |
9 | explicit GR_ESB_bridge(socexplorerplugin *parent = 0); |
|
10 | explicit GR_ESB_bridge(socexplorerplugin *parent = 0); | |
10 |
|
11 | ~GR_ESB_bridge(); | ||
11 | signals: |
|
12 | signals: | |
12 |
|
13 | |||
13 |
|
14 | |||
@@ -17,7 +18,9 public slots: | |||||
17 | unsigned int Write(unsigned int *Value,unsigned int count, unsigned int address=0); |
|
18 | unsigned int Write(unsigned int *Value,unsigned int count, unsigned int address=0); | |
18 | unsigned int Read(unsigned int *Value,unsigned int count, unsigned int address=0); |
|
19 | unsigned int Read(unsigned int *Value,unsigned int count, unsigned int address=0); | |
19 | int pushRMAPPacket(char* packet,int size); |
|
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