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

#include <remove_link_command.h>

Inheritance diagram for tesseract_environment::RemoveLinkCommand:
Inheritance graph
[legend]
Collaboration diagram for tesseract_environment::RemoveLinkCommand:
Collaboration graph
[legend]

Public Types

using Ptr = std::shared_ptr< RemoveLinkCommand >
 
using ConstPtr = std::shared_ptr< const RemoveLinkCommand >
 
- Public Types inherited from tesseract_environment::Command
using Ptr = std::shared_ptr< Command >
 
using ConstPtr = std::shared_ptr< const Command >
 

Public Member Functions

 RemoveLinkCommand ()
 
 RemoveLinkCommand (std::string link_name)
 Removes a link from the environment. More...
 
const std::string & getLinkName () const
 
bool operator== (const RemoveLinkCommand &rhs) const
 
bool operator!= (const RemoveLinkCommand &rhs) const
 
- Public Member Functions inherited from tesseract_environment::Command
 Command (CommandType type=CommandType::UNINITIALIZED)
 
virtual ~Command ()=default
 
 Command (const Command &)=default
 
Commandoperator= (const Command &)=default
 
 Command (Command &&)=default
 
Commandoperator= (Command &&)=default
 
CommandType getType () const
 
bool operator== (const Command &rhs) const
 
bool operator!= (const Command &rhs) const
 

Private Member Functions

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

Private Attributes

std::string link_name_
 

Friends

class boost::serialization::access
 

Member Typedef Documentation

◆ ConstPtr

◆ Ptr

Constructor & Destructor Documentation

◆ RemoveLinkCommand() [1/2]

tesseract_environment::RemoveLinkCommand::RemoveLinkCommand ( )
inline

◆ RemoveLinkCommand() [2/2]

tesseract_environment::RemoveLinkCommand::RemoveLinkCommand ( std::string  link_name)
inline

Removes a link from the environment.

   Parent joint and all child components (links/joints) should be removed
Parameters
nameName of the link to be removed

Member Function Documentation

◆ getLinkName()

const std::string & tesseract_environment::RemoveLinkCommand::getLinkName ( ) const
inline

◆ operator!=()

bool tesseract_environment::RemoveLinkCommand::operator!= ( const RemoveLinkCommand rhs) const

◆ operator==()

bool tesseract_environment::RemoveLinkCommand::operator== ( const RemoveLinkCommand rhs) const

◆ serialize()

template<class Archive >
void tesseract_environment::RemoveLinkCommand::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

◆ link_name_

std::string tesseract_environment::RemoveLinkCommand::link_name_
private

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