2019-05-10 05:17:29 +00:00
|
|
|
#include "./Figment.h"
|
|
|
|
#include <vector>
|
|
|
|
|
|
|
|
class Display;
|
|
|
|
|
|
|
|
struct Renderer: public Task {
|
|
|
|
public:
|
2022-06-11 09:02:27 +00:00
|
|
|
Renderer(std::vector<Display*>&& displays, const std::vector<Figment*> &figments) : Task("Renderer"), m_figments(figments), m_displays(std::move(displays)) {}
|
2019-05-10 05:17:29 +00:00
|
|
|
|
|
|
|
void loop() override;
|
|
|
|
void onStart() override;
|
|
|
|
|
|
|
|
private:
|
|
|
|
const std::vector<Figment*> m_figments;
|
|
|
|
const std::vector<Display*> m_displays;
|
|
|
|
};
|