#include <TcpServer.h>
Public Types | |
enum | Service { kAddObject, kRemoveObject } |
Public Slots | |
void | publishDetectionInfo (const find_object::DetectionInfo &info) |
Signals | |
void | addObject (const cv::Mat &, int, const QString &) |
void | removeObject (int) |
Public Member Functions | |
QHostAddress | getHostAddress () const |
quint16 | getPort () const |
TcpServer (quint16 port=0, QObject *parent=0) | |
Private Slots | |
void | addClient () |
void | connectionLost () |
void | displayError (QAbstractSocket::SocketError socketError) |
void | readReceivedData () |
Private Attributes | |
QMap< int, quint64 > | blockSizes_ |
Definition at line 42 of file TcpServer.h.
Definition at line 47 of file TcpServer.h.
find_object::TcpServer::TcpServer | ( | quint16 | port = 0 , |
QObject * | parent = 0 |
||
) |
Definition at line 37 of file TcpServer.cpp.
void find_object::TcpServer::addClient | ( | ) | [private, slot] |
Definition at line 100 of file TcpServer.cpp.
void find_object::TcpServer::addObject | ( | const cv::Mat & | , |
int | , | ||
const QString & | |||
) | [signal] |
void find_object::TcpServer::connectionLost | ( | ) | [private, slot] |
Definition at line 191 of file TcpServer.cpp.
void find_object::TcpServer::displayError | ( | QAbstractSocket::SocketError | socketError | ) | [private, slot] |
Definition at line 169 of file TcpServer.cpp.
QHostAddress find_object::TcpServer::getHostAddress | ( | ) | const |
Definition at line 49 of file TcpServer.cpp.
quint16 find_object::TcpServer::getPort | ( | ) | const |
Definition at line 73 of file TcpServer.cpp.
void find_object::TcpServer::publishDetectionInfo | ( | const find_object::DetectionInfo & | info | ) | [slot] |
Definition at line 78 of file TcpServer.cpp.
void find_object::TcpServer::readReceivedData | ( | ) | [private, slot] |
Definition at line 111 of file TcpServer.cpp.
void find_object::TcpServer::removeObject | ( | int | ) | [signal] |
QMap<int, quint64> find_object::TcpServer::blockSizes_ [private] |
Definition at line 72 of file TcpServer.h.