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

Public Types

using Ptr = std::shared_ptr<ChangeLinkCollisionEnabledCommand>
using ConstPtr = std::shared_ptr<const ChangeLinkCollisionEnabledCommand>
Public Types inherited from tesseract::environment::Command
using Ptr = std::shared_ptr<Command>
using ConstPtr = std::shared_ptr<const Command>

Public Member Functions

 ChangeLinkCollisionEnabledCommand (common::LinkId link_id, bool enabled)
 Set whether a link should be considered during collision checking.
const common::LinkId & getLinkId () const
bool getEnabled () const
bool operator== (const ChangeLinkCollisionEnabledCommand &rhs) const
bool operator!= (const ChangeLinkCollisionEnabledCommand &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, ChangeLinkCollisionEnabledCommand &obj)

Constructor & Destructor Documentation

◆ ChangeLinkCollisionEnabledCommand()

tesseract::environment::ChangeLinkCollisionEnabledCommand::ChangeLinkCollisionEnabledCommand ( common::LinkId link_id,
bool enabled )

Set whether a link should be considered during collision checking.

Parameters
link_idThe link id to modify collision enabled
enabledTrue if should be condisdered during collision checking, otherwise false