trikRuntime
trikControl::CameraImplementationInterface Class Referenceabstract

Interface for camera implementations. More...

#include <cameraImplementationInterface.h>

Inheritance diagram for trikControl::CameraImplementationInterface:

Public Member Functions

virtual QVector< uint8_t > getPhoto ()=0
 Get photo as a vector of uint8t in RGB 888 format. More...
 
virtual ~CameraImplementationInterface ()=default
 
 CameraImplementationInterface ()=default
 
QString getTempDir () const
 Get directory, where photos are saved. More...
 
void setTempDir (const QString &newDir)
 Set directory, where photos are saved. More...
 

Detailed Description

Interface for camera implementations.

Constructor & Destructor Documentation

virtual trikControl::CameraImplementationInterface::~CameraImplementationInterface ( )
virtualdefault
trikControl::CameraImplementationInterface::CameraImplementationInterface ( )
default

Member Function Documentation

virtual QVector<uint8_t> trikControl::CameraImplementationInterface::getPhoto ( )
pure virtual

Get photo as a vector of uint8t in RGB 888 format.

Implemented in trikControl::V4l2CameraImplementation, trikControl::ImitationCameraImplementation, and trikControl::QtCameraImplementation.

QString trikControl::CameraImplementationInterface::getTempDir ( ) const
inline

Get directory, where photos are saved.

void trikControl::CameraImplementationInterface::setTempDir ( const QString &  newDir)
inline

Set directory, where photos are saved.

Parameters
newDir- new name of tempDir

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