hpp-corbaserver  4.9.0
Corba server for Humanoid Path Planner applications
configuration_shooters-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__configuration__shooters_hh__
3 #define pp_core_idl__configuration__shooters_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_configuration__shooters
11 #endif
12 #ifndef USE_core_stub_in_nt_dll
13 # define USE_core_stub_in_nt_dll_NOT_DEFINED_configuration__shooters
14 #endif
15 #ifndef USE_dyn_stub_in_nt_dll
16 # define USE_dyn_stub_in_nt_dll_NOT_DEFINED_configuration__shooters
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 
26 
27 
28 #ifdef USE_stub_in_nt_dll
29 # ifndef USE_core_stub_in_nt_dll
30 # define USE_core_stub_in_nt_dll
31 # endif
32 # ifndef USE_dyn_stub_in_nt_dll
33 # define USE_dyn_stub_in_nt_dll
34 # endif
35 #endif
36 
37 #ifdef _core_attr
38 # error "A local CPP macro _core_attr has already been defined."
39 #else
40 # ifdef USE_core_stub_in_nt_dll
41 # define _core_attr _OMNIORB_NTDLL_IMPORT
42 # else
43 # define _core_attr
44 # endif
45 #endif
46 
47 #ifdef _dyn_attr
48 # error "A local CPP macro _dyn_attr has already been defined."
49 #else
50 # ifdef USE_dyn_stub_in_nt_dll
51 # define _dyn_attr _OMNIORB_NTDLL_IMPORT
52 # else
53 # define _dyn_attr
54 # endif
55 #endif
56 
57 
58 
59 _CORBA_MODULE hpp
60 
61 _CORBA_MODULE_BEG
62 
63  _CORBA_MODULE core_idl
64 
65  _CORBA_MODULE_BEG
66 
67 #ifndef __hpp_mcore__idl_mConfigurationShooter__
68 #define __hpp_mcore__idl_mConfigurationShooter__
72 
75 
77  public:
79 
80  static _ptr_type _nil();
81  static _CORBA_Boolean is_nil(_ptr_type);
82  static void release(_ptr_type);
83  static void duplicate(_ptr_type);
84  static void marshalObjRef(_ptr_type, cdrStream&);
85  static _ptr_type unmarshalObjRef(cdrStream&);
86  };
87 
88  typedef _CORBA_ObjRef_Var<_objref_ConfigurationShooter, ConfigurationShooter_Helper> ConfigurationShooter_var;
89  typedef _CORBA_ObjRef_OUT_arg<_objref_ConfigurationShooter,ConfigurationShooter_Helper > ConfigurationShooter_out;
90 
91 #endif
92 
93  // interface ConfigurationShooter
95  public:
96  // Declarations for this interface type.
99 
100  static _ptr_type _duplicate(_ptr_type);
101  static _ptr_type _narrow(::CORBA::Object_ptr);
102  static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
103 
104  static _ptr_type _nil();
105 
106  static inline void _marshalObjRef(_ptr_type, cdrStream&);
107 
108  static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
109  omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
110  if (o)
111  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
112  else
113  return _nil();
114  }
115 
116  static inline _ptr_type _fromObjRef(omniObjRef* o) {
117  if (o)
118  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
119  else
120  return _nil();
121  }
122 
123  static _core_attr const char* _PD_repoId;
124 
125  // Other IDL defined within this scope.
126 
127  };
128 
130  public virtual ::CORBA::Object,
131  public virtual omniObjRef
132  {
133  public:
134  // IDL operations
135  floatSeq* shoot();
136 
137  // Constructors
138  inline _objref_ConfigurationShooter() { _PR_setobj(0); } // nil
139  _objref_ConfigurationShooter(omniIOR*, omniIdentity*);
140 
141  protected:
142  virtual ~_objref_ConfigurationShooter();
143 
144 
145  private:
146  virtual void* _ptrToObjRef(const char*);
147 
150  // not implemented
151 
152  friend class ConfigurationShooter;
153  };
154 
155  class _pof_ConfigurationShooter : public _OMNI_NS(proxyObjectFactory) {
156  public:
157  inline _pof_ConfigurationShooter() : _OMNI_NS(proxyObjectFactory)(ConfigurationShooter::_PD_repoId) {}
158  virtual ~_pof_ConfigurationShooter();
159 
160  virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
161  virtual _CORBA_Boolean is_a(const char*) const;
162  };
163 
165  public virtual omniServant
166  {
167  public:
168  virtual ~_impl_ConfigurationShooter();
169 
170  virtual floatSeq* shoot() = 0;
171 
172  public: // Really protected, workaround for xlC
173  virtual _CORBA_Boolean _dispatch(omniCallHandle&);
174 
175  private:
176  virtual void* _ptrToInterface(const char*);
177  virtual const char* _mostDerivedRepoId();
178 
179  };
180 
181 
182  _CORBA_MODULE configuration_shooter
183 
184  _CORBA_MODULE_BEG
185 
186 #ifndef __hpp_mcore__idl_mconfiguration__shooter_mGaussian__
187 #define __hpp_mcore__idl_mconfiguration__shooter_mGaussian__
188  class Gaussian;
189  class _objref_Gaussian;
191 
194 
196  public:
198 
199  static _ptr_type _nil();
200  static _CORBA_Boolean is_nil(_ptr_type);
201  static void release(_ptr_type);
202  static void duplicate(_ptr_type);
203  static void marshalObjRef(_ptr_type, cdrStream&);
204  static _ptr_type unmarshalObjRef(cdrStream&);
205  };
206 
207  typedef _CORBA_ObjRef_Var<_objref_Gaussian, Gaussian_Helper> Gaussian_var;
208  typedef _CORBA_ObjRef_OUT_arg<_objref_Gaussian,Gaussian_Helper > Gaussian_out;
209 
210 #endif
211 
212  // interface Gaussian
213  class Gaussian {
214  public:
215  // Declarations for this interface type.
218 
219  static _ptr_type _duplicate(_ptr_type);
220  static _ptr_type _narrow(::CORBA::Object_ptr);
221  static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
222 
223  static _ptr_type _nil();
224 
225  static inline void _marshalObjRef(_ptr_type, cdrStream&);
226 
227  static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
228  omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
229  if (o)
230  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
231  else
232  return _nil();
233  }
234 
235  static inline _ptr_type _fromObjRef(omniObjRef* o) {
236  if (o)
237  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
238  else
239  return _nil();
240  }
241 
242  static _core_attr const char* _PD_repoId;
243 
244  // Other IDL defined within this scope.
245 
246  };
247 
249  public virtual _objref_ConfigurationShooter
250  {
251  public:
252  // IDL operations
253  void setCenter(const ::hpp::floatSeq& c);
254  floatSeq* getCenter();
255  floatSeq* getSigmas();
256  void setSigmas(const ::hpp::floatSeq& s);
257 
258  // Constructors
259  inline _objref_Gaussian() { _PR_setobj(0); } // nil
260  _objref_Gaussian(omniIOR*, omniIdentity*);
261 
262  protected:
263  virtual ~_objref_Gaussian();
264 
265 
266  private:
267  virtual void* _ptrToObjRef(const char*);
268 
270  _objref_Gaussian& operator = (const _objref_Gaussian&);
271  // not implemented
272 
273  friend class Gaussian;
274  };
275 
276  class _pof_Gaussian : public _OMNI_NS(proxyObjectFactory) {
277  public:
278  inline _pof_Gaussian() : _OMNI_NS(proxyObjectFactory)(Gaussian::_PD_repoId) {}
279  virtual ~_pof_Gaussian();
280 
281  virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
282  virtual _CORBA_Boolean is_a(const char*) const;
283  };
284 
286  public virtual _impl_ConfigurationShooter
287  {
288  public:
289  virtual ~_impl_Gaussian();
290 
291  virtual void setCenter(const ::hpp::floatSeq& c) = 0;
292  virtual floatSeq* getCenter() = 0;
293  virtual floatSeq* getSigmas() = 0;
294  virtual void setSigmas(const ::hpp::floatSeq& s) = 0;
295 
296  public: // Really protected, workaround for xlC
297  virtual _CORBA_Boolean _dispatch(omniCallHandle&);
298 
299  private:
300  virtual void* _ptrToInterface(const char*);
301  virtual const char* _mostDerivedRepoId();
302 
303  };
304 
305 
306  _CORBA_MODULE_END
307 
308  _CORBA_MODULE_END
309 
310 _CORBA_MODULE_END
311 
312 
313 
314 _CORBA_MODULE POA_hpp
315 _CORBA_MODULE_BEG
316 
317  _CORBA_MODULE core_idl
318  _CORBA_MODULE_BEG
319 
320  class ConfigurationShooter :
321  public virtual hpp::core_idl::_impl_ConfigurationShooter,
322  public virtual ::PortableServer::ServantBase
323  {
324  public:
325  virtual ~ConfigurationShooter();
326 
328  return (::hpp::core_idl::ConfigurationShooter_ptr) _do_this(::hpp::core_idl::ConfigurationShooter::_PD_repoId);
329  }
330  };
331 
332  _CORBA_MODULE configuration_shooter
333  _CORBA_MODULE_BEG
334 
335  class Gaussian :
336  public virtual hpp::core_idl::configuration_shooter::_impl_Gaussian,
337  public virtual ConfigurationShooter
338  {
339  public:
340  virtual ~Gaussian();
341 
343  return (::hpp::core_idl::configuration_shooter::Gaussian_ptr) _do_this(::hpp::core_idl::configuration_shooter::Gaussian::_PD_repoId);
344  }
345  };
346 
347  _CORBA_MODULE_END
348 
349  _CORBA_MODULE_END
350 
351 _CORBA_MODULE_END
352 
353 
354 
355 _CORBA_MODULE OBV_hpp
356 _CORBA_MODULE_BEG
357 
358  _CORBA_MODULE core_idl
359  _CORBA_MODULE_BEG
360 
361  _CORBA_MODULE configuration_shooter
362  _CORBA_MODULE_BEG
363 
364  _CORBA_MODULE_END
365 
366  _CORBA_MODULE_END
367 
368 _CORBA_MODULE_END
369 
370 
371 
372 
373 
374 #undef _core_attr
375 #undef _dyn_attr
376 
377 
378 
379 inline void
380 hpp::core_idl::ConfigurationShooter::_marshalObjRef(::hpp::core_idl::ConfigurationShooter_ptr obj, cdrStream& s) {
381  omniObjRef::_marshal(obj->_PR_getobj(),s);
382 }
383 
384 inline void
385 hpp::core_idl::configuration_shooter::Gaussian::_marshalObjRef(::hpp::core_idl::configuration_shooter::Gaussian_ptr obj, cdrStream& s) {
386  omniObjRef::_marshal(obj->_PR_getobj(),s);
387 }
388 
389 
390 
391 #ifdef USE_stub_in_nt_dll_NOT_DEFINED_configuration__shooters
392 # undef USE_stub_in_nt_dll
393 # undef USE_stub_in_nt_dll_NOT_DEFINED_configuration__shooters
394 #endif
395 #ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_configuration__shooters
396 # undef USE_core_stub_in_nt_dll
397 # undef USE_core_stub_in_nt_dll_NOT_DEFINED_configuration__shooters
398 #endif
399 #ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_configuration__shooters
400 # undef USE_dyn_stub_in_nt_dll
401 # undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_configuration__shooters
402 #endif
403 
404 #endif // __configuration__shooters_hh__
405 
static _ptr_type _unmarshalObjRef(cdrStream &s)
Definition: configuration_shooters-idl.hh:227
static void marshalObjRef(_ptr_type, cdrStream &)
Definition: configuration_shooters-idl.hh:129
Definition: configuration_shooters-idl.hh:276
ConfigurationShooter_ptr ConfigurationShooterRef
Definition: configuration_shooters-idl.hh:74
static _core_attr const char * _PD_repoId
Definition: configuration_shooters-idl.hh:123
_objref_Gaussian()
Definition: configuration_shooters-idl.hh:259
static _ptr_type unmarshalObjRef(cdrStream &)
static void duplicate(_ptr_type)
Implement CORBA interface ``Obstacle&#39;&#39;.
Definition: basic-server.hh:27
static _core_attr const char * _PD_repoId
Definition: configuration_shooters-idl.hh:242
inline ::hpp::core_idl::ConfigurationShooter_ptr _this()
Definition: configuration_shooters-idl.hh:327
#define _core_attr
Definition: configuration_shooters-idl.hh:43
Definition: configuration_shooters-idl.hh:94
static _ptr_type _unmarshalObjRef(cdrStream &s)
Definition: configuration_shooters-idl.hh:108
ConfigurationShooter_var _var_type
Definition: configuration_shooters-idl.hh:98
Definition: configuration_shooters-idl.hh:213
Definition: configuration_shooters-idl.hh:195
static void release(_ptr_type)
Definition: configuration_shooters-idl.hh:155
_objref_ConfigurationShooter * ConfigurationShooter_ptr
Definition: configuration_shooters-idl.hh:71
Definition: configuration_shooters-idl.hh:285
_pof_ConfigurationShooter()
Definition: configuration_shooters-idl.hh:157
ConfigurationShooter_ptr _ptr_type
Definition: configuration_shooters-idl.hh:78
_objref_ConfigurationShooter()
Definition: configuration_shooters-idl.hh:138
_CORBA_ObjRef_Var< _objref_Gaussian, Gaussian_Helper > Gaussian_var
Definition: configuration_shooters-idl.hh:207
static _ptr_type _fromObjRef(omniObjRef *o)
Definition: configuration_shooters-idl.hh:116
_objref_Gaussian * Gaussian_ptr
Definition: configuration_shooters-idl.hh:190
_CORBA_ObjRef_OUT_arg< _objref_ConfigurationShooter, ConfigurationShooter_Helper > ConfigurationShooter_out
Definition: configuration_shooters-idl.hh:89
ConfigurationShooter_ptr _ptr_type
Definition: configuration_shooters-idl.hh:97
_CORBA_ObjRef_Var< _objref_ConfigurationShooter, ConfigurationShooter_Helper > ConfigurationShooter_var
Definition: _problem-idl.hh:230
static _ptr_type _nil()
Gaussian_ptr _ptr_type
Definition: configuration_shooters-idl.hh:197
static _ptr_type _fromObjRef(omniObjRef *o)
Definition: configuration_shooters-idl.hh:235
_CORBA_ObjRef_Var< _objref_ConfigurationShooter, ConfigurationShooter_Helper > ConfigurationShooter_var
Definition: configuration_shooters-idl.hh:88
_pof_Gaussian()
Definition: configuration_shooters-idl.hh:278
Gaussian_ptr GaussianRef
Definition: configuration_shooters-idl.hh:193
Definition: _problem-idl.hh:218
Definition: common-idl.hh:570
sequence< double > floatSeq
Robot configuration is defined by a sequence of dof value.
Definition: common.idl:32
Definition: configuration_shooters-idl.hh:248
inline ::hpp::core_idl::configuration_shooter::Gaussian_ptr _this()
Definition: configuration_shooters-idl.hh:342
Gaussian_ptr _ptr_type
Definition: configuration_shooters-idl.hh:216
_CORBA_ObjRef_OUT_arg< _objref_Gaussian, Gaussian_Helper > Gaussian_out
Definition: configuration_shooters-idl.hh:208
static _CORBA_Boolean is_nil(_ptr_type)
Definition: configuration_shooters-idl.hh:164
Gaussian_var _var_type
Definition: configuration_shooters-idl.hh:217