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

#include <DummyCassetteDevice.hh>

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

Public Member Functions

void setMotor (bool status, EmuTime::param time) override
 Sets the cassette motor relay false = off true = on.
 
void setSignal (bool output, EmuTime::param time) override
 Sets the cassette output signal false = low true = high.
 
int16_t readSample (EmuTime::param time) override
 Read wave data from cassette device.
 
std::string_view getDescription () const override
 Description for this pluggable.
 
void plugHelper (Connector &connector, EmuTime::param time) override
 
void unplugHelper (EmuTime::param time) override
 
- Public Member Functions inherited from openmsx::CassetteDevice
std::string_view getClass () const final
 A pluggable belongs to a certain class.
 
- 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

- Protected Member Functions inherited from openmsx::Pluggable
 Pluggable ()
 
void setConnector (Connector *conn)
 

Detailed Description

Definition at line 8 of file DummyCassetteDevice.hh.

Member Function Documentation

◆ getDescription()

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

Description for this pluggable.

Implements openmsx::Pluggable.

Definition at line 20 of file DummyCassetteDevice.cc.

◆ plugHelper()

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

Implements openmsx::Pluggable.

Definition at line 25 of file DummyCassetteDevice.cc.

◆ readSample()

int16_t openmsx::DummyCassetteDevice::readSample ( EmuTime::param  time)
overridevirtual

Read wave data from cassette device.

Implements openmsx::CassetteDevice.

Definition at line 10 of file DummyCassetteDevice.cc.

◆ setMotor()

void openmsx::DummyCassetteDevice::setMotor ( bool  status,
EmuTime::param  time 
)
overridevirtual

Sets the cassette motor relay false = off true = on.

Implements openmsx::CassetteDevice.

Definition at line 5 of file DummyCassetteDevice.cc.

◆ setSignal()

void openmsx::DummyCassetteDevice::setSignal ( bool  output,
EmuTime::param  time 
)
overridevirtual

Sets the cassette output signal false = low true = high.

Implements openmsx::CassetteDevice.

Definition at line 15 of file DummyCassetteDevice.cc.

◆ unplugHelper()

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

Implements openmsx::Pluggable.

Definition at line 30 of file DummyCassetteDevice.cc.


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