Public Slots | Signals | Public Member Functions | Private Attributes | List of all members
FindObjectWorker Class Reference

#include <TcpServerPool.h>

Inheritance diagram for FindObjectWorker:
Inheritance graph
[legend]

Public Slots

void addObjectAndUpdate (const cv::Mat &image, int id, const QString &filePath)
 
void detect (const cv::Mat &image)
 
void removeObjectAndUpdate (int id)
 

Signals

void objectsFound (const find_object::DetectionInfo &)
 

Public Member Functions

 FindObjectWorker (find_object::FindObject *sharedFindObject, QSemaphore *sharedSemaphore, int maxSemaphoreResources, QObject *parent=0)
 

Private Attributes

int maxSemaphoreResources_
 
find_object::FindObjectsharedFindObject_
 
QSemaphore * sharedSemaphore_
 

Detailed Description

Definition at line 17 of file TcpServerPool.h.

Constructor & Destructor Documentation

◆ FindObjectWorker()

FindObjectWorker::FindObjectWorker ( find_object::FindObject sharedFindObject,
QSemaphore *  sharedSemaphore,
int  maxSemaphoreResources,
QObject *  parent = 0 
)
inline

Definition at line 22 of file TcpServerPool.h.

Member Function Documentation

◆ addObjectAndUpdate

void FindObjectWorker::addObjectAndUpdate ( const cv::Mat &  image,
int  id,
const QString &  filePath 
)
inlineslot

Definition at line 48 of file TcpServerPool.h.

◆ detect

void FindObjectWorker::detect ( const cv::Mat &  image)
inlineslot

Definition at line 38 of file TcpServerPool.h.

◆ objectsFound

void FindObjectWorker::objectsFound ( const find_object::DetectionInfo )
signal

◆ removeObjectAndUpdate

void FindObjectWorker::removeObjectAndUpdate ( int  id)
inlineslot

Definition at line 56 of file TcpServerPool.h.

Member Data Documentation

◆ maxSemaphoreResources_

int FindObjectWorker::maxSemaphoreResources_
private

Definition at line 71 of file TcpServerPool.h.

◆ sharedFindObject_

find_object::FindObject* FindObjectWorker::sharedFindObject_
private

Definition at line 69 of file TcpServerPool.h.

◆ sharedSemaphore_

QSemaphore* FindObjectWorker::sharedSemaphore_
private

Definition at line 70 of file TcpServerPool.h.


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


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