openMSX
|
#include <RS232Connector.hh>
Public Member Functions | |
RS232Device & | getPluggedRS232Dev () const |
std::string_view | getDescription () const final |
Get a description for this connector. | |
std::string_view | getClass () const final |
A Connector belong to a certain class. | |
void | setDataBits (DataBits bits) override=0 |
void | setStopBits (StopBits bits) override=0 |
void | setParityBit (bool enable, Parity parity) override=0 |
void | recvByte (byte value, EmuTime::param time) override=0 |
virtual bool | ready ()=0 |
virtual bool | acceptsData ()=0 |
template<typename Archive > | |
void | serialize (Archive &ar, unsigned version) |
Public Member Functions inherited from openmsx::Connector | |
Connector (const Connector &)=delete | |
Connector (Connector &&)=delete | |
Connector & | operator= (const Connector &)=delete |
Connector & | operator= (Connector &&)=delete |
const std::string & | getName () const |
Name that identifies this connector. | |
virtual void | plug (Pluggable &device, EmuTime::param time) |
This plugs a Pluggable in this Connector. | |
virtual void | unplug (EmuTime::param time) |
This unplugs the currently inserted Pluggable from this Connector. | |
Pluggable & | getPlugged () const |
Returns the Pluggable currently plugged in. | |
PluggingController & | getPluggingController () const |
template<typename Archive > | |
void | serialize (Archive &ar, unsigned version) |
Protected Member Functions | |
RS232Connector (PluggingController &pluggingController, std::string name) | |
~RS232Connector ()=default | |
Protected Member Functions inherited from openmsx::Connector | |
Connector (PluggingController &pluggingController, std::string name, std::unique_ptr< Pluggable > dummy) | |
Creates a new Connector. | |
~Connector () | |
Protected Member Functions inherited from openmsx::SerialDataInterface | |
~SerialDataInterface ()=default | |
Additional Inherited Members | |
Public Types inherited from openmsx::SerialDataInterface | |
enum class | DataBits { D5 = 5 , D6 = 6 , D7 = 7 , D8 = 8 } |
enum class | StopBits { INV = 0 , S1 = 2 , S1_5 = 3 , S2 = 4 } |
enum class | Parity { EVEN = 0 , ODD = 1 } |
Definition at line 12 of file RS232Connector.hh.
|
protected |
Definition at line 10 of file RS232Connector.cc.
|
protecteddefault |
|
pure virtual |
Implemented in openmsx::MSXRS232.
|
finalvirtual |
A Connector belong to a certain class.
Only Pluggables of this class can be plugged in this Connector.
Implements openmsx::Connector.
Definition at line 22 of file RS232Connector.cc.
|
finalvirtual |
Get a description for this connector.
Implements openmsx::Connector.
Definition at line 17 of file RS232Connector.cc.
RS232Device & openmsx::RS232Connector::getPluggedRS232Dev | ( | ) | const |
Definition at line 27 of file RS232Connector.cc.
References openmsx::Connector::getPlugged().
|
pure virtual |
Implemented in openmsx::MSXRS232.
|
overridepure virtual |
Implements openmsx::SerialDataInterface.
Implemented in openmsx::MSXRS232.
void openmsx::RS232Connector::serialize | ( | Archive & | ar, |
unsigned | version | ||
) |
Definition at line 33 of file RS232Connector.cc.
|
overridepure virtual |
Implements openmsx::SerialDataInterface.
Implemented in openmsx::MSXRS232.
|
overridepure virtual |
Implements openmsx::SerialDataInterface.
Implemented in openmsx::MSXRS232.
|
overridepure virtual |
Implements openmsx::SerialDataInterface.
Implemented in openmsx::MSXRS232.