moveit2
The MoveIt Motion Planning Framework for ROS 2.
Public Member Functions | Protected Attributes | List of all members
ikfast::IkSolutionList< T > Class Template Reference

Default implementation of IkSolutionListBase. More...

#include <ikfast.h>

Inheritance diagram for ikfast::IkSolutionList< T >:
Inheritance graph
[legend]
Collaboration diagram for ikfast::IkSolutionList< T >:
Collaboration graph
[legend]

Public Member Functions

virtual size_t AddSolution (const std::vector< IkSingleDOFSolutionBase< T > > &vinfos, const std::vector< int > &vfree)
 add one solution and return its index for later retrieval More...
 
virtual const IkSolutionBase< T > & GetSolution (size_t index) const
 returns the solution pointer More...
 
virtual size_t GetNumSolutions () const
 returns the number of solutions stored More...
 
virtual void Clear ()
 clears all current solutions, note that any memory addresses returned from GetSolution will be invalidated. More...
 
virtual size_t AddSolution (const std::vector< IkSingleDOFSolutionBase< T > > &vinfos, const std::vector< int > &vfree)
 add one solution and return its index for later retrieval More...
 
virtual const IkSolutionBase< T > & GetSolution (size_t index) const
 returns the solution pointer More...
 
virtual size_t GetNumSolutions () const
 returns the number of solutions stored More...
 
virtual void Clear ()
 clears all current solutions, note that any memory addresses returned from GetSolution will be invalidated. More...
 
- Public Member Functions inherited from ikfast::IkSolutionListBase< T >
virtual ~IkSolutionListBase ()
 
virtual ~IkSolutionListBase ()
 

Protected Attributes

std::list< IkSolution< T > > _listsolutions
 

Detailed Description

template<typename T>
class ikfast::IkSolutionList< T >

Default implementation of IkSolutionListBase.

Definition at line 275 of file ikfast.h.

Member Function Documentation

◆ AddSolution() [1/2]

template<typename T >
virtual size_t ikfast::IkSolutionList< T >::AddSolution ( const std::vector< IkSingleDOFSolutionBase< T > > &  vinfos,
const std::vector< int > &  vfree 
)
inlinevirtual

add one solution and return its index for later retrieval

Parameters
vinfosSolution data for each degree of freedom of the manipulator
vfreeIf the solution represents an infinite space, holds free parameters of the solution that users can freely set.

Implements ikfast::IkSolutionListBase< T >.

Definition at line 278 of file ikfast.h.

◆ AddSolution() [2/2]

template<typename T >
virtual size_t ikfast::IkSolutionList< T >::AddSolution ( const std::vector< IkSingleDOFSolutionBase< T > > &  vinfos,
const std::vector< int > &  vfree 
)
inlinevirtual

add one solution and return its index for later retrieval

Parameters
vinfosSolution data for each degree of freedom of the manipulator
vfreeIf the solution represents an infinite space, holds free parameters of the solution that users can freely set.

Implements ikfast::IkSolutionListBase< T >.

Definition at line 275 of file ikfast.h.

◆ Clear() [1/2]

template<typename T >
virtual void ikfast::IkSolutionList< T >::Clear ( )
inlinevirtual

clears all current solutions, note that any memory addresses returned from GetSolution will be invalidated.

Implements ikfast::IkSolutionListBase< T >.

Definition at line 301 of file ikfast.h.

◆ Clear() [2/2]

template<typename T >
virtual void ikfast::IkSolutionList< T >::Clear ( )
inlinevirtual

clears all current solutions, note that any memory addresses returned from GetSolution will be invalidated.

Implements ikfast::IkSolutionListBase< T >.

Definition at line 298 of file ikfast.h.

◆ GetNumSolutions() [1/2]

template<typename T >
virtual size_t ikfast::IkSolutionList< T >::GetNumSolutions ( ) const
inlinevirtual

returns the number of solutions stored

Implements ikfast::IkSolutionListBase< T >.

Definition at line 296 of file ikfast.h.

Here is the caller graph for this function:

◆ GetNumSolutions() [2/2]

template<typename T >
virtual size_t ikfast::IkSolutionList< T >::GetNumSolutions ( ) const
inlinevirtual

returns the number of solutions stored

Implements ikfast::IkSolutionListBase< T >.

Definition at line 293 of file ikfast.h.

◆ GetSolution() [1/2]

template<typename T >
virtual const IkSolutionBase<T>& ikfast::IkSolutionList< T >::GetSolution ( size_t  index) const
inlinevirtual

returns the solution pointer

Implements ikfast::IkSolutionListBase< T >.

Definition at line 285 of file ikfast.h.

Here is the caller graph for this function:

◆ GetSolution() [2/2]

template<typename T >
virtual const IkSolutionBase<T>& ikfast::IkSolutionList< T >::GetSolution ( size_t  index) const
inlinevirtual

returns the solution pointer

Implements ikfast::IkSolutionListBase< T >.

Definition at line 282 of file ikfast.h.

Member Data Documentation

◆ _listsolutions

template<typename T >
std::list< IkSolution< T > > ikfast::IkSolutionList< T >::_listsolutions
protected

Definition at line 307 of file ikfast.h.


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