This class will be inherted by FramebufferWrapper and others which contains the real capture interface.
More...
#include <GrabberWrapper.h>
|
|
virtual void | action ()=0 |
| | virtual method, should perform single frame grab and computes the led-colors
|
| |
| virtual void | setVideoMode (const VideoMode &videoMode) |
| | Set the video mode (2D/3D) More...
|
| |
| virtual void | setCropping (unsigned cropLeft, unsigned cropRight, unsigned cropTop, unsigned cropBottom) |
| | Set the crop values. More...
|
| |
| virtual void | handleSettingsUpdate (const settings::type &type, const QJsonDocument &config) |
| | Handle settings update from HyperionDaemon Settingsmanager emit. More...
|
| |
|
|
| GrabberWrapper (QString grabberName, Grabber *ggrabber, unsigned width, unsigned height, const unsigned updateRate_Hz=0) |
| |
|
virtual bool | start () |
| | Starts the grabber wich produces led values with the specified update rate.
|
| |
|
virtual void | stop () |
| | Stop grabber.
|
| |
|
template<typename Grabber_T > |
| bool | transferFrame (Grabber_T &grabber) |
| |
|
|
static QStringList | availableGrabbers () |
| |
This class will be inherted by FramebufferWrapper and others which contains the real capture interface.
§ handleSettingsUpdate
| void GrabberWrapper::handleSettingsUpdate |
( |
const settings::type & |
type, |
|
|
const QJsonDocument & |
config |
|
) |
| |
|
virtualslot |
Handle settings update from HyperionDaemon Settingsmanager emit.
- Parameters
-
| type | settingyType from enum |
| config | configuration object |
§ setCropping
| void GrabberWrapper::setCropping |
( |
unsigned |
cropLeft, |
|
|
unsigned |
cropRight, |
|
|
unsigned |
cropTop, |
|
|
unsigned |
cropBottom |
|
) |
| |
|
virtualslot |
Set the crop values.
- Parameters
-
| cropLeft | Left pixel crop |
| cropRight | Right pixel crop |
| cropTop | Top pixel crop |
| cropBottom | Bottom pixel crop |
§ setVideoMode
| void GrabberWrapper::setVideoMode |
( |
const VideoMode & |
videoMode | ) |
|
|
virtualslot |
Set the video mode (2D/3D)
- Parameters
-
| [in] | mode | The new video mode |
The documentation for this class was generated from the following files: