33 lines
422 B
C++
33 lines
422 B
C++
/*
|
|
* Solenoid.h
|
|
*
|
|
* Created on: Aug 7, 2018
|
|
* Author: Johannes Wendel, Jonas Zeunert
|
|
*/
|
|
|
|
#ifndef _SRC_OUTPUT_ISOLENOID_H_
|
|
#define _SRC_OUTPUT_ISOLENOID_H_
|
|
|
|
|
|
#include "Item.h"
|
|
|
|
namespace flippR_driver
|
|
{
|
|
namespace output
|
|
{
|
|
namespace items
|
|
{
|
|
// todo get name? parent calss output_item?
|
|
class Solenoid : public virtual Item
|
|
{
|
|
public:
|
|
virtual ~Solenoid() = default;
|
|
|
|
virtual void trigger() = 0;
|
|
};
|
|
|
|
}
|
|
}
|
|
}
|
|
|
|
#endif |