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

#include <replace_joint_command.h>

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

Public Types

using ConstPtr = std::shared_ptr< const ReplaceJointCommand >
 
using Ptr = std::shared_ptr< ReplaceJointCommand >
 
- Public Types inherited from tesseract_environment::Command
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...
 
- 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

std::shared_ptr< const tesseract_scene_graph::Jointjoint_
 

Friends

class boost::serialization::access
 
struct tesseract_common::Serialization
 

Detailed Description

Definition at line 44 of file replace_joint_command.h.

Member Typedef Documentation

◆ ConstPtr

Definition at line 48 of file replace_joint_command.h.

◆ Ptr

Definition at line 47 of file replace_joint_command.h.

Constructor & Destructor Documentation

◆ ReplaceJointCommand() [1/2]

tesseract_environment::ReplaceJointCommand::ReplaceJointCommand ( )

Definition at line 40 of file replace_joint_command.cpp.

◆ ReplaceJointCommand() [2/2]

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
Parameters
jointThe joint to be replaced
Todo:
check limits

Definition at line 42 of file replace_joint_command.cpp.

Member Function Documentation

◆ getJoint()

const tesseract_scene_graph::Joint::ConstPtr & tesseract_environment::ReplaceJointCommand::getJoint ( ) const

Definition at line 52 of file replace_joint_command.cpp.

◆ operator!=()

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

Definition at line 61 of file replace_joint_command.cpp.

◆ operator==()

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

Definition at line 54 of file replace_joint_command.cpp.

◆ serialize()

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

Definition at line 64 of file replace_joint_command.cpp.

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Definition at line 75 of file replace_joint_command.h.

◆ tesseract_common::Serialization

friend struct tesseract_common::Serialization
friend

Definition at line 76 of file replace_joint_command.h.

Member Data Documentation

◆ joint_

std::shared_ptr<const tesseract_scene_graph::Joint> tesseract_environment::ReplaceJointCommand::joint_
private

Definition at line 73 of file replace_joint_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