Namespaces | |
namespace | Private |
Functions | |
RobotInstancePtr | createRobotInstanceFromFile (const std::string &configPath, const std::string &configSafetyPath, const std::string &filename) |
void | populateRobotInstanceFromFile (RobotInstancePtr instance, const std::string &configPath, const std::string &configSafetyPath, const std::string &filenameNoPath) |
Parses a robot instance populating member variables with file names for various configuration files. |
RobotInstancePtr RobotInstanceFactory::createRobotInstanceFromFile | ( | const std::string & | configPath, |
const std::string & | configSafetyPath, | ||
const std::string & | filename | ||
) |
void RobotInstanceFactory::populateRobotInstanceFromFile | ( | RobotInstancePtr | instance, |
const std::string & | configPath, | ||
const std::string & | configSafetyPath, | ||
const std::string & | filenameNoPath | ||
) |
Parses a robot instance populating member variables with file names for various configuration files.
instance | A boost::shared_ptr to a RobotInstance object. |
filename | The *absolute* path to a robot instance file. (e.g., '/path/to/configuration/instances/instance.xml') |
std::runtime_error | If there was an error parsing the file. |
Definition at line 12 of file RobotInstanceFactory.cpp.