33 lines
610 B
C++
33 lines
610 B
C++
/*
|
|
* IEventNotifier.h
|
|
*
|
|
* Created on: Jun 13, 2018
|
|
* Author: Andreas Schneider, Johannes Wendel, Jonas Zeunert, Rafael Vinci, Dr. Franca Rupprecht
|
|
*/
|
|
|
|
#ifndef SRC_INPUT_IEVENTNOTIFIER_H_
|
|
#define SRC_INPUT_IEVENTNOTIFIER_H_
|
|
|
|
#include "Event.h"
|
|
#include "IEventHandler.h"
|
|
#include <memory>
|
|
|
|
namespace flippR_driver
|
|
{
|
|
namespace input
|
|
{
|
|
|
|
class IEventNotifier
|
|
{
|
|
public:
|
|
virtual ~IEventNotifier(){};
|
|
|
|
virtual void register_event_handler(IEventHandler* handler) = 0;
|
|
virtual void unregister_event_handler(IEventHandler* handler) = 0;
|
|
|
|
virtual void distribute_event(Event &event) = 0;
|
|
};
|
|
|
|
}
|
|
}
|
|
#endif |