openMSX
|
#include <MidiOutLogger.hh>
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. | |
std::string_view | getDescription () const override |
Description for this pluggable. | |
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. | |
void | setDataBits (DataBits bits) override |
void | setStopBits (StopBits bits) override |
void | setParityBit (bool enable, Parity 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. | |
void | unplug (EmuTime::param time) |
This method is called when this pluggable is removed from a connector. | |
Connector * | getConnector () 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 | |
Public Types inherited from openmsx::SerialDataInterface | |
enum class | DataBits { D5 = 5 , D6 = 6 , D7 = 7 , D8 = 8 } |
enum class | StopBits { INV = 0 , S1 = 2 , S1_5 = 3 , S2 = 4 } |
enum class | Parity { 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. | |
Protected Member Functions inherited from openmsx::MidiOutDevice | |
MidiOutDevice ()=default | |
void | clearBuffer () |
Discard any buffered partial MIDI message. | |
virtual void | recvMessage (const std::vector< uint8_t > &message, EmuTime::param time) |
Called when a full MIDI message is ready to be sent. | |
Protected Member Functions inherited from openmsx::Pluggable | |
Pluggable () | |
void | setConnector (Connector *conn) |
Protected Member Functions inherited from openmsx::SerialDataInterface | |
~SerialDataInterface ()=default | |
Definition at line 12 of file MidiOutLogger.hh.
|
explicit |
Definition at line 9 of file MidiOutLogger.cc.
|
overridevirtual |
Description for this pluggable.
Implements openmsx::Pluggable.
Definition at line 37 of file MidiOutLogger.cc.
|
overridevirtual |
Name used to identify this pluggable.
Reimplemented from openmsx::Pluggable.
Definition at line 32 of file MidiOutLogger.cc.
|
overridevirtual |
Implements openmsx::Pluggable.
Definition at line 17 of file MidiOutLogger.cc.
References openmsx::FilenameSetting::getString(), and openmsx::FileOperations::openOfStream().
|
overridevirtual |
Reimplemented from openmsx::MidiOutDevice.
Definition at line 44 of file MidiOutLogger.cc.
void openmsx::MidiOutLogger::serialize | ( | Archive & | ar, |
unsigned | version | ||
) |
Definition at line 53 of file MidiOutLogger.cc.
|
overridevirtual |
Implements openmsx::Pluggable.
Definition at line 27 of file MidiOutLogger.cc.