hpp-corbaserver  5.0.0
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;
83  class _impl_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 
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  ::CORBA::Boolean deleteIfExpired();
149  void persistantStorage(::CORBA::Boolean persistant);
150  Path_ptr apply(::hpp::core_idl::Path_ptr input, ::CORBA::Boolean& success);
151 
152  // Constructors
153  inline _objref_PathProjector() { _PR_setobj(0); } // nil
154  _objref_PathProjector(omniIOR*, omniIdentity*);
155 
156  protected:
158 
159 
160  private:
161  virtual void* _ptrToObjRef(const char*);
162 
164  _objref_PathProjector& operator = (const _objref_PathProjector&);
165  // not implemented
166 
167  friend class PathProjector;
168  };
169 
170  class _pof_PathProjector : public _OMNI_NS(proxyObjectFactory) {
171  public:
172  inline _pof_PathProjector() : _OMNI_NS(proxyObjectFactory)(PathProjector::_PD_repoId) {}
174 
175  virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
176  virtual _CORBA_Boolean is_a(const char*) const;
177  };
178 
180  public virtual omniServant
181  {
182  public:
184 
185  virtual void deleteThis() = 0;
186  virtual ::CORBA::Boolean deleteIfExpired() = 0;
187  virtual void persistantStorage(::CORBA::Boolean persistant) = 0;
188  virtual Path_ptr apply(::hpp::core_idl::Path_ptr input, ::CORBA::Boolean& success) = 0;
189 
190  public: // Really protected, workaround for xlC
191  virtual _CORBA_Boolean _dispatch(omniCallHandle&);
192 
193  private:
194  virtual void* _ptrToInterface(const char*);
195  virtual const char* _mostDerivedRepoId();
196 
197  };
198 
199 
200  _CORBA_MODULE_END
201 
202 _CORBA_MODULE_END
203 
204 
205 
206 _CORBA_MODULE POA_hpp
207 _CORBA_MODULE_BEG
208 
209  _CORBA_MODULE core_idl
210  _CORBA_MODULE_BEG
211 
212  class PathProjector :
213  public virtual hpp::core_idl::_impl_PathProjector,
214  public virtual ::PortableServer::ServantBase
215  {
216  public:
217  virtual ~PathProjector();
218 
220  return (::hpp::core_idl::PathProjector_ptr) _do_this(::hpp::core_idl::PathProjector::_PD_repoId);
221  }
222  };
223 
224  _CORBA_MODULE_END
225 
226 _CORBA_MODULE_END
227 
228 
229 
230 _CORBA_MODULE OBV_hpp
231 _CORBA_MODULE_BEG
232 
233  _CORBA_MODULE core_idl
234  _CORBA_MODULE_BEG
235 
236  _CORBA_MODULE_END
237 
238 _CORBA_MODULE_END
239 
240 
241 
242 
243 
244 #undef _core_attr
245 #undef _dyn_attr
246 
247 
248 
249 inline void
250 hpp::core_idl::PathProjector::_marshalObjRef(::hpp::core_idl::PathProjector_ptr obj, cdrStream& s) {
251  omniObjRef::_marshal(obj->_PR_getobj(),s);
252 }
253 
254 
255 
256 #ifdef USE_stub_in_nt_dll_NOT_DEFINED_path__projectors
257 # undef USE_stub_in_nt_dll
258 # undef USE_stub_in_nt_dll_NOT_DEFINED_path__projectors
259 #endif
260 #ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_path__projectors
261 # undef USE_core_stub_in_nt_dll
262 # undef USE_core_stub_in_nt_dll_NOT_DEFINED_path__projectors
263 #endif
264 #ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_path__projectors
265 # undef USE_dyn_stub_in_nt_dll
266 # undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_path__projectors
267 #endif
268 
269 #endif // __path__projectors_hh__
270 
_CORBA_ObjRef_Var< _objref_PathProjector, PathProjector_Helper > PathProjector_var
Definition: _problem-idl.hh:260
Definition: _problem-idl.hh:248
static _ptr_type unmarshalObjRef(cdrStream &)
static _CORBA_Boolean is_nil(_ptr_type)
static void duplicate(_ptr_type)
static void marshalObjRef(_ptr_type, cdrStream &)
static void release(_ptr_type)
PathProjector_ptr _ptr_type
Definition: path_projectors-idl.hh:90
static _ptr_type _nil()
Definition: path_projectors-idl.hh:106
PathProjector_ptr _ptr_type
Definition: path_projectors-idl.hh:109
static _core_attr const char * _PD_repoId
Definition: path_projectors-idl.hh:135
inline ::hpp::core_idl::PathProjector_ptr _this()
Definition: path_projectors-idl.hh:219
static void _marshalObjRef(_ptr_type, cdrStream &)
Definition: path_projectors-idl.hh:250
static _ptr_type _narrow(::CORBA::Object_ptr)
static _ptr_type _fromObjRef(omniObjRef *o)
Definition: path_projectors-idl.hh:128
static _ptr_type _unmarshalObjRef(cdrStream &s)
Definition: path_projectors-idl.hh:120
static _ptr_type _nil()
PathProjector_var _var_type
Definition: path_projectors-idl.hh:110
static _ptr_type _duplicate(_ptr_type)
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr)
virtual ~PathProjector()
Definition: path_projectors-idl.hh:181
virtual Path_ptr apply(::hpp::core_idl::Path_ptr input, ::CORBA::Boolean &success)=0
virtual void deleteThis()=0
virtual _CORBA_Boolean _dispatch(omniCallHandle &)
virtual void persistantStorage(::CORBA::Boolean persistant)=0
virtual ~_impl_PathProjector()
virtual ::CORBA::Boolean deleteIfExpired()=0
Definition: path_projectors-idl.hh:144
virtual ~_objref_PathProjector()
Path_ptr apply(::hpp::core_idl::Path_ptr input, ::CORBA::Boolean &success)
::CORBA::Boolean deleteIfExpired()
_objref_PathProjector()
Definition: path_projectors-idl.hh:153
_objref_PathProjector(omniIOR *, omniIdentity *)
void persistantStorage(::CORBA::Boolean persistant)
Definition: paths-idl.hh:195
Definition: path_projectors-idl.hh:170
virtual _CORBA_Boolean is_a(const char *) const
_pof_PathProjector()
Definition: path_projectors-idl.hh:172
virtual omniObjRef * newObjRef(omniIOR *, omniIdentity *)
virtual ~_pof_PathProjector()
Implement CORBA interface `‘Obstacle’'.
Definition: client.hh:46
_objref_Path * Path_ptr
Definition: path_planners-idl.hh:83
PathProjector_ptr PathProjectorRef
Definition: path_projectors-idl.hh:86
#define _core_attr
Definition: path_projectors-idl.hh:55
_CORBA_ObjRef_Var< _objref_PathProjector, PathProjector_Helper > PathProjector_var
Definition: path_projectors-idl.hh:100
_CORBA_ObjRef_OUT_arg< _objref_PathProjector, PathProjector_Helper > PathProjector_out
Definition: path_projectors-idl.hh:101
_objref_PathProjector * PathProjector_ptr
Definition: path_projectors-idl.hh:83