| Line |
Branch |
Exec |
Source |
| 1 |
|
|
// This file is generated by omniidl (C++ backend)- omniORB_4_3. Do not edit. |
| 2 |
|
|
#ifndef __graphical_interface_hh__ |
| 3 |
|
|
#define __graphical_interface_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_graphical_interface |
| 11 |
|
|
#endif |
| 12 |
|
|
#ifndef USE_core_stub_in_nt_dll |
| 13 |
|
|
# define USE_core_stub_in_nt_dll_NOT_DEFINED_graphical_interface |
| 14 |
|
|
#endif |
| 15 |
|
|
#ifndef USE_dyn_stub_in_nt_dll |
| 16 |
|
|
# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_graphical_interface |
| 17 |
|
|
#endif |
| 18 |
|
|
|
| 19 |
|
|
|
| 20 |
|
|
|
| 21 |
|
|
|
| 22 |
|
|
|
| 23 |
|
|
|
| 24 |
|
|
#ifdef USE_stub_in_nt_dll |
| 25 |
|
|
# ifndef USE_core_stub_in_nt_dll |
| 26 |
|
|
# define USE_core_stub_in_nt_dll |
| 27 |
|
|
# endif |
| 28 |
|
|
# ifndef USE_dyn_stub_in_nt_dll |
| 29 |
|
|
# define USE_dyn_stub_in_nt_dll |
| 30 |
|
|
# endif |
| 31 |
|
|
#endif |
| 32 |
|
|
|
| 33 |
|
|
#ifdef _core_attr |
| 34 |
|
|
# error "A local CPP macro _core_attr has already been defined." |
| 35 |
|
|
#else |
| 36 |
|
|
# ifdef USE_core_stub_in_nt_dll |
| 37 |
|
|
# define _core_attr _OMNIORB_NTDLL_IMPORT |
| 38 |
|
|
# else |
| 39 |
|
|
# define _core_attr |
| 40 |
|
|
# endif |
| 41 |
|
|
#endif |
| 42 |
|
|
|
| 43 |
|
|
#ifdef _dyn_attr |
| 44 |
|
|
# error "A local CPP macro _dyn_attr has already been defined." |
| 45 |
|
|
#else |
| 46 |
|
|
# ifdef USE_dyn_stub_in_nt_dll |
| 47 |
|
|
# define _dyn_attr _OMNIORB_NTDLL_IMPORT |
| 48 |
|
|
# else |
| 49 |
|
|
# define _dyn_attr |
| 50 |
|
|
# endif |
| 51 |
|
|
#endif |
| 52 |
|
|
|
| 53 |
|
|
|
| 54 |
|
|
|
| 55 |
|
|
_CORBA_MODULE gepetto |
| 56 |
|
|
|
| 57 |
|
|
_CORBA_MODULE_BEG |
| 58 |
|
|
|
| 59 |
|
|
class Error : public ::CORBA::UserException { |
| 60 |
|
|
public: |
| 61 |
|
|
|
| 62 |
|
|
::CORBA::String_member msg; |
| 63 |
|
|
|
| 64 |
|
|
|
| 65 |
|
|
|
| 66 |
|
✗ |
inline Error() { |
| 67 |
|
✗ |
pd_insertToAnyFn = insertToAnyFn; |
| 68 |
|
✗ |
pd_insertToAnyFnNCP = insertToAnyFnNCP; |
| 69 |
|
|
} |
| 70 |
|
|
Error(const Error&); |
| 71 |
|
|
Error(const char* i_msg); |
| 72 |
|
|
Error& operator=(const Error&); |
| 73 |
|
|
virtual ~Error(); |
| 74 |
|
|
virtual void _raise() const; |
| 75 |
|
|
static Error* _downcast(::CORBA::Exception*); |
| 76 |
|
|
static const Error* _downcast(const ::CORBA::Exception*); |
| 77 |
|
|
static inline Error* _narrow(::CORBA::Exception* _e) { |
| 78 |
|
|
return _downcast(_e); |
| 79 |
|
|
} |
| 80 |
|
|
|
| 81 |
|
|
void operator>>=(cdrStream&) const ; |
| 82 |
|
|
void operator<<=(cdrStream&) ; |
| 83 |
|
|
|
| 84 |
|
|
static _core_attr insertExceptionToAny insertToAnyFn; |
| 85 |
|
|
static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP; |
| 86 |
|
|
|
| 87 |
|
|
virtual ::CORBA::Exception* _NP_duplicate() const; |
| 88 |
|
|
|
| 89 |
|
|
static _core_attr const char* _PD_repoId; |
| 90 |
|
|
static _core_attr const char* _PD_typeId; |
| 91 |
|
|
|
| 92 |
|
|
private: |
| 93 |
|
|
virtual const char* _NP_typeId() const; |
| 94 |
|
|
virtual const char* _NP_repoId(int*) const; |
| 95 |
|
|
virtual void _NP_marshal(cdrStream&) const; |
| 96 |
|
|
}; |
| 97 |
|
|
|
| 98 |
|
|
_CORBA_MODULE corbaserver |
| 99 |
|
|
|
| 100 |
|
|
_CORBA_MODULE_BEG |
| 101 |
|
|
|
| 102 |
|
|
typedef ::CORBA::Float Transform[7]; |
| 103 |
|
|
typedef ::CORBA::Float Transform_slice; |
| 104 |
|
|
|
| 105 |
|
✗ |
_CORBA_MODULE_INLINE Transform_slice* Transform_alloc() { |
| 106 |
|
✗ |
return new Transform_slice[7]; |
| 107 |
|
|
} |
| 108 |
|
|
|
| 109 |
|
|
_CORBA_MODULE_INLINE Transform_slice* Transform_dup(const Transform_slice* _s) { |
| 110 |
|
|
if (!_s) return 0; |
| 111 |
|
|
Transform_slice* _data = Transform_alloc(); |
| 112 |
|
|
if (_data) { |
| 113 |
|
|
for (_CORBA_ULong _0i0 = 0; _0i0 < 7; _0i0++){ |
| 114 |
|
|
|
| 115 |
|
|
_data[_0i0] = _s[_0i0]; |
| 116 |
|
|
|
| 117 |
|
|
} |
| 118 |
|
|
|
| 119 |
|
|
} |
| 120 |
|
|
return _data; |
| 121 |
|
|
} |
| 122 |
|
|
|
| 123 |
|
|
_CORBA_MODULE_INLINE void Transform_copy(Transform_slice* _to, const Transform_slice* _from){ |
| 124 |
|
|
for (_CORBA_ULong _0i0 = 0; _0i0 < 7; _0i0++){ |
| 125 |
|
|
|
| 126 |
|
|
_to[_0i0] = _from[_0i0]; |
| 127 |
|
|
|
| 128 |
|
|
} |
| 129 |
|
|
|
| 130 |
|
|
} |
| 131 |
|
|
|
| 132 |
|
✗ |
_CORBA_MODULE_INLINE void Transform_free(Transform_slice* _s) { |
| 133 |
|
✗ |
delete [] _s; |
| 134 |
|
|
} |
| 135 |
|
|
|
| 136 |
|
|
class Transform_copyHelper { |
| 137 |
|
|
public: |
| 138 |
|
|
static inline Transform_slice* alloc() { return ::gepetto::corbaserver::Transform_alloc(); } |
| 139 |
|
|
static inline Transform_slice* dup(const Transform_slice* p) { return ::gepetto::corbaserver::Transform_dup(p); } |
| 140 |
|
✗ |
static inline void free(Transform_slice* p) { ::gepetto::corbaserver::Transform_free(p); } |
| 141 |
|
|
}; |
| 142 |
|
|
|
| 143 |
|
|
typedef _CORBA_Array_Fix_Var<Transform_copyHelper,Transform_slice> Transform_var; |
| 144 |
|
|
typedef _CORBA_Array_Fix_Forany<Transform_copyHelper,Transform_slice> Transform_forany; |
| 145 |
|
|
|
| 146 |
|
|
typedef Transform_slice* Transform_out; |
| 147 |
|
|
|
| 148 |
|
|
typedef ::CORBA::Float Vector2[2]; |
| 149 |
|
|
typedef ::CORBA::Float Vector2_slice; |
| 150 |
|
|
|
| 151 |
|
✗ |
_CORBA_MODULE_INLINE Vector2_slice* Vector2_alloc() { |
| 152 |
|
✗ |
return new Vector2_slice[2]; |
| 153 |
|
|
} |
| 154 |
|
|
|
| 155 |
|
|
_CORBA_MODULE_INLINE Vector2_slice* Vector2_dup(const Vector2_slice* _s) { |
| 156 |
|
|
if (!_s) return 0; |
| 157 |
|
|
Vector2_slice* _data = Vector2_alloc(); |
| 158 |
|
|
if (_data) { |
| 159 |
|
|
for (_CORBA_ULong _0i0 = 0; _0i0 < 2; _0i0++){ |
| 160 |
|
|
|
| 161 |
|
|
_data[_0i0] = _s[_0i0]; |
| 162 |
|
|
|
| 163 |
|
|
} |
| 164 |
|
|
|
| 165 |
|
|
} |
| 166 |
|
|
return _data; |
| 167 |
|
|
} |
| 168 |
|
|
|
| 169 |
|
|
_CORBA_MODULE_INLINE void Vector2_copy(Vector2_slice* _to, const Vector2_slice* _from){ |
| 170 |
|
|
for (_CORBA_ULong _0i0 = 0; _0i0 < 2; _0i0++){ |
| 171 |
|
|
|
| 172 |
|
|
_to[_0i0] = _from[_0i0]; |
| 173 |
|
|
|
| 174 |
|
|
} |
| 175 |
|
|
|
| 176 |
|
|
} |
| 177 |
|
|
|
| 178 |
|
|
_CORBA_MODULE_INLINE void Vector2_free(Vector2_slice* _s) { |
| 179 |
|
|
delete [] _s; |
| 180 |
|
|
} |
| 181 |
|
|
|
| 182 |
|
|
class Vector2_copyHelper { |
| 183 |
|
|
public: |
| 184 |
|
|
static inline Vector2_slice* alloc() { return ::gepetto::corbaserver::Vector2_alloc(); } |
| 185 |
|
|
static inline Vector2_slice* dup(const Vector2_slice* p) { return ::gepetto::corbaserver::Vector2_dup(p); } |
| 186 |
|
|
static inline void free(Vector2_slice* p) { ::gepetto::corbaserver::Vector2_free(p); } |
| 187 |
|
|
}; |
| 188 |
|
|
|
| 189 |
|
|
typedef _CORBA_Array_Fix_Var<Vector2_copyHelper,Vector2_slice> Vector2_var; |
| 190 |
|
|
typedef _CORBA_Array_Fix_Forany<Vector2_copyHelper,Vector2_slice> Vector2_forany; |
| 191 |
|
|
|
| 192 |
|
|
typedef Vector2_slice* Vector2_out; |
| 193 |
|
|
|
| 194 |
|
|
typedef ::CORBA::Float Position[3]; |
| 195 |
|
|
typedef ::CORBA::Float Position_slice; |
| 196 |
|
|
|
| 197 |
|
✗ |
_CORBA_MODULE_INLINE Position_slice* Position_alloc() { |
| 198 |
|
✗ |
return new Position_slice[3]; |
| 199 |
|
|
} |
| 200 |
|
|
|
| 201 |
|
|
_CORBA_MODULE_INLINE Position_slice* Position_dup(const Position_slice* _s) { |
| 202 |
|
|
if (!_s) return 0; |
| 203 |
|
|
Position_slice* _data = Position_alloc(); |
| 204 |
|
|
if (_data) { |
| 205 |
|
|
for (_CORBA_ULong _0i0 = 0; _0i0 < 3; _0i0++){ |
| 206 |
|
|
|
| 207 |
|
|
_data[_0i0] = _s[_0i0]; |
| 208 |
|
|
|
| 209 |
|
|
} |
| 210 |
|
|
|
| 211 |
|
|
} |
| 212 |
|
|
return _data; |
| 213 |
|
|
} |
| 214 |
|
|
|
| 215 |
|
|
_CORBA_MODULE_INLINE void Position_copy(Position_slice* _to, const Position_slice* _from){ |
| 216 |
|
|
for (_CORBA_ULong _0i0 = 0; _0i0 < 3; _0i0++){ |
| 217 |
|
|
|
| 218 |
|
|
_to[_0i0] = _from[_0i0]; |
| 219 |
|
|
|
| 220 |
|
|
} |
| 221 |
|
|
|
| 222 |
|
|
} |
| 223 |
|
|
|
| 224 |
|
✗ |
_CORBA_MODULE_INLINE void Position_free(Position_slice* _s) { |
| 225 |
|
✗ |
delete [] _s; |
| 226 |
|
|
} |
| 227 |
|
|
|
| 228 |
|
|
class Position_copyHelper { |
| 229 |
|
|
public: |
| 230 |
|
|
static inline Position_slice* alloc() { return ::gepetto::corbaserver::Position_alloc(); } |
| 231 |
|
|
static inline Position_slice* dup(const Position_slice* p) { return ::gepetto::corbaserver::Position_dup(p); } |
| 232 |
|
✗ |
static inline void free(Position_slice* p) { ::gepetto::corbaserver::Position_free(p); } |
| 233 |
|
|
}; |
| 234 |
|
|
|
| 235 |
|
|
typedef _CORBA_Array_Fix_Var<Position_copyHelper,Position_slice> Position_var; |
| 236 |
|
|
typedef _CORBA_Array_Fix_Forany<Position_copyHelper,Position_slice> Position_forany; |
| 237 |
|
|
|
| 238 |
|
|
typedef Position_slice* Position_out; |
| 239 |
|
|
|
| 240 |
|
|
typedef ::CORBA::Float Color[4]; |
| 241 |
|
|
typedef ::CORBA::Float Color_slice; |
| 242 |
|
|
|
| 243 |
|
✗ |
_CORBA_MODULE_INLINE Color_slice* Color_alloc() { |
| 244 |
|
✗ |
return new Color_slice[4]; |
| 245 |
|
|
} |
| 246 |
|
|
|
| 247 |
|
|
_CORBA_MODULE_INLINE Color_slice* Color_dup(const Color_slice* _s) { |
| 248 |
|
|
if (!_s) return 0; |
| 249 |
|
|
Color_slice* _data = Color_alloc(); |
| 250 |
|
|
if (_data) { |
| 251 |
|
|
for (_CORBA_ULong _0i0 = 0; _0i0 < 4; _0i0++){ |
| 252 |
|
|
|
| 253 |
|
|
_data[_0i0] = _s[_0i0]; |
| 254 |
|
|
|
| 255 |
|
|
} |
| 256 |
|
|
|
| 257 |
|
|
} |
| 258 |
|
|
return _data; |
| 259 |
|
|
} |
| 260 |
|
|
|
| 261 |
|
|
_CORBA_MODULE_INLINE void Color_copy(Color_slice* _to, const Color_slice* _from){ |
| 262 |
|
|
for (_CORBA_ULong _0i0 = 0; _0i0 < 4; _0i0++){ |
| 263 |
|
|
|
| 264 |
|
|
_to[_0i0] = _from[_0i0]; |
| 265 |
|
|
|
| 266 |
|
|
} |
| 267 |
|
|
|
| 268 |
|
|
} |
| 269 |
|
|
|
| 270 |
|
✗ |
_CORBA_MODULE_INLINE void Color_free(Color_slice* _s) { |
| 271 |
|
✗ |
delete [] _s; |
| 272 |
|
|
} |
| 273 |
|
|
|
| 274 |
|
|
class Color_copyHelper { |
| 275 |
|
|
public: |
| 276 |
|
|
static inline Color_slice* alloc() { return ::gepetto::corbaserver::Color_alloc(); } |
| 277 |
|
|
static inline Color_slice* dup(const Color_slice* p) { return ::gepetto::corbaserver::Color_dup(p); } |
| 278 |
|
✗ |
static inline void free(Color_slice* p) { ::gepetto::corbaserver::Color_free(p); } |
| 279 |
|
|
}; |
| 280 |
|
|
|
| 281 |
|
|
typedef _CORBA_Array_Fix_Var<Color_copyHelper,Color_slice> Color_var; |
| 282 |
|
|
typedef _CORBA_Array_Fix_Forany<Color_copyHelper,Color_slice> Color_forany; |
| 283 |
|
|
|
| 284 |
|
|
typedef Color_slice* Color_out; |
| 285 |
|
|
|
| 286 |
|
|
typedef char* WindowID; |
| 287 |
|
|
typedef ::CORBA::String_var WindowID_var; |
| 288 |
|
|
typedef ::CORBA::String_out WindowID_out; |
| 289 |
|
|
|
| 290 |
|
|
class Names_t_var; |
| 291 |
|
|
|
| 292 |
|
|
class Names_t : public _CORBA_Unbounded_Sequence_String { |
| 293 |
|
|
public: |
| 294 |
|
|
typedef Names_t_var _var_type; |
| 295 |
|
✗ |
inline Names_t() {} |
| 296 |
|
|
inline Names_t(const Names_t& _s) |
| 297 |
|
|
: _CORBA_Unbounded_Sequence_String(_s) {} |
| 298 |
|
|
|
| 299 |
|
|
inline Names_t(_CORBA_ULong _max) |
| 300 |
|
|
: _CORBA_Unbounded_Sequence_String(_max) {} |
| 301 |
|
✗ |
inline Names_t(_CORBA_ULong _max, _CORBA_ULong _len, char** _val, _CORBA_Boolean _rel=0) |
| 302 |
|
✗ |
: _CORBA_Unbounded_Sequence_String(_max, _len, _val, _rel) {} |
| 303 |
|
|
|
| 304 |
|
|
|
| 305 |
|
|
|
| 306 |
|
|
inline Names_t& operator = (const Names_t& _s) { |
| 307 |
|
|
_CORBA_Unbounded_Sequence_String::operator=(_s); |
| 308 |
|
|
return *this; |
| 309 |
|
|
} |
| 310 |
|
|
}; |
| 311 |
|
|
|
| 312 |
|
|
class Names_t_out; |
| 313 |
|
|
|
| 314 |
|
|
class Names_t_var { |
| 315 |
|
|
public: |
| 316 |
|
✗ |
inline Names_t_var() : _pd_seq(0) {} |
| 317 |
|
|
inline Names_t_var(Names_t* _s) : _pd_seq(_s) {} |
| 318 |
|
|
inline Names_t_var(const Names_t_var& _s) { |
| 319 |
|
|
if (_s._pd_seq) _pd_seq = new Names_t(*_s._pd_seq); |
| 320 |
|
|
else _pd_seq = 0; |
| 321 |
|
|
} |
| 322 |
|
✗ |
inline ~Names_t_var() { if (_pd_seq) delete _pd_seq; } |
| 323 |
|
|
|
| 324 |
|
✗ |
inline Names_t_var& operator = (Names_t* _s) { |
| 325 |
|
✗ |
if (_pd_seq) delete _pd_seq; |
| 326 |
|
✗ |
_pd_seq = _s; |
| 327 |
|
✗ |
return *this; |
| 328 |
|
|
} |
| 329 |
|
|
inline Names_t_var& operator = (const Names_t_var& _s) { |
| 330 |
|
|
if (&_s != this) { |
| 331 |
|
|
if (_s._pd_seq) { |
| 332 |
|
|
if (!_pd_seq) _pd_seq = new Names_t; |
| 333 |
|
|
*_pd_seq = *_s._pd_seq; |
| 334 |
|
|
} |
| 335 |
|
|
else if (_pd_seq) { |
| 336 |
|
|
delete _pd_seq; |
| 337 |
|
|
_pd_seq = 0; |
| 338 |
|
|
} |
| 339 |
|
|
} |
| 340 |
|
|
return *this; |
| 341 |
|
|
} |
| 342 |
|
|
inline _CORBA_String_element operator [] (_CORBA_ULong _s) { |
| 343 |
|
|
return (*_pd_seq)[_s]; |
| 344 |
|
|
} |
| 345 |
|
|
|
| 346 |
|
|
|
| 347 |
|
|
|
| 348 |
|
|
inline Names_t* operator -> () { return _pd_seq; } |
| 349 |
|
|
inline const Names_t* operator -> () const { return _pd_seq; } |
| 350 |
|
|
#if defined(__GNUG__) |
| 351 |
|
✗ |
inline operator Names_t& () const { return *_pd_seq; } |
| 352 |
|
|
#else |
| 353 |
|
|
inline operator const Names_t& () const { return *_pd_seq; } |
| 354 |
|
|
inline operator Names_t& () { return *_pd_seq; } |
| 355 |
|
|
#endif |
| 356 |
|
|
|
| 357 |
|
✗ |
inline const Names_t& in() const { return *_pd_seq; } |
| 358 |
|
|
inline Names_t& inout() { return *_pd_seq; } |
| 359 |
|
|
inline Names_t*& out() { |
| 360 |
|
|
if (_pd_seq) { delete _pd_seq; _pd_seq = 0; } |
| 361 |
|
|
return _pd_seq; |
| 362 |
|
|
} |
| 363 |
|
✗ |
inline Names_t* _retn() { Names_t* tmp = _pd_seq; _pd_seq = 0; return tmp; } |
| 364 |
|
|
|
| 365 |
|
|
friend class Names_t_out; |
| 366 |
|
|
|
| 367 |
|
|
private: |
| 368 |
|
|
Names_t* _pd_seq; |
| 369 |
|
|
}; |
| 370 |
|
|
|
| 371 |
|
|
class Names_t_out { |
| 372 |
|
|
public: |
| 373 |
|
|
inline Names_t_out(Names_t*& _s) : _data(_s) { _data = 0; } |
| 374 |
|
|
inline Names_t_out(Names_t_var& _s) |
| 375 |
|
|
: _data(_s._pd_seq) { _s = (Names_t*) 0; } |
| 376 |
|
|
inline Names_t_out(const Names_t_out& _s) : _data(_s._data) {} |
| 377 |
|
|
inline Names_t_out& operator = (const Names_t_out& _s) { |
| 378 |
|
|
_data = _s._data; |
| 379 |
|
|
return *this; |
| 380 |
|
|
} |
| 381 |
|
|
inline Names_t_out& operator = (Names_t* _s) { |
| 382 |
|
|
_data = _s; |
| 383 |
|
|
return *this; |
| 384 |
|
|
} |
| 385 |
|
|
inline operator Names_t*&() { return _data; } |
| 386 |
|
|
inline Names_t*& ptr() { return _data; } |
| 387 |
|
|
inline Names_t* operator->() { return _data; } |
| 388 |
|
|
|
| 389 |
|
|
inline _CORBA_String_element operator [] (_CORBA_ULong _i) { |
| 390 |
|
|
return (*_data)[_i]; |
| 391 |
|
|
} |
| 392 |
|
|
|
| 393 |
|
|
|
| 394 |
|
|
|
| 395 |
|
|
Names_t*& _data; |
| 396 |
|
|
|
| 397 |
|
|
private: |
| 398 |
|
|
Names_t_out(); |
| 399 |
|
|
Names_t_out& operator=(const Names_t_var&); |
| 400 |
|
|
}; |
| 401 |
|
|
|
| 402 |
|
|
class floatSeq_var; |
| 403 |
|
|
|
| 404 |
|
|
class floatSeq : public _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Float, 4, 4 > { |
| 405 |
|
|
public: |
| 406 |
|
|
typedef floatSeq_var _var_type; |
| 407 |
|
|
inline floatSeq() {} |
| 408 |
|
|
inline floatSeq(const floatSeq& _s) |
| 409 |
|
|
: _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Float, 4, 4 > (_s) {} |
| 410 |
|
|
|
| 411 |
|
|
inline floatSeq(_CORBA_ULong _max) |
| 412 |
|
|
: _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Float, 4, 4 > (_max) {} |
| 413 |
|
|
inline floatSeq(_CORBA_ULong _max, _CORBA_ULong _len, ::CORBA::Float* _val, _CORBA_Boolean _rel=0) |
| 414 |
|
|
: _CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Float, 4, 4 > (_max, _len, _val, _rel) {} |
| 415 |
|
|
|
| 416 |
|
|
|
| 417 |
|
|
|
| 418 |
|
|
inline floatSeq& operator = (const floatSeq& _s) { |
| 419 |
|
|
_CORBA_Unbounded_Sequence_w_FixSizeElement< ::CORBA::Float, 4, 4 > ::operator=(_s); |
| 420 |
|
|
return *this; |
| 421 |
|
|
} |
| 422 |
|
|
}; |
| 423 |
|
|
|
| 424 |
|
|
class floatSeq_out; |
| 425 |
|
|
|
| 426 |
|
|
class floatSeq_var { |
| 427 |
|
|
public: |
| 428 |
|
|
inline floatSeq_var() : _pd_seq(0) {} |
| 429 |
|
|
inline floatSeq_var(floatSeq* _s) : _pd_seq(_s) {} |
| 430 |
|
|
inline floatSeq_var(const floatSeq_var& _s) { |
| 431 |
|
|
if (_s._pd_seq) _pd_seq = new floatSeq(*_s._pd_seq); |
| 432 |
|
|
else _pd_seq = 0; |
| 433 |
|
|
} |
| 434 |
|
|
inline ~floatSeq_var() { if (_pd_seq) delete _pd_seq; } |
| 435 |
|
|
|
| 436 |
|
|
inline floatSeq_var& operator = (floatSeq* _s) { |
| 437 |
|
|
if (_pd_seq) delete _pd_seq; |
| 438 |
|
|
_pd_seq = _s; |
| 439 |
|
|
return *this; |
| 440 |
|
|
} |
| 441 |
|
|
inline floatSeq_var& operator = (const floatSeq_var& _s) { |
| 442 |
|
|
if (&_s != this) { |
| 443 |
|
|
if (_s._pd_seq) { |
| 444 |
|
|
if (!_pd_seq) _pd_seq = new floatSeq; |
| 445 |
|
|
*_pd_seq = *_s._pd_seq; |
| 446 |
|
|
} |
| 447 |
|
|
else if (_pd_seq) { |
| 448 |
|
|
delete _pd_seq; |
| 449 |
|
|
_pd_seq = 0; |
| 450 |
|
|
} |
| 451 |
|
|
} |
| 452 |
|
|
return *this; |
| 453 |
|
|
} |
| 454 |
|
|
inline ::CORBA::Float& operator [] (_CORBA_ULong _s) { |
| 455 |
|
|
return (*_pd_seq)[_s]; |
| 456 |
|
|
} |
| 457 |
|
|
|
| 458 |
|
|
|
| 459 |
|
|
|
| 460 |
|
|
inline floatSeq* operator -> () { return _pd_seq; } |
| 461 |
|
|
inline const floatSeq* operator -> () const { return _pd_seq; } |
| 462 |
|
|
#if defined(__GNUG__) |
| 463 |
|
|
inline operator floatSeq& () const { return *_pd_seq; } |
| 464 |
|
|
#else |
| 465 |
|
|
inline operator const floatSeq& () const { return *_pd_seq; } |
| 466 |
|
|
inline operator floatSeq& () { return *_pd_seq; } |
| 467 |
|
|
#endif |
| 468 |
|
|
|
| 469 |
|
|
inline const floatSeq& in() const { return *_pd_seq; } |
| 470 |
|
|
inline floatSeq& inout() { return *_pd_seq; } |
| 471 |
|
|
inline floatSeq*& out() { |
| 472 |
|
|
if (_pd_seq) { delete _pd_seq; _pd_seq = 0; } |
| 473 |
|
|
return _pd_seq; |
| 474 |
|
|
} |
| 475 |
|
|
inline floatSeq* _retn() { floatSeq* tmp = _pd_seq; _pd_seq = 0; return tmp; } |
| 476 |
|
|
|
| 477 |
|
|
friend class floatSeq_out; |
| 478 |
|
|
|
| 479 |
|
|
private: |
| 480 |
|
|
floatSeq* _pd_seq; |
| 481 |
|
|
}; |
| 482 |
|
|
|
| 483 |
|
|
class floatSeq_out { |
| 484 |
|
|
public: |
| 485 |
|
|
inline floatSeq_out(floatSeq*& _s) : _data(_s) { _data = 0; } |
| 486 |
|
|
inline floatSeq_out(floatSeq_var& _s) |
| 487 |
|
|
: _data(_s._pd_seq) { _s = (floatSeq*) 0; } |
| 488 |
|
|
inline floatSeq_out(const floatSeq_out& _s) : _data(_s._data) {} |
| 489 |
|
|
inline floatSeq_out& operator = (const floatSeq_out& _s) { |
| 490 |
|
|
_data = _s._data; |
| 491 |
|
|
return *this; |
| 492 |
|
|
} |
| 493 |
|
|
inline floatSeq_out& operator = (floatSeq* _s) { |
| 494 |
|
|
_data = _s; |
| 495 |
|
|
return *this; |
| 496 |
|
|
} |
| 497 |
|
|
inline operator floatSeq*&() { return _data; } |
| 498 |
|
|
inline floatSeq*& ptr() { return _data; } |
| 499 |
|
|
inline floatSeq* operator->() { return _data; } |
| 500 |
|
|
|
| 501 |
|
|
inline ::CORBA::Float& operator [] (_CORBA_ULong _i) { |
| 502 |
|
|
return (*_data)[_i]; |
| 503 |
|
|
} |
| 504 |
|
|
|
| 505 |
|
|
|
| 506 |
|
|
|
| 507 |
|
|
floatSeq*& _data; |
| 508 |
|
|
|
| 509 |
|
|
private: |
| 510 |
|
|
floatSeq_out(); |
| 511 |
|
|
floatSeq_out& operator=(const floatSeq_var&); |
| 512 |
|
|
}; |
| 513 |
|
|
|
| 514 |
|
|
class PositionSeq_var; |
| 515 |
|
|
|
| 516 |
|
|
class PositionSeq : public _CORBA_Unbounded_Sequence_Array_w_FixSizeElement< Position, Position_slice, ::CORBA::Float, 3, 4, 4 > { |
| 517 |
|
|
public: |
| 518 |
|
|
typedef PositionSeq_var _var_type; |
| 519 |
|
✗ |
inline PositionSeq() {} |
| 520 |
|
|
inline PositionSeq(const PositionSeq& _s) |
| 521 |
|
|
: _CORBA_Unbounded_Sequence_Array_w_FixSizeElement< Position, Position_slice, ::CORBA::Float, 3, 4, 4 > (_s) {} |
| 522 |
|
|
|
| 523 |
|
|
inline PositionSeq(_CORBA_ULong _max) |
| 524 |
|
|
: _CORBA_Unbounded_Sequence_Array_w_FixSizeElement< Position, Position_slice, ::CORBA::Float, 3, 4, 4 > (_max) {} |
| 525 |
|
|
inline PositionSeq(_CORBA_ULong _max, _CORBA_ULong _len, Position* _val, _CORBA_Boolean _rel=0) |
| 526 |
|
|
: _CORBA_Unbounded_Sequence_Array_w_FixSizeElement< Position, Position_slice, ::CORBA::Float, 3, 4, 4 > (_max, _len, _val, _rel) {} |
| 527 |
|
|
|
| 528 |
|
|
|
| 529 |
|
|
|
| 530 |
|
|
inline PositionSeq& operator = (const PositionSeq& _s) { |
| 531 |
|
|
_CORBA_Unbounded_Sequence_Array_w_FixSizeElement< Position, Position_slice, ::CORBA::Float, 3, 4, 4 > ::operator=(_s); |
| 532 |
|
|
return *this; |
| 533 |
|
|
} |
| 534 |
|
|
}; |
| 535 |
|
|
|
| 536 |
|
|
class PositionSeq_out; |
| 537 |
|
|
|
| 538 |
|
|
class PositionSeq_var { |
| 539 |
|
|
public: |
| 540 |
|
✗ |
inline PositionSeq_var() : _pd_seq(0) {} |
| 541 |
|
|
inline PositionSeq_var(PositionSeq* _s) : _pd_seq(_s) {} |
| 542 |
|
|
inline PositionSeq_var(const PositionSeq_var& _s) { |
| 543 |
|
|
if (_s._pd_seq) _pd_seq = new PositionSeq(*_s._pd_seq); |
| 544 |
|
|
else _pd_seq = 0; |
| 545 |
|
|
} |
| 546 |
|
✗ |
inline ~PositionSeq_var() { if (_pd_seq) delete _pd_seq; } |
| 547 |
|
|
|
| 548 |
|
✗ |
inline PositionSeq_var& operator = (PositionSeq* _s) { |
| 549 |
|
✗ |
if (_pd_seq) delete _pd_seq; |
| 550 |
|
✗ |
_pd_seq = _s; |
| 551 |
|
✗ |
return *this; |
| 552 |
|
|
} |
| 553 |
|
|
inline PositionSeq_var& operator = (const PositionSeq_var& _s) { |
| 554 |
|
|
if (&_s != this) { |
| 555 |
|
|
if (_s._pd_seq) { |
| 556 |
|
|
if (!_pd_seq) _pd_seq = new PositionSeq; |
| 557 |
|
|
*_pd_seq = *_s._pd_seq; |
| 558 |
|
|
} |
| 559 |
|
|
else if (_pd_seq) { |
| 560 |
|
|
delete _pd_seq; |
| 561 |
|
|
_pd_seq = 0; |
| 562 |
|
|
} |
| 563 |
|
|
} |
| 564 |
|
|
return *this; |
| 565 |
|
|
} |
| 566 |
|
|
inline Position_slice* operator [] (_CORBA_ULong _s) { |
| 567 |
|
|
return (Position_slice*) ((_pd_seq->NP_data())[_s]); |
| 568 |
|
|
} |
| 569 |
|
|
|
| 570 |
|
|
|
| 571 |
|
|
|
| 572 |
|
|
inline PositionSeq* operator -> () { return _pd_seq; } |
| 573 |
|
|
inline const PositionSeq* operator -> () const { return _pd_seq; } |
| 574 |
|
|
#if defined(__GNUG__) |
| 575 |
|
✗ |
inline operator PositionSeq& () const { return *_pd_seq; } |
| 576 |
|
|
#else |
| 577 |
|
|
inline operator const PositionSeq& () const { return *_pd_seq; } |
| 578 |
|
|
inline operator PositionSeq& () { return *_pd_seq; } |
| 579 |
|
|
#endif |
| 580 |
|
|
|
| 581 |
|
✗ |
inline const PositionSeq& in() const { return *_pd_seq; } |
| 582 |
|
|
inline PositionSeq& inout() { return *_pd_seq; } |
| 583 |
|
|
inline PositionSeq*& out() { |
| 584 |
|
|
if (_pd_seq) { delete _pd_seq; _pd_seq = 0; } |
| 585 |
|
|
return _pd_seq; |
| 586 |
|
|
} |
| 587 |
|
|
inline PositionSeq* _retn() { PositionSeq* tmp = _pd_seq; _pd_seq = 0; return tmp; } |
| 588 |
|
|
|
| 589 |
|
|
friend class PositionSeq_out; |
| 590 |
|
|
|
| 591 |
|
|
private: |
| 592 |
|
|
PositionSeq* _pd_seq; |
| 593 |
|
|
}; |
| 594 |
|
|
|
| 595 |
|
|
class PositionSeq_out { |
| 596 |
|
|
public: |
| 597 |
|
|
inline PositionSeq_out(PositionSeq*& _s) : _data(_s) { _data = 0; } |
| 598 |
|
|
inline PositionSeq_out(PositionSeq_var& _s) |
| 599 |
|
|
: _data(_s._pd_seq) { _s = (PositionSeq*) 0; } |
| 600 |
|
|
inline PositionSeq_out(const PositionSeq_out& _s) : _data(_s._data) {} |
| 601 |
|
|
inline PositionSeq_out& operator = (const PositionSeq_out& _s) { |
| 602 |
|
|
_data = _s._data; |
| 603 |
|
|
return *this; |
| 604 |
|
|
} |
| 605 |
|
|
inline PositionSeq_out& operator = (PositionSeq* _s) { |
| 606 |
|
|
_data = _s; |
| 607 |
|
|
return *this; |
| 608 |
|
|
} |
| 609 |
|
|
inline operator PositionSeq*&() { return _data; } |
| 610 |
|
|
inline PositionSeq*& ptr() { return _data; } |
| 611 |
|
|
inline PositionSeq* operator->() { return _data; } |
| 612 |
|
|
|
| 613 |
|
|
inline Position_slice* operator [] (_CORBA_ULong _i) { |
| 614 |
|
|
return (Position_slice*) ((_data->NP_data())[_i]); |
| 615 |
|
|
} |
| 616 |
|
|
|
| 617 |
|
|
|
| 618 |
|
|
|
| 619 |
|
|
PositionSeq*& _data; |
| 620 |
|
|
|
| 621 |
|
|
private: |
| 622 |
|
|
PositionSeq_out(); |
| 623 |
|
|
PositionSeq_out& operator=(const PositionSeq_var&); |
| 624 |
|
|
}; |
| 625 |
|
|
|
| 626 |
|
|
class ColorSeq_var; |
| 627 |
|
|
|
| 628 |
|
|
class ColorSeq : public _CORBA_Unbounded_Sequence_Array_w_FixSizeElement< Color, Color_slice, ::CORBA::Float, 4, 4, 4 > { |
| 629 |
|
|
public: |
| 630 |
|
|
typedef ColorSeq_var _var_type; |
| 631 |
|
✗ |
inline ColorSeq() {} |
| 632 |
|
|
inline ColorSeq(const ColorSeq& _s) |
| 633 |
|
|
: _CORBA_Unbounded_Sequence_Array_w_FixSizeElement< Color, Color_slice, ::CORBA::Float, 4, 4, 4 > (_s) {} |
| 634 |
|
|
|
| 635 |
|
|
inline ColorSeq(_CORBA_ULong _max) |
| 636 |
|
|
: _CORBA_Unbounded_Sequence_Array_w_FixSizeElement< Color, Color_slice, ::CORBA::Float, 4, 4, 4 > (_max) {} |
| 637 |
|
|
inline ColorSeq(_CORBA_ULong _max, _CORBA_ULong _len, Color* _val, _CORBA_Boolean _rel=0) |
| 638 |
|
|
: _CORBA_Unbounded_Sequence_Array_w_FixSizeElement< Color, Color_slice, ::CORBA::Float, 4, 4, 4 > (_max, _len, _val, _rel) {} |
| 639 |
|
|
|
| 640 |
|
|
|
| 641 |
|
|
|
| 642 |
|
|
inline ColorSeq& operator = (const ColorSeq& _s) { |
| 643 |
|
|
_CORBA_Unbounded_Sequence_Array_w_FixSizeElement< Color, Color_slice, ::CORBA::Float, 4, 4, 4 > ::operator=(_s); |
| 644 |
|
|
return *this; |
| 645 |
|
|
} |
| 646 |
|
|
}; |
| 647 |
|
|
|
| 648 |
|
|
class ColorSeq_out; |
| 649 |
|
|
|
| 650 |
|
|
class ColorSeq_var { |
| 651 |
|
|
public: |
| 652 |
|
✗ |
inline ColorSeq_var() : _pd_seq(0) {} |
| 653 |
|
|
inline ColorSeq_var(ColorSeq* _s) : _pd_seq(_s) {} |
| 654 |
|
|
inline ColorSeq_var(const ColorSeq_var& _s) { |
| 655 |
|
|
if (_s._pd_seq) _pd_seq = new ColorSeq(*_s._pd_seq); |
| 656 |
|
|
else _pd_seq = 0; |
| 657 |
|
|
} |
| 658 |
|
✗ |
inline ~ColorSeq_var() { if (_pd_seq) delete _pd_seq; } |
| 659 |
|
|
|
| 660 |
|
✗ |
inline ColorSeq_var& operator = (ColorSeq* _s) { |
| 661 |
|
✗ |
if (_pd_seq) delete _pd_seq; |
| 662 |
|
✗ |
_pd_seq = _s; |
| 663 |
|
✗ |
return *this; |
| 664 |
|
|
} |
| 665 |
|
|
inline ColorSeq_var& operator = (const ColorSeq_var& _s) { |
| 666 |
|
|
if (&_s != this) { |
| 667 |
|
|
if (_s._pd_seq) { |
| 668 |
|
|
if (!_pd_seq) _pd_seq = new ColorSeq; |
| 669 |
|
|
*_pd_seq = *_s._pd_seq; |
| 670 |
|
|
} |
| 671 |
|
|
else if (_pd_seq) { |
| 672 |
|
|
delete _pd_seq; |
| 673 |
|
|
_pd_seq = 0; |
| 674 |
|
|
} |
| 675 |
|
|
} |
| 676 |
|
|
return *this; |
| 677 |
|
|
} |
| 678 |
|
|
inline Color_slice* operator [] (_CORBA_ULong _s) { |
| 679 |
|
|
return (Color_slice*) ((_pd_seq->NP_data())[_s]); |
| 680 |
|
|
} |
| 681 |
|
|
|
| 682 |
|
|
|
| 683 |
|
|
|
| 684 |
|
|
inline ColorSeq* operator -> () { return _pd_seq; } |
| 685 |
|
|
inline const ColorSeq* operator -> () const { return _pd_seq; } |
| 686 |
|
|
#if defined(__GNUG__) |
| 687 |
|
✗ |
inline operator ColorSeq& () const { return *_pd_seq; } |
| 688 |
|
|
#else |
| 689 |
|
|
inline operator const ColorSeq& () const { return *_pd_seq; } |
| 690 |
|
|
inline operator ColorSeq& () { return *_pd_seq; } |
| 691 |
|
|
#endif |
| 692 |
|
|
|
| 693 |
|
✗ |
inline const ColorSeq& in() const { return *_pd_seq; } |
| 694 |
|
|
inline ColorSeq& inout() { return *_pd_seq; } |
| 695 |
|
|
inline ColorSeq*& out() { |
| 696 |
|
|
if (_pd_seq) { delete _pd_seq; _pd_seq = 0; } |
| 697 |
|
|
return _pd_seq; |
| 698 |
|
|
} |
| 699 |
|
|
inline ColorSeq* _retn() { ColorSeq* tmp = _pd_seq; _pd_seq = 0; return tmp; } |
| 700 |
|
|
|
| 701 |
|
|
friend class ColorSeq_out; |
| 702 |
|
|
|
| 703 |
|
|
private: |
| 704 |
|
|
ColorSeq* _pd_seq; |
| 705 |
|
|
}; |
| 706 |
|
|
|
| 707 |
|
|
class ColorSeq_out { |
| 708 |
|
|
public: |
| 709 |
|
|
inline ColorSeq_out(ColorSeq*& _s) : _data(_s) { _data = 0; } |
| 710 |
|
|
inline ColorSeq_out(ColorSeq_var& _s) |
| 711 |
|
|
: _data(_s._pd_seq) { _s = (ColorSeq*) 0; } |
| 712 |
|
|
inline ColorSeq_out(const ColorSeq_out& _s) : _data(_s._data) {} |
| 713 |
|
|
inline ColorSeq_out& operator = (const ColorSeq_out& _s) { |
| 714 |
|
|
_data = _s._data; |
| 715 |
|
|
return *this; |
| 716 |
|
|
} |
| 717 |
|
|
inline ColorSeq_out& operator = (ColorSeq* _s) { |
| 718 |
|
|
_data = _s; |
| 719 |
|
|
return *this; |
| 720 |
|
|
} |
| 721 |
|
|
inline operator ColorSeq*&() { return _data; } |
| 722 |
|
|
inline ColorSeq*& ptr() { return _data; } |
| 723 |
|
|
inline ColorSeq* operator->() { return _data; } |
| 724 |
|
|
|
| 725 |
|
|
inline Color_slice* operator [] (_CORBA_ULong _i) { |
| 726 |
|
|
return (Color_slice*) ((_data->NP_data())[_i]); |
| 727 |
|
|
} |
| 728 |
|
|
|
| 729 |
|
|
|
| 730 |
|
|
|
| 731 |
|
|
ColorSeq*& _data; |
| 732 |
|
|
|
| 733 |
|
|
private: |
| 734 |
|
|
ColorSeq_out(); |
| 735 |
|
|
ColorSeq_out& operator=(const ColorSeq_var&); |
| 736 |
|
|
}; |
| 737 |
|
|
|
| 738 |
|
|
class TransformSeq_var; |
| 739 |
|
|
|
| 740 |
|
|
class TransformSeq : public _CORBA_Unbounded_Sequence_Array_w_FixSizeElement< Transform, Transform_slice, ::CORBA::Float, 7, 4, 4 > { |
| 741 |
|
|
public: |
| 742 |
|
|
typedef TransformSeq_var _var_type; |
| 743 |
|
✗ |
inline TransformSeq() {} |
| 744 |
|
|
inline TransformSeq(const TransformSeq& _s) |
| 745 |
|
|
: _CORBA_Unbounded_Sequence_Array_w_FixSizeElement< Transform, Transform_slice, ::CORBA::Float, 7, 4, 4 > (_s) {} |
| 746 |
|
|
|
| 747 |
|
|
inline TransformSeq(_CORBA_ULong _max) |
| 748 |
|
|
: _CORBA_Unbounded_Sequence_Array_w_FixSizeElement< Transform, Transform_slice, ::CORBA::Float, 7, 4, 4 > (_max) {} |
| 749 |
|
|
inline TransformSeq(_CORBA_ULong _max, _CORBA_ULong _len, Transform* _val, _CORBA_Boolean _rel=0) |
| 750 |
|
|
: _CORBA_Unbounded_Sequence_Array_w_FixSizeElement< Transform, Transform_slice, ::CORBA::Float, 7, 4, 4 > (_max, _len, _val, _rel) {} |
| 751 |
|
|
|
| 752 |
|
|
|
| 753 |
|
|
|
| 754 |
|
|
inline TransformSeq& operator = (const TransformSeq& _s) { |
| 755 |
|
|
_CORBA_Unbounded_Sequence_Array_w_FixSizeElement< Transform, Transform_slice, ::CORBA::Float, 7, 4, 4 > ::operator=(_s); |
| 756 |
|
|
return *this; |
| 757 |
|
|
} |
| 758 |
|
|
}; |
| 759 |
|
|
|
| 760 |
|
|
class TransformSeq_out; |
| 761 |
|
|
|
| 762 |
|
|
class TransformSeq_var { |
| 763 |
|
|
public: |
| 764 |
|
✗ |
inline TransformSeq_var() : _pd_seq(0) {} |
| 765 |
|
|
inline TransformSeq_var(TransformSeq* _s) : _pd_seq(_s) {} |
| 766 |
|
|
inline TransformSeq_var(const TransformSeq_var& _s) { |
| 767 |
|
|
if (_s._pd_seq) _pd_seq = new TransformSeq(*_s._pd_seq); |
| 768 |
|
|
else _pd_seq = 0; |
| 769 |
|
|
} |
| 770 |
|
✗ |
inline ~TransformSeq_var() { if (_pd_seq) delete _pd_seq; } |
| 771 |
|
|
|
| 772 |
|
✗ |
inline TransformSeq_var& operator = (TransformSeq* _s) { |
| 773 |
|
✗ |
if (_pd_seq) delete _pd_seq; |
| 774 |
|
✗ |
_pd_seq = _s; |
| 775 |
|
✗ |
return *this; |
| 776 |
|
|
} |
| 777 |
|
|
inline TransformSeq_var& operator = (const TransformSeq_var& _s) { |
| 778 |
|
|
if (&_s != this) { |
| 779 |
|
|
if (_s._pd_seq) { |
| 780 |
|
|
if (!_pd_seq) _pd_seq = new TransformSeq; |
| 781 |
|
|
*_pd_seq = *_s._pd_seq; |
| 782 |
|
|
} |
| 783 |
|
|
else if (_pd_seq) { |
| 784 |
|
|
delete _pd_seq; |
| 785 |
|
|
_pd_seq = 0; |
| 786 |
|
|
} |
| 787 |
|
|
} |
| 788 |
|
|
return *this; |
| 789 |
|
|
} |
| 790 |
|
|
inline Transform_slice* operator [] (_CORBA_ULong _s) { |
| 791 |
|
|
return (Transform_slice*) ((_pd_seq->NP_data())[_s]); |
| 792 |
|
|
} |
| 793 |
|
|
|
| 794 |
|
|
|
| 795 |
|
|
|
| 796 |
|
|
inline TransformSeq* operator -> () { return _pd_seq; } |
| 797 |
|
|
inline const TransformSeq* operator -> () const { return _pd_seq; } |
| 798 |
|
|
#if defined(__GNUG__) |
| 799 |
|
✗ |
inline operator TransformSeq& () const { return *_pd_seq; } |
| 800 |
|
|
#else |
| 801 |
|
|
inline operator const TransformSeq& () const { return *_pd_seq; } |
| 802 |
|
|
inline operator TransformSeq& () { return *_pd_seq; } |
| 803 |
|
|
#endif |
| 804 |
|
|
|
| 805 |
|
✗ |
inline const TransformSeq& in() const { return *_pd_seq; } |
| 806 |
|
|
inline TransformSeq& inout() { return *_pd_seq; } |
| 807 |
|
|
inline TransformSeq*& out() { |
| 808 |
|
|
if (_pd_seq) { delete _pd_seq; _pd_seq = 0; } |
| 809 |
|
|
return _pd_seq; |
| 810 |
|
|
} |
| 811 |
|
|
inline TransformSeq* _retn() { TransformSeq* tmp = _pd_seq; _pd_seq = 0; return tmp; } |
| 812 |
|
|
|
| 813 |
|
|
friend class TransformSeq_out; |
| 814 |
|
|
|
| 815 |
|
|
private: |
| 816 |
|
|
TransformSeq* _pd_seq; |
| 817 |
|
|
}; |
| 818 |
|
|
|
| 819 |
|
|
class TransformSeq_out { |
| 820 |
|
|
public: |
| 821 |
|
|
inline TransformSeq_out(TransformSeq*& _s) : _data(_s) { _data = 0; } |
| 822 |
|
|
inline TransformSeq_out(TransformSeq_var& _s) |
| 823 |
|
|
: _data(_s._pd_seq) { _s = (TransformSeq*) 0; } |
| 824 |
|
|
inline TransformSeq_out(const TransformSeq_out& _s) : _data(_s._data) {} |
| 825 |
|
|
inline TransformSeq_out& operator = (const TransformSeq_out& _s) { |
| 826 |
|
|
_data = _s._data; |
| 827 |
|
|
return *this; |
| 828 |
|
|
} |
| 829 |
|
|
inline TransformSeq_out& operator = (TransformSeq* _s) { |
| 830 |
|
|
_data = _s; |
| 831 |
|
|
return *this; |
| 832 |
|
|
} |
| 833 |
|
|
inline operator TransformSeq*&() { return _data; } |
| 834 |
|
|
inline TransformSeq*& ptr() { return _data; } |
| 835 |
|
|
inline TransformSeq* operator->() { return _data; } |
| 836 |
|
|
|
| 837 |
|
|
inline Transform_slice* operator [] (_CORBA_ULong _i) { |
| 838 |
|
|
return (Transform_slice*) ((_data->NP_data())[_i]); |
| 839 |
|
|
} |
| 840 |
|
|
|
| 841 |
|
|
|
| 842 |
|
|
|
| 843 |
|
|
TransformSeq*& _data; |
| 844 |
|
|
|
| 845 |
|
|
private: |
| 846 |
|
|
TransformSeq_out(); |
| 847 |
|
|
TransformSeq_out& operator=(const TransformSeq_var&); |
| 848 |
|
|
}; |
| 849 |
|
|
|
| 850 |
|
|
#ifndef __gepetto_mcorbaserver_mNodeCallback__ |
| 851 |
|
|
#define __gepetto_mcorbaserver_mNodeCallback__ |
| 852 |
|
|
class NodeCallback; |
| 853 |
|
|
class _objref_NodeCallback; |
| 854 |
|
|
class _impl_NodeCallback; |
| 855 |
|
|
|
| 856 |
|
|
typedef _objref_NodeCallback* NodeCallback_ptr; |
| 857 |
|
|
typedef NodeCallback_ptr NodeCallbackRef; |
| 858 |
|
|
|
| 859 |
|
|
class NodeCallback_Helper { |
| 860 |
|
|
public: |
| 861 |
|
|
typedef NodeCallback_ptr _ptr_type; |
| 862 |
|
|
|
| 863 |
|
|
static _ptr_type _nil(); |
| 864 |
|
|
static _CORBA_Boolean is_nil(_ptr_type); |
| 865 |
|
|
static void release(_ptr_type); |
| 866 |
|
|
static void duplicate(_ptr_type); |
| 867 |
|
|
static void marshalObjRef(_ptr_type, cdrStream&); |
| 868 |
|
|
static _ptr_type unmarshalObjRef(cdrStream&); |
| 869 |
|
|
}; |
| 870 |
|
|
|
| 871 |
|
|
typedef _CORBA_ObjRef_Var<_objref_NodeCallback, NodeCallback_Helper> NodeCallback_var; |
| 872 |
|
|
typedef _CORBA_ObjRef_OUT_arg<_objref_NodeCallback,NodeCallback_Helper > NodeCallback_out; |
| 873 |
|
|
|
| 874 |
|
|
#endif |
| 875 |
|
|
|
| 876 |
|
|
// interface NodeCallback |
| 877 |
|
|
class NodeCallback { |
| 878 |
|
|
public: |
| 879 |
|
|
// Declarations for this interface type. |
| 880 |
|
|
typedef NodeCallback_ptr _ptr_type; |
| 881 |
|
|
typedef NodeCallback_var _var_type; |
| 882 |
|
|
|
| 883 |
|
|
static _ptr_type _duplicate(_ptr_type); |
| 884 |
|
|
static _ptr_type _narrow(::CORBA::Object_ptr); |
| 885 |
|
|
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr); |
| 886 |
|
|
|
| 887 |
|
|
static _ptr_type _nil(); |
| 888 |
|
|
|
| 889 |
|
|
static inline void _marshalObjRef(_ptr_type, cdrStream&); |
| 890 |
|
|
|
| 891 |
|
✗ |
static inline _ptr_type _unmarshalObjRef(cdrStream& s) { |
| 892 |
|
✗ |
omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s); |
| 893 |
|
✗ |
if (o) |
| 894 |
|
✗ |
return (_ptr_type) o->_ptrToObjRef(_PD_repoId); |
| 895 |
|
|
else |
| 896 |
|
✗ |
return _nil(); |
| 897 |
|
|
} |
| 898 |
|
|
|
| 899 |
|
|
static inline _ptr_type _fromObjRef(omniObjRef* o) { |
| 900 |
|
|
if (o) |
| 901 |
|
|
return (_ptr_type) o->_ptrToObjRef(_PD_repoId); |
| 902 |
|
|
else |
| 903 |
|
|
return _nil(); |
| 904 |
|
|
} |
| 905 |
|
|
|
| 906 |
|
|
static _core_attr const char* _PD_repoId; |
| 907 |
|
|
|
| 908 |
|
|
// Other IDL defined within this scope. |
| 909 |
|
|
|
| 910 |
|
|
}; |
| 911 |
|
|
|
| 912 |
|
|
class _objref_NodeCallback : |
| 913 |
|
|
public virtual ::CORBA::Object, |
| 914 |
|
|
public virtual omniObjRef |
| 915 |
|
|
{ |
| 916 |
|
|
public: |
| 917 |
|
|
// IDL operations |
| 918 |
|
|
void selected(const char* name, const ::gepetto::corbaserver::Position positionInWorldFrame, const ::gepetto::corbaserver::Position normalInLocalFrame); |
| 919 |
|
|
|
| 920 |
|
|
// Constructors |
| 921 |
|
✗ |
inline _objref_NodeCallback() { _PR_setobj(0); } // nil |
| 922 |
|
|
_objref_NodeCallback(omniIOR*, omniIdentity*); |
| 923 |
|
|
|
| 924 |
|
|
protected: |
| 925 |
|
|
virtual ~_objref_NodeCallback(); |
| 926 |
|
|
|
| 927 |
|
|
|
| 928 |
|
|
private: |
| 929 |
|
|
virtual void* _ptrToObjRef(const char*); |
| 930 |
|
|
|
| 931 |
|
|
_objref_NodeCallback(const _objref_NodeCallback&); |
| 932 |
|
|
_objref_NodeCallback& operator = (const _objref_NodeCallback&); |
| 933 |
|
|
// not implemented |
| 934 |
|
|
|
| 935 |
|
|
friend class NodeCallback; |
| 936 |
|
|
}; |
| 937 |
|
|
|
| 938 |
|
|
class _pof_NodeCallback : public _OMNI_NS(proxyObjectFactory) { |
| 939 |
|
|
public: |
| 940 |
|
✗ |
inline _pof_NodeCallback() : _OMNI_NS(proxyObjectFactory)(NodeCallback::_PD_repoId) {} |
| 941 |
|
|
virtual ~_pof_NodeCallback(); |
| 942 |
|
|
|
| 943 |
|
|
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*); |
| 944 |
|
|
virtual _CORBA_Boolean is_a(const char*) const; |
| 945 |
|
|
}; |
| 946 |
|
|
|
| 947 |
|
|
class _impl_NodeCallback : |
| 948 |
|
|
public virtual omniServant |
| 949 |
|
|
{ |
| 950 |
|
|
public: |
| 951 |
|
|
virtual ~_impl_NodeCallback(); |
| 952 |
|
|
|
| 953 |
|
|
virtual void selected(const char* name, const ::gepetto::corbaserver::Position positionInWorldFrame, const ::gepetto::corbaserver::Position normalInLocalFrame) = 0; |
| 954 |
|
|
|
| 955 |
|
|
public: // Really protected, workaround for xlC |
| 956 |
|
|
virtual _CORBA_Boolean _dispatch(omniCallHandle&); |
| 957 |
|
|
|
| 958 |
|
|
private: |
| 959 |
|
|
virtual void* _ptrToInterface(const char*); |
| 960 |
|
|
virtual const char* _mostDerivedRepoId(); |
| 961 |
|
|
|
| 962 |
|
|
}; |
| 963 |
|
|
|
| 964 |
|
|
|
| 965 |
|
|
#ifndef __gepetto_mcorbaserver_mGraphicalInterface__ |
| 966 |
|
|
#define __gepetto_mcorbaserver_mGraphicalInterface__ |
| 967 |
|
|
class GraphicalInterface; |
| 968 |
|
|
class _objref_GraphicalInterface; |
| 969 |
|
|
class _impl_GraphicalInterface; |
| 970 |
|
|
|
| 971 |
|
|
typedef _objref_GraphicalInterface* GraphicalInterface_ptr; |
| 972 |
|
|
typedef GraphicalInterface_ptr GraphicalInterfaceRef; |
| 973 |
|
|
|
| 974 |
|
|
class GraphicalInterface_Helper { |
| 975 |
|
|
public: |
| 976 |
|
|
typedef GraphicalInterface_ptr _ptr_type; |
| 977 |
|
|
|
| 978 |
|
|
static _ptr_type _nil(); |
| 979 |
|
|
static _CORBA_Boolean is_nil(_ptr_type); |
| 980 |
|
|
static void release(_ptr_type); |
| 981 |
|
|
static void duplicate(_ptr_type); |
| 982 |
|
|
static void marshalObjRef(_ptr_type, cdrStream&); |
| 983 |
|
|
static _ptr_type unmarshalObjRef(cdrStream&); |
| 984 |
|
|
}; |
| 985 |
|
|
|
| 986 |
|
|
typedef _CORBA_ObjRef_Var<_objref_GraphicalInterface, GraphicalInterface_Helper> GraphicalInterface_var; |
| 987 |
|
|
typedef _CORBA_ObjRef_OUT_arg<_objref_GraphicalInterface,GraphicalInterface_Helper > GraphicalInterface_out; |
| 988 |
|
|
|
| 989 |
|
|
#endif |
| 990 |
|
|
|
| 991 |
|
|
// interface GraphicalInterface |
| 992 |
|
|
class GraphicalInterface { |
| 993 |
|
|
public: |
| 994 |
|
|
// Declarations for this interface type. |
| 995 |
|
|
typedef GraphicalInterface_ptr _ptr_type; |
| 996 |
|
|
typedef GraphicalInterface_var _var_type; |
| 997 |
|
|
|
| 998 |
|
|
static _ptr_type _duplicate(_ptr_type); |
| 999 |
|
|
static _ptr_type _narrow(::CORBA::Object_ptr); |
| 1000 |
|
|
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr); |
| 1001 |
|
|
|
| 1002 |
|
|
static _ptr_type _nil(); |
| 1003 |
|
|
|
| 1004 |
|
|
static inline void _marshalObjRef(_ptr_type, cdrStream&); |
| 1005 |
|
|
|
| 1006 |
|
✗ |
static inline _ptr_type _unmarshalObjRef(cdrStream& s) { |
| 1007 |
|
✗ |
omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s); |
| 1008 |
|
✗ |
if (o) |
| 1009 |
|
✗ |
return (_ptr_type) o->_ptrToObjRef(_PD_repoId); |
| 1010 |
|
|
else |
| 1011 |
|
✗ |
return _nil(); |
| 1012 |
|
|
} |
| 1013 |
|
|
|
| 1014 |
|
|
static inline _ptr_type _fromObjRef(omniObjRef* o) { |
| 1015 |
|
|
if (o) |
| 1016 |
|
|
return (_ptr_type) o->_ptrToObjRef(_PD_repoId); |
| 1017 |
|
|
else |
| 1018 |
|
|
return _nil(); |
| 1019 |
|
|
} |
| 1020 |
|
|
|
| 1021 |
|
|
static _core_attr const char* _PD_repoId; |
| 1022 |
|
|
|
| 1023 |
|
|
// Other IDL defined within this scope. |
| 1024 |
|
|
|
| 1025 |
|
|
}; |
| 1026 |
|
|
|
| 1027 |
|
|
class _objref_GraphicalInterface : |
| 1028 |
|
|
public virtual ::CORBA::Object, |
| 1029 |
|
|
public virtual omniObjRef |
| 1030 |
|
|
{ |
| 1031 |
|
|
public: |
| 1032 |
|
|
// IDL operations |
| 1033 |
|
|
char* createWindow(const char* name); |
| 1034 |
|
|
char* getWindowID(const char* name); |
| 1035 |
|
|
::CORBA::Boolean setBackgroundColor1(const char* wid, const ::gepetto::corbaserver::Color RGBAcolor); |
| 1036 |
|
|
::CORBA::Boolean setBackgroundColor2(const char* wid, const ::gepetto::corbaserver::Color RGBAcolor); |
| 1037 |
|
|
void createScene(const char* sceneName); |
| 1038 |
|
|
void createSceneWithFloor(const char* sceneName); |
| 1039 |
|
|
::CORBA::Boolean addSceneToWindow(const char* sceneName, const char* wid); |
| 1040 |
|
|
::CORBA::Boolean addFloor(const char* floorName); |
| 1041 |
|
|
::CORBA::Boolean addBox(const char* boxName, ::CORBA::Float boxSize1, ::CORBA::Float boxSize2, ::CORBA::Float boxSize3, const ::gepetto::corbaserver::Color RGBAcolor); |
| 1042 |
|
|
::CORBA::Boolean addCapsule(const char* name, ::CORBA::Float radius, ::CORBA::Float height, const ::gepetto::corbaserver::Color RGBAcolor); |
| 1043 |
|
|
::CORBA::Boolean addArrow(const char* name, ::CORBA::Float radius, ::CORBA::Float length, const ::gepetto::corbaserver::Color RGBAcolor); |
| 1044 |
|
|
::CORBA::Boolean addRod(const char* rodName, const ::gepetto::corbaserver::Color RGBAcolor, ::CORBA::Float radius, ::CORBA::Float totalLength, ::CORBA::Short maxCapsule); |
| 1045 |
|
|
::CORBA::Boolean resizeCapsule(const char* capsuleName, ::CORBA::Float height); |
| 1046 |
|
|
::CORBA::Boolean resizeArrow(const char* capsuleName, ::CORBA::Float radius, ::CORBA::Float length); |
| 1047 |
|
|
::CORBA::Boolean addMesh(const char* meshName, const char* meshPath); |
| 1048 |
|
|
void removeLightSources(const char* meshName); |
| 1049 |
|
|
::CORBA::Boolean addCone(const char* name, ::CORBA::Float radius, ::CORBA::Float height, const ::gepetto::corbaserver::Color RGBAcolor); |
| 1050 |
|
|
::CORBA::Boolean addCylinder(const char* cylinderName, ::CORBA::Float radius, ::CORBA::Float height, const ::gepetto::corbaserver::Color RGBAcolor); |
| 1051 |
|
|
::CORBA::Boolean addSphere(const char* sphereName, ::CORBA::Float radius, const ::gepetto::corbaserver::Color RGBAcolor); |
| 1052 |
|
|
::CORBA::Boolean addLight(const char* lightName, const char* wid, ::CORBA::Float radius, const ::gepetto::corbaserver::Color RGBAcolor); |
| 1053 |
|
|
::CORBA::Boolean addLine(const char* lineName, const ::gepetto::corbaserver::Position pos1, const ::gepetto::corbaserver::Position pos2, const ::gepetto::corbaserver::Color RGBAcolor); |
| 1054 |
|
|
::CORBA::Boolean setLineStartPoint(const char* lineName, const ::gepetto::corbaserver::Position pos1); |
| 1055 |
|
|
::CORBA::Boolean setLineEndPoint(const char* lineName, const ::gepetto::corbaserver::Position pos2); |
| 1056 |
|
|
::CORBA::Boolean setLineExtremalPoints(const char* lineName, const ::gepetto::corbaserver::Position pos1, const ::gepetto::corbaserver::Position pos2); |
| 1057 |
|
|
::CORBA::Boolean addCurve(const char* name, const ::gepetto::corbaserver::PositionSeq& pos, const ::gepetto::corbaserver::Color RGBAcolor); |
| 1058 |
|
|
::CORBA::Boolean setCurvePoints(const char* name, const ::gepetto::corbaserver::PositionSeq& pos); |
| 1059 |
|
|
::CORBA::Boolean setCurveColors(const char* name, const ::gepetto::corbaserver::ColorSeq& pos); |
| 1060 |
|
|
::CORBA::Boolean setCurveMode(const char* name, const char* mode); |
| 1061 |
|
|
::CORBA::Boolean setCurvePointsSubset(const char* curveName, ::CORBA::Long first, ::CORBA::Long count); |
| 1062 |
|
|
::CORBA::Boolean setCurveLineWidth(const char* curveName, ::CORBA::Float width); |
| 1063 |
|
|
::CORBA::Boolean addSquareFace(const char* faceName, const ::gepetto::corbaserver::Position pos1, const ::gepetto::corbaserver::Position pos2, const ::gepetto::corbaserver::Position pos3, const ::gepetto::corbaserver::Position pos4, const ::gepetto::corbaserver::Color RGBAcolor); |
| 1064 |
|
|
::CORBA::Boolean setTexture(const char* nodeName, const char* filename); |
| 1065 |
|
|
::CORBA::Boolean addTriangleFace(const char* faceName, const ::gepetto::corbaserver::Position pos1, const ::gepetto::corbaserver::Position pos2, const ::gepetto::corbaserver::Position pos3, const ::gepetto::corbaserver::Color RGBAcolor); |
| 1066 |
|
|
::CORBA::Boolean addXYZaxis(const char* nodeName, const ::gepetto::corbaserver::Color RGBAcolor, ::CORBA::Float radius, ::CORBA::Float sizeAxis); |
| 1067 |
|
|
::CORBA::Boolean createRoadmap(const char* nameCorba, const ::gepetto::corbaserver::Color RGBAcolorNode, ::CORBA::Float radius, ::CORBA::Float sizeAxis, const ::gepetto::corbaserver::Color RGBAcolorEdge); |
| 1068 |
|
|
::CORBA::Boolean addEdgeToRoadmap(const char* nameRoadmap, const ::gepetto::corbaserver::Position posFrom, const ::gepetto::corbaserver::Position posTo); |
| 1069 |
|
|
::CORBA::Boolean addNodeToRoadmap(const char* nameRoadmap, const ::gepetto::corbaserver::Transform configuration); |
| 1070 |
|
|
::CORBA::Boolean addURDF(const char* robotName, const char* urdfFilePath); |
| 1071 |
|
|
::CORBA::Boolean addUrdfCollision(const char* robotName, const char* urdfFilePath); |
| 1072 |
|
|
void addUrdfObjects(const char* nodeName, const char* urdfFilePath, ::CORBA::Boolean visual); |
| 1073 |
|
|
::CORBA::Boolean createGroup(const char* groupName); |
| 1074 |
|
|
::CORBA::Boolean nodeExists(const char* nodeName); |
| 1075 |
|
|
::CORBA::Boolean deleteNode(const char* nodeName, ::CORBA::Boolean all); |
| 1076 |
|
|
Names_t* getNodeList(); |
| 1077 |
|
|
Names_t* getGroupNodeList(const char* group); |
| 1078 |
|
|
Names_t* getSceneList(); |
| 1079 |
|
|
Names_t* getWindowList(); |
| 1080 |
|
|
::CORBA::Boolean addToGroup(const char* nodeName, const char* groupName); |
| 1081 |
|
|
::CORBA::Boolean removeFromGroup(const char* nodeName, const char* groupName); |
| 1082 |
|
|
::CORBA::Boolean removeObjectFromCache(const char* nodeName); |
| 1083 |
|
|
::CORBA::Boolean applyConfiguration(const char* nodeName, const ::gepetto::corbaserver::Transform configuration); |
| 1084 |
|
|
::CORBA::Boolean applyConfigurations(const ::gepetto::corbaserver::Names_t& nodeName, const ::gepetto::corbaserver::TransformSeq& configuration); |
| 1085 |
|
|
void refresh(); |
| 1086 |
|
|
void setRefreshIsSynchronous(::CORBA::Boolean synchonous); |
| 1087 |
|
|
Transform_slice* getNodeGlobalTransform(const char* nodeName); |
| 1088 |
|
|
::CORBA::Boolean addLandmark(const char* nodeName, ::CORBA::Float size); |
| 1089 |
|
|
::CORBA::Boolean deleteLandmark(const char* nodeName); |
| 1090 |
|
|
Transform_slice* getStaticTransform(const char* nodeName); |
| 1091 |
|
|
::CORBA::Boolean setStaticTransform(const char* nodeName, const ::gepetto::corbaserver::Transform configuration); |
| 1092 |
|
|
::CORBA::Boolean setVisibility(const char* nodeName, const char* visibilityMode); |
| 1093 |
|
|
::CORBA::Boolean setScale(const char* nodeName, const ::gepetto::corbaserver::Position scale); |
| 1094 |
|
|
::CORBA::Boolean setColor(const char* nodeName, const ::gepetto::corbaserver::Color scale); |
| 1095 |
|
|
::CORBA::Boolean setWireFrameMode(const char* nodeName, const char* wireFrameMode); |
| 1096 |
|
|
::CORBA::Boolean setLightingMode(const char* nodeName, const char* lightingMode); |
| 1097 |
|
|
::CORBA::Boolean setHighlight(const char* nodeName, ::CORBA::Long state); |
| 1098 |
|
|
Names_t* getPropertyNames(const char* nodeName); |
| 1099 |
|
|
Names_t* getPropertyTypes(const char* nodeName); |
| 1100 |
|
|
void setStringProperty(const char* nodeName, const char* propName, const char* value); |
| 1101 |
|
|
char* getStringProperty(const char* nodeName, const char* propName); |
| 1102 |
|
|
void setColorProperty(const char* nodeName, const char* propName, const ::gepetto::corbaserver::Color value); |
| 1103 |
|
|
Color_slice* getColorProperty(const char* nodeName, const char* propName); |
| 1104 |
|
|
void setVector3Property(const char* nodeName, const char* propName, const ::gepetto::corbaserver::Position value); |
| 1105 |
|
|
Position_slice* getVector3Property(const char* nodeName, const char* propName); |
| 1106 |
|
|
void setVector2Property(const char* nodeName, const char* propName, const ::gepetto::corbaserver::Vector2 value); |
| 1107 |
|
|
Position_slice* getVector2Property(const char* nodeName, const char* propName); |
| 1108 |
|
|
void setFloatProperty(const char* nodeName, const char* propName, ::CORBA::Float value); |
| 1109 |
|
|
::CORBA::Float getFloatProperty(const char* nodeName, const char* propName); |
| 1110 |
|
|
void setBoolProperty(const char* nodeName, const char* propName, ::CORBA::Boolean value); |
| 1111 |
|
|
::CORBA::Boolean getBoolProperty(const char* nodeName, const char* propName); |
| 1112 |
|
|
void setIntProperty(const char* nodeName, const char* propName, ::CORBA::Long value); |
| 1113 |
|
|
::CORBA::Long getIntProperty(const char* nodeName, const char* propName); |
| 1114 |
|
|
void callVoidProperty(const char* nodeName, const char* propName); |
| 1115 |
|
|
void captureFrame(const char* wid, const char* imageFilename); |
| 1116 |
|
|
::CORBA::Boolean startCapture(const char* wid, const char* filename, const char* extension); |
| 1117 |
|
|
::CORBA::Boolean stopCapture(const char* wid); |
| 1118 |
|
|
::CORBA::Boolean setCaptureTransform(const char* filename, const ::gepetto::corbaserver::Names_t& nodeNames); |
| 1119 |
|
|
void captureTransformOnRefresh(::CORBA::Boolean autoCapture); |
| 1120 |
|
|
void captureTransform(); |
| 1121 |
|
|
::CORBA::Boolean writeBlenderScript(const char* filename, const ::gepetto::corbaserver::Names_t& nodeNames); |
| 1122 |
|
|
::CORBA::Boolean writeNodeFile(const char* nodeName, const char* filename); |
| 1123 |
|
|
::CORBA::Boolean writeWindowFile(const char* wid, const char* filename); |
| 1124 |
|
|
::CORBA::Boolean attachCameraToNode(const char* nodeName, const char* wid); |
| 1125 |
|
|
::CORBA::Boolean detachCamera(const char* wid); |
| 1126 |
|
|
Transform_slice* getCameraTransform(const char* wid); |
| 1127 |
|
|
::CORBA::Boolean setCameraTransform(const char* wid, const ::gepetto::corbaserver::Transform configuration); |
| 1128 |
|
|
::CORBA::Boolean setCameraToBestFit(const char* wid); |
| 1129 |
|
|
::CORBA::Boolean registerNodeCallback(::gepetto::corbaserver::NodeCallback_ptr cb); |
| 1130 |
|
|
|
| 1131 |
|
|
// Constructors |
| 1132 |
|
✗ |
inline _objref_GraphicalInterface() { _PR_setobj(0); } // nil |
| 1133 |
|
|
_objref_GraphicalInterface(omniIOR*, omniIdentity*); |
| 1134 |
|
|
|
| 1135 |
|
|
protected: |
| 1136 |
|
|
virtual ~_objref_GraphicalInterface(); |
| 1137 |
|
|
|
| 1138 |
|
|
|
| 1139 |
|
|
private: |
| 1140 |
|
|
virtual void* _ptrToObjRef(const char*); |
| 1141 |
|
|
|
| 1142 |
|
|
_objref_GraphicalInterface(const _objref_GraphicalInterface&); |
| 1143 |
|
|
_objref_GraphicalInterface& operator = (const _objref_GraphicalInterface&); |
| 1144 |
|
|
// not implemented |
| 1145 |
|
|
|
| 1146 |
|
|
friend class GraphicalInterface; |
| 1147 |
|
|
}; |
| 1148 |
|
|
|
| 1149 |
|
|
class _pof_GraphicalInterface : public _OMNI_NS(proxyObjectFactory) { |
| 1150 |
|
|
public: |
| 1151 |
|
✗ |
inline _pof_GraphicalInterface() : _OMNI_NS(proxyObjectFactory)(GraphicalInterface::_PD_repoId) {} |
| 1152 |
|
|
virtual ~_pof_GraphicalInterface(); |
| 1153 |
|
|
|
| 1154 |
|
|
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*); |
| 1155 |
|
|
virtual _CORBA_Boolean is_a(const char*) const; |
| 1156 |
|
|
}; |
| 1157 |
|
|
|
| 1158 |
|
|
class _impl_GraphicalInterface : |
| 1159 |
|
|
public virtual omniServant |
| 1160 |
|
|
{ |
| 1161 |
|
|
public: |
| 1162 |
|
|
virtual ~_impl_GraphicalInterface(); |
| 1163 |
|
|
|
| 1164 |
|
|
virtual char* createWindow(const char* name) = 0; |
| 1165 |
|
|
virtual char* getWindowID(const char* name) = 0; |
| 1166 |
|
|
virtual ::CORBA::Boolean setBackgroundColor1(const char* wid, const ::gepetto::corbaserver::Color RGBAcolor) = 0; |
| 1167 |
|
|
virtual ::CORBA::Boolean setBackgroundColor2(const char* wid, const ::gepetto::corbaserver::Color RGBAcolor) = 0; |
| 1168 |
|
|
virtual void createScene(const char* sceneName) = 0; |
| 1169 |
|
|
virtual void createSceneWithFloor(const char* sceneName) = 0; |
| 1170 |
|
|
virtual ::CORBA::Boolean addSceneToWindow(const char* sceneName, const char* wid) = 0; |
| 1171 |
|
|
virtual ::CORBA::Boolean addFloor(const char* floorName) = 0; |
| 1172 |
|
|
virtual ::CORBA::Boolean addBox(const char* boxName, ::CORBA::Float boxSize1, ::CORBA::Float boxSize2, ::CORBA::Float boxSize3, const ::gepetto::corbaserver::Color RGBAcolor) = 0; |
| 1173 |
|
|
virtual ::CORBA::Boolean addCapsule(const char* name, ::CORBA::Float radius, ::CORBA::Float height, const ::gepetto::corbaserver::Color RGBAcolor) = 0; |
| 1174 |
|
|
virtual ::CORBA::Boolean addArrow(const char* name, ::CORBA::Float radius, ::CORBA::Float length, const ::gepetto::corbaserver::Color RGBAcolor) = 0; |
| 1175 |
|
|
virtual ::CORBA::Boolean addRod(const char* rodName, const ::gepetto::corbaserver::Color RGBAcolor, ::CORBA::Float radius, ::CORBA::Float totalLength, ::CORBA::Short maxCapsule) = 0; |
| 1176 |
|
|
virtual ::CORBA::Boolean resizeCapsule(const char* capsuleName, ::CORBA::Float height) = 0; |
| 1177 |
|
|
virtual ::CORBA::Boolean resizeArrow(const char* capsuleName, ::CORBA::Float radius, ::CORBA::Float length) = 0; |
| 1178 |
|
|
virtual ::CORBA::Boolean addMesh(const char* meshName, const char* meshPath) = 0; |
| 1179 |
|
|
virtual void removeLightSources(const char* meshName) = 0; |
| 1180 |
|
|
virtual ::CORBA::Boolean addCone(const char* name, ::CORBA::Float radius, ::CORBA::Float height, const ::gepetto::corbaserver::Color RGBAcolor) = 0; |
| 1181 |
|
|
virtual ::CORBA::Boolean addCylinder(const char* cylinderName, ::CORBA::Float radius, ::CORBA::Float height, const ::gepetto::corbaserver::Color RGBAcolor) = 0; |
| 1182 |
|
|
virtual ::CORBA::Boolean addSphere(const char* sphereName, ::CORBA::Float radius, const ::gepetto::corbaserver::Color RGBAcolor) = 0; |
| 1183 |
|
|
virtual ::CORBA::Boolean addLight(const char* lightName, const char* wid, ::CORBA::Float radius, const ::gepetto::corbaserver::Color RGBAcolor) = 0; |
| 1184 |
|
|
virtual ::CORBA::Boolean addLine(const char* lineName, const ::gepetto::corbaserver::Position pos1, const ::gepetto::corbaserver::Position pos2, const ::gepetto::corbaserver::Color RGBAcolor) = 0; |
| 1185 |
|
|
virtual ::CORBA::Boolean setLineStartPoint(const char* lineName, const ::gepetto::corbaserver::Position pos1) = 0; |
| 1186 |
|
|
virtual ::CORBA::Boolean setLineEndPoint(const char* lineName, const ::gepetto::corbaserver::Position pos2) = 0; |
| 1187 |
|
|
virtual ::CORBA::Boolean setLineExtremalPoints(const char* lineName, const ::gepetto::corbaserver::Position pos1, const ::gepetto::corbaserver::Position pos2) = 0; |
| 1188 |
|
|
virtual ::CORBA::Boolean addCurve(const char* name, const ::gepetto::corbaserver::PositionSeq& pos, const ::gepetto::corbaserver::Color RGBAcolor) = 0; |
| 1189 |
|
|
virtual ::CORBA::Boolean setCurvePoints(const char* name, const ::gepetto::corbaserver::PositionSeq& pos) = 0; |
| 1190 |
|
|
virtual ::CORBA::Boolean setCurveColors(const char* name, const ::gepetto::corbaserver::ColorSeq& pos) = 0; |
| 1191 |
|
|
virtual ::CORBA::Boolean setCurveMode(const char* name, const char* mode) = 0; |
| 1192 |
|
|
virtual ::CORBA::Boolean setCurvePointsSubset(const char* curveName, ::CORBA::Long first, ::CORBA::Long count) = 0; |
| 1193 |
|
|
virtual ::CORBA::Boolean setCurveLineWidth(const char* curveName, ::CORBA::Float width) = 0; |
| 1194 |
|
|
virtual ::CORBA::Boolean addSquareFace(const char* faceName, const ::gepetto::corbaserver::Position pos1, const ::gepetto::corbaserver::Position pos2, const ::gepetto::corbaserver::Position pos3, const ::gepetto::corbaserver::Position pos4, const ::gepetto::corbaserver::Color RGBAcolor) = 0; |
| 1195 |
|
|
virtual ::CORBA::Boolean setTexture(const char* nodeName, const char* filename) = 0; |
| 1196 |
|
|
virtual ::CORBA::Boolean addTriangleFace(const char* faceName, const ::gepetto::corbaserver::Position pos1, const ::gepetto::corbaserver::Position pos2, const ::gepetto::corbaserver::Position pos3, const ::gepetto::corbaserver::Color RGBAcolor) = 0; |
| 1197 |
|
|
virtual ::CORBA::Boolean addXYZaxis(const char* nodeName, const ::gepetto::corbaserver::Color RGBAcolor, ::CORBA::Float radius, ::CORBA::Float sizeAxis) = 0; |
| 1198 |
|
|
virtual ::CORBA::Boolean createRoadmap(const char* nameCorba, const ::gepetto::corbaserver::Color RGBAcolorNode, ::CORBA::Float radius, ::CORBA::Float sizeAxis, const ::gepetto::corbaserver::Color RGBAcolorEdge) = 0; |
| 1199 |
|
|
virtual ::CORBA::Boolean addEdgeToRoadmap(const char* nameRoadmap, const ::gepetto::corbaserver::Position posFrom, const ::gepetto::corbaserver::Position posTo) = 0; |
| 1200 |
|
|
virtual ::CORBA::Boolean addNodeToRoadmap(const char* nameRoadmap, const ::gepetto::corbaserver::Transform configuration) = 0; |
| 1201 |
|
|
virtual ::CORBA::Boolean addURDF(const char* robotName, const char* urdfFilePath) = 0; |
| 1202 |
|
|
virtual ::CORBA::Boolean addUrdfCollision(const char* robotName, const char* urdfFilePath) = 0; |
| 1203 |
|
|
virtual void addUrdfObjects(const char* nodeName, const char* urdfFilePath, ::CORBA::Boolean visual) = 0; |
| 1204 |
|
|
virtual ::CORBA::Boolean createGroup(const char* groupName) = 0; |
| 1205 |
|
|
virtual ::CORBA::Boolean nodeExists(const char* nodeName) = 0; |
| 1206 |
|
|
virtual ::CORBA::Boolean deleteNode(const char* nodeName, ::CORBA::Boolean all) = 0; |
| 1207 |
|
|
virtual Names_t* getNodeList() = 0; |
| 1208 |
|
|
virtual Names_t* getGroupNodeList(const char* group) = 0; |
| 1209 |
|
|
virtual Names_t* getSceneList() = 0; |
| 1210 |
|
|
virtual Names_t* getWindowList() = 0; |
| 1211 |
|
|
virtual ::CORBA::Boolean addToGroup(const char* nodeName, const char* groupName) = 0; |
| 1212 |
|
|
virtual ::CORBA::Boolean removeFromGroup(const char* nodeName, const char* groupName) = 0; |
| 1213 |
|
|
virtual ::CORBA::Boolean removeObjectFromCache(const char* nodeName) = 0; |
| 1214 |
|
|
virtual ::CORBA::Boolean applyConfiguration(const char* nodeName, const ::gepetto::corbaserver::Transform configuration) = 0; |
| 1215 |
|
|
virtual ::CORBA::Boolean applyConfigurations(const ::gepetto::corbaserver::Names_t& nodeName, const ::gepetto::corbaserver::TransformSeq& configuration) = 0; |
| 1216 |
|
|
virtual void refresh() = 0; |
| 1217 |
|
|
virtual void setRefreshIsSynchronous(::CORBA::Boolean synchonous) = 0; |
| 1218 |
|
|
virtual Transform_slice* getNodeGlobalTransform(const char* nodeName) = 0; |
| 1219 |
|
|
virtual ::CORBA::Boolean addLandmark(const char* nodeName, ::CORBA::Float size) = 0; |
| 1220 |
|
|
virtual ::CORBA::Boolean deleteLandmark(const char* nodeName) = 0; |
| 1221 |
|
|
virtual Transform_slice* getStaticTransform(const char* nodeName) = 0; |
| 1222 |
|
|
virtual ::CORBA::Boolean setStaticTransform(const char* nodeName, const ::gepetto::corbaserver::Transform configuration) = 0; |
| 1223 |
|
|
virtual ::CORBA::Boolean setVisibility(const char* nodeName, const char* visibilityMode) = 0; |
| 1224 |
|
|
virtual ::CORBA::Boolean setScale(const char* nodeName, const ::gepetto::corbaserver::Position scale) = 0; |
| 1225 |
|
|
virtual ::CORBA::Boolean setColor(const char* nodeName, const ::gepetto::corbaserver::Color scale) = 0; |
| 1226 |
|
|
virtual ::CORBA::Boolean setWireFrameMode(const char* nodeName, const char* wireFrameMode) = 0; |
| 1227 |
|
|
virtual ::CORBA::Boolean setLightingMode(const char* nodeName, const char* lightingMode) = 0; |
| 1228 |
|
|
virtual ::CORBA::Boolean setHighlight(const char* nodeName, ::CORBA::Long state) = 0; |
| 1229 |
|
|
virtual Names_t* getPropertyNames(const char* nodeName) = 0; |
| 1230 |
|
|
virtual Names_t* getPropertyTypes(const char* nodeName) = 0; |
| 1231 |
|
|
virtual void setStringProperty(const char* nodeName, const char* propName, const char* value) = 0; |
| 1232 |
|
|
virtual char* getStringProperty(const char* nodeName, const char* propName) = 0; |
| 1233 |
|
|
virtual void setColorProperty(const char* nodeName, const char* propName, const ::gepetto::corbaserver::Color value) = 0; |
| 1234 |
|
|
virtual Color_slice* getColorProperty(const char* nodeName, const char* propName) = 0; |
| 1235 |
|
|
virtual void setVector3Property(const char* nodeName, const char* propName, const ::gepetto::corbaserver::Position value) = 0; |
| 1236 |
|
|
virtual Position_slice* getVector3Property(const char* nodeName, const char* propName) = 0; |
| 1237 |
|
|
virtual void setVector2Property(const char* nodeName, const char* propName, const ::gepetto::corbaserver::Vector2 value) = 0; |
| 1238 |
|
|
virtual Position_slice* getVector2Property(const char* nodeName, const char* propName) = 0; |
| 1239 |
|
|
virtual void setFloatProperty(const char* nodeName, const char* propName, ::CORBA::Float value) = 0; |
| 1240 |
|
|
virtual ::CORBA::Float getFloatProperty(const char* nodeName, const char* propName) = 0; |
| 1241 |
|
|
virtual void setBoolProperty(const char* nodeName, const char* propName, ::CORBA::Boolean value) = 0; |
| 1242 |
|
|
virtual ::CORBA::Boolean getBoolProperty(const char* nodeName, const char* propName) = 0; |
| 1243 |
|
|
virtual void setIntProperty(const char* nodeName, const char* propName, ::CORBA::Long value) = 0; |
| 1244 |
|
|
virtual ::CORBA::Long getIntProperty(const char* nodeName, const char* propName) = 0; |
| 1245 |
|
|
virtual void callVoidProperty(const char* nodeName, const char* propName) = 0; |
| 1246 |
|
|
virtual void captureFrame(const char* wid, const char* imageFilename) = 0; |
| 1247 |
|
|
virtual ::CORBA::Boolean startCapture(const char* wid, const char* filename, const char* extension) = 0; |
| 1248 |
|
|
virtual ::CORBA::Boolean stopCapture(const char* wid) = 0; |
| 1249 |
|
|
virtual ::CORBA::Boolean setCaptureTransform(const char* filename, const ::gepetto::corbaserver::Names_t& nodeNames) = 0; |
| 1250 |
|
|
virtual void captureTransformOnRefresh(::CORBA::Boolean autoCapture) = 0; |
| 1251 |
|
|
virtual void captureTransform() = 0; |
| 1252 |
|
|
virtual ::CORBA::Boolean writeBlenderScript(const char* filename, const ::gepetto::corbaserver::Names_t& nodeNames) = 0; |
| 1253 |
|
|
virtual ::CORBA::Boolean writeNodeFile(const char* nodeName, const char* filename) = 0; |
| 1254 |
|
|
virtual ::CORBA::Boolean writeWindowFile(const char* wid, const char* filename) = 0; |
| 1255 |
|
|
virtual ::CORBA::Boolean attachCameraToNode(const char* nodeName, const char* wid) = 0; |
| 1256 |
|
|
virtual ::CORBA::Boolean detachCamera(const char* wid) = 0; |
| 1257 |
|
|
virtual Transform_slice* getCameraTransform(const char* wid) = 0; |
| 1258 |
|
|
virtual ::CORBA::Boolean setCameraTransform(const char* wid, const ::gepetto::corbaserver::Transform configuration) = 0; |
| 1259 |
|
|
virtual ::CORBA::Boolean setCameraToBestFit(const char* wid) = 0; |
| 1260 |
|
|
virtual ::CORBA::Boolean registerNodeCallback(::gepetto::corbaserver::NodeCallback_ptr cb) = 0; |
| 1261 |
|
|
|
| 1262 |
|
|
public: // Really protected, workaround for xlC |
| 1263 |
|
|
virtual _CORBA_Boolean _dispatch(omniCallHandle&); |
| 1264 |
|
|
|
| 1265 |
|
|
private: |
| 1266 |
|
|
virtual void* _ptrToInterface(const char*); |
| 1267 |
|
|
virtual const char* _mostDerivedRepoId(); |
| 1268 |
|
|
|
| 1269 |
|
|
}; |
| 1270 |
|
|
|
| 1271 |
|
|
|
| 1272 |
|
|
_CORBA_MODULE_END |
| 1273 |
|
|
|
| 1274 |
|
|
_CORBA_MODULE_END |
| 1275 |
|
|
|
| 1276 |
|
|
|
| 1277 |
|
|
|
| 1278 |
|
|
_CORBA_MODULE POA_gepetto |
| 1279 |
|
|
_CORBA_MODULE_BEG |
| 1280 |
|
|
|
| 1281 |
|
|
_CORBA_MODULE corbaserver |
| 1282 |
|
|
_CORBA_MODULE_BEG |
| 1283 |
|
|
|
| 1284 |
|
|
class NodeCallback : |
| 1285 |
|
|
public virtual gepetto::corbaserver::_impl_NodeCallback, |
| 1286 |
|
|
public virtual ::PortableServer::ServantBase |
| 1287 |
|
|
{ |
| 1288 |
|
|
public: |
| 1289 |
|
|
virtual ~NodeCallback(); |
| 1290 |
|
|
|
| 1291 |
|
|
inline ::gepetto::corbaserver::NodeCallback_ptr _this() { |
| 1292 |
|
|
return (::gepetto::corbaserver::NodeCallback_ptr) _do_this(::gepetto::corbaserver::NodeCallback::_PD_repoId); |
| 1293 |
|
|
} |
| 1294 |
|
|
}; |
| 1295 |
|
|
|
| 1296 |
|
|
class GraphicalInterface : |
| 1297 |
|
|
public virtual gepetto::corbaserver::_impl_GraphicalInterface, |
| 1298 |
|
|
public virtual ::PortableServer::ServantBase |
| 1299 |
|
|
{ |
| 1300 |
|
|
public: |
| 1301 |
|
|
virtual ~GraphicalInterface(); |
| 1302 |
|
|
|
| 1303 |
|
✗ |
inline ::gepetto::corbaserver::GraphicalInterface_ptr _this() { |
| 1304 |
|
✗ |
return (::gepetto::corbaserver::GraphicalInterface_ptr) _do_this(::gepetto::corbaserver::GraphicalInterface::_PD_repoId); |
| 1305 |
|
|
} |
| 1306 |
|
|
}; |
| 1307 |
|
|
|
| 1308 |
|
|
_CORBA_MODULE_END |
| 1309 |
|
|
|
| 1310 |
|
|
_CORBA_MODULE_END |
| 1311 |
|
|
|
| 1312 |
|
|
|
| 1313 |
|
|
|
| 1314 |
|
|
_CORBA_MODULE OBV_gepetto |
| 1315 |
|
|
_CORBA_MODULE_BEG |
| 1316 |
|
|
|
| 1317 |
|
|
_CORBA_MODULE corbaserver |
| 1318 |
|
|
_CORBA_MODULE_BEG |
| 1319 |
|
|
|
| 1320 |
|
|
_CORBA_MODULE_END |
| 1321 |
|
|
|
| 1322 |
|
|
_CORBA_MODULE_END |
| 1323 |
|
|
|
| 1324 |
|
|
|
| 1325 |
|
|
|
| 1326 |
|
|
|
| 1327 |
|
|
|
| 1328 |
|
|
#undef _core_attr |
| 1329 |
|
|
#undef _dyn_attr |
| 1330 |
|
|
|
| 1331 |
|
|
|
| 1332 |
|
|
|
| 1333 |
|
|
inline void |
| 1334 |
|
✗ |
gepetto::corbaserver::NodeCallback::_marshalObjRef(::gepetto::corbaserver::NodeCallback_ptr obj, cdrStream& s) { |
| 1335 |
|
✗ |
omniObjRef::_marshal(obj->_PR_getobj(),s); |
| 1336 |
|
|
} |
| 1337 |
|
|
|
| 1338 |
|
|
inline void |
| 1339 |
|
✗ |
gepetto::corbaserver::GraphicalInterface::_marshalObjRef(::gepetto::corbaserver::GraphicalInterface_ptr obj, cdrStream& s) { |
| 1340 |
|
✗ |
omniObjRef::_marshal(obj->_PR_getobj(),s); |
| 1341 |
|
|
} |
| 1342 |
|
|
|
| 1343 |
|
|
|
| 1344 |
|
|
|
| 1345 |
|
|
#ifdef USE_stub_in_nt_dll_NOT_DEFINED_graphical_interface |
| 1346 |
|
|
# undef USE_stub_in_nt_dll |
| 1347 |
|
|
# undef USE_stub_in_nt_dll_NOT_DEFINED_graphical_interface |
| 1348 |
|
|
#endif |
| 1349 |
|
|
#ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_graphical_interface |
| 1350 |
|
|
# undef USE_core_stub_in_nt_dll |
| 1351 |
|
|
# undef USE_core_stub_in_nt_dll_NOT_DEFINED_graphical_interface |
| 1352 |
|
|
#endif |
| 1353 |
|
|
#ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_graphical_interface |
| 1354 |
|
|
# undef USE_dyn_stub_in_nt_dll |
| 1355 |
|
|
# undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_graphical_interface |
| 1356 |
|
|
#endif |
| 1357 |
|
|
|
| 1358 |
|
|
#endif // __graphical_interface_hh__ |
| 1359 |
|
|
|
| 1360 |
|
|
|