still the biggest refactor

This commit is contained in:
Jonas Zeunert
2018-12-14 02:44:53 +01:00
parent 67edde9078
commit 8e12b3f3fa
23 changed files with 137 additions and 147 deletions

View File

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