32 #ifndef CPARSERBASE_HPP_
33 #define CPARSERBASE_HPP_
36 #include <scl/data_structs/SRigidBody.hpp>
37 #include <scl/data_structs/SRobotParsed.hpp>
38 #include <scl/data_structs/SGraphicsParsed.hpp>
39 #include <scl/data_structs/SActuatorSetMuscleParsed.hpp>
40 #include <scl/data_structs/SUIParsed.hpp>
42 #include <scl/control/gc/data_structs/SControllerGc.hpp>
43 #include <scl/control/task/data_structs/SControllerMultiTask.hpp>
47 #include <Eigen/Eigen>
48 #include <scl/DataTypes.hpp>
68 std::vector<std::string>& arg_robot_names)=0;
87 const std::string& arg_robot_name,
98 const std::string &arg_file)
104 std::vector<std::string>& arg_msys_names)
109 const std::string& arg_msys_name,
116 std::vector<std::string>& arg_graphics_names)
122 const std::string &arg_graphics_name,
131 std::vector<std::string>& arg_ui_spec_names)
137 const std::string &arg_ui_spec_name,
145 std::vector<std::pair<std::string,std::string> > &arg_ctrl_name_and_type)
152 const std::string &arg_ctrl_name,
153 std::string &ret_must_use_robot,
161 const std::string &arg_ctrl_name,
162 std::string &ret_must_use_robot,
166 std::vector<scl::STaskBase*> &ret_taskvec,
167 std::vector<scl::SNonControlTaskBase*> &ret_task_non_ctrl_vec)
virtual bool listGraphicsInFile(const std::string &arg_file, std::vector< std::string > &arg_graphics_names)
Definition: CParserBase.hpp:115
virtual ~CParserBase()
Definition: CParserBase.hpp:63
virtual bool readGcControllerFromFile(const std::string &arg_file, const std::string &arg_ctrl_name, std::string &ret_must_use_robot, scl::SControllerGc &arg_ctrl)
Definition: CParserBase.hpp:151
virtual bool listUISpecsInFile(const std::string &arg_file, std::vector< std::string > &arg_ui_spec_names)
Definition: CParserBase.hpp:130
Definition: SRobotParsed.hpp:51
virtual bool readRobotFromFile(const std::string &arg_file, const std::string &arg_robot_name, scl::SRobotParsed &arg_robot)=0
virtual bool listRobotsInFile(const std::string &arg_file, std::vector< std::string > &arg_robot_names)=0
Definition: CParserBase.hpp:56
virtual bool readUISpecFromFile(const std::string &arg_file, const std::string &arg_ui_spec_name, scl::SUIParsed &arg_ui_spec)
Definition: CParserBase.hpp:136
virtual bool readGraphicsFromFile(const std::string &arg_file, const std::string &arg_graphics_name, scl::SGraphicsParsed &arg_graphics)
Definition: CParserBase.hpp:121
Definition: SActuatorSetMuscleParsed.hpp:124
Definition: SUIParsed.hpp:55
virtual bool listMuscleSysInFile(const std::string &arg_file, std::vector< std::string > &arg_msys_names)
Definition: CParserBase.hpp:103
virtual bool listControllersInFile(const std::string &arg_file, std::vector< std::pair< std::string, std::string > > &arg_ctrl_name_and_type)
Definition: CParserBase.hpp:144
virtual bool readMuscleSysFromFile(const std::string &arg_file, const std::string &arg_msys_name, scl::SActuatorSetMuscleParsed &arg_msys)
Definition: CParserBase.hpp:108
Definition: SGraphicsParsed.hpp:48
Definition: SControllerGc.hpp:55
virtual bool readTaskControllerFromFile(const std::string &arg_file, const std::string &arg_ctrl_name, std::string &ret_must_use_robot, std::vector< scl::STaskBase * > &ret_taskvec, std::vector< scl::SNonControlTaskBase * > &ret_task_non_ctrl_vec)
Definition: CParserBase.hpp:160
CParserBase()
Definition: CParserBase.hpp:60
virtual bool saveRobotToFile(scl::SRobotParsed &arg_robot, const std::string &arg_file)
Definition: CParserBase.hpp:97