// Create customized devices from a centralized shop. class DeviceBoutique { public:
DeviceBoutique(); virtual ~DeviceBoutique() = default;
// Register a constructor for a device type. staticboolRegister(
std::string const& device_type,
std::function<std::shared_ptr<Device>(const std::vector<std::string>&)> method);
// Call the function that matches arg[0] with args static std::shared_ptr<Device> Create(const std::vector<std::string>& args);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.