// Represent a Bluetooth Device // - Provide Get*() and Set*() functions for device attributes. class Device { public: // Unique device identifier. const uint32_t id_;
Device(); virtual ~Device() = default;
// Return a string representation of the type of device. virtual std::string GetTypeString() const = 0;
// Return the string representation of the device. virtual std::string ToString() const;
// Set the device's Bluetooth address. void SetAddress(Address address) { address_.address = address.address; }
// Get the device's Bluetooth address. const Address& GetAddress() const { return address_; }
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.