working on big refactor

This commit is contained in:
Jonas Zeunert
2018-12-14 01:09:54 +01:00
parent f3100004b9
commit 2aee0f4f9d
67 changed files with 914 additions and 619 deletions

View File

@@ -18,7 +18,7 @@ namespace flippR_driver
namespace output
{
class IOutputGPIOInterface;
class OutputPinController;
namespace items
{
@@ -26,7 +26,7 @@ namespace items
class Item : public IItem
{
public:
Item(std::shared_ptr<IOutputGPIOInterface> output_gpio_interface, uint8_t address, std::string name);
Item(std::shared_ptr<OutputPinController> output_gpio_interface, uint8_t address, std::string name);
~Item() override = default;
uint8_t get_address() override;
@@ -36,7 +36,7 @@ protected:
const uint8_t address;
const std::string name;
const std::shared_ptr<IOutputGPIOInterface> gpio_interface;
const std::shared_ptr<OutputPinController> gpio_interface;
};