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