Searched refs:DeviceTree (Results 1 – 2 of 2) sorted by relevance
29 DeviceTree::DeviceTree(string name) in DeviceTree() function in DeviceTree35 DeviceTree::~DeviceTree() { in ~DeviceTree()37 for (std::map<string, DeviceTree*>::iterator itr = subdevices_.begin(); in ~DeviceTree()53 DeviceTree *DeviceTree::FindInSubTree(string name) { in FindInSubTree()54 DeviceTree *ret; in FindInSubTree()63 DeviceTree *DeviceTree::UnlockedFindInSubTree(string name) { in UnlockedFindInSubTree()64 std::map<string, DeviceTree*>::iterator itr = subdevices_.find(name); in UnlockedFindInSubTree()69 for (std::map<string, DeviceTree*>::iterator itr = subdevices_.begin(); in UnlockedFindInSubTree()72 DeviceTree *result = itr->second->UnlockedFindInSubTree(name); in UnlockedFindInSubTree()81 void DeviceTree::AddErrorInstance(ErrorInstance *error_instance) { in AddErrorInstance()[all …]
34 class DeviceTree {36 explicit DeviceTree(string name);37 ~DeviceTree();40 DeviceTree *FindInSubTree(string name);42 DeviceTree *FindOrAddDevice(string name);46 DeviceTree *GetParent() { return parent_; } in GetParent()58 DeviceTree *UnlockedFindInSubTree(string name);60 std::map<string, DeviceTree*> subdevices_; // Map of sub-devices.62 DeviceTree *parent_; // Pointer to parent device.89 std::set<DeviceTree*> causes_; // Devices that can cause this type of error.[all …]