|
trikRuntime
|
Interface for camera device representation. More...
#include <cameraDeviceInterface.h>


Public Member Functions | |
| virtual QVector< uint8_t > | getPhoto ()=0 |
| Get photo as a vector of uint8t in RGB 888 format. More... | |
| virtual Status | status () const override=0 |
| Returns current status of the device. More... | |
| ~CameraDeviceInterface () override=default | |
Public Member Functions inherited from trikControl::DeviceInterface | |
| DeviceInterface ()=default | |
| virtual | ~DeviceInterface ()=default |
Static Public Member Functions | |
| static QVector< uint8_t > | qImageToQVector (const QImage &imgOrig) |
| Convert QImage to QVector of uint8_t in RGB 888 format. More... | |
Static Public Member Functions inherited from trikControl::DeviceInterface | |
| static Status | combine (const DeviceInterface &underlying, const DeviceInterface::Status &dependent) |
| Helper method to return status of a device relying on other device to work. More... | |
Additional Inherited Members | |
Public Types inherited from trikControl::DeviceInterface | |
| enum | Status { Status::permanentFailure, Status::temporaryFailure, Status::off, Status::starting, Status::ready, Status::stopping } |
| Device status. More... | |
Interface for camera device representation.
|
overridedefault |
|
pure virtual |
Get photo as a vector of uint8t in RGB 888 format.
Implemented in trikControl::CameraDevice.
|
static |
Convert QImage to QVector of uint8_t in RGB 888 format.
| imgOrig | - converting this QImage to QVector |
|
overridepure virtual |
Returns current status of the device.
Implements trikControl::DeviceInterface.
Implemented in trikControl::CameraDevice.