/* * CabinetItem.h * * Created on: Aug 2, 2018 * Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert */ #ifndef _SRC_OUTPUT_CABINETITEM_H_ #define _SRC_OUTPUT_CABINETITEM_H_ #include "output/items/IItem.h" #include #include namespace flippR_driver { namespace output { class IOutputGPIOInterface; namespace items { class Item : public IItem { public: Item(std::shared_ptr output_gpio_interface, uint8_t address, std::string name); ~Item() override = default; uint8_t get_address() override; std::string get_name() override; protected: const uint8_t address; const std::string name; const std::shared_ptr gpio_interface; }; } } /* namespace output */ } #endif