Revize e6053a29
Přidáno uživatelem Oto Šťáva před téměř 4 roky(ů)
deltarobot/curvedataserver.h | ||
---|---|---|
11 | 11 |
|
12 | 12 |
public: |
13 | 13 |
CurveDataServer(); |
14 |
~CurveDataServer(); |
|
15 |
void sendApplicatorPoint(float x, float y, float z); |
|
14 |
void sendActuatorPosition(float x, float y, float z); |
|
16 | 15 |
|
17 | 16 |
public slots: |
18 | 17 |
void onNewConnection(); |
... | ... | |
20 | 19 |
void onReadyRead(); |
21 | 20 |
|
22 | 21 |
private: |
23 |
QByteArray *createMessageId(int sizeId, int typId); |
|
24 |
//QByteArray *appendFloatToMessage(QByteArray *message, float f); |
|
25 | 22 |
QByteArray *putFloatIntoMessage(QByteArray *message, int index, float f); |
26 | 23 |
void sendPreamble(QTcpSocket *socket); |
27 | 24 |
void sendProtocolMagic(QTcpSocket *socket); |
Také k dispozici: Unified diff
Re #8740 - Server refactor