Namespaces | Functions
RobotInstanceFactory Namespace Reference

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.

Function Documentation

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.

Parameters:
instanceA boost::shared_ptr to a RobotInstance object.
filenameThe *absolute* path to a robot instance file. (e.g., '/path/to/configuration/instances/instance.xml')
Exceptions:
std::runtime_errorIf there was an error parsing the file.

Definition at line 12 of file RobotInstanceFactory.cpp.



robot_instance
Author(s):
autogenerated on Sat Jun 8 2019 20:43:12