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

#include <MidiOutLogger.hh>

Inheritance diagram for openmsx::MidiOutLogger:
Inheritance graph
Collaboration diagram for openmsx::MidiOutLogger:
Collaboration graph

Public Member Functions

 MidiOutLogger (CommandController &commandController)
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. More...
std::string_view getDescription () const override
 Description for this pluggable. More...
void recvByte (byte value, EmuTime::param time) override
template<typename Archive >
void serialize (Archive &ar, unsigned version)
- Public Member Functions inherited from openmsx::MidiOutDevice
std::string_view getClass () const final
 A pluggable belongs to a certain class. More...
void setDataBits (DataBits bits) override
void setStopBits (StopBits bits) override
void setParityBit (bool enable, ParityBit parity) override
- 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. More...
void unplug (EmuTime::param time)
 This method is called when this pluggable is removed from a connector. 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

- Public Types inherited from openmsx::SerialDataInterface
enum  DataBits { DATA_5 = 5 , DATA_6 = 6 , DATA_7 = 7 , DATA_8 = 8 }
enum  StopBits { STOP_INV = 0 , STOP_1 = 2 , STOP_15 = 3 , STOP_2 = 4 }
enum  ParityBit { EVEN = 0 , ODD = 1 }
- Static Public Attributes inherited from openmsx::MidiOutDevice
static constexpr size_t MAX_MESSAGE_SIZE = 256
 The limit for the amount of data we'll put into one MIDI message. More...
- Protected Member Functions inherited from openmsx::MidiOutDevice
 MidiOutDevice ()=default
void clearBuffer ()
 Discard any buffered partial MIDI message. More...
virtual void recvMessage (const std::vector< uint8_t > &message, EmuTime::param time)
 Called when a full MIDI message is ready to be sent. More...
- Protected Member Functions inherited from openmsx::Pluggable
 Pluggable ()
void setConnector (Connector *conn)
- Protected Member Functions inherited from openmsx::SerialDataInterface
 ~SerialDataInterface ()=default

Detailed Description

Definition at line 12 of file MidiOutLogger.hh.

Constructor & Destructor Documentation

◆ MidiOutLogger()

openmsx::MidiOutLogger::MidiOutLogger ( CommandController commandController)

Definition at line 8 of file

Member Function Documentation

◆ getDescription()

std::string_view openmsx::MidiOutLogger::getDescription ( ) const

Description for this pluggable.

Implements openmsx::Pluggable.

Definition at line 36 of file

◆ getName()

std::string_view openmsx::MidiOutLogger::getName ( ) const

Name used to identify this pluggable.

Reimplemented from openmsx::Pluggable.

Definition at line 31 of file

◆ plugHelper()

void openmsx::MidiOutLogger::plugHelper ( Connector connector,
EmuTime::param  time 

◆ recvByte()

void openmsx::MidiOutLogger::recvByte ( byte  value,
EmuTime::param  time 

Reimplemented from openmsx::MidiOutDevice.

Definition at line 43 of file

◆ serialize()

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

Definition at line 52 of file

◆ unplugHelper()

void openmsx::MidiOutLogger::unplugHelper ( EmuTime::param  time)

Implements openmsx::Pluggable.

Definition at line 26 of file

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