moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
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 325 of file robot_trajectory.h.

Member Typedef Documentation

◆ difference_type

Definition at line 362 of file robot_trajectory.h.

◆ iterator_category

Definition at line 366 of file robot_trajectory.h.

◆ pointer

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

Definition at line 364 of file robot_trajectory.h.

◆ reference

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

Definition at line 365 of file robot_trajectory.h.

◆ value_type

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

Definition at line 363 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 331 of file robot_trajectory.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 352 of file robot_trajectory.h.

◆ operator*()

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

Definition at line 356 of file robot_trajectory.h.

◆ operator++() [1/2]

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

Definition at line 336 of file robot_trajectory.h.

◆ operator++() [2/2]

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

Definition at line 342 of file robot_trajectory.h.

◆ operator==()

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

Definition at line 348 of file robot_trajectory.h.


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