5 #ifndef _ArnoldFRAMEMANAGER_H_
6 #define _ArnoldFRAMEMANAGER_H_
10 #include "LumiverseCoreConfig.h"
26 class ArnoldFrameManager
34 ArnoldFrameManager(
int fps = 24) : m_fps(fps), m_current(0) { }
39 virtual ~ArnoldFrameManager() { }
45 virtual void dump(time_t time,
float *frame,
size_t width,
size_t height) = 0;
52 virtual float *getCurrentFrameBuffer() = 0;
59 virtual time_t getCurrentTime()
const = 0;
67 virtual time_t getNextTime()
const = 0;
74 virtual bool hasNext()
const = 0;
80 virtual bool isEmpty()
const = 0;
87 virtual size_t getFrameNum()
const = 0;
92 virtual void reset() {
109 virtual void clear() {
118 virtual std::string getType() {
return "ArnoldFrameManager"; }
120 virtual void setFps(
int fps) { m_fps = fps; }
121 virtual int getFps() {
return m_fps; }
125 std::atomic<unsigned int> m_current;
Contains all core Lumiverse functions and variables.
Definition: Device.cpp:2