renamed impl to detail
This commit is contained in:
41
FlippR-Driver/src/output/items/detail/Lamp.h
Normal file
41
FlippR-Driver/src/output/items/detail/Lamp.h
Normal file
@@ -0,0 +1,41 @@
|
||||
/*
|
||||
* Lamp.h
|
||||
*
|
||||
* Created on: Aug 2, 2018
|
||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
||||
*/
|
||||
|
||||
#ifndef _SRC_OUTPUT_LAMP_H_
|
||||
#define _SRC_OUTPUT_LAMP_H_
|
||||
|
||||
#include "output/items/Lamp.h"
|
||||
#include "output/items/DriverBoardItem.h"
|
||||
|
||||
namespace flippR_driver
|
||||
{
|
||||
namespace output
|
||||
{
|
||||
namespace items
|
||||
{
|
||||
namespace detail
|
||||
{
|
||||
|
||||
class Lamp : public DriverBoardItem, public items::Lamp
|
||||
{
|
||||
public:
|
||||
Lamp(std::shared_ptr<DriverBoardPinController> pin_controller, uint8_t address, std::string name);
|
||||
~Lamp() override = default;
|
||||
|
||||
void activate() override;
|
||||
void deactivate() override;
|
||||
bool is_activated() override;
|
||||
|
||||
private:
|
||||
bool activated;
|
||||
};
|
||||
|
||||
}
|
||||
}
|
||||
} /* namespace output */
|
||||
}
|
||||
#endif
|
||||
Reference in New Issue
Block a user