renamed impl to detail

This commit is contained in:
Jonas Zeunert
2018-12-14 16:16:44 +01:00
parent b663e130ac
commit 3b72274d6b
43 changed files with 111 additions and 111 deletions

View File

@@ -0,0 +1,36 @@
/*
* Lamp.cpp
*
* Created on: Aug 2, 2018
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
*/
#include "Lamp.h"
namespace flippR_driver
{
namespace output
{
namespace items
{
namespace detail
{
Lamp::Lamp(std::shared_ptr<DriverBoardPinController> pin_controller, uint8_t address, std::string name) :
DriverBoardItem(std::move(pin_controller), address, std::move(name)), activated(false)
{}
void Lamp::activate()
{
pin_controller->activate(*this);
}
void Lamp::deactivate()
{
pin_controller->deactivate(*this);
}
}
}
} /* namespace output */
}