1863b9246SPatrick Venture #pragma once
2863b9246SPatrick Venture 
3863b9246SPatrick Venture /* Interface that implements an exception throwing read method. */
4863b9246SPatrick Venture 
5863b9246SPatrick Venture #include "interfaces.hpp"
6863b9246SPatrick Venture 
7863b9246SPatrick Venture class ReadOnly : public WriteInterface
8863b9246SPatrick Venture {
9863b9246SPatrick Venture   public:
10da4a5dd1SPatrick Venture     ReadOnly() : WriteInterface(0, 0)
11*a83a3eccSPatrick Venture     {}
12863b9246SPatrick Venture 
13863b9246SPatrick Venture     void write(double value) override;
14863b9246SPatrick Venture };
15863b9246SPatrick Venture 
16863b9246SPatrick Venture class ReadOnlyNoExcept : public WriteInterface
17863b9246SPatrick Venture {
18863b9246SPatrick Venture   public:
19da4a5dd1SPatrick Venture     ReadOnlyNoExcept() : WriteInterface(0, 0)
20*a83a3eccSPatrick Venture     {}
21863b9246SPatrick Venture 
22863b9246SPatrick Venture     void write(double value) override;
23863b9246SPatrick Venture };
24