#include <change_link_visibility_command.h>
Public Types | |
using | ConstPtr = std::shared_ptr< const ChangeLinkVisibilityCommand > |
using | Ptr = std::shared_ptr< ChangeLinkVisibilityCommand > |
![]() | |
using | ConstPtr = std::shared_ptr< const Command > |
using | Ptr = std::shared_ptr< Command > |
Public Member Functions | |
ChangeLinkVisibilityCommand () | |
ChangeLinkVisibilityCommand (std::string link_name, bool enabled) | |
Set a links visibility. More... | |
bool | getEnabled () const |
const std::string & | getLinkName () const |
bool | operator!= (const ChangeLinkVisibilityCommand &rhs) const |
bool | operator== (const ChangeLinkVisibilityCommand &rhs) const |
![]() | |
Command (Command &&)=default | |
Command (CommandType type=CommandType::UNINITIALIZED) | |
Command (const Command &)=default | |
CommandType | getType () const |
bool | operator!= (const Command &rhs) const |
Command & | operator= (Command &&)=default |
Command & | operator= (const Command &)=default |
bool | operator== (const Command &rhs) const |
virtual | ~Command ()=default |
Private Member Functions | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Private Attributes | |
bool | enabled_ { false } |
std::string | link_name_ |
Friends | |
class | boost::serialization::access |
struct | tesseract_common::Serialization |
Definition at line 45 of file change_link_visibility_command.h.
using tesseract_environment::ChangeLinkVisibilityCommand::ConstPtr = std::shared_ptr<const ChangeLinkVisibilityCommand> |
Definition at line 49 of file change_link_visibility_command.h.
using tesseract_environment::ChangeLinkVisibilityCommand::Ptr = std::shared_ptr<ChangeLinkVisibilityCommand> |
Definition at line 48 of file change_link_visibility_command.h.
tesseract_environment::ChangeLinkVisibilityCommand::ChangeLinkVisibilityCommand | ( | ) |
Definition at line 38 of file change_link_visibility_command.cpp.
tesseract_environment::ChangeLinkVisibilityCommand::ChangeLinkVisibilityCommand | ( | std::string | link_name, |
bool | enabled | ||
) |
Set a links visibility.
name | The name of the link |
visibility | True if should be visible, otherwise false |
Definition at line 40 of file change_link_visibility_command.cpp.
bool tesseract_environment::ChangeLinkVisibilityCommand::getEnabled | ( | ) | const |
Definition at line 46 of file change_link_visibility_command.cpp.
const std::string & tesseract_environment::ChangeLinkVisibilityCommand::getLinkName | ( | ) | const |
Definition at line 45 of file change_link_visibility_command.cpp.
bool tesseract_environment::ChangeLinkVisibilityCommand::operator!= | ( | const ChangeLinkVisibilityCommand & | rhs | ) | const |
Definition at line 56 of file change_link_visibility_command.cpp.
bool tesseract_environment::ChangeLinkVisibilityCommand::operator== | ( | const ChangeLinkVisibilityCommand & | rhs | ) | const |
Definition at line 48 of file change_link_visibility_command.cpp.
|
private |
Definition at line 59 of file change_link_visibility_command.cpp.
|
friend |
Definition at line 70 of file change_link_visibility_command.h.
|
friend |
Definition at line 71 of file change_link_visibility_command.h.
|
private |
Definition at line 68 of file change_link_visibility_command.h.
|
private |
Definition at line 67 of file change_link_visibility_command.h.