trennen
This commit is contained in:
10
FlippR-Driver/src/input/Event.cpp
Normal file
10
FlippR-Driver/src/input/Event.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
* Event.cpp
|
||||
*
|
||||
* Created on: Jun 15, 2018
|
||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert, Rafael Vinci, Dr. Franca Rupprecht
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
10
FlippR-Driver/src/input/EventHandler.cpp
Normal file
10
FlippR-Driver/src/input/EventHandler.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
* EventHandler.cpp
|
||||
*
|
||||
* Created on: Jun 14, 2018
|
||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert, Rafael Vinci, Dr. Franca Rupprecht
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -12,11 +12,11 @@
|
||||
#ifndef INPUTEVENTHANDLER_H_
|
||||
#define INPUTEVENTHANDLER_H_
|
||||
|
||||
#include "Event.hpp"
|
||||
#include "IInputDriver.h"
|
||||
|
||||
#include "../utilities/IEventHandler.h"
|
||||
#include "../utilities/config.h"
|
||||
#include "Event.h"
|
||||
|
||||
namespace Input
|
||||
{
|
||||
@@ -14,9 +14,9 @@
|
||||
#include <thread>
|
||||
#include <mutex>
|
||||
|
||||
#include "../utilities/BlockingQueue.hpp"
|
||||
#include "Event.hpp"
|
||||
#include "EventHandler.hpp"
|
||||
#include "../utilities/BlockingQueue.h"
|
||||
#include "Event.h"
|
||||
#include "EventHandler.h"
|
||||
|
||||
#define HANDLER_TIMEOUT 2000
|
||||
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <map>
|
||||
|
||||
#include "../utilities/InputGPIOInterface.h"
|
||||
#include "Event.hpp"
|
||||
#include "Event.h"
|
||||
#include "EventNotifier.h"
|
||||
|
||||
namespace Input
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
#ifndef SRC_INPUT_IEVENTNOTIFIER_H_
|
||||
#define SRC_INPUT_IEVENTNOTIFIER_H_
|
||||
|
||||
#include "Event.h"
|
||||
#include "IEventHandler.h"
|
||||
#include "Event.hpp"
|
||||
|
||||
namespace Input
|
||||
{
|
||||
|
||||
10
FlippR-Driver/src/input/InputDriver.cpp
Normal file
10
FlippR-Driver/src/input/InputDriver.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
* InputDriver.cpp
|
||||
*
|
||||
* Created on: Jun 15, 2018
|
||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert, Rafael Vinci, Dr. Franca Rupprecht
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
* Created on: May 31, 2018
|
||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert, Rafael Vinci, Dr. Franca Rupprecht
|
||||
*/
|
||||
#ifndef SRC_INPUT_INPUTDRIVER_HPP_
|
||||
#define SRC_INPUT_INPUTDRIVER_HPP_
|
||||
#ifndef SRC_INPUT_INPUTDRIVER_H_
|
||||
#define SRC_INPUT_INPUTDRIVER_H_
|
||||
|
||||
#include "../utilities/config.h"
|
||||
|
||||
@@ -51,4 +51,4 @@ private:
|
||||
|
||||
}
|
||||
|
||||
#endif /* SRC_INPUT_INPUTDRIVER_HPP_ */
|
||||
#endif /* SRC_INPUT_INPUTDRIVER_H_ */
|
||||
10
FlippR-Driver/src/input/InputDriverFactory.cpp
Normal file
10
FlippR-Driver/src/input/InputDriverFactory.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
* InputDriverFactory.cpp
|
||||
*
|
||||
* Created on: Jun 14, 2018
|
||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert, Rafael Vinci, Dr. Franca Rupprecht
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
10
FlippR-Driver/src/utilities/BlockingQueue.cpp
Normal file
10
FlippR-Driver/src/utilities/BlockingQueue.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
* BlockingQueue.cpp
|
||||
*
|
||||
* Created on: Jun 15, 2018
|
||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert, Rafael Vinci, Dr. Franca Rupprecht
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert, Rafael Vinci, Dr. Franca Rupprecht
|
||||
*/
|
||||
|
||||
#ifndef SRC_UTILITIES_BLOCKINGQUEUE_HPP_
|
||||
#define SRC_UTILITIES_BLOCKINGQUEUE_HPP_
|
||||
#ifndef SRC_UTILITIES_BLOCKINGQUEUE_H_
|
||||
#define SRC_UTILITIES_BLOCKINGQUEUE_H_
|
||||
|
||||
#include <mutex>
|
||||
#include <condition_variable>
|
||||
@@ -42,4 +42,4 @@ public:
|
||||
|
||||
|
||||
|
||||
#endif /* SRC_UTILITIES_BLOCKINGQUEUE_HPP_ */
|
||||
#endif /* SRC_UTILITIES_BLOCKINGQUEUE_H_ */
|
||||
10
FlippR-Driver/src/utilities/GPIOInterface.cpp
Normal file
10
FlippR-Driver/src/utilities/GPIOInterface.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
/*
|
||||
* GPIOInterface.cpp
|
||||
*
|
||||
* Created on: Jun 15, 2018
|
||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert, Rafael Vinci, Dr. Franca Rupprecht
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -10,8 +10,8 @@
|
||||
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert, Rafael Vinci, Dr. Franca Rupprecht
|
||||
*/
|
||||
|
||||
#ifndef SRC_UTILITIES_GPIOINTERFACE_HPP_
|
||||
#define SRC_UTILITIES_GPIOINTERFACE_HPP_
|
||||
#ifndef SRC_UTILITIES_GPIOINTERFACE_H_
|
||||
#define SRC_UTILITIES_GPIOINTERFACE_H_
|
||||
|
||||
#include <fstream>
|
||||
#include "config.h"
|
||||
@@ -39,4 +39,4 @@ public:
|
||||
|
||||
|
||||
|
||||
#endif /* SRC_UTILITIES_GPIOINTERFACE_HPP_ */
|
||||
#endif /* SRC_UTILITIES_GPIOINTERFACE_H_ */
|
||||
@@ -8,7 +8,7 @@
|
||||
#ifndef SRC_IEVENTHANDLER_H_
|
||||
#define SRC_IEVENTHANDLER_H_
|
||||
|
||||
#include "../input/Event.hpp"
|
||||
#include "../input/Event.h"
|
||||
|
||||
class IEventHandler
|
||||
{
|
||||
|
||||
@@ -8,9 +8,8 @@
|
||||
#ifndef SRC_UTILITIES_INPUTGPIOINTERFACE_H_
|
||||
#define SRC_UTILITIES_INPUTGPIOINTERFACE_H_
|
||||
|
||||
#include "GPIOInterface.hpp"
|
||||
|
||||
#include <exception>
|
||||
#include "GPIOInterface.h"
|
||||
|
||||
class InputGPIOInterface : GPIOInterface
|
||||
{
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#ifndef SRC_UTILITIES_OUTPUTGPIOINTERFACE_H_
|
||||
#define SRC_UTILITIES_OUTPUTGPIOINTERFACE_H_
|
||||
|
||||
#include "GPIOInterface.hpp"
|
||||
#include "GPIOInterface.h"
|
||||
|
||||
class OutputGPIOInterface : GPIOInterface
|
||||
{
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
|
||||
#define private public
|
||||
|
||||
#include "../../src/input/InputDriver.hpp"
|
||||
#include "../../src/input/InputDriver.h"
|
||||
|
||||
#include "../../src/input/Event.hpp"
|
||||
#include "../../src/input/IEventNotifier.h"
|
||||
|
||||
Reference in New Issue
Block a user