Compare commits
2 Commits
fb3baf9cff
...
0846ae3753
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0846ae3753 | ||
|
|
6a403d2218 |
@@ -2,7 +2,7 @@
|
|||||||
* InputEvent.h
|
* InputEvent.h
|
||||||
*
|
*
|
||||||
* Created on: Apr 5, 2018
|
* Created on: Apr 5, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INPUTEVENT_H_
|
#ifndef INPUTEVENT_H_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* EventHandler.h
|
* EventHandler.h
|
||||||
*
|
*
|
||||||
* Created on: Jun 13, 2018
|
* Created on: Jun 13, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SRC_IEVENTHANDLER_H_
|
#ifndef SRC_IEVENTHANDLER_H_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* InputDriver.h
|
* InputDriver.h
|
||||||
*
|
*
|
||||||
* Created on: Jun 14, 2018
|
* Created on: Jun 14, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SRC_INPUT_IINPUTDRIVER_H_
|
#ifndef SRC_INPUT_IINPUTDRIVER_H_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* OutputDriver.h
|
* OutputDriver.h
|
||||||
*
|
*
|
||||||
* Created on: Aug 2, 2018
|
* Created on: Aug 2, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _SRC_OUTPUT_IOUTPUTDRIVER_H_
|
#ifndef _SRC_OUTPUT_IOUTPUTDRIVER_H_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* IOutputDisplay.h
|
* IOutputDisplay.h
|
||||||
*
|
*
|
||||||
* Created on: Nov 20, 2018
|
* Created on: Nov 20, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef FLIPPR_DRIVER_OUTPUT_ITEMS_DISPLAY_H_
|
#ifndef FLIPPR_DRIVER_OUTPUT_ITEMS_DISPLAY_H_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* Flipper.h
|
* Flipper.h
|
||||||
*
|
*
|
||||||
* Created on: May 5, 2019
|
* Created on: May 5, 2019
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _INCLUDE_FLIPPR_CODE_FLIPPER_H
|
#ifndef _INCLUDE_FLIPPR_CODE_FLIPPER_H
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* ICabinetItem.h
|
* ICabinetItem.h
|
||||||
*
|
*
|
||||||
* Created on: Aug 7, 2018
|
* Created on: Aug 7, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _SRC_OUTPUT_ICABINETITEM_H_
|
#ifndef _SRC_OUTPUT_ICABINETITEM_H_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* Lamp.h
|
* Lamp.h
|
||||||
*
|
*
|
||||||
* Created on: Aug 7, 2018
|
* Created on: Aug 7, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _SRC_OUTPUT_ILAMP_H_
|
#ifndef _SRC_OUTPUT_ILAMP_H_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* Solenoid.h
|
* Solenoid.h
|
||||||
*
|
*
|
||||||
* Created on: Aug 7, 2018
|
* Created on: Aug 7, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _SRC_OUTPUT_ISOLENOID_H_
|
#ifndef _SRC_OUTPUT_ISOLENOID_H_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* Sound.h
|
* Sound.h
|
||||||
*
|
*
|
||||||
* Created on: Aug 2, 2018
|
* Created on: Aug 2, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _SRC_OUTPUT_ISOUND_H_
|
#ifndef _SRC_OUTPUT_ISOUND_H_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* SocketConnection.cpp
|
* SocketConnection.cpp
|
||||||
*
|
*
|
||||||
* Created on: Jun 13, 2018
|
* Created on: Jun 13, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "InputSocketHandler.h"
|
#include "InputSocketHandler.h"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* SocketConnection.h
|
* SocketConnection.h
|
||||||
*
|
*
|
||||||
* Created on: Jun 13, 2018
|
* Created on: Jun 13, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef FLIPPR_CODE_INPUTSOCKETCONNECTION_H
|
#ifndef FLIPPR_CODE_INPUTSOCKETCONNECTION_H
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* PinController.cpp
|
* PinController.cpp
|
||||||
*
|
*
|
||||||
* Created on: Jun 15, 2018
|
* Created on: Jun 15, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "PinController.h"
|
#include "PinController.h"
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
* Responsible for communicating with the actual GPIO hardware.
|
* Responsible for communicating with the actual GPIO hardware.
|
||||||
*
|
*
|
||||||
* Created on: May 6, 2018
|
* Created on: May 6, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SRC_UTILITIES_GPIOINTERFACE_H_
|
#ifndef SRC_UTILITIES_GPIOINTERFACE_H_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* Detector.h
|
* Detector.h
|
||||||
*
|
*
|
||||||
* Created on: Jun 13, 2018
|
* Created on: Jun 13, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SRC_INPUT_DETECTOR_H_
|
#ifndef SRC_INPUT_DETECTOR_H_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* Event.cpp
|
* Event.cpp
|
||||||
*
|
*
|
||||||
* Created on: Jun 15, 2018
|
* Created on: Jun 15, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
#include "input/Event.h"
|
#include "input/Event.h"
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* EventNotifier.h
|
* EventNotifier.h
|
||||||
*
|
*
|
||||||
* Created on: Jun 13, 2018
|
* Created on: Jun 13, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SRC_INPUT_IEVENTNOTIFIER_H_
|
#ifndef SRC_INPUT_IEVENTNOTIFIER_H_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* InputDriverFactory.cpp
|
* InputDriverFactory.cpp
|
||||||
*
|
*
|
||||||
* Created on: Jun 14, 2018
|
* Created on: Jun 14, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* InputFactory.h
|
* InputFactory.h
|
||||||
*
|
*
|
||||||
* Created on: Apr 5, 2018
|
* Created on: Apr 5, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INPUTFACTORY_H_
|
#ifndef INPUTFACTORY_H_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* InputPinController.h
|
* InputPinController.h
|
||||||
*
|
*
|
||||||
* Created on: May 31, 2018
|
* Created on: May 31, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SRC_UTILITIES_IINPUTGPIOINTERFACE_H_
|
#ifndef SRC_UTILITIES_IINPUTGPIOINTERFACE_H_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* Detector.cpp
|
* Detector.cpp
|
||||||
*
|
*
|
||||||
* Created on: Apr 5, 2018
|
* Created on: Apr 5, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Detector.h"
|
#include "Detector.h"
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
* The other cycles over the queue and notifies input event handlers.
|
* The other cycles over the queue and notifies input event handlers.
|
||||||
*
|
*
|
||||||
* Created on: Apr 5, 2018
|
* Created on: Apr 5, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INPUT_IMPL_DETECTOR_H_
|
#ifndef INPUT_IMPL_DETECTOR_H_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* EventNotifier.cpp
|
* EventNotifier.cpp
|
||||||
*
|
*
|
||||||
* Created on: May 17, 2018
|
* Created on: May 17, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <boost/thread.hpp>
|
#include <boost/thread.hpp>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* InputEventNotifier.h
|
* InputEventNotifier.h
|
||||||
*
|
*
|
||||||
* Created on: May 17, 2018
|
* Created on: May 17, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef INPUT_IMPL_EVENTNOTIFIER_H_
|
#ifndef INPUT_IMPL_EVENTNOTIFIER_H_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* InputDriver.cpp
|
* InputDriver.cpp
|
||||||
*
|
*
|
||||||
* Created on: Jun 15, 2018
|
* Created on: Jun 15, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
#include "InputDriver.h"
|
#include "InputDriver.h"
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* InputDriver.hpp
|
* InputDriver.hpp
|
||||||
*
|
*
|
||||||
* Created on: May 31, 2018
|
* Created on: May 31, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
#ifndef INPUT_IMPL_INPUTDRIVER_H_
|
#ifndef INPUT_IMPL_INPUTDRIVER_H_
|
||||||
#define INPUT_IMPL_INPUTDRIVER_H_
|
#define INPUT_IMPL_INPUTDRIVER_H_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* InputPinController.cpp
|
* InputPinController.cpp
|
||||||
*
|
*
|
||||||
* Created on: May 31, 2018
|
* Created on: May 31, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "InputPinController.h"
|
#include "InputPinController.h"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* InputPinController.h
|
* InputPinController.h
|
||||||
*
|
*
|
||||||
* Created on: May 31, 2018
|
* Created on: May 31, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SRC_UTILITIES_INPUTGPIOINTERFACE_H_
|
#ifndef SRC_UTILITIES_INPUTGPIOINTERFACE_H_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* DisplayController.h
|
* DisplayController.h
|
||||||
*
|
*
|
||||||
* Created on: Aug 2, 2018
|
* Created on: Aug 2, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _SRC_OUTPUT_IDISPLAYCONTROLLER_H_
|
#ifndef _SRC_OUTPUT_IDISPLAYCONTROLLER_H_
|
||||||
|
|||||||
@@ -49,7 +49,8 @@ std::shared_ptr<OutputDriver> get_OutputDriver(const std::string & solenoid_conf
|
|||||||
auto display_board_pin_controller = std::make_shared<detail::DisplayBoardPinController>(get_update_frequency(display_config_path));
|
auto display_board_pin_controller = std::make_shared<detail::DisplayBoardPinController>(get_update_frequency(display_config_path));
|
||||||
auto displays = get_items<DisplayFactory, detail::DisplayBoardPinController, items::Display>(display_config_path, display_board_pin_controller);
|
auto displays = get_items<DisplayFactory, detail::DisplayBoardPinController, items::Display>(display_config_path, display_board_pin_controller);
|
||||||
|
|
||||||
auto display_controller = std::make_unique<detail::DisplayController>(displays, display_board_pin_controller);
|
auto update_frequency = get_update_frequency(display_config_path);
|
||||||
|
auto display_controller = std::make_unique<detail::DisplayController>(displays, display_board_pin_controller, update_frequency);
|
||||||
|
|
||||||
return std::make_shared<OutputDriver>(std::move(display_controller), solenoids, lamps, sounds, flippers, displays);
|
return std::make_shared<OutputDriver>(std::move(display_controller), solenoids, lamps, sounds, flippers, displays);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* DisplayController.cpp
|
* DisplayController.cpp
|
||||||
*
|
*
|
||||||
* Created on: Aug 7, 2018
|
* Created on: Aug 7, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "output/detail/DisplayController.h"
|
#include "output/detail/DisplayController.h"
|
||||||
@@ -19,9 +19,10 @@ namespace detail
|
|||||||
{
|
{
|
||||||
|
|
||||||
DisplayController::DisplayController(std::map<std::string, std::shared_ptr<items::Display>> & displays,
|
DisplayController::DisplayController(std::map<std::string, std::shared_ptr<items::Display>> & displays,
|
||||||
std::shared_ptr<DisplayBoardPinController> pin_controller
|
std::shared_ptr<DisplayBoardPinController> pin_controller,
|
||||||
|
std::chrono::microseconds update_frequency
|
||||||
)
|
)
|
||||||
: pin_controller{pin_controller}, is_running(true)
|
: pin_controller{pin_controller}, is_running(true), update_frequency(update_frequency)
|
||||||
{
|
{
|
||||||
for (const auto& display : displays)
|
for (const auto& display : displays)
|
||||||
{
|
{
|
||||||
@@ -50,7 +51,7 @@ void DisplayController::cycle_displays() const
|
|||||||
|
|
||||||
while (is_running)
|
while (is_running)
|
||||||
{
|
{
|
||||||
std::this_thread::sleep_for(std::chrono::microseconds(10000));
|
std::this_thread::sleep_for(update_frequency);
|
||||||
for (auto &display : this->displays)
|
for (auto &display : this->displays)
|
||||||
{
|
{
|
||||||
pin_controller->write_display(*display);
|
pin_controller->write_display(*display);
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* DisplayController.h
|
* DisplayController.h
|
||||||
*
|
*
|
||||||
* Created on: Aug 7, 2018
|
* Created on: Aug 7, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _SRC_OUTPUT_DISPLAYCONTROLLER_H_
|
#ifndef _SRC_OUTPUT_DISPLAYCONTROLLER_H_
|
||||||
@@ -25,7 +25,10 @@ namespace detail
|
|||||||
class DisplayController : public output::DisplayController
|
class DisplayController : public output::DisplayController
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
DisplayController(std::map<std::string, std::shared_ptr<items::Display>> &displays, std::shared_ptr<DisplayBoardPinController> pin_controller);
|
DisplayController(std::map<std::string, std::shared_ptr<items::Display>> &displays,
|
||||||
|
std::shared_ptr<DisplayBoardPinController> pin_controller,
|
||||||
|
std::chrono::microseconds update_frequency);
|
||||||
|
|
||||||
~DisplayController() override;
|
~DisplayController() override;
|
||||||
|
|
||||||
void activate_displays() const override;
|
void activate_displays() const override;
|
||||||
@@ -41,6 +44,7 @@ private:
|
|||||||
|
|
||||||
std::thread display_cycle_thread;
|
std::thread display_cycle_thread;
|
||||||
bool is_running;
|
bool is_running;
|
||||||
|
std::chrono::microseconds update_frequency
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* OutputDriver.cpp
|
* OutputDriver.cpp
|
||||||
*
|
*
|
||||||
* Created on: Aug 2, 2018
|
* Created on: Aug 2, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <boost/range/adaptor/map.hpp>
|
#include <boost/range/adaptor/map.hpp>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* DisplayFactory.cpp
|
* DisplayFactory.cpp
|
||||||
*
|
*
|
||||||
* Created on: December 28, 2019
|
* Created on: December 28, 2019
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "output/DisplayBoardPinController.h"
|
#include "output/DisplayBoardPinController.h"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* DisplayFactory.h
|
* DisplayFactory.h
|
||||||
*
|
*
|
||||||
* Created on: December 28, 2019
|
* Created on: December 28, 2019
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef FLIPPR_DRIVER_DISPLAYFACTORY_H
|
#ifndef FLIPPR_DRIVER_DISPLAYFACTORY_H
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* FlipperFactory.cpp
|
* FlipperFactory.cpp
|
||||||
*
|
*
|
||||||
* Created on: December 28, 2019
|
* Created on: December 28, 2019
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <output/DriverBoardPinController.h>
|
#include <output/DriverBoardPinController.h>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* FlipperFactory.h
|
* FlipperFactory.h
|
||||||
*
|
*
|
||||||
* Created on: December 28, 2019
|
* Created on: December 28, 2019
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef FLIPPR_DRIVER_FLIPPERFACTORY_H
|
#ifndef FLIPPR_DRIVER_FLIPPERFACTORY_H
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* ItemFactory.cpp
|
* ItemFactory.cpp
|
||||||
*
|
*
|
||||||
* Created on: December 28, 2019
|
* Created on: December 28, 2019
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "ItemFactory.h"
|
#include "ItemFactory.h"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* ItemFactory.h
|
* ItemFactory.h
|
||||||
*
|
*
|
||||||
* Created on: December 28, 2019
|
* Created on: December 28, 2019
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef FLIPPR_DRIVER_ITEMFACTORY_H
|
#ifndef FLIPPR_DRIVER_ITEMFACTORY_H
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* LampFactory.cpp
|
* LampFactory.cpp
|
||||||
*
|
*
|
||||||
* Created on: December 28, 2019
|
* Created on: December 28, 2019
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <output/items/Lamp.h>
|
#include <output/items/Lamp.h>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* LampFactory.h
|
* LampFactory.h
|
||||||
*
|
*
|
||||||
* Created on: December 28, 2019
|
* Created on: December 28, 2019
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef FLIPPR_DRIVER_LAMPFACTORY_H
|
#ifndef FLIPPR_DRIVER_LAMPFACTORY_H
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* SolenoidFactory.cpp
|
* SolenoidFactory.cpp
|
||||||
*
|
*
|
||||||
* Created on: January 6, 2020
|
* Created on: January 6, 2020
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "output/items/detail/Solenoid.h"
|
#include "output/items/detail/Solenoid.h"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* SolenoidFactory.h
|
* SolenoidFactory.h
|
||||||
*
|
*
|
||||||
* Created on: January 6, 2020
|
* Created on: January 6, 2020
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef FLIPPR_DRIVER_SOLENOIDFACTORY_H
|
#ifndef FLIPPR_DRIVER_SOLENOIDFACTORY_H
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* SoundFactory.cpp
|
* SoundFactory.cpp
|
||||||
*
|
*
|
||||||
* Created on: December 28, 2019
|
* Created on: December 28, 2019
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "SoundFactory.h"
|
#include "SoundFactory.h"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* SoundFactory.h
|
* SoundFactory.h
|
||||||
*
|
*
|
||||||
* Created on: December 28, 2019
|
* Created on: December 28, 2019
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef FLIPPR_DRIVER_SOUNDFACTORY_H
|
#ifndef FLIPPR_DRIVER_SOUNDFACTORY_H
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* Display.h
|
* Display.h
|
||||||
*
|
*
|
||||||
* Created on: Aug 2, 2018
|
* Created on: Aug 2, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _SRC_OUTPUT_IDISPLAY_H_
|
#ifndef _SRC_OUTPUT_IDISPLAY_H_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* Display.h
|
* Display.h
|
||||||
*
|
*
|
||||||
* Created on: Aug 2, 2018
|
* Created on: Aug 2, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef FLIPPR_DRIVER_OUTPUT_ITEMS_IMPL_DISPLAY_H_
|
#ifndef FLIPPR_DRIVER_OUTPUT_ITEMS_IMPL_DISPLAY_H_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* Flipper.cpp
|
* Flipper.cpp
|
||||||
*
|
*
|
||||||
* Created on: May 6, 2019
|
* Created on: May 6, 2019
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Flipper.h"
|
#include "Flipper.h"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* Flipper.h
|
* Flipper.h
|
||||||
*
|
*
|
||||||
* Created on: May 6, 2019
|
* Created on: May 6, 2019
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _SRC_FLIPPR_CODE_FLIPPER_H
|
#ifndef _SRC_FLIPPR_CODE_FLIPPER_H
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* CabinetItem.h
|
* CabinetItem.h
|
||||||
*
|
*
|
||||||
* Created on: Aug 2, 2018
|
* Created on: Aug 2, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _SRC_OUTPUT_CABINETITEM_H_
|
#ifndef _SRC_OUTPUT_CABINETITEM_H_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* Lamp.cpp
|
* Lamp.cpp
|
||||||
*
|
*
|
||||||
* Created on: Aug 2, 2018
|
* Created on: Aug 2, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Lamp.h"
|
#include "Lamp.h"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* Lamp.h
|
* Lamp.h
|
||||||
*
|
*
|
||||||
* Created on: Aug 2, 2018
|
* Created on: Aug 2, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _SRC_OUTPUT_LAMP_H_
|
#ifndef _SRC_OUTPUT_LAMP_H_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* Solenoid.cppthis->pins_display_board.end(),
|
* Solenoid.cppthis->pins_display_board.end(),
|
||||||
*
|
*
|
||||||
* Created on: Aug 2, 2018
|
* Created on: Aug 2, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Solenoid.h"
|
#include "Solenoid.h"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* Solenoid.h
|
* Solenoid.h
|
||||||
*
|
*
|
||||||
* Created on: Aug 2, 2018
|
* Created on: Aug 2, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _SRC_OUTPUT_SOLENOID_H_
|
#ifndef _SRC_OUTPUT_SOLENOID_H_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* Sound.cpp
|
* Sound.cpp
|
||||||
*
|
*
|
||||||
* Created on: Aug 2, 2018
|
* Created on: Aug 2, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "Sound.h"
|
#include "Sound.h"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* Sound.h
|
* Sound.h
|
||||||
*
|
*
|
||||||
* Created on: Aug 2, 2018
|
* Created on: Aug 2, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef _SRC_OUTPUT_SOUND_H_
|
#ifndef _SRC_OUTPUT_SOUND_H_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* BlockingQueue.hpp
|
* BlockingQueue.hpp
|
||||||
*
|
*
|
||||||
* Created on: May 17, 2018
|
* Created on: May 17, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert, Rafael Vinci, Dr. Franca Rupprecht
|
* Author: Johannes Wendel, Jonas Zeunert, Rafael Vinci, Dr. Franca Rupprecht
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SRC_UTILITIES_BLOCKINGQUEUE_HPP_
|
#ifndef SRC_UTILITIES_BLOCKINGQUEUE_HPP_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* BlockingQueue.hpp
|
* BlockingQueue.hpp
|
||||||
*
|
*
|
||||||
* Created on: May 17, 2018
|
* Created on: May 17, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SRC_UTILITIES_IBLOCKINGQUEUE_H_
|
#ifndef SRC_UTILITIES_IBLOCKINGQUEUE_H_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* LoggerFactory.hpp
|
* LoggerFactory.hpp
|
||||||
*
|
*
|
||||||
* Created on: Jun 19, 2018
|
* Created on: Jun 19, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef SRC_UTILITIES_LOGGERFACTORY_HPP_
|
#ifndef SRC_UTILITIES_LOGGERFACTORY_HPP_
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* config.h
|
* config.h
|
||||||
*
|
*
|
||||||
* Created on: May 17, 2018
|
* Created on: May 17, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "easylogging++.h"
|
#include "easylogging++.h"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* helper_functions.hpp
|
* helper_functions.hpp
|
||||||
*
|
*
|
||||||
* Created on: Jan 16, 2020
|
* Created on: Jan 16, 2020
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <sstream>
|
#include <sstream>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* TestDetector.cpp
|
* TestDetector.cpp
|
||||||
*
|
*
|
||||||
* Created on: Jun 27, 2018
|
* Created on: Jun 27, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* TestEventHandler.cpp
|
* TestEventHandler.cpp
|
||||||
*
|
*
|
||||||
* Created on: Jun 28, 2018
|
* Created on: Jun 28, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "catch.hpp"
|
#include "catch.hpp"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* TestEventNotifier.cpp
|
* TestEventNotifier.cpp
|
||||||
*
|
*
|
||||||
* Created on: Jun 19, 2018
|
* Created on: Jun 19, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* TestInputDriver.cpp
|
* TestInputDriver.cpp
|
||||||
*
|
*
|
||||||
* Created on: May 31, 2018
|
* Created on: May 31, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "catch.hpp"
|
#include "catch.hpp"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* tests-main.cpp
|
* tests-main.cpp
|
||||||
*
|
*
|
||||||
* Created on: May 6, 2018
|
* Created on: May 6, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#define CATCH_CONFIG_MAIN
|
#define CATCH_CONFIG_MAIN
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* TestDisplay.cpp
|
* TestDisplay.cpp
|
||||||
*
|
*
|
||||||
* Created on: Aug 7, 2018
|
* Created on: Aug 7, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* TestDisplayController.cpp
|
* TestDisplayController.cpp
|
||||||
*
|
*
|
||||||
* Created on: Aug 7, 2018
|
* Created on: Aug 7, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* TestLamp.cpp
|
* TestLamp.cpp
|
||||||
*
|
*
|
||||||
* Created on: Aug 7, 2018
|
* Created on: Aug 7, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "catch.hpp"
|
#include "catch.hpp"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* TestOutputDriver.cpp
|
* TestOutputDriver.cpp
|
||||||
*
|
*
|
||||||
* Created on: Aug 7, 2018
|
* Created on: Aug 7, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "catch.hpp"
|
#include "catch.hpp"
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* TestCabinetItem.cpp
|
* TestCabinetItem.cpp
|
||||||
*
|
*
|
||||||
* Created on: Aug 7, 2018
|
* Created on: Aug 7, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* TestSolenoid.cpp
|
* TestSolenoid.cpp
|
||||||
*
|
*
|
||||||
* Created on: Aug 7, 2018
|
* Created on: Aug 7, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
* TestSound.cpp
|
* TestSound.cpp
|
||||||
*
|
*
|
||||||
* Created on: Aug 7, 2018
|
* Created on: Aug 7, 2018
|
||||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert
|
* Author: Johannes Wendel, Jonas Zeunert
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "catch.hpp"
|
#include "catch.hpp"
|
||||||
|
|||||||
Reference in New Issue
Block a user