1 /* Interface that implements an exception throwing write method. */ 2 #pragma once 3 4 #include "interfaces.hpp" 5 6 namespace pid_control 7 { 8 9 class WriteOnly : public ReadInterface 10 { 11 public: WriteOnly()12 WriteOnly() : ReadInterface() {} 13 14 ReadReturn read(void) override; 15 }; 16 17 } // namespace pid_control 18