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. More...
 
void setSignal (bool output, EmuTime::param time) override
 Sets the cassette output signal false = low true = high. More...
 
int16_t readSample (EmuTime::param time) override
 Read wave data from cassette device. More...
 
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
 
- Public Member Functions inherited from openmsx::CassetteDevice
std::string_view getClass () const final override
 A pluggable belongs to a certain class. More...
 
- Public Member Functions inherited from openmsx::Pluggable
virtual ~Pluggable ()=default
 
virtual const std::string & getName () const
 Name used to identify 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 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

- 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: