42 BasicNode(
const std::string& uuid,
const std::string& name,
const std::string& deviceClass)
43 : _uuid(uuid), _name(name), _deviceClass(deviceClass) { }
50 virtual const std::string&
GetUUID()
const override 60 virtual const std::string&
GetName()
const override virtual const std::string & GetDeviceClass() const override
Get the class of the underlying device.
std::string _uuid
The unique identifier of the node.
virtual const std::string & GetUUID() const override
Get the unique identifier of the node.
std::string _deviceClass
Device class.
virtual const std::string & GetName() const override
Returns the (possibly non-unique) name of the node.
BasicNode(const std::string &uuid, const std::string &name, const std::string &deviceClass)
Construct a new BasicNode object.
std::string _name
The name of the node.
Represents a Node the Endpoint knows about and can send messages to.
A simple Node with a UUID.