This commit is contained in:
Jonas Zeunert
2018-11-20 23:44:37 +01:00
parent d767449dce
commit c1e4c0d658
11 changed files with 13 additions and 7 deletions

View File

@@ -0,0 +1,25 @@
/*
* IOutputDriver.h
*
* Created on: Aug 2, 2018
* Author: rhetenor
*/
#ifndef _SRC_OUTPUT_IOUTPUTDRIVER_H_
#define _SRC_OUTPUT_IOUTPUTDRIVER_H_
namespace flippR_driver
{
namespace output
{
class IOutputDriver
{
public:
IOutputDriver();
virtual ~IOutputDriver();
};
} /* namespace output */
}
#endif

View File

@@ -0,0 +1,29 @@
/*
* ILamp.h
*
* Created on: Aug 7, 2018
* Author: rhetenor
*/
#ifndef _SRC_OUTPUT_ILAMP_H_
#define _SRC_OUTPUT_ILAMP_H_
namespace flippR_driver
{
namespace output
{
class ILamp
{
public:
~ILamp(){};
void activate();
void deactivate();
bool is_activated();
};
}
}
#endif

View File

@@ -17,8 +17,7 @@ class IDisplay
{
public:
IDisplay();
virtual ~IDisplay();
virtual ~IDisplay() {};
virtual void write_score(int score) = 0;
};

View File

@@ -0,0 +1,26 @@
/*
* ISolenoid.h
*
* Created on: Aug 7, 2018
* Author: rhetenor
*/
#ifndef _SRC_OUTPUT_ISOLENOID_H_
#define _SRC_OUTPUT_ISOLENOID_H_
namespace flippR_driver
{
namespace output
{
class ISolenoid
{
public:
~ISolenoid() {};
void trigger();
};
}
}
#endif

View File

@@ -0,0 +1,27 @@
/*
* ISound.h
*
* Created on: Aug 2, 2018
* Author: rhetenor
*/
#ifndef _SRC_OUTPUT_ISOUND_H_
#define _SRC_OUTPUT_ISOUND_H_
namespace flippR_driver
{
namespace output
{
class ISound
{
public:
ISound();
virtual ~ISound();
virtual void play() = 0;
};
} /* namespace output */
}
#endif