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