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
 
std::string_view getDescription () const override
 Get a description for this connector.
 
std::string_view getClass () const override
 A Connector belong to a certain class.
 
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
 
 Connector (Connector &&)=delete
 
Connectoroperator= (const Connector &)=delete
 
Connectoroperator= (Connector &&)=delete
 
const std::string & getName () const
 Name that identifies this connector.
 
virtual void plug (Pluggable &device, EmuTime::param time)
 This plugs a Pluggable in this Connector.
 
virtual void unplug (EmuTime::param time)
 This unplugs the currently inserted Pluggable from this Connector.
 
PluggablegetPlugged () const
 Returns the Pluggable currently plugged in.
 
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.
 
 ~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()

std::string_view openmsx::AudioInputConnector::getClass ( ) const
overridevirtual

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()

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

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.

References openmsx::Connector::getPlugged().

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: