hpp-corbaserver  4.9.0
Corba server for Humanoid Path Planner applications
path_validations-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__validations_hh__
3 #define pp_core_idl__path__validations_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__validations
11 #endif
12 #ifndef USE_core_stub_in_nt_dll
13 # define USE_core_stub_in_nt_dll_NOT_DEFINED_path__validations
14 #endif
15 #ifndef USE_dyn_stub_in_nt_dll
16 # define USE_dyn_stub_in_nt_dll_NOT_DEFINED_path__validations
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  typedef char* PathValidationReport;
72  typedef ::CORBA::String_var PathValidationReport_var;
73  typedef ::CORBA::String_out PathValidationReport_out;
74 
75 #ifndef __hpp_mcore__idl_mPathValidation__
76 #define __hpp_mcore__idl_mPathValidation__
77  class PathValidation;
80 
83 
84  class PathValidation_Helper {
85  public:
87 
88  static _ptr_type _nil();
89  static _CORBA_Boolean is_nil(_ptr_type);
90  static void release(_ptr_type);
91  static void duplicate(_ptr_type);
92  static void marshalObjRef(_ptr_type, cdrStream&);
93  static _ptr_type unmarshalObjRef(cdrStream&);
94  };
95 
96  typedef _CORBA_ObjRef_Var<_objref_PathValidation, PathValidation_Helper> PathValidation_var;
97  typedef _CORBA_ObjRef_OUT_arg<_objref_PathValidation,PathValidation_Helper > PathValidation_out;
98 
99 #endif
100 
101  // interface PathValidation
103  public:
104  // Declarations for this interface type.
107 
108  static _ptr_type _duplicate(_ptr_type);
109  static _ptr_type _narrow(::CORBA::Object_ptr);
110  static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
111 
112  static _ptr_type _nil();
113 
114  static inline void _marshalObjRef(_ptr_type, cdrStream&);
115 
116  static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
117  omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
118  if (o)
119  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
120  else
121  return _nil();
122  }
123 
124  static inline _ptr_type _fromObjRef(omniObjRef* o) {
125  if (o)
126  return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
127  else
128  return _nil();
129  }
130 
131  static _core_attr const char* _PD_repoId;
132 
133  // Other IDL defined within this scope.
134 
135  };
136 
138  public virtual ::CORBA::Object,
139  public virtual omniObjRef
140  {
141  public:
142  // IDL operations
143  ::CORBA::Boolean validate(::hpp::core_idl::Path_ptr p, ::CORBA::Boolean reverse, ::hpp::core_idl::Path_out validPart, ::hpp::core_idl::PathValidationReport_out report);
144 
145  // Constructors
146  inline _objref_PathValidation() { _PR_setobj(0); } // nil
147  _objref_PathValidation(omniIOR*, omniIdentity*);
148 
149  protected:
150  virtual ~_objref_PathValidation();
151 
152 
153  private:
154  virtual void* _ptrToObjRef(const char*);
155 
157  _objref_PathValidation& operator = (const _objref_PathValidation&);
158  // not implemented
159 
160  friend class PathValidation;
161  };
162 
163  class _pof_PathValidation : public _OMNI_NS(proxyObjectFactory) {
164  public:
165  inline _pof_PathValidation() : _OMNI_NS(proxyObjectFactory)(PathValidation::_PD_repoId) {}
166  virtual ~_pof_PathValidation();
167 
168  virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
169  virtual _CORBA_Boolean is_a(const char*) const;
170  };
171 
173  public virtual omniServant
174  {
175  public:
176  virtual ~_impl_PathValidation();
177 
178  virtual ::CORBA::Boolean validate(::hpp::core_idl::Path_ptr p, ::CORBA::Boolean reverse, ::hpp::core_idl::Path_out validPart, ::hpp::core_idl::PathValidationReport_out report) = 0;
179 
180  public: // Really protected, workaround for xlC
181  virtual _CORBA_Boolean _dispatch(omniCallHandle&);
182 
183  private:
184  virtual void* _ptrToInterface(const char*);
185  virtual const char* _mostDerivedRepoId();
186 
187  };
188 
189 
190  _CORBA_MODULE_END
191 
192 _CORBA_MODULE_END
193 
194 
195 
196 _CORBA_MODULE POA_hpp
197 _CORBA_MODULE_BEG
198 
199  _CORBA_MODULE core_idl
200  _CORBA_MODULE_BEG
201 
202  class PathValidation :
203  public virtual hpp::core_idl::_impl_PathValidation,
204  public virtual ::PortableServer::ServantBase
205  {
206  public:
207  virtual ~PathValidation();
208 
210  return (::hpp::core_idl::PathValidation_ptr) _do_this(::hpp::core_idl::PathValidation::_PD_repoId);
211  }
212  };
213 
214  _CORBA_MODULE_END
215 
216 _CORBA_MODULE_END
217 
218 
219 
220 _CORBA_MODULE OBV_hpp
221 _CORBA_MODULE_BEG
222 
223  _CORBA_MODULE core_idl
224  _CORBA_MODULE_BEG
225 
226  _CORBA_MODULE_END
227 
228 _CORBA_MODULE_END
229 
230 
231 
232 
233 
234 #undef _core_attr
235 #undef _dyn_attr
236 
237 
238 
239 inline void
240 hpp::core_idl::PathValidation::_marshalObjRef(::hpp::core_idl::PathValidation_ptr obj, cdrStream& s) {
241  omniObjRef::_marshal(obj->_PR_getobj(),s);
242 }
243 
244 
245 
246 #ifdef USE_stub_in_nt_dll_NOT_DEFINED_path__validations
247 # undef USE_stub_in_nt_dll
248 # undef USE_stub_in_nt_dll_NOT_DEFINED_path__validations
249 #endif
250 #ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_path__validations
251 # undef USE_core_stub_in_nt_dll
252 # undef USE_core_stub_in_nt_dll_NOT_DEFINED_path__validations
253 #endif
254 #ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_path__validations
255 # undef USE_dyn_stub_in_nt_dll
256 # undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_path__validations
257 #endif
258 
259 #endif // __path__validations_hh__
260 
Definition: path_validations-idl.hh:163
PathValidation_var _var_type
Definition: path_validations-idl.hh:106
_objref_PathValidation * PathValidation_ptr
Definition: path_validations-idl.hh:79
static void release(_ptr_type)
static _ptr_type unmarshalObjRef(cdrStream &)
Implement CORBA interface ``Obstacle&#39;&#39;.
Definition: basic-server.hh:27
_CORBA_ObjRef_OUT_arg< _objref_PathValidation, PathValidation_Helper > PathValidation_out
Definition: path_validations-idl.hh:97
::CORBA::String_var PathValidationReport_var
Definition: path_validations-idl.hh:72
PathValidation_ptr _ptr_type
Definition: path_validations-idl.hh:105
inline ::hpp::core_idl::PathValidation_ptr _this()
Definition: path_validations-idl.hh:209
_CORBA_ObjRef_OUT_arg< _objref_Path, Path_Helper > Path_out
Definition: paths-idl.hh:118
_CORBA_ObjRef_Var< _objref_PathValidation, PathValidation_Helper > PathValidation_var
Definition: _problem-idl.hh:204
_objref_PathValidation()
Definition: path_validations-idl.hh:146
static _ptr_type _fromObjRef(omniObjRef *o)
Definition: path_validations-idl.hh:124
#define _core_attr
Definition: path_validations-idl.hh:47
_objref_Path * Path_ptr
Definition: paths-idl.hh:100
static _ptr_type _unmarshalObjRef(cdrStream &s)
Definition: path_validations-idl.hh:116
::CORBA::String_out PathValidationReport_out
Definition: path_validations-idl.hh:73
static _CORBA_Boolean is_nil(_ptr_type)
PathValidation_ptr _ptr_type
Definition: path_validations-idl.hh:86
_CORBA_MODULE hpp _CORBA_MODULE_BEG _CORBA_MODULE core_idl _CORBA_MODULE_BEG typedef char * PathValidationReport
Definition: path_validations-idl.hh:71
_CORBA_ObjRef_Var< _objref_PathValidation, PathValidation_Helper > PathValidation_var
Definition: path_validations-idl.hh:96
PathValidation_ptr PathValidationRef
Definition: path_validations-idl.hh:82
static void duplicate(_ptr_type)
static _core_attr const char * _PD_repoId
Definition: path_validations-idl.hh:131
Definition: path_validations-idl.hh:172
_pof_PathValidation()
Definition: path_validations-idl.hh:165
static _ptr_type _nil()
Definition: _problem-idl.hh:192
Definition: path_validations-idl.hh:137
Definition: path_validations-idl.hh:102
static void marshalObjRef(_ptr_type, cdrStream &)