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

#include <RS232Tester.hh>

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

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
 
const std::string & 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 override
 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 conector. 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 ( )
override

Member Function Documentation

◆ getDescription()

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

◆ getName()

const std::string & openmsx::RS232Tester::getName ( ) const
overridevirtual

Name used to identify this pluggable.

Reimplemented from openmsx::Pluggable.

Definition at line 72 of file RS232Tester.cc.

◆ plugHelper()

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

◆ recvByte()

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

Implements openmsx::SerialDataInterface.

Definition at line 141 of file RS232Tester.cc.

◆ serialize()

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

Definition at line 151 of file RS232Tester.cc.

◆ signal()

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

◆ unplugHelper()

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

Implements openmsx::Pluggable.

Definition at line 61 of file RS232Tester.cc.

References openmsx::Poller::abort().


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