#include <replace_joint_command.h>
Public Types | |
using | ConstPtr = std::shared_ptr< const ReplaceJointCommand > |
using | Ptr = std::shared_ptr< ReplaceJointCommand > |
![]() | |
using | ConstPtr = std::shared_ptr< const Command > |
using | Ptr = std::shared_ptr< Command > |
Public Member Functions | |
const std::shared_ptr< const tesseract_scene_graph::Joint > & | getJoint () const |
bool | operator!= (const ReplaceJointCommand &rhs) const |
bool | operator== (const ReplaceJointCommand &rhs) const |
ReplaceJointCommand () | |
ReplaceJointCommand (const tesseract_scene_graph::Joint &joint) | |
Replace a joint in the environment. More... | |
![]() | |
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 | |
std::shared_ptr< const tesseract_scene_graph::Joint > | joint_ |
Friends | |
class | boost::serialization::access |
struct | tesseract_common::Serialization |
Definition at line 44 of file replace_joint_command.h.
using tesseract_environment::ReplaceJointCommand::ConstPtr = std::shared_ptr<const ReplaceJointCommand> |
Definition at line 48 of file replace_joint_command.h.
using tesseract_environment::ReplaceJointCommand::Ptr = std::shared_ptr<ReplaceJointCommand> |
Definition at line 47 of file replace_joint_command.h.
tesseract_environment::ReplaceJointCommand::ReplaceJointCommand | ( | ) |
Definition at line 40 of file replace_joint_command.cpp.
tesseract_environment::ReplaceJointCommand::ReplaceJointCommand | ( | const tesseract_scene_graph::Joint & | joint | ) |
Replace a joint in the environment.
If the joint does not exist:
This command should result in an error
If the child link is not the same:
This command should result in an error
joint | The joint to be replaced |
Definition at line 42 of file replace_joint_command.cpp.
const tesseract_scene_graph::Joint::ConstPtr & tesseract_environment::ReplaceJointCommand::getJoint | ( | ) | const |
Definition at line 52 of file replace_joint_command.cpp.
bool tesseract_environment::ReplaceJointCommand::operator!= | ( | const ReplaceJointCommand & | rhs | ) | const |
Definition at line 61 of file replace_joint_command.cpp.
bool tesseract_environment::ReplaceJointCommand::operator== | ( | const ReplaceJointCommand & | rhs | ) | const |
Definition at line 54 of file replace_joint_command.cpp.
|
private |
Definition at line 64 of file replace_joint_command.cpp.
|
friend |
Definition at line 75 of file replace_joint_command.h.
|
friend |
Definition at line 76 of file replace_joint_command.h.
|
private |
Definition at line 73 of file replace_joint_command.h.