LoadConfiguration¶
-
virtual void IController::LoadConfiguration(const std::string &xml) = 0¶
Load configuration from the specified XML string.
- Parameters
xml – String containing XML configuration.
- 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.CCommunicationErrorException– Protocol error.CConnectionLostException– Connection to controller lost.CRebootedException– Controller has been rebooted since this object reference was retrieved, invalidating this reference.CIncompatibleException– Incompatible firmware version loaded.CObjectDestroyedException– Object is destroyed.