working on something
This commit is contained in:
@@ -17,12 +17,12 @@ OutputItem::OutputItem(std::shared_ptr<utility::IOutputGPIOInterface> output_gpi
|
||||
|
||||
void OutputItem::activate()
|
||||
{
|
||||
|
||||
output_gpio_interface->activate_output_item(this);
|
||||
}
|
||||
|
||||
void OutputItem::deactivate()
|
||||
{
|
||||
|
||||
output_gpio_interface->deactivate_output_item(this);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -28,10 +28,11 @@ public:
|
||||
OutputItem(std::shared_ptr<utility::IOutputGPIOInterface> output_gpio_interface, unsigned int address, unsigned int i2c_address, unsigned int data_pin_address, std::string name);
|
||||
virtual ~OutputItem();
|
||||
|
||||
protected:
|
||||
public:
|
||||
const unsigned int address, i2c_address, data_pin_address;
|
||||
const std::string name;
|
||||
|
||||
protected:
|
||||
const std::shared_ptr<utility::IOutputGPIOInterface> output_gpio_interface;
|
||||
|
||||
protected:
|
||||
|
||||
Reference in New Issue
Block a user