19 return "Serial RS232 connector";
29 return *checked_cast<RS232Device*>(&
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.
Central administration of Connectors and Pluggables.
std::string_view getClass() const final
A Connector belong to a certain class.
RS232Connector(PluggingController &pluggingController, std::string name)
RS232Device & getPluggedRS232Dev() const
std::string_view getDescription() const final
Get a description for this connector.
void serialize(Archive &ar, unsigned version)
This file implemented 3 utility functions:
#define INSTANTIATE_SERIALIZE_METHODS(CLASS)