hpp-corbaserver  4.10.1
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  //* using namespace hpp::core;
26  //* PathPtr_t _p (::hpp::corbaServer::reference_to_servant_base<core::Path>(server_, p)->get());
27  //* PathPtr_t vp;
28  //* PathValidationReportPtr_t pvr;
29  //*
30  //* bool res = get()->validate (_p, reverse, vp, pvr);
31  //*
32  //* if (pvr) {
33  //* std::ostringstream oss; oss << *pvr;
34  //* std::string res = oss.str();
35  //* report = CORBA::string_dup(res.c_str());
36  //* } else {
37  //* report = CORBA::string_dup("");
38  //* }
39  //*
40  //* validPart = ::hpp::corbaServer::makeServant<hpp::core_idl::Path_ptr> (server_, new Path (server_, vp));
41  //* return res;
42  }; // interface SteeringMethod
43 
44  }; // module core
45 }; // module hpp
46 //* #include <hpp/core/path-validation.hh>
47 //* #include <hpp/core/path-validation-report.hh>
48 //* #include <hpp/core_idl/paths.hh>
49 
50 #endif // HPP_CORE_PATH_VALIDATIONS_IDL
Implement CORBA interface ``Obstacle&#39;&#39;.
Definition: basic-server.hh:27
Corba exception travelling through the Corba channel.
Definition: common.idl:24
Definition: path_validations.idl:22
_CORBA_MODULE hpp _CORBA_MODULE_BEG _CORBA_MODULE core_idl _CORBA_MODULE_BEG typedef char * PathValidationReport
Definition: path_validations-idl.hh:79
Definition: paths.idl:22