Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Friends | List of all members
tesseract_scene_graph::Link Class Reference

#include <link.h>

Collaboration diagram for tesseract_scene_graph::Link:
Collaboration graph
[legend]

Public Types

using Ptr = std::shared_ptr< Link >
 
using ConstPtr = std::shared_ptr< const Link >
 

Public Member Functions

 Link (std::string name)
 
 Link ()=default
 
 ~Link ()=default
 
 Link (const Link &other)=delete
 
Linkoperator= (const Link &other)=delete
 
 Link (Link &&other)=default
 
Linkoperator= (Link &&other)=default
 
const std::string & getName () const
 
void clear ()
 
bool operator== (const Link &rhs) const
 
bool operator!= (const Link &rhs) const
 
Link clone () const
 Clone the link keeping the name. More...
 
Link clone (const std::string &name) const
 

Public Attributes

Inertial::Ptr inertial
 inertial element More...
 
std::vector< Visual::Ptrvisual
 Visual Elements. More...
 
std::vector< Collision::Ptrcollision
 Collision Elements. More...
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Private Attributes

std::string name_
 

Friends

class boost::serialization::access
 

Member Typedef Documentation

◆ ConstPtr

using tesseract_scene_graph::Link::ConstPtr = std::shared_ptr<const Link>

◆ Ptr

using tesseract_scene_graph::Link::Ptr = std::shared_ptr<Link>

Constructor & Destructor Documentation

◆ Link() [1/4]

tesseract_scene_graph::Link::Link ( std::string  name)
inline

◆ Link() [2/4]

tesseract_scene_graph::Link::Link ( )
default

◆ ~Link()

tesseract_scene_graph::Link::~Link ( )
default

◆ Link() [3/4]

tesseract_scene_graph::Link::Link ( const Link other)
delete

◆ Link() [4/4]

tesseract_scene_graph::Link::Link ( Link &&  other)
default

Member Function Documentation

◆ clear()

void tesseract_scene_graph::Link::clear ( )
inline

◆ clone() [1/2]

Link tesseract_scene_graph::Link::clone ( ) const
inline

Clone the link keeping the name.

Returns
Cloned link

◆ clone() [2/2]

Link tesseract_scene_graph::Link::clone ( const std::string &  name) const
inline

Perform a copy of link, changing its name

◆ getName()

const std::string & tesseract_scene_graph::Link::getName ( ) const
inline

◆ operator!=()

bool tesseract_scene_graph::Link::operator!= ( const Link rhs) const

◆ operator=() [1/2]

Link & tesseract_scene_graph::Link::operator= ( const Link other)
delete

◆ operator=() [2/2]

Link & tesseract_scene_graph::Link::operator= ( Link &&  other)
default

◆ operator==()

bool tesseract_scene_graph::Link::operator== ( const Link rhs) const

◆ serialize()

template<class Archive >
void tesseract_scene_graph::Link::serialize ( Archive &  ar,
const unsigned int  version 
)
private

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Member Data Documentation

◆ collision

std::vector<Collision::Ptr> tesseract_scene_graph::Link::collision

Collision Elements.

◆ inertial

Inertial::Ptr tesseract_scene_graph::Link::inertial

inertial element

◆ name_

std::string tesseract_scene_graph::Link::name_
private

◆ visual

std::vector<Visual::Ptr> tesseract_scene_graph::Link::visual

Visual Elements.


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