moveit2
The MoveIt Motion Planning Framework for ROS 2.
Public Types | Public Member Functions | List of all members
robot_trajectory::RobotTrajectory::Iterator Class Reference

#include <robot_trajectory.h>

Public Types

using difference_type = long
 
using value_type = std::pair< moveit::core::RobotStatePtr, double >
 
using pointer = const std::pair< moveit::core::RobotStatePtr, double > *
 
using reference = std::pair< moveit::core::RobotStatePtr, double >
 
using iterator_category = std::input_iterator_tag
 

Public Member Functions

 Iterator (const std::deque< moveit::core::RobotStatePtr >::iterator &waypoint_iterator, const std::deque< double >::iterator &duration_iterator)
 
Iteratoroperator++ ()
 
Iterator operator++ (int)
 
bool operator== (const Iterator &other) const
 
bool operator!= (const Iterator &other) const
 
std::pair< moveit::core::RobotStatePtr, double > operator* () const
 

Detailed Description

Definition at line 311 of file robot_trajectory.h.

Member Typedef Documentation

◆ difference_type

Definition at line 348 of file robot_trajectory.h.

◆ iterator_category

Definition at line 352 of file robot_trajectory.h.

◆ pointer

using robot_trajectory::RobotTrajectory::Iterator::pointer = const std::pair<moveit::core::RobotStatePtr, double>*

Definition at line 350 of file robot_trajectory.h.

◆ reference

using robot_trajectory::RobotTrajectory::Iterator::reference = std::pair<moveit::core::RobotStatePtr, double>

Definition at line 351 of file robot_trajectory.h.

◆ value_type

using robot_trajectory::RobotTrajectory::Iterator::value_type = std::pair<moveit::core::RobotStatePtr, double>

Definition at line 349 of file robot_trajectory.h.

Constructor & Destructor Documentation

◆ Iterator()

robot_trajectory::RobotTrajectory::Iterator::Iterator ( const std::deque< moveit::core::RobotStatePtr >::iterator &  waypoint_iterator,
const std::deque< double >::iterator &  duration_iterator 
)
inlineexplicit

Definition at line 317 of file robot_trajectory.h.

Member Function Documentation

◆ operator!=()

bool robot_trajectory::RobotTrajectory::Iterator::operator!= ( const Iterator other) const
inline

Definition at line 338 of file robot_trajectory.h.

◆ operator*()

std::pair<moveit::core::RobotStatePtr, double> robot_trajectory::RobotTrajectory::Iterator::operator* ( ) const
inline

Definition at line 342 of file robot_trajectory.h.

◆ operator++() [1/2]

Iterator& robot_trajectory::RobotTrajectory::Iterator::operator++ ( )
inline

Definition at line 322 of file robot_trajectory.h.

◆ operator++() [2/2]

Iterator robot_trajectory::RobotTrajectory::Iterator::operator++ ( int  )
inline

Definition at line 328 of file robot_trajectory.h.

◆ operator==()

bool robot_trajectory::RobotTrajectory::Iterator::operator== ( const Iterator other) const
inline

Definition at line 334 of file robot_trajectory.h.


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