Files
flippr-code/FlippR-Driver/src/output/factories/SoundFactory.h
2020-01-04 18:54:52 +01:00

34 lines
626 B
C++

/*
* SoundFactory.h
*
* Created on: December 28, 2019
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
*/
#ifndef FLIPPR_DRIVER_SOUNDFACTORY_H
#define FLIPPR_DRIVER_SOUNDFACTORY_H
#include "Factory.h"
#include "output/SoundBoardPinController.h"
namespace flippR_driver
{
namespace output
{
class SoundFactory : Factory
{
public:
explicit SoundFactory(nlohmann::json & object, std::shared_ptr<SoundBoardPinController> pin_controller);
std::map<std::string, std::shared_ptr<items::Item>> getItemMap() override;
private:
uint8_t deactivation_time;
};
}
}
#endif //FLIPPR_DRIVER_SOUNDFACTORY_H