TinyURDF 1.0.0
A Modern C++ Library for Parsing and Visualizing URDF Model Files
Loading...
Searching...
No Matches
PoseParser Class Reference

Elementary parser for minimal pose description. More...

#include <pose_parser.h>

Inheritance diagram for PoseParser:
[legend]
Collaboration diagram for PoseParser:
[legend]

Public Member Functions

 PoseParser ()
 
void print (std::ostream &os) override
 
bool empty () const override
 
void clear () override
 
const char * getTypename () override
 
bool isA (const char *name) override
 
void parse (const tinyxml2::XMLElement *xml) override
 
std::shared_ptr< Poseget () override
 
- Public Member Functions inherited from ParserBase< Pose >
const char * getNameOf (const tinyxml2::XMLElement *xml)
 
void parse (const tinyxml2::XMLElement *xml)
 
void parse (const tinyxml2::XMLElement *xml)
 

Additional Inherited Members

- Protected Member Functions inherited from ParserBase< Pose >
 ParserBase ()
 
virtual ~ParserBase ()
 
- Protected Member Functions inherited from ObjectBase
 ObjectBase ()
 
virtual ~ObjectBase ()
 
virtual ObjectBasegetPointer ()
 
- Protected Attributes inherited from ParserBase< Pose >
std::shared_ptr< PoseTptr
 

Detailed Description

Elementary parser for minimal pose description.

Note
This is an elementary base parser.
<origin xyz="0 1 0" rpy="0 0 0"/>
Another class, for example, named NamedPoseParser, extends the functionalities to support:
<origin xyz="0 1 0" rpy="0 0 0" reference="bla bla.."/>
where reference can be a link, joint, ground, etc.

Constructor & Destructor Documentation

◆ PoseParser()

PoseParser::PoseParser ( )
inline

Member Function Documentation

◆ clear()

void PoseParser::clear ( )
inlineoverridevirtual

Implements ObjectBase.

◆ empty()

bool PoseParser::empty ( ) const
inlineoverridevirtual

Implements ObjectBase.

◆ get()

std::shared_ptr< Pose > PoseParser::get ( )
inlineoverridevirtual

Reimplemented from ParserBase< Pose >.

◆ getTypename()

const char * PoseParser::getTypename ( )
inlineoverridevirtual

Implements ObjectBase.

◆ isA()

bool PoseParser::isA ( const char *  name)
inlineoverridevirtual

Implements ObjectBase.

◆ parse()

void PoseParser::parse ( const tinyxml2::XMLElement *  xml)
inlineoverridevirtual

Reimplemented from ParserBase< Pose >.

◆ print()

void PoseParser::print ( std::ostream &  os)
inlineoverridevirtual

Implements ObjectBase.


The documentation for this class was generated from the following file: