CreateControllersFromFile¶
-
virtual void ISystem::CreateControllersFromFile(const std::string &filename) = 0¶
Creates simulated controllers from an XML system description stored in file.
- Parameters
filename – Name of file containing XML system description.
- Throws
CInvalidFormatException
– Invalid XML contents (see exception message for details).CInvalidConfigException
– Simulator service cannot start/locate the simulator executable.COutOfResourcesException
– Maximum number of controllers or pipes reached (limited by simulator service platform hardware resources).CTimeoutException
– Simulator service communication timeout.CAccessDeniedException
– Unable to open file for reading.CReadErrorException
– Error while reading from the specified file.CCommunicationErrorException
– Protocol error.