Tesseract 0.28.4
Loading...
Searching...
No Matches
tesseract::environment::RemoveLinkCommand Class Reference
Inheritance diagram for tesseract::environment::RemoveLinkCommand:

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 (common::LinkId link_id)
 Removes a link from the environment.
const common::LinkId & getLinkId () 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)
 Command (const Command &)=default
Command & operator= (const Command &)=default
 Command (Command &&)=default
Command & operator= (Command &&)=default
CommandType getType () const
bool operator== (const Command &rhs) const
bool operator!= (const Command &rhs) const

Friends

template<class Archive>
friend void::tesseract::environment::serialize (Archive &ar, RemoveLinkCommand &obj)

Constructor & Destructor Documentation

◆ RemoveLinkCommand()

tesseract::environment::RemoveLinkCommand::RemoveLinkCommand ( common::LinkId link_id)

Removes a link from the environment.

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