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:
13     ReadOnly() : WriteInterface(0, 0)
14     {}
15 
16     void write(double value) override;
17 };
18 
19 class ReadOnlyNoExcept : public WriteInterface
20 {
21   public:
22     ReadOnlyNoExcept() : WriteInterface(0, 0)
23     {}
24 
25     void write(double value) override;
26 };
27 
28 } // namespace pid_control
29