moveit2
The MoveIt Motion Planning Framework for ROS 2.
Loading...
Searching...
No Matches
robot_trajectory::RobotTrajectory::Iterator Class Reference

#include <robot_trajectory.hpp>

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 335 of file robot_trajectory.hpp.

Member Typedef Documentation

◆ difference_type

◆ iterator_category

Definition at line 376 of file robot_trajectory.hpp.

◆ pointer

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

Definition at line 374 of file robot_trajectory.hpp.

◆ reference

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

Definition at line 375 of file robot_trajectory.hpp.

◆ value_type

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

Definition at line 373 of file robot_trajectory.hpp.

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 341 of file robot_trajectory.hpp.

Here is the caller graph for this function:

Member Function Documentation

◆ operator!=()

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

Definition at line 362 of file robot_trajectory.hpp.

Here is the call graph for this function:

◆ operator*()

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

Definition at line 366 of file robot_trajectory.hpp.

◆ operator++() [1/2]

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

Definition at line 346 of file robot_trajectory.hpp.

Here is the call graph for this function:

◆ operator++() [2/2]

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

Definition at line 352 of file robot_trajectory.hpp.

Here is the call graph for this function:

◆ operator==()

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

Definition at line 358 of file robot_trajectory.hpp.

Here is the call graph for this function:

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