|
|
Root of the config structure. More...
#include <armarx/control/hardware_config/HardwareConfig.h>
Public Member Functions | |
| void | addDeviceConfig (const std::string name, std::shared_ptr< DeviceConfig > config) |
| Add a DeviceConfig. | |
| 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) |
| HardwareConfig () | |
| void | onParsingFinished () |
| This method is called when the config is completely read form the HardwareConfig file. | |
Public Attributes | |
| std::map< std::string, std::shared_ptr< DeviceConfig > > | deviceConfigs |
Friends | |
| std::ostream & | operator<< (std::ostream &stream, const HardwareConfig &rhs) |
| Print a representation of the entire structure. | |
Root of the config structure.
| HardwareConfig | ( | ) |
| void addDeviceConfig | ( | const std::string | name, |
| std::shared_ptr< DeviceConfig > | config ) |
Add a DeviceConfig.
| name | the DeviceConfig name |
| config | the DeviceConfig object |
| bool checkAllItemsRead | ( | std::vector< std::string > & | errors | ) | const |
This method is called when the config is completely read form the HardwareConfig file.
It starts the tracking of which item is read from this Config object.
| DeviceConfig & getDeviceConfig | ( | std::string | name | ) |
| void onParsingFinished | ( | ) |
This method is called when the config is completely read form the HardwareConfig file.
It starts the tracking of which item is read from this Config object.
|
friend |
Print a representation of the entire structure.
| stream | |
| rhs | the HardwareConfig structure to be printed |
| std::map<std::string, std::shared_ptr<DeviceConfig> > deviceConfigs |