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

Public Types

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

Public Member Functions

 ChangeLinkVisibilityCommand (common::LinkId link_id, bool enabled)
 Set a links visibility.
const common::LinkId & getLinkId () const
bool getEnabled () const
bool operator== (const ChangeLinkVisibilityCommand &rhs) const
bool operator!= (const ChangeLinkVisibilityCommand &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, ChangeLinkVisibilityCommand &obj)

Constructor & Destructor Documentation

◆ ChangeLinkVisibilityCommand()

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

Set a links visibility.

Parameters
link_idThe id of the link
visibilityTrue if should be visible, otherwise false