Public Types | Public Slots | Signals | Public Member Functions | Private Slots | Private Attributes | List of all members
find_object::TcpServer Class Reference

#include <TcpServer.h>

Inheritance diagram for find_object::TcpServer:
Inheritance graph
[legend]

Public Types

enum  Service { kAddObject, kRemoveObject, kDetectObject }
 

Public Slots

void publishDetectionInfo (const find_object::DetectionInfo &info)
 

Signals

void addObject (const cv::Mat &, int, const QString &)
 
void detectObject (const cv::Mat &)
 
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_
 

Detailed Description

Definition at line 42 of file TcpServer.h.

Member Enumeration Documentation

Enumerator
kAddObject 
kRemoveObject 
kDetectObject 

Definition at line 47 of file TcpServer.h.

Constructor & Destructor Documentation

find_object::TcpServer::TcpServer ( quint16  port = 0,
QObject *  parent = 0 
)

Definition at line 37 of file TcpServer.cpp.

Member Function Documentation

void find_object::TcpServer::addClient ( )
privateslot

Definition at line 101 of file TcpServer.cpp.

void find_object::TcpServer::addObject ( const cv::Mat &  ,
int  ,
const QString &   
)
signal
void find_object::TcpServer::connectionLost ( )
privateslot

Definition at line 201 of file TcpServer.cpp.

void find_object::TcpServer::detectObject ( const cv::Mat &  )
signal
void find_object::TcpServer::displayError ( QAbstractSocket::SocketError  socketError)
privateslot

Definition at line 179 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 ( )
privateslot

Definition at line 112 of file TcpServer.cpp.

void find_object::TcpServer::removeObject ( int  )
signal

Member Data Documentation

QMap<int, quint64> find_object::TcpServer::blockSizes_
private

Definition at line 74 of file TcpServer.h.


The documentation for this class was generated from the following files:


find_object_2d
Author(s): Mathieu Labbe
autogenerated on Thu Jun 6 2019 19:22:27