Public Member Functions | Private Attributes | List of all members
moveit_cpp::PlanningComponent::PlanSolutions Class Reference

#include <planning_component.h>

Public Member Functions

std::vector< planning_interface::MotionPlanResponse > const & getSolutions () const
 Get solutions. More...
 
 PlanSolutions (const size_t expected_size=0)
 Constructor. More...
 
void pushBack (const planning_interface::MotionPlanResponse &plan_solution)
 Thread safe method to add PlanSolutions to this data structure TODO(sjahr): Refactor this method to an insert method similar to https://github.com/ompl/ompl/blob/main/src/ompl/base/src/ProblemDefinition.cpp#L54-L161. This way, it is possible to create a sorted container e.g. according to a user specified criteria. More...
 

Private Attributes

std::vector< planning_interface::MotionPlanResponsesolutions_
 
std::mutex solutions_mutex_
 

Detailed Description

Definition at line 92 of file planning_component.h.

Constructor & Destructor Documentation

◆ PlanSolutions()

moveit_cpp::PlanningComponent::PlanSolutions::PlanSolutions ( const size_t  expected_size = 0)
inline

Constructor.

Definition at line 96 of file planning_component.h.

Member Function Documentation

◆ getSolutions()

std::vector<planning_interface::MotionPlanResponse> const& moveit_cpp::PlanningComponent::PlanSolutions::getSolutions ( ) const
inline

Get solutions.

Definition at line 112 of file planning_component.h.

◆ pushBack()

void moveit_cpp::PlanningComponent::PlanSolutions::pushBack ( const planning_interface::MotionPlanResponse plan_solution)
inline

Thread safe method to add PlanSolutions to this data structure TODO(sjahr): Refactor this method to an insert method similar to https://github.com/ompl/ompl/blob/main/src/ompl/base/src/ProblemDefinition.cpp#L54-L161. This way, it is possible to create a sorted container e.g. according to a user specified criteria.

Definition at line 105 of file planning_component.h.

Member Data Documentation

◆ solutions_

std::vector<planning_interface::MotionPlanResponse> moveit_cpp::PlanningComponent::PlanSolutions::solutions_
private

Definition at line 118 of file planning_component.h.

◆ solutions_mutex_

std::mutex moveit_cpp::PlanningComponent::PlanSolutions::solutions_mutex_
private

Definition at line 119 of file planning_component.h.


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


planning
Author(s): Ioan Sucan , Sachin Chitta
autogenerated on Sat Apr 27 2024 02:26:04