Public Member Functions | Protected Member Functions | Private Slots | Private Attributes | List of all members
find_object::CameraTcpServer Class Reference

#include <CameraTcpServer.h>

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

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_
 

Detailed Description

Definition at line 37 of file CameraTcpServer.h.

Constructor & Destructor Documentation

◆ CameraTcpServer()

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

Definition at line 37 of file CameraTcpServer.cpp.

Member Function Documentation

◆ connectionLost

void find_object::CameraTcpServer::connectionLost ( )
privateslot

Definition at line 182 of file CameraTcpServer.cpp.

◆ displayError

void find_object::CameraTcpServer::displayError ( QAbstractSocket::SocketError  socketError)
privateslot

Definition at line 160 of file CameraTcpServer.cpp.

◆ getHostAddress()

QHostAddress find_object::CameraTcpServer::getHostAddress ( ) const

Definition at line 75 of file CameraTcpServer.cpp.

◆ getImage()

cv::Mat find_object::CameraTcpServer::getImage ( )

Definition at line 48 of file CameraTcpServer.cpp.

◆ getPort()

quint16 find_object::CameraTcpServer::getPort ( ) const

Definition at line 99 of file CameraTcpServer.cpp.

◆ imagesBuffered()

int find_object::CameraTcpServer::imagesBuffered ( ) const
inline

Definition at line 43 of file CameraTcpServer.h.

◆ incomingConnection()

void find_object::CameraTcpServer::incomingConnection ( int  socketDescriptor)
protectedvirtual

Definition at line 106 of file CameraTcpServer.cpp.

◆ isConnected()

bool find_object::CameraTcpServer::isConnected ( ) const

Definition at line 70 of file CameraTcpServer.cpp.

◆ readReceivedData

void find_object::CameraTcpServer::readReceivedData ( )
privateslot

Definition at line 128 of file CameraTcpServer.cpp.

Member Data Documentation

◆ blockSize_

quint64 find_object::CameraTcpServer::blockSize_
private

Definition at line 62 of file CameraTcpServer.h.

◆ images_

QVector<cv::Mat> find_object::CameraTcpServer::images_
private

Definition at line 63 of file CameraTcpServer.h.


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


find_object_2d
Author(s): Mathieu Labbe
autogenerated on Mon Dec 12 2022 03:20:10