19 return "MIDI-in connector";
29 return *checked_cast<MidiInDevice*>(&
getPlugged());
32template<
typename Archive>
35 ar.template serializeBase<Connector>(*
this);
Represents something you can plug devices into.
Pluggable & getPlugged() const
Returns the Pluggable currently plugged in.
std::string_view getClass() const final
A Connector belong to a certain class.
MidiInDevice & getPluggedMidiInDev() const
std::string_view getDescription() const final
Get a description for this connector.
MidiInConnector(PluggingController &pluggingController, std::string name)
void serialize(Archive &ar, unsigned version)
Central administration of Connectors and Pluggables.
This file implemented 3 utility functions:
#define INSTANTIATE_SERIALIZE_METHODS(CLASS)