Tesseract
Motion Planning Environment
Loading...
Searching...
No Matches
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]
Collaboration diagram for tesseract_environment::ReplaceJointCommand:
Collaboration graph
[legend]

Public Types

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

Public Member Functions

 ReplaceJointCommand ()
 
 ReplaceJointCommand (const tesseract_scene_graph::Joint &joint)
 Replace a joint in the environment. More...
 
const tesseract_scene_graph::Joint::ConstPtrgetJoint () const
 
bool operator== (const ReplaceJointCommand &rhs) const
 
bool operator!= (const ReplaceJointCommand &rhs) const
 
- Public Member Functions inherited from tesseract_environment::Command
 Command (CommandType type=CommandType::UNINITIALIZED)
 
virtual ~Command ()=default
 
 Command (const Command &)=default
 
Commandoperator= (const Command &)=default
 
 Command (Command &&)=default
 
Commandoperator= (Command &&)=default
 
CommandType getType () const
 
bool operator== (const Command &rhs) const
 
bool operator!= (const Command &rhs) const
 

Private Member Functions

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

Private Attributes

tesseract_scene_graph::Joint::ConstPtr joint_
 

Friends

class boost::serialization::access
 

Member Typedef Documentation

◆ ConstPtr

◆ Ptr

Constructor & Destructor Documentation

◆ ReplaceJointCommand() [1/2]

tesseract_environment::ReplaceJointCommand::ReplaceJointCommand ( )
inline

◆ ReplaceJointCommand() [2/2]

tesseract_environment::ReplaceJointCommand::ReplaceJointCommand ( const tesseract_scene_graph::Joint joint)
inline

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

Member Function Documentation

◆ getJoint()

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

◆ operator!=()

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

◆ operator==()

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

◆ serialize()

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

Friends And Related Function Documentation

◆ boost::serialization::access

friend class boost::serialization::access
friend

Member Data Documentation

◆ joint_

tesseract_scene_graph::Joint::ConstPtr tesseract_environment::ReplaceJointCommand::joint_
private

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