renderbug-cpp/lib/Figments/Renderer.h

19 lines
460 B
C++

#include "./Figment.h"
#include <vector>
class Display;
struct Renderer: public Task {
public:
Renderer(std::vector<Display*>&& displays, const std::vector<Figment*> &figments) : Task("Renderer"), m_figments(figments), m_displays(std::move(displays)) {}
void loop() override;
void onStart() override;
static const char* lastFigmentName();
private:
const std::vector<Figment*> m_figments;
const std::vector<Display*> m_displays;
};