1 #pragma once
2 
3 /* Interface that implements an exception throwing read method. */
4 
5 #include "interfaces.hpp"
6 
7 namespace pid_control
8 {
9 
10 class ReadOnly : public WriteInterface
11 {
12   public:
ReadOnly()13     ReadOnly() : WriteInterface(0, 0) {}
14 
15     void write(double value) override;
16 };
17 
18 class ReadOnlyNoExcept : public WriteInterface
19 {
20   public:
ReadOnlyNoExcept()21     ReadOnlyNoExcept() : WriteInterface(0, 0) {}
22 
23     void write(double value) override;
24 };
25 
26 } // namespace pid_control
27