blob: 6dc7afd1a16cfe3173f8d3880eb3ebec649c7b69 [file] [log] [blame]
Patrick Venture863b9242018-03-08 08:29:23 -08001/* Interface that implements an exception throwing write method. */
2#pragma once
3
4#include "interfaces.hpp"
5
Patrick Ventureda4a5dd2018-08-31 09:42:48 -07006class WriteOnly : public ReadInterface
Patrick Venture863b9242018-03-08 08:29:23 -08007{
Patrick Ventureda4a5dd2018-08-31 09:42:48 -07008 public:
9 WriteOnly() : ReadInterface()
10 {
11 }
Patrick Venture863b9242018-03-08 08:29:23 -080012
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070013 ReadReturn read(void) override;
Patrick Venture863b9242018-03-08 08:29:23 -080014};