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

#include <RS232Tester.hh>

Inheritance diagram for openmsx::RS232Tester:
Inheritance graph
Collaboration diagram for openmsx::RS232Tester:
Collaboration graph

Public Member Functions

 RS232Tester (EventDistributor &eventDistributor, Scheduler &scheduler, CommandController &commandController)
 ~RS232Tester () override
void plugHelper (Connector &connector, EmuTime::param time) override
void unplugHelper (EmuTime::param time) override
std::string_view getName () const override
 Name used to identify this pluggable. More...
std::string_view getDescription () const override
 Description for this pluggable. More...
void signal (EmuTime::param time) override
void recvByte (byte value, EmuTime::param time) override
template<typename Archive >
void serialize (Archive &ar, unsigned version)
- Public Member Functions inherited from openmsx::RS232Device
std::string_view getClass () const final
 A pluggable belongs to a certain class. More...
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)
- Public Member Functions inherited from openmsx::Pluggable
virtual ~Pluggable ()=default
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...
ConnectorgetConnector () 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...

Additional Inherited Members

- Public Types inherited from openmsx::SerialDataInterface
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 }
- 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 22 of file RS232Tester.hh.

Constructor & Destructor Documentation

◆ RS232Tester()

openmsx::RS232Tester::RS232Tester ( EventDistributor eventDistributor,
Scheduler scheduler,
CommandController commandController 

◆ ~RS232Tester()

openmsx::RS232Tester::~RS232Tester ( )

Member Function Documentation

◆ getDescription()

std::string_view openmsx::RS232Tester::getDescription ( ) const

Description for this pluggable.

Implements openmsx::Pluggable.

Definition at line 77 of file

◆ getName()

std::string_view openmsx::RS232Tester::getName ( ) const

Name used to identify this pluggable.

Reimplemented from openmsx::Pluggable.

Definition at line 72 of file

◆ plugHelper()

void openmsx::RS232Tester::plugHelper ( Connector connector,
EmuTime::param  time 

◆ recvByte()

void openmsx::RS232Tester::recvByte ( byte  value,
EmuTime::param  time 

Implements openmsx::SerialDataInterface.

Definition at line 140 of file

◆ serialize()

template<typename Archive >
void openmsx::RS232Tester::serialize ( Archive &  ar,
unsigned  version 

Definition at line 150 of file

◆ signal()

void openmsx::RS232Tester::signal ( EmuTime::param  time)

◆ unplugHelper()

void openmsx::RS232Tester::unplugHelper ( EmuTime::param  time)

Implements openmsx::Pluggable.

Definition at line 61 of file

References openmsx::Poller::abort().

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