hpp-corbaserver  4.9.0
Corba server for Humanoid Path Planner applications
path_planners-idl.hh
Go to the documentation of this file.
1 // This file is generated by omniidl (C++ backend)- omniORB_4_2. Do not edit.
2 #ifndef pp_core_idl__path__planners_hh__
3 #define pp_core_idl__path__planners_hh__
4 
5 #ifndef __CORBA_H_EXTERNAL_GUARD__
6 #include <omniORB4/CORBA.h>
7 #endif
8 
9 #ifndef USE_stub_in_nt_dll
10 # define USE_stub_in_nt_dll_NOT_DEFINED_path__planners
11 #endif
12 #ifndef USE_core_stub_in_nt_dll
13 # define USE_core_stub_in_nt_dll_NOT_DEFINED_path__planners
14 #endif
15 #ifndef USE_dyn_stub_in_nt_dll
16 # define USE_dyn_stub_in_nt_dll_NOT_DEFINED_path__planners
17 #endif
18 
19 
20 
21 #ifndef pp_core_idl__common_hh_EXTERNAL_GUARD__
22 #define pp_core_idl__common_hh_EXTERNAL_GUARD__
23 #include <hpp/common-idl.hh>
24 #endif
25 #ifndef pp_core_idl__paths_hh_EXTERNAL_GUARD__
26 #define pp_core_idl__paths_hh_EXTERNAL_GUARD__
28 #endif
29 
30 
31 
32 #ifdef USE_stub_in_nt_dll
33 # ifndef USE_core_stub_in_nt_dll
34 # define USE_core_stub_in_nt_dll
35 # endif
36 # ifndef USE_dyn_stub_in_nt_dll
37 # define USE_dyn_stub_in_nt_dll
38 # endif
39 #endif
40 
41 #ifdef _core_attr
42 # error "A local CPP macro _core_attr has already been defined."
43 #else
44 # ifdef USE_core_stub_in_nt_dll
45 # define _core_attr _OMNIORB_NTDLL_IMPORT
46 # else
47 # define _core_attr
48 # endif
49 #endif
50 
51 #ifdef _dyn_attr
52 # error "A local CPP macro _dyn_attr has already been defined."
53 #else
54 # ifdef USE_dyn_stub_in_nt_dll
55 # define _dyn_attr _OMNIORB_NTDLL_IMPORT
56 # else
57 # define _dyn_attr
58 # endif
59 #endif
60 
61 
62 
63 _CORBA_MODULE hpp
64 
65 _CORBA_MODULE_BEG
66 
67  _CORBA_MODULE core_idl
68 
69  _CORBA_MODULE_BEG
70 
71 #ifndef __hpp_mcore__idl_mPathPlanner__
72 #define __hpp_mcore__idl_mPathPlanner__
73  class PathPlanner;
74  class _objref_PathPlanner;
76 
79 
81  public:
83 
84  static _ptr_type _nil();
85  static _CORBA_Boolean is_nil(_ptr_type);
86  static void release(_ptr_type);
87  static void duplicate(_ptr_type);
88  static void marshalObjRef(_ptr_type, cdrStream&);
89  static _ptr_type unmarshalObjRef(cdrStream&);
90  };
91 
92  typedef _CORBA_ObjRef_Var<_objref_PathPlanner, PathPlanner_Helper> PathPlanner_var;
93  typedef _CORBA_ObjRef_OUT_arg<_objref_PathPlanner,PathPlanner_Helper > PathPlanner_out;
94 
95 #endif
96 
97  // interface PathPlanner
98  class PathPlanner {
99  public:
100  // Declarations for this interface type.
103 
104  static _ptr_type _duplicate(_ptr_type);
105  static _ptr_type _narrow(::CORBA::Object_ptr);
106  static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
107 
108  static _ptr_type _nil();
109 
110  static inline void _marshalObjRef(_ptr_type, cdrStream&);
111 
112  static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
113  omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
114  if (o)
115  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
116  else
117  return _nil();
118  }
119 
120  static inline _ptr_type _fromObjRef(omniObjRef* o) {
121  if (o)
122  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
123  else
124  return _nil();
125  }
126 
127  static _core_attr const char* _PD_repoId;
128 
129  // Other IDL defined within this scope.
130 
131  };
132 
134  public virtual ::CORBA::Object,
135  public virtual omniObjRef
136  {
137  public:
138  // IDL operations
139  PathVector_ptr solve();
140  void startSolve();
141  void tryConnectInitAndGoals();
142  void oneStep();
143  PathVector_ptr computePath();
144  PathVector_ptr finishSolve(::hpp::core_idl::PathVector_ptr path);
145  void interrupt();
146  void maxIterations(::hpp::size_type n);
147  void timeOut(::hpp::value_type seconds);
148 
149  // Constructors
150  inline _objref_PathPlanner() { _PR_setobj(0); } // nil
151  _objref_PathPlanner(omniIOR*, omniIdentity*);
152 
153  protected:
154  virtual ~_objref_PathPlanner();
155 
156 
157  private:
158  virtual void* _ptrToObjRef(const char*);
159 
161  _objref_PathPlanner& operator = (const _objref_PathPlanner&);
162  // not implemented
163 
164  friend class PathPlanner;
165  };
166 
167  class _pof_PathPlanner : public _OMNI_NS(proxyObjectFactory) {
168  public:
169  inline _pof_PathPlanner() : _OMNI_NS(proxyObjectFactory)(PathPlanner::_PD_repoId) {}
170  virtual ~_pof_PathPlanner();
171 
172  virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
173  virtual _CORBA_Boolean is_a(const char*) const;
174  };
175 
177  public virtual omniServant
178  {
179  public:
180  virtual ~_impl_PathPlanner();
181 
182  virtual PathVector_ptr solve() = 0;
183  virtual void startSolve() = 0;
184  virtual void tryConnectInitAndGoals() = 0;
185  virtual void oneStep() = 0;
186  virtual PathVector_ptr computePath() = 0;
187  virtual PathVector_ptr finishSolve(::hpp::core_idl::PathVector_ptr path) = 0;
188  virtual void interrupt() = 0;
189  virtual void maxIterations(::hpp::size_type n) = 0;
190  virtual void timeOut(::hpp::value_type seconds) = 0;
191 
192  public: // Really protected, workaround for xlC
193  virtual _CORBA_Boolean _dispatch(omniCallHandle&);
194 
195  private:
196  virtual void* _ptrToInterface(const char*);
197  virtual const char* _mostDerivedRepoId();
198 
199  };
200 
201 
202  _CORBA_MODULE_END
203 
204 _CORBA_MODULE_END
205 
206 
207 
208 _CORBA_MODULE POA_hpp
209 _CORBA_MODULE_BEG
210 
211  _CORBA_MODULE core_idl
212  _CORBA_MODULE_BEG
213 
214  class PathPlanner :
215  public virtual hpp::core_idl::_impl_PathPlanner,
216  public virtual ::PortableServer::ServantBase
217  {
218  public:
219  virtual ~PathPlanner();
220 
222  return (::hpp::core_idl::PathPlanner_ptr) _do_this(::hpp::core_idl::PathPlanner::_PD_repoId);
223  }
224  };
225 
226  _CORBA_MODULE_END
227 
228 _CORBA_MODULE_END
229 
230 
231 
232 _CORBA_MODULE OBV_hpp
233 _CORBA_MODULE_BEG
234 
235  _CORBA_MODULE core_idl
236  _CORBA_MODULE_BEG
237 
238  _CORBA_MODULE_END
239 
240 _CORBA_MODULE_END
241 
242 
243 
244 
245 
246 #undef _core_attr
247 #undef _dyn_attr
248 
249 
250 
251 inline void
252 hpp::core_idl::PathPlanner::_marshalObjRef(::hpp::core_idl::PathPlanner_ptr obj, cdrStream& s) {
253  omniObjRef::_marshal(obj->_PR_getobj(),s);
254 }
255 
256 
257 
258 #ifdef USE_stub_in_nt_dll_NOT_DEFINED_path__planners
259 # undef USE_stub_in_nt_dll
260 # undef USE_stub_in_nt_dll_NOT_DEFINED_path__planners
261 #endif
262 #ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_path__planners
263 # undef USE_core_stub_in_nt_dll
264 # undef USE_core_stub_in_nt_dll_NOT_DEFINED_path__planners
265 #endif
266 #ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_path__planners
267 # undef USE_dyn_stub_in_nt_dll
268 # undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_path__planners
269 #endif
270 
271 #endif // __path__planners_hh__
272 
_objref_PathPlanner * PathPlanner_ptr
Definition: path_planners-idl.hh:75
Definition: path_planners-idl.hh:98
#define _core_attr
Definition: path_planners-idl.hh:47
Definition: paths-idl.hh:297
Definition: path_planners-idl.hh:176
static void marshalObjRef(_ptr_type, cdrStream &)
Implement CORBA interface ``Obstacle&#39;&#39;.
Definition: basic-server.hh:27
inline ::hpp::core_idl::PathPlanner_ptr _this()
Definition: path_planners-idl.hh:221
static _ptr_type unmarshalObjRef(cdrStream &)
_CORBA_ObjRef_Var< _objref_PathPlanner, PathPlanner_Helper > PathPlanner_var
Definition: path_planners-idl.hh:92
double value_type
Definition: common.idl:18
static void duplicate(_ptr_type)
Definition: path_planners-idl.hh:80
_objref_PathPlanner()
Definition: path_planners-idl.hh:150
static _CORBA_Boolean is_nil(_ptr_type)
_pof_PathPlanner()
Definition: path_planners-idl.hh:169
static void release(_ptr_type)
static _ptr_type _fromObjRef(omniObjRef *o)
Definition: path_planners-idl.hh:120
PathPlanner_ptr PathPlannerRef
Definition: path_planners-idl.hh:78
PathPlanner_var _var_type
Definition: path_planners-idl.hh:102
static _ptr_type _nil()
_objref_PathVector * PathVector_ptr
Definition: paths-idl.hh:74
_CORBA_ObjRef_OUT_arg< _objref_PathPlanner, PathPlanner_Helper > PathPlanner_out
Definition: path_planners-idl.hh:93
PathPlanner_ptr _ptr_type
Definition: path_planners-idl.hh:101
static _ptr_type _unmarshalObjRef(cdrStream &s)
Definition: path_planners-idl.hh:112
static _core_attr const char * _PD_repoId
Definition: path_planners-idl.hh:127
PathPlanner_ptr _ptr_type
Definition: path_planners-idl.hh:82
Definition: path_planners-idl.hh:167
Definition: path_planners-idl.hh:133
long long size_type
Definition: common.idl:19