#include <stdr_parser_xml_file_writer.h>
Static Public Member Functions | |
template<class T > | |
static void | messageToFile (T msg, std::string file_name) |
Creates an xml file from a message - template member function. | |
template<class T > | |
static void | messageToXmlElement (T msg, TiXmlNode *base) |
Creates an xml element from a msg - template member function. | |
Private Member Functions | |
XmlFileWriter (void) | |
Default constructor. |
Definition at line 37 of file stdr_parser_xml_file_writer.h.
stdr_parser::XmlFileWriter::XmlFileWriter | ( | void | ) | [private] |
Default constructor.
Definition at line 31 of file stdr_parser_xml_file_writer.cpp.
void stdr_parser::XmlFileWriter::messageToFile | ( | T | msg, |
std::string | file_name | ||
) | [static] |
Creates an xml file from a message - template member function.
Template specialization for stdr_msgs::RobotMsg.
Template specialization for stdr_msgs::SoundSensorMsg.
Template specialization for stdr_msgs::ThermalSensorMsg.
Template specialization for stdr_msgs::CO2SensorMsg.
Template specialization for stdr_msgs::RfidSensorMsg.
Template specialization for stdr_msgs::SonarSensorMsg.
Template specialization for stdr_msgs::LaserSensorMsg.
Template specialization for stdr_msgs::Footprint.
Template specialization for stdr_msgs::Noise.
msg | [T] The message |
file_name | [std::string] The xml file name to write the message |
------------------------------------------------------------------ Template declaration for stdr_msgs::FootprintMsg
------------------------------------------------------------------ Template declaration for stdr_msgs::LaserSensorMsg
------------------------------------------------------------------ Template declaration for stdr_msgs::SonarSensorMsg
------------------------------------------------------------------ Template declaration for stdr_msgs::RfidSensorMsg
------------------------------------------------------------------ Template declaration for stdr_msgs::CO2SensorMsg
------------------------------------------------------------------ Template declaration for stdr_msgs::ThermalSensorMsg
------------------------------------------------------------------ Template declaration for stdr_msgs::SoundSensorMsg
------------------------------------------------------------------ Template declaration for stdr_msgs::RobotMsg
Definition at line 591 of file stdr_parser_xml_file_writer.cpp.
void stdr_parser::XmlFileWriter::messageToXmlElement | ( | T | msg, |
TiXmlNode * | base | ||
) | [static] |
Creates an xml element from a msg - template member function.
msg | [T] The message |
base | [TiXmlNode*] The xml node to write the message |
Definition at line 580 of file stdr_parser_xml_file_writer.cpp.