#include <CameraTcpServer.h>
Public Member Functions | |
CameraTcpServer (quint16 port=0, QObject *parent=0) | |
QHostAddress | getHostAddress () const |
cv::Mat | getImage () |
quint16 | getPort () const |
int | imagesBuffered () const |
bool | isConnected () const |
Protected Member Functions | |
virtual void | incomingConnection (int socketDescriptor) |
Private Slots | |
void | connectionLost () |
void | displayError (QAbstractSocket::SocketError socketError) |
void | readReceivedData () |
Private Attributes | |
quint64 | blockSize_ |
QVector< cv::Mat > | images_ |
Definition at line 36 of file CameraTcpServer.h.
find_object::CameraTcpServer::CameraTcpServer | ( | quint16 | port = 0 , |
QObject * | parent = 0 |
||
) |
Definition at line 37 of file CameraTcpServer.cpp.
void find_object::CameraTcpServer::connectionLost | ( | ) | [private, slot] |
Definition at line 179 of file CameraTcpServer.cpp.
void find_object::CameraTcpServer::displayError | ( | QAbstractSocket::SocketError | socketError | ) | [private, slot] |
Definition at line 157 of file CameraTcpServer.cpp.
QHostAddress find_object::CameraTcpServer::getHostAddress | ( | ) | const |
Definition at line 75 of file CameraTcpServer.cpp.
cv::Mat find_object::CameraTcpServer::getImage | ( | ) |
Definition at line 48 of file CameraTcpServer.cpp.
quint16 find_object::CameraTcpServer::getPort | ( | ) | const |
Definition at line 99 of file CameraTcpServer.cpp.
int find_object::CameraTcpServer::imagesBuffered | ( | ) | const [inline] |
Definition at line 42 of file CameraTcpServer.h.
void find_object::CameraTcpServer::incomingConnection | ( | int | socketDescriptor | ) | [protected, virtual] |
Definition at line 104 of file CameraTcpServer.cpp.
bool find_object::CameraTcpServer::isConnected | ( | ) | const |
Definition at line 70 of file CameraTcpServer.cpp.
void find_object::CameraTcpServer::readReceivedData | ( | ) | [private, slot] |
Definition at line 125 of file CameraTcpServer.cpp.
quint64 find_object::CameraTcpServer::blockSize_ [private] |
Definition at line 57 of file CameraTcpServer.h.
QVector<cv::Mat> find_object::CameraTcpServer::images_ [private] |
Definition at line 58 of file CameraTcpServer.h.