refactored utility namespace

This commit is contained in:
Jonas Zeunert
2018-10-17 22:00:56 +02:00
parent 8708663cd6
commit c5867acd52
15 changed files with 154 additions and 61 deletions

View File

@@ -9,15 +9,16 @@
namespace FlippR_Driver
{
namespace output {
namespace output
{
Sound::Sound() {
// TODO Auto-generated constructor stub
Sound::Sound(std::shared_ptr<IOutputGPIOInterface> output_gpio_interface, int address, std::string name)
: output_gpio_interface(output_gpio_interface), address(address), name(name)
{}
}
Sound::~Sound() {
// TODO Auto-generated destructor stub
void Sound::play()
{
this->output_gpio_interface->activate(this);
}
} /* namespace output */