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

#include <AudioInputConnector.hh>

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

Public Member Functions

 AudioInputConnector (PluggingController &pluggingController, std::string name)
 
AudioInputDevicegetPluggedAudioDev () const
 
string_view getDescription () const final override
 Get a description for this connector. More...
 
string_view getClass () const final override
 A Connector belong to a certain class. More...
 
int16_t readSample (EmuTime::param time) const
 
template<typename Archive >
void serialize (Archive &ar, unsigned version)
 
- Public Member Functions inherited from openmsx::Connector
 Connector (const Connector &)=delete
 
Connectoroperator= (const Connector &)=delete
 
const std::string & getName () const
 Name that identifies this connector. More...
 
virtual void plug (Pluggable &device, EmuTime::param time)
 This plugs a Pluggable in this Connector. More...
 
virtual void unplug (EmuTime::param time)
 This unplugs the currently inserted Pluggable from this Connector. More...
 
PluggablegetPlugged () const
 Returns the Pluggable currently plugged in. More...
 
PluggingControllergetPluggingController () const
 
template<typename Archive >
void serialize (Archive &ar, unsigned version)
 

Additional Inherited Members

- Protected Member Functions inherited from openmsx::Connector
 Connector (PluggingController &pluggingController, std::string name, std::unique_ptr< Pluggable > dummy)
 Creates a new Connector. More...
 
 ~Connector ()
 

Detailed Description

Definition at line 11 of file AudioInputConnector.hh.

Constructor & Destructor Documentation

◆ AudioInputConnector()

openmsx::AudioInputConnector::AudioInputConnector ( PluggingController pluggingController,
std::string  name 
)

Definition at line 10 of file AudioInputConnector.cc.

Member Function Documentation

◆ getClass()

string_view openmsx::AudioInputConnector::getClass ( ) const
finaloverridevirtual

A Connector belong to a certain class.

Only Pluggables of this class can be plugged in this Connector.

Implements openmsx::Connector.

Definition at line 22 of file AudioInputConnector.cc.

◆ getDescription()

string_view openmsx::AudioInputConnector::getDescription ( ) const
finaloverridevirtual

Get a description for this connector.

Implements openmsx::Connector.

Definition at line 17 of file AudioInputConnector.cc.

◆ getPluggedAudioDev()

AudioInputDevice & openmsx::AudioInputConnector::getPluggedAudioDev ( ) const

Definition at line 32 of file AudioInputConnector.cc.

Referenced by readSample().

◆ readSample()

int16_t openmsx::AudioInputConnector::readSample ( EmuTime::param  time) const

◆ serialize()

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

Definition at line 38 of file AudioInputConnector.cc.


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