xref: /openbmc/phosphor-pid-control/notimpl/writeonly.hpp (revision a076487aab0ee71ea32d53f798d5ca6b31677278)
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:
12     WriteOnly() : ReadInterface()
13     {}
14 
15     ReadReturn read(void) override;
16 };
17 
18 } // namespace pid_control
19