hpp-corbaserver  4.9.0
Corba server for Humanoid Path Planner applications
path_validations.idl
Go to the documentation of this file.
1 // Copyright (C) 2019 by Joseph Mirabel, LAAS-CNRS.
2 //
3 // This file is part of the hpp-corbaserver.
4 //
5 // This software is provided "as is" without warranty of any kind,
6 // either expressed or implied, including but not limited to the
7 // implied warranties of fitness for a particular purpose.
8 //
9 // See the COPYING file for more information.
10 
11 #ifndef HPP_CORE_PATH_VALIDATIONS_IDL
12 #define HPP_CORE_PATH_VALIDATIONS_IDL
13 #include <hpp/common.idl>
14 
15 #include <hpp/core_idl/paths.idl>
16 
17 module hpp
18 {
19  module core_idl {
20  typedef string PathValidationReport;
21 
22  interface PathValidation
23  {
24  boolean validate (in Path p, in boolean reverse, out Path validPart, out PathValidationReport report) raises (Error);
25  //* core::PathPtr_t _p (reference_to_servant_base<core::Path>(server_, p)->get());
26  //* core::PathPtr_t vp;
27  //* core::PathValidationReportPtr_t pvr;
28  //*
29  //* bool res = get()->validate (_p, reverse, vp, pvr);
30  //*
31  //* if (pvr) {
32  //* std::ostringstream oss; oss << *pvr;
33  //* std::string res = oss.str();
34  //* report = CORBA::string_dup(res.c_str());
35  //* } else {
36  //* report = CORBA::string_dup("");
37  //* }
38  //*
39  //* validPart = makeServant<hpp::core_idl::Path_ptr> (server_, new Path (server_, vp));
40  //* return res;
41  }; // interface SteeringMethod
42 
43  }; // module core
44 }; // module hpp
45 //* #include <hpp/core/path-validation.hh>
46 //* #include <hpp/core/path-validation-report.hh>
47 //* #include <hpp/core_idl/paths.hh>
48 
49 #endif // HPP_CORE_PATH_VALIDATIONS_IDL
Implement CORBA interface ``Obstacle&#39;&#39;.
Corba exception travelling through the Corba channel.
Definition: common.idl:24
Definition: path_validations.idl:22
string PathValidationReport
Definition: path_validations.idl:20
Definition: paths.idl:21