Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
tesseract_environment::ChangeLinkCollisionEnabledCommand Class Reference

#include <change_link_collision_enabled_command.h>

Inheritance diagram for tesseract_environment::ChangeLinkCollisionEnabledCommand:
Inheritance graph
[legend]

Public Types

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

Public Member Functions

 ChangeLinkCollisionEnabledCommand ()
 
 ChangeLinkCollisionEnabledCommand (std::string link_name, bool enabled)
 Set whether a link should be considered during collision checking. More...
 
bool getEnabled () const
 
const std::string & getLinkName () const
 
bool operator!= (const ChangeLinkCollisionEnabledCommand &rhs) const
 
bool operator== (const ChangeLinkCollisionEnabledCommand &rhs) const
 
- Public Member Functions inherited from tesseract_environment::Command
 Command (Command &&)=default
 
 Command (CommandType type=CommandType::UNINITIALIZED)
 
 Command (const Command &)=default
 
CommandType getType () const
 
bool operator!= (const Command &rhs) const
 
Commandoperator= (Command &&)=default
 
Commandoperator= (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
 

Detailed Description

Definition at line 45 of file change_link_collision_enabled_command.h.

Member Typedef Documentation

◆ ConstPtr

Definition at line 49 of file change_link_collision_enabled_command.h.

◆ Ptr

Definition at line 48 of file change_link_collision_enabled_command.h.

Constructor & Destructor Documentation

◆ ChangeLinkCollisionEnabledCommand() [1/2]

tesseract_environment::ChangeLinkCollisionEnabledCommand::ChangeLinkCollisionEnabledCommand ( )

Definition at line 42 of file change_link_collision_enabled_command.cpp.

◆ ChangeLinkCollisionEnabledCommand() [2/2]

tesseract_environment::ChangeLinkCollisionEnabledCommand::ChangeLinkCollisionEnabledCommand ( std::string  link_name,
bool  enabled 
)

Set whether a link should be considered during collision checking.

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

Definition at line 47 of file change_link_collision_enabled_command.cpp.

Member Function Documentation

◆ getEnabled()

bool tesseract_environment::ChangeLinkCollisionEnabledCommand::getEnabled ( ) const

Definition at line 53 of file change_link_collision_enabled_command.cpp.

◆ getLinkName()

const std::string & tesseract_environment::ChangeLinkCollisionEnabledCommand::getLinkName ( ) const

Definition at line 52 of file change_link_collision_enabled_command.cpp.

◆ operator!=()

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

Definition at line 63 of file change_link_collision_enabled_command.cpp.

◆ operator==()

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

Definition at line 55 of file change_link_collision_enabled_command.cpp.

◆ serialize()

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

Definition at line 69 of file change_link_collision_enabled_command.cpp.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 70 of file change_link_collision_enabled_command.h.

◆ tesseract_common::Serialization

friend struct tesseract_common::Serialization
friend

Definition at line 71 of file change_link_collision_enabled_command.h.

Member Data Documentation

◆ enabled_

bool tesseract_environment::ChangeLinkCollisionEnabledCommand::enabled_ { false }
private

Definition at line 68 of file change_link_collision_enabled_command.h.

◆ link_name_

std::string tesseract_environment::ChangeLinkCollisionEnabledCommand::link_name_
private

Definition at line 67 of file change_link_collision_enabled_command.h.


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


tesseract_environment
Author(s): Levi Armstrong
autogenerated on Sun May 18 2025 03:02:21