44 neighbors.push_back(neighborName);
std::string getName() const
Gets the name of the device.
bool isActive() const
Checks if the device is currently active.
void setActive(bool status)
Sets the device's active status.
Device(const std::string &deviceName)
Constructs a Device with the given name.
void addNeighbor(const std::string &neighborName)
Adds a neighbor to this device.
const std::vector< std::string > & getNeighbors() const
Gets a reference to the list of neighbors.