13 [[nodiscard]] std::string_view
getClass()
const final;
16 virtual void signal(EmuTime::param time) = 0;
24 [[nodiscard]]
virtual std::optional<bool>
getCTS(EmuTime::param time)
const;
25 [[nodiscard]]
virtual std::optional<bool>
getDSR(EmuTime::param time)
const;
26 [[nodiscard]]
virtual std::optional<bool>
getDCD(EmuTime::param time)
const;
27 [[nodiscard]]
virtual std::optional<bool>
getRI(EmuTime::param time)
const;
28 virtual void setDTR(
bool status, EmuTime::param time);
29 virtual void setRTS(
bool status, EmuTime::param time);
virtual std::optional< bool > getRI(EmuTime::param time) const
virtual void setRTS(bool status, EmuTime::param time)
void setStopBits(StopBits bits) override
virtual void signal(EmuTime::param time)=0
virtual std::optional< bool > getDSR(EmuTime::param time) const
virtual std::optional< bool > getCTS(EmuTime::param time) const
void setDataBits(DataBits bits) override
std::string_view getClass() const final
A pluggable belongs to a certain class.
void setParityBit(bool enable, Parity parity) override
virtual std::optional< bool > getDCD(EmuTime::param time) const
virtual void setDTR(bool status, EmuTime::param time)
This file implemented 3 utility functions: