34 dev.second->print(s, 0);
51 void addDeviceConfig(
const std::string name, std::shared_ptr<DeviceConfig> config);
friend std::ostream & operator<<(std::ostream &stream, const HardwareConfig &rhs)
Print a representation of the entire structure.
void addDeviceConfig(const std::string name, std::shared_ptr< DeviceConfig > config)
Add a DeviceConfig.
void onParsingFinished()
This method is called when the config is completely read form the HardwareConfig file.
bool checkAllItemsRead(std::vector< std::string > &errors) const
This method is called when the config is completely read form the HardwareConfig file.
DeviceConfig & getDeviceConfig(std::string name)
std::map< std::string, std::shared_ptr< DeviceConfig > > deviceConfigs