typedef std::shared_ptr<FrictionBase> mvsim::FrictionBasePtr |
Definition at line 70 of file FrictionBase.h.
typedef ClassFactory<FrictionBase, VehicleBase&, const rapidxml::xml_node<char>*> mvsim::TClassFactory_friction |
Definition at line 75 of file FrictionBase.h.
typedef ClassFactory<SensorBase, VehicleBase&, const rapidxml::xml_node<char>*> mvsim::TClassFactory_sensors |
Definition at line 48 of file SensorBase.h.
Definition at line 293 of file VehicleBase.h.
typedef ClassFactory<WorldElementBase, World*, const rapidxml::xml_node<char>*> mvsim::TClassFactory_worldElements |
Definition at line 39 of file WorldElementBase.h.
bool mvsim::parse_xmlnode_as_param | ( | const rapidxml::xml_node< char > & | xml_node, |
const std::map< std::string, TParamEntry > & | params, | ||
const char * | function_name_context = "" |
||
) |
Check whether the given XML node name matches any of the param list
Definition at line 176 of file xml_utils.cpp.
void mvsim::parse_xmlnode_attribs | ( | const rapidxml::xml_node< char > & | xml_node, |
const std::map< std::string, TParamEntry > & | params, | ||
const char * | function_name_context = "" |
||
) |
Definition at line 160 of file xml_utils.cpp.
void mvsim::parse_xmlnode_children_as_param | ( | const rapidxml::xml_node< char > & | root, |
const std::map< std::string, TParamEntry > & | params, | ||
const char * | function_name_context = "" |
||
) |
Call parse_xmlnode_as_param() for all children nodes of the given node.
Definition at line 196 of file xml_utils.cpp.
void mvsim::parse_xmlnode_shape | ( | const rapidxml::xml_node< char > & | xml_node, |
mrpt::math::TPolygon2D & | out_poly, | ||
const char * | function_name_context = "" |
||
) |
Parses a <shape><pt>X Y</pt>...</shape> XML node into a mrpt::math::TPolygon2D
std::exception | On syntax errors, etc. |
Definition at line 239 of file xml_utils.cpp.
void mvsim::parse_xmlnodelist_children_as_param | ( | NODE_LIST & | lst_nodes, |
const std::map< std::string, TParamEntry > & | params, | ||
const char * | function_name_context = "" |
||
) |
Definition at line 80 of file xml_utils.h.
vec3 mvsim::parseXYPHI | ( | const std::string & | s, |
bool | allow_missing_angle = false , |
||
double | default_angle_radians = 0.0 |
||
) |
Parses a string like "XXX YYY PHI" with X,Y in meters, PHI in degrees, and returns a vec3 with [x,y,phi] with angle in radians. Raises an exception upon malformed string.
Definition at line 214 of file xml_utils.cpp.
Definition at line 18 of file FrictionBase.cpp.
Definition at line 28 of file SensorBase.cpp.
Definition at line 37 of file VehicleBase.cpp.
Definition at line 33 of file WorldElementBase.cpp.