/**
    05Robot - Computer Vision Module

    @author P.Kaczmarek,J.Tomczynski,T.Mankowski
    @version 1.0 2017
*/
#ifndef CAMERATHREAD_H
#define CAMERATHREAD_H 

#include <QThread>
#include "CameraObject.h"
/** \addtogroup ComputerVisionModule
 *  @{
 */
/**
 @brief Wrapper object containing single camera working thread
 */
class CameraThread : public QThread
{
	Q_OBJECT

public:
    /**
     @brief Pointer to corresponding CameraObject
     */
	CameraObject * cameraObject;
    /**
     @brief Moves CameraObject to thread
     
     @param po pointer to CameraObject to be placed in thread
     */
    CameraThread(CameraObject * co);
    /**
     @brief Default destructor, deletes corresponding CameraObject
     */
    ~CameraThread();
    /**
     @brief Starts processor thread
     */
    void run();

};
/** @}*/
#endif
