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