11 commandController,
"midi-out-logfilename",
12 "filename of the file where the MIDI output is logged to",
34 return "midi-out-logger";
39 return "Midi output logger. Log all data that is sent to this "
40 "pluggable to a file. The filename is set with the "
41 "'midi-out-logfilename' setting.";
47 file.put(narrow_cast<char>(value));
52template<
typename Archive>
Represents something you can plug devices into.
zstring_view getString() const noexcept
std::string_view getName() const override
Name used to identify this pluggable.
void plugHelper(Connector &connector, EmuTime::param time) override
MidiOutLogger(CommandController &commandController)
void unplugHelper(EmuTime::param time) override
void recvByte(byte value, EmuTime::param time) override
std::string_view getDescription() const override
Description for this pluggable.
void serialize(Archive &ar, unsigned version)
Thrown when a plug action fails.
void openOfStream(std::ofstream &stream, zstring_view filename)
Open an ofstream in a platform-independent manner.
This file implemented 3 utility functions:
#define INSTANTIATE_SERIALIZE_METHODS(CLASS)