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::MoveJointCommand Class Reference

#include <move_joint_command.h>

Inheritance diagram for tesseract_environment::MoveJointCommand:
Inheritance graph
[legend]
Collaboration diagram for tesseract_environment::MoveJointCommand:
Collaboration graph
[legend]

Public Types

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

Public Member Functions

 MoveJointCommand ()
 
 MoveJointCommand (std::string joint_name, std::string parent_link)
 Move a joint from one link to another. More...
 
const std::string & getJointName () const
 
const std::string & getParentLink () const
 
bool operator== (const MoveJointCommand &rhs) const
 
bool operator!= (const MoveJointCommand &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

std::string joint_name_
 
std::string parent_link_
 

Friends

class boost::serialization::access
 

Member Typedef Documentation

◆ ConstPtr

◆ Ptr

Constructor & Destructor Documentation

◆ MoveJointCommand() [1/2]

tesseract_environment::MoveJointCommand::MoveJointCommand ( )
inline

◆ MoveJointCommand() [2/2]

tesseract_environment::MoveJointCommand::MoveJointCommand ( std::string  joint_name,
std::string  parent_link 
)
inline

Move a joint from one link to another.

   All child links & joints should follow
Parameters
joint_nameThe name of the joint to move
new_parent_linkThe name of the link to move to.e

Member Function Documentation

◆ getJointName()

const std::string & tesseract_environment::MoveJointCommand::getJointName ( ) const
inline

◆ getParentLink()

const std::string & tesseract_environment::MoveJointCommand::getParentLink ( ) const
inline

◆ operator!=()

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

◆ operator==()

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

◆ serialize()

template<class Archive >
void tesseract_environment::MoveJointCommand::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_name_

std::string tesseract_environment::MoveJointCommand::joint_name_
private

◆ parent_link_

std::string tesseract_environment::MoveJointCommand::parent_link_
private

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