blob: 0561de090762b58471a593678e801b3718c1cbd0 [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:
Patrick Williams8c051122023-05-10 07:50:59 -050012 WriteOnly() : ReadInterface() {}
Patrick Venture863b9242018-03-08 08:29:23 -080013
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070014 ReadReturn read(void) override;
Patrick Venture863b9242018-03-08 08:29:23 -080015};
Patrick Venturea0764872020-08-08 07:48:43 -070016
17} // namespace pid_control