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

#include <MidiInReader.hh>

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

Public Member Functions

 MidiInReader (EventDistributor &eventDistributor, Scheduler &scheduler, CommandController &commandController)
 
 ~MidiInReader ()
 
void plugHelper (Connector &connector, EmuTime::param time) override
 
void unplugHelper (EmuTime::param time) override
 
const std::string & getName () const override
 Name used to identify this pluggable. More...
 
string_ref getDescription () const override
 Description for this pluggable. More...
 
void signal (EmuTime::param time) override
 
template<typename Archive >
void serialize (Archive &ar, unsigned version)
 
- Public Member Functions inherited from openmsx::MidiInDevice
string_ref getClass () const finaloverride
 A pluggable belongs to a certain class. More...
 
- Public Member Functions inherited from openmsx::Pluggable
virtual ~Pluggable ()
 
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 21 of file MidiInReader.hh.

Constructor & Destructor Documentation

openmsx::MidiInReader::MidiInReader ( EventDistributor eventDistributor,
Scheduler scheduler,
CommandController commandController 
)
openmsx::MidiInReader::~MidiInReader ( )

Member Function Documentation

string_ref openmsx::MidiInReader::getDescription ( ) const
overridevirtual

Description for this pluggable.

Implements openmsx::Pluggable.

Definition at line 69 of file MidiInReader.cc.

const string & openmsx::MidiInReader::getName ( ) const
overridevirtual

Name used to identify this pluggable.

Reimplemented from openmsx::Pluggable.

Definition at line 63 of file MidiInReader.cc.

void openmsx::MidiInReader::plugHelper ( Connector connector,
EmuTime::param  time 
)
overridevirtual
template<typename Archive >
void openmsx::MidiInReader::serialize ( Archive &  ar,
unsigned  version 
)

Definition at line 134 of file MidiInReader.cc.

void openmsx::MidiInReader::signal ( EmuTime::param  time)
overridevirtual
void openmsx::MidiInReader::unplugHelper ( EmuTime::param  time)
overridevirtual

Implements openmsx::Pluggable.

Definition at line 56 of file MidiInReader.cc.

References openmsx::Thread::stop().


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