trikRuntime
trikControl::ImitationCameraImplementation Class Reference

Class for camera imitation. More...

#include <imitationCameraImplementation.h>

Inheritance diagram for trikControl::ImitationCameraImplementation:
Collaboration diagram for trikControl::ImitationCameraImplementation:

Public Member Functions

 ImitationCameraImplementation (const QStringList &filter, const QString &path)
 Camera imitation constructor. More...
 
QVector< uint8_t > getPhoto () override
 Get photo as a vector of uint8t in RGB 888 format. More...
 
 ~ImitationCameraImplementation () override=default
 
- Public Member Functions inherited from trikControl::CameraImplementationInterface
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

Class for camera imitation.

Constructor & Destructor Documentation

ImitationCameraImplementation::ImitationCameraImplementation ( const QStringList &  filter,
const QString &  path 
)

Camera imitation constructor.

Parameters
filter- list of filters to select photo from tempDir
path- directory with prepared images
trikControl::ImitationCameraImplementation::~ImitationCameraImplementation ( )
overridedefault

Member Function Documentation

QVector< uint8_t > ImitationCameraImplementation::getPhoto ( )
overridevirtual

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

Implements trikControl::CameraImplementationInterface.


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