openMSX
Public Member Functions | List of all members
openmsx::DummyRS232Device Class Referencefinal

#include <DummyRS232Device.hh>

Inheritance diagram for openmsx::DummyRS232Device:
Inheritance graph
[legend]
Collaboration diagram for openmsx::DummyRS232Device:
Collaboration graph
[legend]

Public Member Functions

void signal (EmuTime::param time) override
 
std::string_view getDescription () const override
 Description for this pluggable.
 
void plugHelper (Connector &connector, EmuTime::param time) override
 
void unplugHelper (EmuTime::param time) override
 
void recvByte (byte value, EmuTime::param time) override
 
- Public Member Functions inherited from openmsx::RS232Device
std::string_view getClass () const final
 A pluggable belongs to a certain class.
 
void setDataBits (DataBits bits) override
 
void setStopBits (StopBits bits) override
 
void setParityBit (bool enable, Parity parity) override
 
virtual std::optional< bool > getCTS (EmuTime::param time) const
 
virtual std::optional< bool > getDSR (EmuTime::param time) const
 
virtual std::optional< bool > getDCD (EmuTime::param time) const
 
virtual std::optional< bool > getRI (EmuTime::param time) const
 
virtual void setDTR (bool status, EmuTime::param time)
 
virtual void setRTS (bool status, EmuTime::param time)
 
- Public Member Functions inherited from openmsx::Pluggable
virtual ~Pluggable ()=default
 
virtual std::string_view getName () const
 Name used to identify this pluggable.
 
void plug (Connector &connector, EmuTime::param time)
 This method is called when this pluggable is inserted in a connector.
 
void unplug (EmuTime::param time)
 This method is called when this pluggable is removed from a connector.
 
ConnectorgetConnector () const
 Get the connector this Pluggable is plugged into.
 
bool isPluggedIn () const
 Returns true if this pluggable is currently plugged into a connector.
 

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 }
 
- Protected Member Functions inherited from openmsx::Pluggable
 Pluggable ()
 
void setConnector (Connector *conn)
 
- Protected Member Functions inherited from openmsx::SerialDataInterface
 ~SerialDataInterface ()=default
 

Detailed Description

Definition at line 8 of file DummyRS232Device.hh.

Member Function Documentation

◆ getDescription()

std::string_view openmsx::DummyRS232Device::getDescription ( ) const
overridevirtual

Description for this pluggable.

Implements openmsx::Pluggable.

Definition at line 10 of file DummyRS232Device.cc.

◆ plugHelper()

void openmsx::DummyRS232Device::plugHelper ( Connector connector,
EmuTime::param  time 
)
overridevirtual

Implements openmsx::Pluggable.

Definition at line 15 of file DummyRS232Device.cc.

◆ recvByte()

void openmsx::DummyRS232Device::recvByte ( byte  value,
EmuTime::param  time 
)
overridevirtual

Implements openmsx::SerialDataInterface.

Definition at line 24 of file DummyRS232Device.cc.

◆ signal()

void openmsx::DummyRS232Device::signal ( EmuTime::param  time)
overridevirtual

Implements openmsx::RS232Device.

Definition at line 5 of file DummyRS232Device.cc.

◆ unplugHelper()

void openmsx::DummyRS232Device::unplugHelper ( EmuTime::param  time)
overridevirtual

Implements openmsx::Pluggable.

Definition at line 20 of file DummyRS232Device.cc.


The documentation for this class was generated from the following files: