greenhouse/tools/tcpClient/TcpClient.h
matlabbe e6fcc961b8 Added DetectionInfo object for easier serialization/deserialization of the detection results.
Added filename property in json files
Added JsonWritter class for convenience

git-svn-id: http://find-object.googlecode.com/svn/trunk/find_object@369 620bd6b2-0a58-f614-fd9a-1bd335dccda9
2014-08-04 01:33:52 +00:00

29 lines
435 B
C++

/*
* TCPClient.h
*
* Created on: 2014-05-05
* Author: mathieu
*/
#ifndef TCPCLIENT_H_
#define TCPCLIENT_H_
#include <QtNetwork/QTcpSocket>
class TcpClient : public QTcpSocket
{
Q_OBJECT;
public:
TcpClient(QObject * parent = 0);
private Q_SLOTS:
void readReceivedData();
void displayError(QAbstractSocket::SocketError socketError);
void connectionLost();
private:
quint16 blockSize_;
};
#endif /* TCPCLIENT_H_ */