blob: 3a2c806b1c468efc327403e1e88846a16c0c440d [file] [log] [blame]
#pragma once
/* Interface that implements an exception throwing read method. */
#include "interfaces.hpp"
namespace pid_control
{
class ReadOnly : public WriteInterface
{
public:
ReadOnly() : WriteInterface(0, 0)
{}
void write(double value) override;
};
class ReadOnlyNoExcept : public WriteInterface
{
public:
ReadOnlyNoExcept() : WriteInterface(0, 0)
{}
void write(double value) override;
};
} // namespace pid_control