mhf::ObjectModelParser Class Reference
#include <ObjectModelParser.h>
List of all members.
Public Member Functions |
| std::string | getErrorMessage () const |
| | ObjectModelParser (const std::string &filename) |
| bool | parse (KnowledgeDatabase &obj_models) |
| virtual | ~ObjectModelParser () |
Protected Member Functions |
| bool | getAttributeValue (const TiXmlElement *elem, std::string att_name, double &att_value, std::stringstream &error) |
| bool | getAttributeValue (const TiXmlElement *elem, std::string att_name, std::string &att_value, std::stringstream &error) |
| std::string | getPropertyValue (const TiXmlElement *elem, std::string prop_name, double &value, std::stringstream &error, bool optional=false) |
| bool | getStateEstimatorParameter (const TiXmlElement *elem, const std::string ¶m_name, double &value) |
| bool | hasAttributeValue (const TiXmlElement *elem, std::string att_name, std::string att_value) |
| pbl::PDF * | parsePDF (const TiXmlElement *elem, std::stringstream &error) |
| bool | parseStateEstimator (ClassModel *obj_model, const TiXmlElement *elem, std::stringstream &error) |
Protected Attributes |
| std::string | filename_ |
pluginlib::ClassLoader
< IStateEstimator > * | object_model_loader_ |
| std::stringstream | parse_errors_ |
Detailed Description
Definition at line 25 of file ObjectModelParser.h.
Constructor & Destructor Documentation
| mhf::ObjectModelParser::ObjectModelParser |
( |
const std::string & |
filename |
) |
|
| mhf::ObjectModelParser::~ObjectModelParser |
( |
|
) |
[virtual] |
Member Function Documentation
| bool mhf::ObjectModelParser::getAttributeValue |
( |
const TiXmlElement * |
elem, |
|
|
std::string |
att_name, |
|
|
double & |
att_value, |
|
|
std::stringstream & |
error | |
|
) |
| | [protected] |
| bool mhf::ObjectModelParser::getAttributeValue |
( |
const TiXmlElement * |
elem, |
|
|
std::string |
att_name, |
|
|
std::string & |
att_value, |
|
|
std::stringstream & |
error | |
|
) |
| | [protected] |
| std::string mhf::ObjectModelParser::getErrorMessage |
( |
|
) |
const |
| std::string mhf::ObjectModelParser::getPropertyValue |
( |
const TiXmlElement * |
elem, |
|
|
std::string |
prop_name, |
|
|
double & |
value, |
|
|
std::stringstream & |
error, |
|
|
bool |
optional = false | |
|
) |
| | [protected] |
| bool mhf::ObjectModelParser::getStateEstimatorParameter |
( |
const TiXmlElement * |
elem, |
|
|
const std::string & |
param_name, |
|
|
double & |
value | |
|
) |
| | [protected] |
| bool mhf::ObjectModelParser::hasAttributeValue |
( |
const TiXmlElement * |
elem, |
|
|
std::string |
att_name, |
|
|
std::string |
att_value | |
|
) |
| | [protected] |
| pbl::PDF * mhf::ObjectModelParser::parsePDF |
( |
const TiXmlElement * |
elem, |
|
|
std::stringstream & |
error | |
|
) |
| | [protected] |
| bool mhf::ObjectModelParser::parseStateEstimator |
( |
ClassModel * |
obj_model, |
|
|
const TiXmlElement * |
elem, |
|
|
std::stringstream & |
error | |
|
) |
| | [protected] |
Member Data Documentation
The documentation for this class was generated from the following files: