Go to the documentation of this file.
30 #ifndef EXOTICA_CORE_XML_LOADER_H_
31 #define EXOTICA_CORE_XML_LOADER_H_
54 void LoadXML(std::string file_name,
Initializer& solver,
Initializer& problem,
const std::string& solver_name =
"",
const std::string& problem_name =
"",
bool parsePathAsXML =
false);
55 static void Load(std::string file_name,
Initializer& solver,
Initializer& problem,
const std::string& solver_name =
"",
const std::string& problem_name =
"",
bool parsePathAsXML =
false)
57 Instance()->LoadXML(file_name, solver, problem, solver_name, problem_name, parsePathAsXML);
62 return Instance()->LoadXML(file_name, parsePathAsXML);
65 static std::shared_ptr<exotica::MotionSolver>
LoadSolver(
const std::string& file_name)
71 any_solver->SpecifyProblem(any_problem);
82 static std::shared_ptr<exotica::PlanningProblem>
LoadProblem(
const std::string& file_name)
95 #endif // EXOTICA_CORE_XML_LOADER_H_
static std::shared_ptr< exotica::PlanningProblem > LoadProblem(const std::string &file_name)
Definition: xml_loader.h:82
Definition: cartpole_dynamics_solver.h:38
static std::shared_ptr< XMLLoader > Instance()
Definition: xml_loader.h:43
static std::shared_ptr< exotica::MotionSolver > LoadSolver(const std::string &file_name)
Definition: xml_loader.h:65
Definition: xml_loader.h:40
static std::shared_ptr< exotica::PlanningProblem > CreateProblem(const std::string &type, bool prepend=true)
Definition: setup.h:65
static void Load(std::string file_name, Initializer &solver, Initializer &problem, const std::string &solver_name="", const std::string &problem_name="", bool parsePathAsXML=false)
Definition: xml_loader.h:55
Initializer LoadXML(std::string file_name, bool parsePathAsXML=false)
Definition: property.h:70
static std::shared_ptr< XMLLoader > instance_
Definition: xml_loader.h:91
std::shared_ptr< PlanningProblem > PlanningProblemPtr
Definition: planning_problem.h:116
static Initializer Load(std::string file_name, bool parsePathAsXML=false)
Definition: xml_loader.h:60
static std::shared_ptr< exotica::MotionSolver > LoadSolverStandalone(const std::string &file_name)
Definition: xml_loader.h:75
~XMLLoader() noexcept
Definition: xml_loader.h:49
static std::shared_ptr< exotica::MotionSolver > CreateSolver(const std::string &type, bool prepend=true)
Definition: setup.h:63
std::shared_ptr< exotica::MotionSolver > MotionSolverPtr
Definition: motion_solver.h:66