openMSX
Public Member Functions | List of all members
openmsx::MidiInALSA Class Referencefinal
Inheritance diagram for openmsx::MidiInALSA:
Inheritance graph
[legend]
Collaboration diagram for openmsx::MidiInALSA:
Collaboration graph
[legend]

Public Member Functions

 MidiInALSA (EventDistributor &eventDistributor, Scheduler &scheduler, snd_seq_t &seq, snd_seq_client_info_t &cinfo, snd_seq_port_info_t &pinfo)
 
 ~MidiInALSA () override
 
void plugHelper (Connector &connector, EmuTime::param time) override
 
void unplugHelper (EmuTime::param time) override
 
std::string_view getName () const override
 Name used to identify this pluggable.
 
std::string_view getDescription () const override
 Description for this pluggable.
 
void signal (EmuTime::param time) override
 
template<typename Archive >
void serialize (Archive &ar, unsigned version)
 
- Public Member Functions inherited from openmsx::MidiInDevice
std::string_view getClass () const final
 A pluggable belongs to a certain class.
 
- 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.
 
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 179 of file MidiSessionALSA.cc.

Constructor & Destructor Documentation

◆ MidiInALSA()

openmsx::MidiInALSA::MidiInALSA ( EventDistributor eventDistributor,
Scheduler scheduler,
snd_seq_t &  seq,
snd_seq_client_info_t &  cinfo,
snd_seq_port_info_t &  pinfo 
)

◆ ~MidiInALSA()

openmsx::MidiInALSA::~MidiInALSA ( )
override

Member Function Documentation

◆ getDescription()

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

Description for this pluggable.

Implements openmsx::Pluggable.

Definition at line 391 of file MidiSessionALSA.cc.

◆ getName()

std::string_view openmsx::MidiInALSA::getName ( ) const
overridevirtual

Name used to identify this pluggable.

Reimplemented from openmsx::Pluggable.

Definition at line 386 of file MidiSessionALSA.cc.

◆ plugHelper()

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

◆ serialize()

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

Definition at line 397 of file MidiSessionALSA.cc.

◆ signal()

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

◆ unplugHelper()

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

Implements openmsx::Pluggable.

Definition at line 263 of file MidiSessionALSA.cc.


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