hpp-core  4.9.0
Implement basic classes for canonical path planning for kinematic chains.
path-validation.hh
Go to the documentation of this file.
1 //
2 // Copyright (c) 2014 CNRS
3 // Authors: Florent Lamiraux
4 //
5 // This file is part of hpp-core
6 // hpp-core is free software: you can redistribute it
7 // and/or modify it under the terms of the GNU Lesser General Public
8 // License as published by the Free Software Foundation, either version
9 // 3 of the License, or (at your option) any later version.
10 //
11 // hpp-core is distributed in the hope that it will be
12 // useful, but WITHOUT ANY WARRANTY; without even the implied warranty
13 // of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 // General Lesser Public License for more details. You should have
15 // received a copy of the GNU Lesser General Public License along with
16 // hpp-core If not, see
17 // <http://www.gnu.org/licenses/>.
18 
19 #ifndef HPP_CORE_PATH_VALIDATION_HH
20 # define HPP_CORE_PATH_VALIDATION_HH
21 
22 # include <hpp/core/fwd.hh>
23 # include <hpp/core/config.hh>
25 
26 namespace hpp {
27  namespace core {
30 
35  class HPP_CORE_DLLAPI PathValidation
36  {
37  public:
47  virtual bool validate (const PathPtr_t& path, bool reverse,
48  PathPtr_t& validPart,
49  PathValidationReportPtr_t& report) = 0;
50 
51  virtual ~PathValidation () {};
52 
53  protected:
55  {
56  }
57  }; // class PathValidation
59  } // namespace core
60 } // namespace hpp
61 
62 #endif // HPP_CORE_PATH_VALIDATION_HH
boost::shared_ptr< Path > PathPtr_t
Definition: fwd.hh:170
PathValidation()
Definition: path-validation.hh:54
Definition: path-validation.hh:35
virtual ~PathValidation()
Definition: path-validation.hh:51
boost::shared_ptr< PathValidationReport > PathValidationReportPtr_t
Definition: fwd.hh:298