xref: /openbmc/phosphor-pid-control/notimpl/writeonly.hpp (revision da4a5dd133b88ebfeb69e89d05b381f81ba70e50)
1 /* Interface that implements an exception throwing write method. */
2 #pragma once
3 
4 #include "interfaces.hpp"
5 
6 class WriteOnly : public ReadInterface
7 {
8   public:
9     WriteOnly() : ReadInterface()
10     {
11     }
12 
13     ReadReturn read(void) override;
14 };
15