TinyURDF 1.0.0
A Modern C++ Library for Parsing and Visualizing URDF Model Files
|
base class for representing a multi-body system More...
#include <model.h>
Public Member Functions | |
Model () | |
Model (const Model &rhs) | |
void | clear () override |
void | setName (const std::string &n) |
std::string | getName () const |
bool | isA (const char *name) override |
void | print (std::ostream &os) override |
const char * | getTypename () override |
bool | empty () const override |
void | setLink (std::shared_ptr< Link > link) |
void | setLink (std::vector< std::shared_ptr< Link > > link) |
void | setJoint (std::vector< std::shared_ptr< Joint > > joint) |
void | setJoint (std::shared_ptr< Joint > joint) |
void | setJoint (std::shared_ptr< Joint > joint, const std::string &parent, const std::string &child) |
std::vector< std::shared_ptr< Joint > > | getJoints () const |
std::vector< std::shared_ptr< Link > > | getLinks () const |
~Model () | |
Additional Inherited Members | |
Protected Member Functions inherited from ObjectBase | |
ObjectBase () | |
virtual | ~ObjectBase () |
virtual ObjectBase * | getPointer () |
base class for representing a multi-body system
Model::Model | ( | ) |
Model::Model | ( | const Model & | rhs | ) |
Model::~Model | ( | ) |
|
overridevirtual |
Implements ObjectBase.
|
overridevirtual |
Implements ObjectBase.
std::vector< std::shared_ptr< Joint > > Model::getJoints | ( | ) | const |
std::vector< std::shared_ptr< Link > > Model::getLinks | ( | ) | const |
std::string Model::getName | ( | ) | const |
|
overridevirtual |
Implements ObjectBase.
|
overridevirtual |
Implements ObjectBase.
|
overridevirtual |
Implements ObjectBase.
void Model::setJoint | ( | std::shared_ptr< Joint > | joint | ) |
void Model::setJoint | ( | std::shared_ptr< Joint > | joint, |
const std::string & | parent, | ||
const std::string & | child | ||
) |
void Model::setJoint | ( | std::vector< std::shared_ptr< Joint > > | joint | ) |
void Model::setLink | ( | std::shared_ptr< Link > | link | ) |
void Model::setLink | ( | std::vector< std::shared_ptr< Link > > | link | ) |
void Model::setName | ( | const std::string & | n | ) |