ibm
This commit is contained in:
@@ -10,11 +10,12 @@
|
||||
|
||||
#include "IDisplayController.h"
|
||||
|
||||
#include "IDisplay.h"
|
||||
|
||||
#include <vector>
|
||||
#include <thread>
|
||||
|
||||
#include "IDisplay.h"
|
||||
#include "utilities/IOutputGPIOInterface.h"
|
||||
|
||||
namespace FlippR_Driver
|
||||
{
|
||||
namespace output
|
||||
@@ -23,8 +24,8 @@ namespace output
|
||||
class DisplayController : public IDisplayController
|
||||
{
|
||||
public:
|
||||
explicit DisplayController(std::vector<std::shared_ptr<IDisplay>> displays);
|
||||
virtual ~DisplayController();
|
||||
explicit DisplayController(std::vector<std::shared_ptr<IDisplay>> displays, std::shared_ptr<IOutputGPIOInterface> output_gpio_interface);
|
||||
~DisplayController();
|
||||
|
||||
private:
|
||||
void cycle_displays();
|
||||
@@ -33,6 +34,10 @@ private:
|
||||
std::vector<std::shared_ptr<IDisplay>> displays;
|
||||
|
||||
std::thread display_cycle_thread;
|
||||
|
||||
std::shared_ptr<IOutputGPIOInterface> output_gpio_interface;
|
||||
|
||||
bool is_running;
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user