openMSX
|
#include <DummyRS232Device.hh>
Public Member Functions | |
void | signal (EmuTime::param time) override |
std::string_view | getDescription () const override |
Description for this pluggable. More... | |
void | plugHelper (Connector &connector, EmuTime::param time) override |
void | unplugHelper (EmuTime::param time) override |
void | recvByte (byte value, EmuTime::param time) override |
![]() | |
std::string_view | getClass () const final |
A pluggable belongs to a certain class. More... | |
virtual void | signal (EmuTime::param time)=0 |
void | setDataBits (DataBits bits) override |
void | setStopBits (StopBits bits) override |
void | setParityBit (bool enable, ParityBit parity) override |
virtual bool | getCTS (EmuTime::param time) const |
virtual bool | getDSR (EmuTime::param time) const |
virtual void | setDTR (bool status, EmuTime::param time) |
virtual void | setRTS (bool status, EmuTime::param time) |
![]() | |
virtual | ~Pluggable ()=default |
virtual std::string_view | getName () const |
Name used to identify this pluggable. More... | |
virtual std::string_view | getClass () const =0 |
A pluggable belongs to a certain class. More... | |
virtual std::string_view | getDescription () const =0 |
Description for this pluggable. More... | |
void | plug (Connector &connector, EmuTime::param time) |
This method is called when this pluggable is inserted in a connector. More... | |
void | unplug (EmuTime::param time) |
This method is called when this pluggable is removed from a connector. More... | |
Connector * | getConnector () const |
Get the connector this Pluggable is plugged into. More... | |
bool | isPluggedIn () const |
Returns true if this pluggable is currently plugged into a connector. More... | |
virtual void | setDataBits (DataBits bits)=0 |
virtual void | setStopBits (StopBits bits)=0 |
virtual void | setParityBit (bool enable, ParityBit parity)=0 |
virtual void | recvByte (byte value, EmuTime::param time)=0 |
Additional Inherited Members | |
![]() | |
enum | DataBits { DATA_5 = 5 , DATA_6 = 6 , DATA_7 = 7 , DATA_8 = 8 } |
enum | StopBits { STOP_INV = 0 , STOP_1 = 2 , STOP_15 = 3 , STOP_2 = 4 } |
enum | ParityBit { EVEN = 0 , ODD = 1 } |
![]() | |
Pluggable () | |
virtual void | plugHelper (Connector &newConnector, EmuTime::param time)=0 |
virtual void | unplugHelper (EmuTime::param time)=0 |
void | setConnector (Connector *conn) |
![]() | |
~SerialDataInterface ()=default | |
Definition at line 8 of file DummyRS232Device.hh.
|
overridevirtual |
Description for this pluggable.
Implements openmsx::Pluggable.
Definition at line 10 of file DummyRS232Device.cc.
|
overridevirtual |
Implements openmsx::Pluggable.
Definition at line 15 of file DummyRS232Device.cc.
|
overridevirtual |
Implements openmsx::SerialDataInterface.
Definition at line 24 of file DummyRS232Device.cc.
|
overridevirtual |
Implements openmsx::RS232Device.
Definition at line 5 of file DummyRS232Device.cc.
|
overridevirtual |
Implements openmsx::Pluggable.
Definition at line 20 of file DummyRS232Device.cc.