LoadConfigurationFromFile¶
-
virtual void IController::LoadConfigurationFromFile(const std::string &filename) = 0¶
Load configuration from the specified XML file.
- Parameters
filename – Name of file 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.CAccessDeniedException
– Unable to open file for reading.CReadErrorException
– Error while reading from the specified file.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.