| Line |
Branch |
Exec |
Source |
| 1 |
|
|
// This file is generated by omniidl (C++ backend)- omniORB_4_3. Do not edit. |
| 2 |
|
|
#ifndef pp_core_idl__distances_hh__ |
| 3 |
|
|
#define pp_core_idl__distances_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_distances |
| 11 |
|
|
#endif |
| 12 |
|
|
#ifndef USE_core_stub_in_nt_dll |
| 13 |
|
|
# define USE_core_stub_in_nt_dll_NOT_DEFINED_distances |
| 14 |
|
|
#endif |
| 15 |
|
|
#ifndef USE_dyn_stub_in_nt_dll |
| 16 |
|
|
# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_distances |
| 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_mDistance__ |
| 68 |
|
|
#define __hpp_mcore__idl_mDistance__ |
| 69 |
|
|
class Distance; |
| 70 |
|
|
class _objref_Distance; |
| 71 |
|
|
class _impl_Distance; |
| 72 |
|
|
|
| 73 |
|
|
typedef _objref_Distance* Distance_ptr; |
| 74 |
|
|
typedef Distance_ptr DistanceRef; |
| 75 |
|
|
|
| 76 |
|
|
class Distance_Helper { |
| 77 |
|
|
public: |
| 78 |
|
|
typedef Distance_ptr _ptr_type; |
| 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_Distance, Distance_Helper> Distance_var; |
| 89 |
|
|
typedef _CORBA_ObjRef_OUT_arg<_objref_Distance,Distance_Helper > Distance_out; |
| 90 |
|
|
|
| 91 |
|
|
#endif |
| 92 |
|
|
|
| 93 |
|
|
// interface Distance |
| 94 |
|
|
class Distance { |
| 95 |
|
|
public: |
| 96 |
|
|
// Declarations for this interface type. |
| 97 |
|
|
typedef Distance_ptr _ptr_type; |
| 98 |
|
|
typedef Distance_var _var_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 |
|
|
|
| 129 |
|
|
class _objref_Distance : |
| 130 |
|
|
public virtual ::CORBA::Object, |
| 131 |
|
|
public virtual omniObjRef |
| 132 |
|
|
{ |
| 133 |
|
|
public: |
| 134 |
|
|
// IDL operations |
| 135 |
|
|
void deleteThis(); |
| 136 |
|
|
::CORBA::Boolean deleteIfExpired(); |
| 137 |
|
|
void persistantStorage(::CORBA::Boolean persistant); |
| 138 |
|
|
value_type call(const ::hpp::floatSeq& q1, const ::hpp::floatSeq& q2); |
| 139 |
|
|
|
| 140 |
|
|
// Constructors |
| 141 |
|
✗ |
inline _objref_Distance() { _PR_setobj(0); } // nil |
| 142 |
|
|
_objref_Distance(omniIOR*, omniIdentity*); |
| 143 |
|
|
|
| 144 |
|
|
protected: |
| 145 |
|
|
virtual ~_objref_Distance(); |
| 146 |
|
|
|
| 147 |
|
|
|
| 148 |
|
|
private: |
| 149 |
|
|
virtual void* _ptrToObjRef(const char*); |
| 150 |
|
|
|
| 151 |
|
|
_objref_Distance(const _objref_Distance&); |
| 152 |
|
|
_objref_Distance& operator = (const _objref_Distance&); |
| 153 |
|
|
// not implemented |
| 154 |
|
|
|
| 155 |
|
|
friend class Distance; |
| 156 |
|
|
}; |
| 157 |
|
|
|
| 158 |
|
|
class _pof_Distance : public _OMNI_NS(proxyObjectFactory) { |
| 159 |
|
|
public: |
| 160 |
|
8 |
inline _pof_Distance() : _OMNI_NS(proxyObjectFactory)(Distance::_PD_repoId) {} |
| 161 |
|
|
virtual ~_pof_Distance(); |
| 162 |
|
|
|
| 163 |
|
|
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*); |
| 164 |
|
|
virtual _CORBA_Boolean is_a(const char*) const; |
| 165 |
|
|
}; |
| 166 |
|
|
|
| 167 |
|
|
class _impl_Distance : |
| 168 |
|
|
public virtual omniServant |
| 169 |
|
|
{ |
| 170 |
|
|
public: |
| 171 |
|
|
virtual ~_impl_Distance(); |
| 172 |
|
|
|
| 173 |
|
|
virtual void deleteThis() = 0; |
| 174 |
|
|
virtual ::CORBA::Boolean deleteIfExpired() = 0; |
| 175 |
|
|
virtual void persistantStorage(::CORBA::Boolean persistant) = 0; |
| 176 |
|
|
virtual value_type call(const ::hpp::floatSeq& q1, const ::hpp::floatSeq& q2) = 0; |
| 177 |
|
|
|
| 178 |
|
|
public: // Really protected, workaround for xlC |
| 179 |
|
|
virtual _CORBA_Boolean _dispatch(omniCallHandle&); |
| 180 |
|
|
|
| 181 |
|
|
private: |
| 182 |
|
|
virtual void* _ptrToInterface(const char*); |
| 183 |
|
|
virtual const char* _mostDerivedRepoId(); |
| 184 |
|
|
|
| 185 |
|
|
}; |
| 186 |
|
|
|
| 187 |
|
|
|
| 188 |
|
|
#ifndef __hpp_mcore__idl_mWeighedDistance__ |
| 189 |
|
|
#define __hpp_mcore__idl_mWeighedDistance__ |
| 190 |
|
|
class WeighedDistance; |
| 191 |
|
|
class _objref_WeighedDistance; |
| 192 |
|
|
class _impl_WeighedDistance; |
| 193 |
|
|
|
| 194 |
|
|
typedef _objref_WeighedDistance* WeighedDistance_ptr; |
| 195 |
|
|
typedef WeighedDistance_ptr WeighedDistanceRef; |
| 196 |
|
|
|
| 197 |
|
|
class WeighedDistance_Helper { |
| 198 |
|
|
public: |
| 199 |
|
|
typedef WeighedDistance_ptr _ptr_type; |
| 200 |
|
|
|
| 201 |
|
|
static _ptr_type _nil(); |
| 202 |
|
|
static _CORBA_Boolean is_nil(_ptr_type); |
| 203 |
|
|
static void release(_ptr_type); |
| 204 |
|
|
static void duplicate(_ptr_type); |
| 205 |
|
|
static void marshalObjRef(_ptr_type, cdrStream&); |
| 206 |
|
|
static _ptr_type unmarshalObjRef(cdrStream&); |
| 207 |
|
|
}; |
| 208 |
|
|
|
| 209 |
|
|
typedef _CORBA_ObjRef_Var<_objref_WeighedDistance, WeighedDistance_Helper> WeighedDistance_var; |
| 210 |
|
|
typedef _CORBA_ObjRef_OUT_arg<_objref_WeighedDistance,WeighedDistance_Helper > WeighedDistance_out; |
| 211 |
|
|
|
| 212 |
|
|
#endif |
| 213 |
|
|
|
| 214 |
|
|
// interface WeighedDistance |
| 215 |
|
|
class WeighedDistance { |
| 216 |
|
|
public: |
| 217 |
|
|
// Declarations for this interface type. |
| 218 |
|
|
typedef WeighedDistance_ptr _ptr_type; |
| 219 |
|
|
typedef WeighedDistance_var _var_type; |
| 220 |
|
|
|
| 221 |
|
|
static _ptr_type _duplicate(_ptr_type); |
| 222 |
|
|
static _ptr_type _narrow(::CORBA::Object_ptr); |
| 223 |
|
|
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr); |
| 224 |
|
|
|
| 225 |
|
|
static _ptr_type _nil(); |
| 226 |
|
|
|
| 227 |
|
|
static inline void _marshalObjRef(_ptr_type, cdrStream&); |
| 228 |
|
|
|
| 229 |
|
✗ |
static inline _ptr_type _unmarshalObjRef(cdrStream& s) { |
| 230 |
|
✗ |
omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s); |
| 231 |
|
✗ |
if (o) |
| 232 |
|
✗ |
return (_ptr_type) o->_ptrToObjRef(_PD_repoId); |
| 233 |
|
|
else |
| 234 |
|
✗ |
return _nil(); |
| 235 |
|
|
} |
| 236 |
|
|
|
| 237 |
|
|
static inline _ptr_type _fromObjRef(omniObjRef* o) { |
| 238 |
|
|
if (o) |
| 239 |
|
|
return (_ptr_type) o->_ptrToObjRef(_PD_repoId); |
| 240 |
|
|
else |
| 241 |
|
|
return _nil(); |
| 242 |
|
|
} |
| 243 |
|
|
|
| 244 |
|
|
static _core_attr const char* _PD_repoId; |
| 245 |
|
|
|
| 246 |
|
|
// Other IDL defined within this scope. |
| 247 |
|
|
|
| 248 |
|
|
}; |
| 249 |
|
|
|
| 250 |
|
|
class _objref_WeighedDistance : |
| 251 |
|
|
public virtual _objref_Distance |
| 252 |
|
|
{ |
| 253 |
|
|
public: |
| 254 |
|
|
// IDL operations |
| 255 |
|
|
floatSeq* getWeights(); |
| 256 |
|
|
void setWeights(const ::hpp::floatSeq& weights); |
| 257 |
|
|
|
| 258 |
|
|
// Constructors |
| 259 |
|
✗ |
inline _objref_WeighedDistance() { _PR_setobj(0); } // nil |
| 260 |
|
|
_objref_WeighedDistance(omniIOR*, omniIdentity*); |
| 261 |
|
|
|
| 262 |
|
|
protected: |
| 263 |
|
|
virtual ~_objref_WeighedDistance(); |
| 264 |
|
|
|
| 265 |
|
|
|
| 266 |
|
|
private: |
| 267 |
|
|
virtual void* _ptrToObjRef(const char*); |
| 268 |
|
|
|
| 269 |
|
|
_objref_WeighedDistance(const _objref_WeighedDistance&); |
| 270 |
|
|
_objref_WeighedDistance& operator = (const _objref_WeighedDistance&); |
| 271 |
|
|
// not implemented |
| 272 |
|
|
|
| 273 |
|
|
friend class WeighedDistance; |
| 274 |
|
|
}; |
| 275 |
|
|
|
| 276 |
|
|
class _pof_WeighedDistance : public _OMNI_NS(proxyObjectFactory) { |
| 277 |
|
|
public: |
| 278 |
|
8 |
inline _pof_WeighedDistance() : _OMNI_NS(proxyObjectFactory)(WeighedDistance::_PD_repoId) {} |
| 279 |
|
|
virtual ~_pof_WeighedDistance(); |
| 280 |
|
|
|
| 281 |
|
|
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*); |
| 282 |
|
|
virtual _CORBA_Boolean is_a(const char*) const; |
| 283 |
|
|
}; |
| 284 |
|
|
|
| 285 |
|
|
class _impl_WeighedDistance : |
| 286 |
|
|
public virtual _impl_Distance |
| 287 |
|
|
{ |
| 288 |
|
|
public: |
| 289 |
|
|
virtual ~_impl_WeighedDistance(); |
| 290 |
|
|
|
| 291 |
|
|
virtual floatSeq* getWeights() = 0; |
| 292 |
|
|
virtual void setWeights(const ::hpp::floatSeq& weights) = 0; |
| 293 |
|
|
|
| 294 |
|
|
public: // Really protected, workaround for xlC |
| 295 |
|
|
virtual _CORBA_Boolean _dispatch(omniCallHandle&); |
| 296 |
|
|
|
| 297 |
|
|
private: |
| 298 |
|
|
virtual void* _ptrToInterface(const char*); |
| 299 |
|
|
virtual const char* _mostDerivedRepoId(); |
| 300 |
|
|
|
| 301 |
|
|
}; |
| 302 |
|
|
|
| 303 |
|
|
|
| 304 |
|
|
_CORBA_MODULE_END |
| 305 |
|
|
|
| 306 |
|
|
_CORBA_MODULE_END |
| 307 |
|
|
|
| 308 |
|
|
|
| 309 |
|
|
|
| 310 |
|
|
_CORBA_MODULE POA_hpp |
| 311 |
|
|
_CORBA_MODULE_BEG |
| 312 |
|
|
|
| 313 |
|
|
_CORBA_MODULE core_idl |
| 314 |
|
|
_CORBA_MODULE_BEG |
| 315 |
|
|
|
| 316 |
|
|
class Distance : |
| 317 |
|
|
public virtual hpp::core_idl::_impl_Distance, |
| 318 |
|
|
public virtual ::PortableServer::ServantBase |
| 319 |
|
|
{ |
| 320 |
|
|
public: |
| 321 |
|
|
virtual ~Distance(); |
| 322 |
|
|
|
| 323 |
|
✗ |
inline ::hpp::core_idl::Distance_ptr _this() { |
| 324 |
|
✗ |
return (::hpp::core_idl::Distance_ptr) _do_this(::hpp::core_idl::Distance::_PD_repoId); |
| 325 |
|
|
} |
| 326 |
|
|
}; |
| 327 |
|
|
|
| 328 |
|
|
class WeighedDistance : |
| 329 |
|
|
public virtual hpp::core_idl::_impl_WeighedDistance, |
| 330 |
|
|
public virtual Distance |
| 331 |
|
|
{ |
| 332 |
|
|
public: |
| 333 |
|
|
virtual ~WeighedDistance(); |
| 334 |
|
|
|
| 335 |
|
✗ |
inline ::hpp::core_idl::WeighedDistance_ptr _this() { |
| 336 |
|
✗ |
return (::hpp::core_idl::WeighedDistance_ptr) _do_this(::hpp::core_idl::WeighedDistance::_PD_repoId); |
| 337 |
|
|
} |
| 338 |
|
|
}; |
| 339 |
|
|
|
| 340 |
|
|
_CORBA_MODULE_END |
| 341 |
|
|
|
| 342 |
|
|
_CORBA_MODULE_END |
| 343 |
|
|
|
| 344 |
|
|
|
| 345 |
|
|
|
| 346 |
|
|
_CORBA_MODULE OBV_hpp |
| 347 |
|
|
_CORBA_MODULE_BEG |
| 348 |
|
|
|
| 349 |
|
|
_CORBA_MODULE core_idl |
| 350 |
|
|
_CORBA_MODULE_BEG |
| 351 |
|
|
|
| 352 |
|
|
_CORBA_MODULE_END |
| 353 |
|
|
|
| 354 |
|
|
_CORBA_MODULE_END |
| 355 |
|
|
|
| 356 |
|
|
|
| 357 |
|
|
|
| 358 |
|
|
|
| 359 |
|
|
|
| 360 |
|
|
#undef _core_attr |
| 361 |
|
|
#undef _dyn_attr |
| 362 |
|
|
|
| 363 |
|
|
|
| 364 |
|
|
|
| 365 |
|
|
inline void |
| 366 |
|
✗ |
hpp::core_idl::Distance::_marshalObjRef(::hpp::core_idl::Distance_ptr obj, cdrStream& s) { |
| 367 |
|
✗ |
omniObjRef::_marshal(obj->_PR_getobj(),s); |
| 368 |
|
|
} |
| 369 |
|
|
|
| 370 |
|
|
inline void |
| 371 |
|
✗ |
hpp::core_idl::WeighedDistance::_marshalObjRef(::hpp::core_idl::WeighedDistance_ptr obj, cdrStream& s) { |
| 372 |
|
✗ |
omniObjRef::_marshal(obj->_PR_getobj(),s); |
| 373 |
|
|
} |
| 374 |
|
|
|
| 375 |
|
|
|
| 376 |
|
|
|
| 377 |
|
|
#ifdef USE_stub_in_nt_dll_NOT_DEFINED_distances |
| 378 |
|
|
# undef USE_stub_in_nt_dll |
| 379 |
|
|
# undef USE_stub_in_nt_dll_NOT_DEFINED_distances |
| 380 |
|
|
#endif |
| 381 |
|
|
#ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_distances |
| 382 |
|
|
# undef USE_core_stub_in_nt_dll |
| 383 |
|
|
# undef USE_core_stub_in_nt_dll_NOT_DEFINED_distances |
| 384 |
|
|
#endif |
| 385 |
|
|
#ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_distances |
| 386 |
|
|
# undef USE_dyn_stub_in_nt_dll |
| 387 |
|
|
# undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_distances |
| 388 |
|
|
#endif |
| 389 |
|
|
|
| 390 |
|
|
#endif // __distances_hh__ |
| 391 |
|
|
|
| 392 |
|
|
|