hpp-corbaserver  4.15.1
Corba server for Humanoid Path Planner applications
path_projectors-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__projectors_hh__
3 #define pp_core_idl__path__projectors_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__projectors
11 #endif
12 #ifndef USE_core_stub_in_nt_dll
13 # define USE_core_stub_in_nt_dll_NOT_DEFINED_path__projectors
14 #endif
15 #ifndef USE_dyn_stub_in_nt_dll
16 # define USE_dyn_stub_in_nt_dll_NOT_DEFINED_path__projectors
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 #ifndef pp_core_idl__constraints_hh_EXTERNAL_GUARD__
30 #define pp_core_idl__constraints_hh_EXTERNAL_GUARD__
32 #endif
33 #ifndef pp_core_idl____constraints_hh_EXTERNAL_GUARD__
34 #define pp_core_idl____constraints_hh_EXTERNAL_GUARD__
36 #endif
37 
38 
39 
40 #ifdef USE_stub_in_nt_dll
41 # ifndef USE_core_stub_in_nt_dll
42 # define USE_core_stub_in_nt_dll
43 # endif
44 # ifndef USE_dyn_stub_in_nt_dll
45 # define USE_dyn_stub_in_nt_dll
46 # endif
47 #endif
48 
49 #ifdef _core_attr
50 # error "A local CPP macro _core_attr has already been defined."
51 #else
52 # ifdef USE_core_stub_in_nt_dll
53 # define _core_attr _OMNIORB_NTDLL_IMPORT
54 # else
55 # define _core_attr
56 # endif
57 #endif
58 
59 #ifdef _dyn_attr
60 # error "A local CPP macro _dyn_attr has already been defined."
61 #else
62 # ifdef USE_dyn_stub_in_nt_dll
63 # define _dyn_attr _OMNIORB_NTDLL_IMPORT
64 # else
65 # define _dyn_attr
66 # endif
67 #endif
68 
69 
70 
71 _CORBA_MODULE hpp
72 
73 _CORBA_MODULE_BEG
74 
75  _CORBA_MODULE core_idl
76 
77  _CORBA_MODULE_BEG
78 
79 #ifndef __hpp_mcore__idl_mPathProjector__
80 #define __hpp_mcore__idl_mPathProjector__
81  class PathProjector;
84 
87 
88  class PathProjector_Helper {
89  public:
91 
92  static _ptr_type _nil();
93  static _CORBA_Boolean is_nil(_ptr_type);
94  static void release(_ptr_type);
95  static void duplicate(_ptr_type);
96  static void marshalObjRef(_ptr_type, cdrStream&);
97  static _ptr_type unmarshalObjRef(cdrStream&);
98  };
99 
100  typedef _CORBA_ObjRef_Var<_objref_PathProjector, PathProjector_Helper> PathProjector_var;
101  typedef _CORBA_ObjRef_OUT_arg<_objref_PathProjector,PathProjector_Helper > PathProjector_out;
102 
103 #endif
104 
105  // interface PathProjector
107  public:
108  // Declarations for this interface type.
111 
112  static _ptr_type _duplicate(_ptr_type);
113  static _ptr_type _narrow(::CORBA::Object_ptr);
114  static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
115 
116  static _ptr_type _nil();
117 
118  static inline void _marshalObjRef(_ptr_type, cdrStream&);
119 
120  static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
121  omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
122  if (o)
123  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
124  else
125  return _nil();
126  }
127 
128  static inline _ptr_type _fromObjRef(omniObjRef* o) {
129  if (o)
130  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
131  else
132  return _nil();
133  }
134 
135  static _core_attr const char* _PD_repoId;
136 
137  // Other IDL defined within this scope.
138 
139  };
140 
142  public virtual ::CORBA::Object,
143  public virtual omniObjRef
144  {
145  public:
146  // IDL operations
147  void deleteThis();
148  Path_ptr apply(::hpp::core_idl::Path_ptr input, ::CORBA::Boolean& success);
149 
150  // Constructors
151  inline _objref_PathProjector() { _PR_setobj(0); } // nil
152  _objref_PathProjector(omniIOR*, omniIdentity*);
153 
154  protected:
155  virtual ~_objref_PathProjector();
156 
157 
158  private:
159  virtual void* _ptrToObjRef(const char*);
160 
162  _objref_PathProjector& operator = (const _objref_PathProjector&);
163  // not implemented
164 
165  friend class PathProjector;
166  };
167 
168  class _pof_PathProjector : public _OMNI_NS(proxyObjectFactory) {
169  public:
170  inline _pof_PathProjector() : _OMNI_NS(proxyObjectFactory)(PathProjector::_PD_repoId) {}
171  virtual ~_pof_PathProjector();
172 
173  virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
174  virtual _CORBA_Boolean is_a(const char*) const;
175  };
176 
178  public virtual omniServant
179  {
180  public:
181  virtual ~_impl_PathProjector();
182 
183  virtual void deleteThis() = 0;
184  virtual Path_ptr apply(::hpp::core_idl::Path_ptr input, ::CORBA::Boolean& success) = 0;
185 
186  public: // Really protected, workaround for xlC
187  virtual _CORBA_Boolean _dispatch(omniCallHandle&);
188 
189  private:
190  virtual void* _ptrToInterface(const char*);
191  virtual const char* _mostDerivedRepoId();
192 
193  };
194 
195 
196  _CORBA_MODULE_END
197 
198 _CORBA_MODULE_END
199 
200 
201 
202 _CORBA_MODULE POA_hpp
203 _CORBA_MODULE_BEG
204 
205  _CORBA_MODULE core_idl
206  _CORBA_MODULE_BEG
207 
208  class PathProjector :
209  public virtual hpp::core_idl::_impl_PathProjector,
210  public virtual ::PortableServer::ServantBase
211  {
212  public:
213  virtual ~PathProjector();
214 
216  return (::hpp::core_idl::PathProjector_ptr) _do_this(::hpp::core_idl::PathProjector::_PD_repoId);
217  }
218  };
219 
220  _CORBA_MODULE_END
221 
222 _CORBA_MODULE_END
223 
224 
225 
226 _CORBA_MODULE OBV_hpp
227 _CORBA_MODULE_BEG
228 
229  _CORBA_MODULE core_idl
230  _CORBA_MODULE_BEG
231 
232  _CORBA_MODULE_END
233 
234 _CORBA_MODULE_END
235 
236 
237 
238 
239 
240 #undef _core_attr
241 #undef _dyn_attr
242 
243 
244 
245 inline void
246 hpp::core_idl::PathProjector::_marshalObjRef(::hpp::core_idl::PathProjector_ptr obj, cdrStream& s) {
247  omniObjRef::_marshal(obj->_PR_getobj(),s);
248 }
249 
250 
251 
252 #ifdef USE_stub_in_nt_dll_NOT_DEFINED_path__projectors
253 # undef USE_stub_in_nt_dll
254 # undef USE_stub_in_nt_dll_NOT_DEFINED_path__projectors
255 #endif
256 #ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_path__projectors
257 # undef USE_core_stub_in_nt_dll
258 # undef USE_core_stub_in_nt_dll_NOT_DEFINED_path__projectors
259 #endif
260 #ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_path__projectors
261 # undef USE_dyn_stub_in_nt_dll
262 # undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_path__projectors
263 #endif
264 
265 #endif // __path__projectors_hh__
266 
static void marshalObjRef(_ptr_type, cdrStream &)
static _ptr_type _nil()
static _core_attr const char * _PD_repoId
Definition: path_projectors-idl.hh:135
PathProjector_ptr _ptr_type
Definition: path_projectors-idl.hh:90
static _CORBA_Boolean is_nil(_ptr_type)
Definition: path_projectors-idl.hh:168
Implement CORBA interface ``Obstacle&#39;&#39;.
Definition: client.hh:46
Definition: paths-idl.hh:192
Definition: path_projectors-idl.hh:141
_CORBA_ObjRef_Var< _objref_PathProjector, PathProjector_Helper > PathProjector_var
Definition: path_projectors-idl.hh:100
Definition: path_projectors-idl.hh:106
Definition: _problem-idl.hh:248
_objref_PathProjector * PathProjector_ptr
Definition: path_projectors-idl.hh:83
_objref_PathProjector()
Definition: path_projectors-idl.hh:151
_CORBA_ObjRef_OUT_arg< _objref_PathProjector, PathProjector_Helper > PathProjector_out
Definition: path_projectors-idl.hh:101
static _ptr_type unmarshalObjRef(cdrStream &)
static _ptr_type _fromObjRef(omniObjRef *o)
Definition: path_projectors-idl.hh:128
_CORBA_ObjRef_Var< _objref_PathProjector, PathProjector_Helper > PathProjector_var
Definition: _problem-idl.hh:260
static void release(_ptr_type)
PathProjector_ptr PathProjectorRef
Definition: path_projectors-idl.hh:86
#define _core_attr
Definition: path_projectors-idl.hh:55
inline ::hpp::core_idl::PathProjector_ptr _this()
Definition: path_projectors-idl.hh:215
_pof_PathProjector()
Definition: path_projectors-idl.hh:170
static _ptr_type _unmarshalObjRef(cdrStream &s)
Definition: path_projectors-idl.hh:120
Definition: path_projectors-idl.hh:177
PathProjector_ptr _ptr_type
Definition: path_projectors-idl.hh:109
PathProjector_var _var_type
Definition: path_projectors-idl.hh:110
_objref_Path * Path_ptr
Definition: path_planners-idl.hh:83
static void duplicate(_ptr_type)