hyperion.ng
FramebufferWrapper.h
1 #pragma once
2 
3 #include <hyperion/GrabberWrapper.h>
4 #include <grabber/FramebufferFrameGrabber.h>
5 
12 {
13  Q_OBJECT
14 public:
23  FramebufferWrapper(const QString & device, const unsigned grabWidth, const unsigned grabHeight, const unsigned updateRate_Hz);
24 
28  virtual ~FramebufferWrapper() {};
29 
30 public slots:
34  virtual void action();
35 
36 private:
38  FramebufferFrameGrabber _grabber;
39 };
virtual ~FramebufferWrapper()
Destructor of this framebuffer frame grabber.
Definition: FramebufferWrapper.h:28
FramebufferWrapper(const QString &device, const unsigned grabWidth, const unsigned grabHeight, const unsigned updateRate_Hz)
Constructs the framebuffer frame grabber with a specified grab size and update rate.
Definition: FramebufferWrapper.cpp:3
This class will be inherted by FramebufferWrapper and others which contains the real capture interfac...
Definition: GrabberWrapper.h:23
The FramebufferFrameGrabber is used for creating snapshots of the display (screenshots) ...
Definition: FramebufferFrameGrabber.h:10
The FramebufferWrapper uses an instance of the FramebufferFrameGrabber to obtain ImageRgb&#39;s from the ...
Definition: FramebufferWrapper.h:11
virtual void action()
Performs a single frame grab and computes the led-colors.
Definition: FramebufferWrapper.cpp:8