gr_esb_bridge.h
27 lines
| 635 B
| text/x-c
|
CLexer
|
r22 | #ifndef GR_ESB_BRIDGE_H | ||
#define GR_ESB_BRIDGE_H | ||||
#include "abstractspwbridge.h" | ||||
|
r23 | #include <QTcpSocket> | ||
|
r22 | |||
class GR_ESB_bridge : public abstractSpwBridge | ||||
{ | ||||
Q_OBJECT | ||||
public: | ||||
explicit GR_ESB_bridge(socexplorerplugin *parent = 0); | ||||
|
r23 | ~GR_ESB_bridge(); | ||
|
r22 | signals: | ||
public slots: | ||||
bool connectBridge(); | ||||
bool disconnectBridge(); | ||||
unsigned int Write(unsigned int *Value,unsigned int count, unsigned int address=0); | ||||
unsigned int Read(unsigned int *Value,unsigned int count, unsigned int address=0); | ||||
int pushRMAPPacket(char* packet,int size); | ||||
|
r23 | void packetReceived(); | ||
|
r22 | |||
|
r23 | QTcpSocket* soc; | ||
|
r22 | |||
}; | ||||
#endif // GR_ESB_BRIDGE_H | ||||