chrono::parsers::ChParserAdams::Report Class Reference
Description
Report containing information about objects parsed from file.
#include <ChParserAdams.h>
Classes | |
struct | JointInfo |
Information about a joint read in from ADAMS. More... | |
Public Member Functions | |
void | Print () const |
Print information on all modeling elements parsed from adm file. | |
std::shared_ptr< ChBodyAuxRef > | GetBody (const std::string &name) const |
Get a handle to the body with specified name. More... | |
std::shared_ptr< ChLink > | GetJoint (const std::string &name) const |
Get a handle to the joint with specified name. More... | |
Public Attributes | |
std::unordered_map< std::string, std::shared_ptr< ChBodyAuxRef > > | bodies |
list of body information | |
std::unordered_map< std::string, JointInfo > | joints |
list of joint information | |
Member Function Documentation
◆ GetBody()
std::shared_ptr< ChBodyAuxRef > chrono::parsers::ChParserAdams::Report::GetBody | ( | const std::string & | name | ) | const |
Get a handle to the body with specified name.
If none exists, an empty shared pointer is returned. Note that all bodies created by the parser are of type ChBodyAuxRef (i.e., using a non-centroidal reference frame).
◆ GetJoint()
std::shared_ptr< ChLink > chrono::parsers::ChParserAdams::Report::GetJoint | ( | const std::string & | name | ) | const |
Get a handle to the joint with specified name.
If none exists, an empty shared pointer is returned. The caller may need to downcast to the appropriate type.
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono_parsers/ChParserAdams.h
- /builds/uwsbel/chrono/src/chrono_parsers/ChParserAdams.cpp