blob: ba7c0c43a214a2deeabf26eaa80763bc8ee2225c [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()
Patrick Venturea83a3ec2020-08-04 09:52:05 -070010 {}
Patrick Venture863b9242018-03-08 08:29:23 -080011
Patrick Ventureda4a5dd2018-08-31 09:42:48 -070012 ReadReturn read(void) override;
Patrick Venture863b9242018-03-08 08:29:23 -080013};