blob: c3b5323c1693d1061f0837fda902f50aa67b8f4c [file] [log] [blame]
Patrick Venture863b9242018-03-08 08:29:23 -08001/* Interface that implements an exception throwing write method. */
2#pragma once
3
4#include "interfaces.hpp"
5
Patrick Venturea0764872020-08-08 07:48:43 -07006namespace pid_control
7{
8
Patrick Ventureda4a5dd2018-08-31 09:42:48 -07009class WriteOnly : public ReadInterface
Patrick Venture863b9242018-03-08 08:29:23 -080010{
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070011 public:
12 WriteOnly() : ReadInterface()
Patrick Venturea83a3ec2020-08-04 09:52:05 -070013 {}
Patrick Venture863b9242018-03-08 08:29:23 -080014
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070015 ReadReturn read(void) override;
Patrick Venture863b9242018-03-08 08:29:23 -080016};
Patrick Venturea0764872020-08-08 07:48:43 -070017
18} // namespace pid_control