hpp-corbaserver  4.9.0
Corba server for Humanoid Path Planner applications
paths.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_PATHS_IDL
12 #define HPP_CORE_PATHS_IDL
13 #include <hpp/common.idl>
14 
15 module hpp
16 {
17  module core_idl {
18  typedef unsigned long long size_t;
19  interface PathVector;
20 
21  interface Path
22  {
24 
25  size_type outputSize () raises (Error);
26 
27  size_type outputDerivativeSize () raises (Error);
28 
29  value_type length () raises (Error);
30 
31  floatSeq initial () raises (Error);
32 
33  floatSeq end () raises (Error);
34 
35  string str () raises (Error);
36 
37  floatSeq call (in value_type t, out boolean success) raises (Error);
38  //-> operator()
39 
40  floatSeq at (in value_type t, out boolean success) raises (Error);
41  //* vector_t res (get()->outputSize());
42  //* success = get()->at (t, res);
43  //* return vectorToFloatSeq (res);
44 
45  floatSeq derivative (in value_type t, in short order) raises (Error);
46  //* vector_t res (get()->outputDerivativeSize());
47  //* get()->derivative (res, t, order);
48  //* return vectorToFloatSeq (res);
49 
50  Path extract (in value_type tmin, in value_type tmax) raises (Error);
51 
52  PathVector asVector () raises (Error);
53  //* PathPtr_t p = get();
54  //* PathVectorPtr_t pv =
55  //* core::PathVector::create (p->outputSize(), p->outputDerivativeSize());
56  //* pv->appendPath (p);
57  //*
58  //* return makeServant<hpp::core_idl::PathVector_ptr>
59  //* (server_, new PathVector (server_, pv));
60 
61  Path reverse () raises (Error);
62  }; // interface Path
63 
64  interface PathVector : Path {
65  size_t numberPaths () raises (Error);
66 
67  Path pathAtRank (in size_t rank) raises (Error);
68 
69  void appendPath (in Path p) raises (Error);
70 
71  void concatenate (in PathVector p) raises (Error);
72  }; // interface PathVector
73 
74  }; // module core
75 }; // module hpp
76 //* #include <hpp/core/path.hh>
77 //* #include <hpp/core/path-vector.hh>
78 
79 #endif // HPP_CORE_PATHS_IDL
CollisionGeometry * extract(const CollisionGeometry *model, const Transform3f &pose, const AABB &aabb)
Implement CORBA interface ``Obstacle&#39;&#39;.
double value_type
Definition: common.idl:18
unsigned long long size_t
Definition: paths.idl:18
Corba exception travelling through the Corba channel.
Definition: common.idl:24
#define HPP_EXPOSE_MEMORY_DEALLOCATION
Definition: common.idl:14
Definition: paths.idl:21
Transform3f t
FCL_REAL length[2]
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition: common.idl:32
Definition: paths.idl:64
long long size_type
Definition: common.idl:19