xref: /openbmc/phosphor-pid-control/notimpl/writeonly.hpp (revision 8c051121ade815a46e39d5c669fee77302df2b6d)
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