SaveConfigurationToFile¶
-
virtual void IController::SaveConfigurationToFile(const std::string &filename) = 0¶
Gets the configuration and writes it to the specified file in XML format.
- Parameters
filename – Name of file in which the configuration is stored in XML format.
- Throws
CAccessDeniedException
– Unable to open file for writing.CWriteErrorException
– Error while writing 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.