LoadConfiguration¶
-
virtual void IController::LoadConfiguration(const std::string &xml, const std::map<std::string, std::string> &variants) = 0¶
Load configuration from the specified XML string, after processing selected variants.
- Parameters
xml – String containing XML configuration.
variants – Selected variants, use variant name as key and value as value.
- Throws
CInvalidFormatException
– Invalid XML contents (see exception message for details).CInvalidOperationException
– Invalid state to load XML contents (see exception message for details).CResourceBusyException
– Resource is in use and cannot be (re-)configured, e.g. updatable.COutOfResourcesException
– Insufficient resources to create requested configuration, e.g. parameter sets or matrices.CIncompatibleException
– Incompatible firmware version loaded.CObjectDestroyedException
– Object is destroyed.