is
This commit is contained in:
25
FlippR-Driver/include/output/IOutputDriver.h
Normal file
25
FlippR-Driver/include/output/IOutputDriver.h
Normal 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
|
||||
29
FlippR-Driver/include/output/output_items/ILamp.h
Normal file
29
FlippR-Driver/include/output/output_items/ILamp.h
Normal 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
|
||||
@@ -17,8 +17,7 @@ class IDisplay
|
||||
{
|
||||
|
||||
public:
|
||||
IDisplay();
|
||||
virtual ~IDisplay();
|
||||
virtual ~IDisplay() {};
|
||||
|
||||
virtual void write_score(int score) = 0;
|
||||
};
|
||||
26
FlippR-Driver/include/output/output_items/ISolenoid.h
Normal file
26
FlippR-Driver/include/output/output_items/ISolenoid.h
Normal 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
|
||||
27
FlippR-Driver/include/output/output_items/ISound.h
Normal file
27
FlippR-Driver/include/output/output_items/ISound.h
Normal 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
|
||||
Reference in New Issue
Block a user