Abstraction of configuration validation. More...
#include <hpp/core/config-validation.hh>
Public Member Functions | |
virtual bool | validate (const Configuration_t &config, bool throwIfInValid)=0 |
Compute whether the configuration is valid. More... | |
virtual bool | validate (const Configuration_t &config, ValidationReport &validationReport, bool throwIfInValid)=0 |
Compute whether the configuration is valid. More... | |
virtual void | addObstacle (const CollisionObjectPtr_t &) |
Add an obstacle. More... | |
virtual void | removeObstacleFromJoint (const JointPtr_t &, const CollisionObjectPtr_t &) |
Remove a collision pair between a joint and an obstacle. More... | |
Protected Member Functions | |
ConfigValidation () | |
Abstraction of configuration validation.
Instances of this class validate configurations with respect to some criteria
|
inlineprotected |
|
inlinevirtual |
Add an obstacle.
object | obstacle added collision configuration validation needs to know about obstacles. This virtual method does nothing for configuration validation methods that do not care about obstacles. |
Reimplemented in hpp::core::CollisionValidation, and hpp::core::ConfigValidations.
|
inlinevirtual |
Remove a collision pair between a joint and an obstacle.
the | joint that holds the inner objects, |
the | obstacle to remove. collision configuration validation needs to know about obstacles. This virtual method does nothing for configuration validation methods that do not care about obstacles. |
Reimplemented in hpp::core::CollisionValidation, and hpp::core::ConfigValidations.
|
pure virtual |
Compute whether the configuration is valid.
config | the config to check for validity, |
throwIfInValid | if true throw an exception if config is invalid. |
Implemented in hpp::core::JointBoundValidation, hpp::core::CollisionValidation, and hpp::core::ConfigValidations.
|
pure virtual |
Compute whether the configuration is valid.
config | the config to check for validity, |
validationReport | report on validation. This object may be specialized by derived implementation to report specific information. |
throwIfInValid | if true throw an exception if config is invalid. |
Implemented in hpp::core::CollisionValidation, and hpp::core::ConfigValidations.