1#ifndef RS232CONNECTOR_HH
2#define RS232CONNECTOR_HH
19 [[nodiscard]] std::string_view
getClass()
const final;
25 void recvByte(
byte value, EmuTime::param time)
override = 0;
26 [[nodiscard]]
virtual bool ready() = 0;
29 template<
typename Archive>
30 void serialize(Archive& ar,
unsigned version);
Represents something you can plug devices into.
Central administration of Connectors and Pluggables.
std::string_view getClass() const final
A Connector belong to a certain class.
void setParityBit(bool enable, Parity parity) override=0
void recvByte(byte value, EmuTime::param time) override=0
~RS232Connector()=default
virtual bool acceptsData()=0
RS232Device & getPluggedRS232Dev() const
std::string_view getDescription() const final
Get a description for this connector.
void serialize(Archive &ar, unsigned version)
void setDataBits(DataBits bits) override=0
void setStopBits(StopBits bits) override=0
This file implemented 3 utility functions: