blob: a609e221958f8b5fc6ef265489f4a080a4f64a77 [file] [log] [blame]
Patrick Venture863b9242018-03-08 08:29:23 -08001#pragma once
2
3/* Interface that implements an exception throwing read method. */
4
5#include "interfaces.hpp"
6
7
8class ReadOnly: public WriteInterface
9{
10 public:
11 ReadOnly()
12 : WriteInterface(0, 0)
13 { }
14
15 void write(double value) override;
16};
17
18class ReadOnlyNoExcept: public WriteInterface
19{
20 public:
21 ReadOnlyNoExcept()
22 : WriteInterface(0, 0)
23 { }
24
25 void write(double value) override;
26};