hyperion.ng
QtWrapper.h
1 #pragma once
2 
3 #include <hyperion/GrabberWrapper.h>
4 #include <grabber/QtGrabber.h>
5 
9 class QtWrapper: public GrabberWrapper
10 {
11 public:
22  QtWrapper(int cropLeft, int cropRight, int cropTop, int cropBottom, int pixelDecimation, int display, const unsigned updateRate_Hz);
23 
27  virtual ~QtWrapper() {};
28 
29 public slots:
33  virtual void action();
34 
35 private:
37  QtGrabber _grabber;
38 };
virtual void action()
Performs a single frame grab and computes the led-colors.
Definition: QtWrapper.cpp:8
QtWrapper(int cropLeft, int cropRight, int cropTop, int cropBottom, int pixelDecimation, int display, const unsigned updateRate_Hz)
Constructs the framebuffer frame grabber with a specified grab size and update rate.
Definition: QtWrapper.cpp:3
This class will be inherted by FramebufferWrapper and others which contains the real capture interfac...
Definition: GrabberWrapper.h:23
virtual ~QtWrapper()
Destructor of this qt frame grabber.
Definition: QtWrapper.h:27
The QtWrapper uses QtFramework API&#39;s to get a picture from system.
Definition: QtWrapper.h:9
The platform capture implementation based on QT API.
Definition: QtGrabber.h:14