20 friend class ComponentHandler;
32 : m_name { std::move(name) } {}
41 : m_name { std::move(name) },
42 m_uuid { std::move(uuid) } {}
71 m_name = std::move(name);
80 void set_uuid(std::string uuid) {
81 m_uuid = std::move(uuid);
84 std::string m_name {};
85 std::string m_uuid {};
Holds the common info for all SDK components.
Definition component.h:18
void set_name(std::string name)
Sets the name of the component.
Definition component.h:70
Component(std::string name, std::string uuid)
The name and UUID constructor.
Definition component.h:40
Component()=default
The default constructor.
Component(std::string name)
The name constructor.
Definition component.h:31
std::string get_name() const
Gets the name of the component.
Definition component.h:51
std::string get_uuid() const
Gets the uuid of the component.
Definition component.h:60