hpp-core  4.9.0
Implement basic classes for canonical path planning for kinematic chains.
hpp::core::ConfigValidations Class Reference

#include <hpp/core/config-validations.hh>

Inheritance diagram for hpp::core::ConfigValidations:
Collaboration diagram for hpp::core::ConfigValidations:

Public Member Functions

virtual bool validate (const Configuration_t &config, ValidationReportPtr_t &validationReport)
 
void add (const ConfigValidationPtr_t &configValidation)
 Add a configuration validation object. More...
 
size_type numberConfigValidations () const
 Return the number of config validations. More...
 
void clear ()
 
- Public Member Functions inherited from hpp::core::ConfigValidation
virtual ~ConfigValidation ()
 
- Public Member Functions inherited from hpp::core::ObstacleUserVector< ConfigValidationPtr_t >
virtual ~ObstacleUserVector ()
 
void addObstacle (const CollisionObjectConstPtr_t &object)
 
void removeObstacleFromJoint (const JointPtr_t &joint, const CollisionObjectConstPtr_t &object)
 
void filterCollisionPairs (const RelativeMotion::matrix_type &relMotion)
 
void setSecurityMargins (const matrix_t &securityMatrix)
 
- Public Member Functions inherited from hpp::core::ObstacleUserInterface
virtual ~ObstacleUserInterface ()
 

Static Public Member Functions

static ConfigValidationsPtr_t create ()
 

Protected Member Functions

 ConfigValidations ()
 
- Protected Member Functions inherited from hpp::core::ConfigValidation
 ConfigValidation ()
 

Additional Inherited Members

- Protected Types inherited from hpp::core::ObstacleUserVector< ConfigValidationPtr_t >
typedef ConfigValidationPtr_t value_t
 
typedef std::vector< value_tvalues_t
 
- Protected Attributes inherited from hpp::core::ObstacleUserVector< ConfigValidationPtr_t >
values_t validations_
 

Detailed Description

Validate a configuration with respect to collision

Constructor & Destructor Documentation

◆ ConfigValidations()

hpp::core::ConfigValidations::ConfigValidations ( )
protected

Member Function Documentation

◆ add()

void hpp::core::ConfigValidations::add ( const ConfigValidationPtr_t configValidation)

Add a configuration validation object.

◆ clear()

void hpp::core::ConfigValidations::clear ( )

◆ create()

static ConfigValidationsPtr_t hpp::core::ConfigValidations::create ( )
static

◆ numberConfigValidations()

size_type hpp::core::ConfigValidations::numberConfigValidations ( ) const

Return the number of config validations.

◆ validate()

virtual bool hpp::core::ConfigValidations::validate ( const Configuration_t config,
ValidationReportPtr_t validationReport 
)
virtual

Compute whether the configuration is valid

Parameters
configthe config to check for validity,
Return values
validationReportreport on validation. If non valid, a validation report will be allocated and returned via this shared pointer.
Returns
whether the whole config is valid.

Implements hpp::core::ConfigValidation.


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