Directory: | ./ |
---|---|
File: | src/hpp/core_idl/_constraints-idl.hh |
Date: | 2024-12-13 15:50:05 |
Exec | Total | Coverage | |
---|---|---|---|
Lines: | 15 | 43 | 34.9% |
Branches: | 2 | 24 | 8.3% |
Line | Branch | Exec | Source |
---|---|---|---|
1 | // This file is generated by omniidl (C++ backend)- omniORB_4_3. Do not edit. | ||
2 | #ifndef pp_core_idl____constraints_hh__ | ||
3 | #define pp_core_idl____constraints_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___constraints | ||
11 | #endif | ||
12 | #ifndef USE_core_stub_in_nt_dll | ||
13 | # define USE_core_stub_in_nt_dll_NOT_DEFINED___constraints | ||
14 | #endif | ||
15 | #ifndef USE_dyn_stub_in_nt_dll | ||
16 | # define USE_dyn_stub_in_nt_dll_NOT_DEFINED___constraints | ||
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__constraints_hh_EXTERNAL_GUARD__ | ||
26 | #define pp_core_idl__constraints_hh_EXTERNAL_GUARD__ | ||
27 | #include <hpp/constraints_idl/constraints-idl.hh> | ||
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 constraints_idl | ||
68 | |||
69 | _CORBA_MODULE_BEG | ||
70 | |||
71 | #ifndef __hpp_mconstraints__idl_mImplicit__ | ||
72 | #define __hpp_mconstraints__idl_mImplicit__ | ||
73 | class Implicit; | ||
74 | class _objref_Implicit; | ||
75 | class _impl_Implicit; | ||
76 | |||
77 | typedef _objref_Implicit* Implicit_ptr; | ||
78 | typedef Implicit_ptr ImplicitRef; | ||
79 | |||
80 | class Implicit_Helper { | ||
81 | public: | ||
82 | typedef Implicit_ptr _ptr_type; | ||
83 | |||
84 | static _ptr_type _nil(); | ||
85 | static _CORBA_Boolean is_nil(_ptr_type); | ||
86 | static void release(_ptr_type); | ||
87 | static void duplicate(_ptr_type); | ||
88 | static void marshalObjRef(_ptr_type, cdrStream&); | ||
89 | static _ptr_type unmarshalObjRef(cdrStream&); | ||
90 | }; | ||
91 | |||
92 | typedef _CORBA_ObjRef_Var<_objref_Implicit, Implicit_Helper> Implicit_var; | ||
93 | typedef _CORBA_ObjRef_OUT_arg<_objref_Implicit,Implicit_Helper > Implicit_out; | ||
94 | |||
95 | #endif | ||
96 | |||
97 | class Implicits_var; | ||
98 | |||
99 | class Implicits : public _CORBA_Unbounded_Sequence_ObjRef< _objref_Implicit, _CORBA_ObjRef_Element< _objref_Implicit, Implicit_Helper> , Implicit_Helper > { | ||
100 | public: | ||
101 | typedef Implicits_var _var_type; | ||
102 | ✗ | inline Implicits() {} | |
103 | inline Implicits(const Implicits& _s) | ||
104 | : _CORBA_Unbounded_Sequence_ObjRef< _objref_Implicit, _CORBA_ObjRef_Element< _objref_Implicit, Implicit_Helper> , Implicit_Helper > (_s) {} | ||
105 | |||
106 | inline Implicits(_CORBA_ULong _max) | ||
107 | : _CORBA_Unbounded_Sequence_ObjRef< _objref_Implicit, _CORBA_ObjRef_Element< _objref_Implicit, Implicit_Helper> , Implicit_Helper > (_max) {} | ||
108 | inline Implicits(_CORBA_ULong _max, _CORBA_ULong _len, Implicit_ptr* _val, _CORBA_Boolean _rel=0) | ||
109 | : _CORBA_Unbounded_Sequence_ObjRef< _objref_Implicit, _CORBA_ObjRef_Element< _objref_Implicit, Implicit_Helper> , Implicit_Helper > (_max, _len, _val, _rel) {} | ||
110 | |||
111 | |||
112 | |||
113 | inline Implicits& operator = (const Implicits& _s) { | ||
114 | _CORBA_Unbounded_Sequence_ObjRef< _objref_Implicit, _CORBA_ObjRef_Element< _objref_Implicit, Implicit_Helper> , Implicit_Helper > ::operator=(_s); | ||
115 | return *this; | ||
116 | } | ||
117 | }; | ||
118 | |||
119 | class Implicits_out; | ||
120 | |||
121 | class Implicits_var { | ||
122 | public: | ||
123 | ✗ | inline Implicits_var() : _pd_seq(0) {} | |
124 | inline Implicits_var(Implicits* _s) : _pd_seq(_s) {} | ||
125 | inline Implicits_var(const Implicits_var& _s) { | ||
126 | if (_s._pd_seq) _pd_seq = new Implicits(*_s._pd_seq); | ||
127 | else _pd_seq = 0; | ||
128 | } | ||
129 | ✗ | inline ~Implicits_var() { if (_pd_seq) delete _pd_seq; } | |
130 | |||
131 | ✗ | inline Implicits_var& operator = (Implicits* _s) { | |
132 | ✗ | if (_pd_seq) delete _pd_seq; | |
133 | ✗ | _pd_seq = _s; | |
134 | ✗ | return *this; | |
135 | } | ||
136 | inline Implicits_var& operator = (const Implicits_var& _s) { | ||
137 | if (&_s != this) { | ||
138 | if (_s._pd_seq) { | ||
139 | if (!_pd_seq) _pd_seq = new Implicits; | ||
140 | *_pd_seq = *_s._pd_seq; | ||
141 | } | ||
142 | else if (_pd_seq) { | ||
143 | delete _pd_seq; | ||
144 | _pd_seq = 0; | ||
145 | } | ||
146 | } | ||
147 | return *this; | ||
148 | } | ||
149 | inline _CORBA_ObjRef_Element< _objref_Implicit, Implicit_Helper> operator [] (_CORBA_ULong _s) { | ||
150 | return (*_pd_seq)[_s]; | ||
151 | } | ||
152 | |||
153 | |||
154 | |||
155 | inline Implicits* operator -> () { return _pd_seq; } | ||
156 | inline const Implicits* operator -> () const { return _pd_seq; } | ||
157 | #if defined(__GNUG__) | ||
158 | ✗ | inline operator Implicits& () const { return *_pd_seq; } | |
159 | #else | ||
160 | inline operator const Implicits& () const { return *_pd_seq; } | ||
161 | inline operator Implicits& () { return *_pd_seq; } | ||
162 | #endif | ||
163 | |||
164 | inline const Implicits& in() const { return *_pd_seq; } | ||
165 | inline Implicits& inout() { return *_pd_seq; } | ||
166 | inline Implicits*& out() { | ||
167 | if (_pd_seq) { delete _pd_seq; _pd_seq = 0; } | ||
168 | return _pd_seq; | ||
169 | } | ||
170 | ✗ | inline Implicits* _retn() { Implicits* tmp = _pd_seq; _pd_seq = 0; return tmp; } | |
171 | |||
172 | friend class Implicits_out; | ||
173 | |||
174 | private: | ||
175 | Implicits* _pd_seq; | ||
176 | }; | ||
177 | |||
178 | class Implicits_out { | ||
179 | public: | ||
180 | inline Implicits_out(Implicits*& _s) : _data(_s) { _data = 0; } | ||
181 | inline Implicits_out(Implicits_var& _s) | ||
182 | : _data(_s._pd_seq) { _s = (Implicits*) 0; } | ||
183 | inline Implicits_out(const Implicits_out& _s) : _data(_s._data) {} | ||
184 | inline Implicits_out& operator = (const Implicits_out& _s) { | ||
185 | _data = _s._data; | ||
186 | return *this; | ||
187 | } | ||
188 | inline Implicits_out& operator = (Implicits* _s) { | ||
189 | _data = _s; | ||
190 | return *this; | ||
191 | } | ||
192 | inline operator Implicits*&() { return _data; } | ||
193 | inline Implicits*& ptr() { return _data; } | ||
194 | inline Implicits* operator->() { return _data; } | ||
195 | |||
196 | inline _CORBA_ObjRef_Element< _objref_Implicit, Implicit_Helper> operator [] (_CORBA_ULong _i) { | ||
197 | return (*_data)[_i]; | ||
198 | } | ||
199 | |||
200 | |||
201 | |||
202 | Implicits*& _data; | ||
203 | |||
204 | private: | ||
205 | Implicits_out(); | ||
206 | Implicits_out& operator=(const Implicits_var&); | ||
207 | }; | ||
208 | |||
209 | _CORBA_MODULE_END | ||
210 | |||
211 | _CORBA_MODULE core_idl | ||
212 | |||
213 | _CORBA_MODULE_BEG | ||
214 | |||
215 | #ifndef __hpp_mcore__idl_mConstraint__ | ||
216 | #define __hpp_mcore__idl_mConstraint__ | ||
217 | class Constraint; | ||
218 | class _objref_Constraint; | ||
219 | class _impl_Constraint; | ||
220 | |||
221 | typedef _objref_Constraint* Constraint_ptr; | ||
222 | typedef Constraint_ptr ConstraintRef; | ||
223 | |||
224 | class Constraint_Helper { | ||
225 | public: | ||
226 | typedef Constraint_ptr _ptr_type; | ||
227 | |||
228 | static _ptr_type _nil(); | ||
229 | static _CORBA_Boolean is_nil(_ptr_type); | ||
230 | static void release(_ptr_type); | ||
231 | static void duplicate(_ptr_type); | ||
232 | static void marshalObjRef(_ptr_type, cdrStream&); | ||
233 | static _ptr_type unmarshalObjRef(cdrStream&); | ||
234 | }; | ||
235 | |||
236 | typedef _CORBA_ObjRef_Var<_objref_Constraint, Constraint_Helper> Constraint_var; | ||
237 | typedef _CORBA_ObjRef_OUT_arg<_objref_Constraint,Constraint_Helper > Constraint_out; | ||
238 | |||
239 | #endif | ||
240 | |||
241 | // interface Constraint | ||
242 | class Constraint { | ||
243 | public: | ||
244 | // Declarations for this interface type. | ||
245 | typedef Constraint_ptr _ptr_type; | ||
246 | typedef Constraint_var _var_type; | ||
247 | |||
248 | static _ptr_type _duplicate(_ptr_type); | ||
249 | static _ptr_type _narrow(::CORBA::Object_ptr); | ||
250 | static _ptr_type _unchecked_narrow(::CORBA::Object_ptr); | ||
251 | |||
252 | static _ptr_type _nil(); | ||
253 | |||
254 | static inline void _marshalObjRef(_ptr_type, cdrStream&); | ||
255 | |||
256 | 1 | static inline _ptr_type _unmarshalObjRef(cdrStream& s) { | |
257 | 1 | omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s); | |
258 |
1/2✓ Branch 0 taken 1 times.
✗ Branch 1 not taken.
|
1 | if (o) |
259 | 1 | return (_ptr_type) o->_ptrToObjRef(_PD_repoId); | |
260 | else | ||
261 | ✗ | return _nil(); | |
262 | } | ||
263 | |||
264 | static inline _ptr_type _fromObjRef(omniObjRef* o) { | ||
265 | if (o) | ||
266 | return (_ptr_type) o->_ptrToObjRef(_PD_repoId); | ||
267 | else | ||
268 | return _nil(); | ||
269 | } | ||
270 | |||
271 | static _core_attr const char* _PD_repoId; | ||
272 | |||
273 | // Other IDL defined within this scope. | ||
274 | |||
275 | }; | ||
276 | |||
277 | class _objref_Constraint : | ||
278 | public virtual ::CORBA::Object, | ||
279 | public virtual omniObjRef | ||
280 | { | ||
281 | public: | ||
282 | // IDL operations | ||
283 | void deleteThis(); | ||
284 | ::CORBA::Boolean deleteIfExpired(); | ||
285 | void persistantStorage(::CORBA::Boolean persistant); | ||
286 | ::CORBA::Boolean apply(::hpp::floatSeq& config); | ||
287 | char* name(); | ||
288 | char* str(); | ||
289 | ::CORBA::Boolean isSatisfied(const ::hpp::floatSeq& config); | ||
290 | Constraint_ptr copy(); | ||
291 | |||
292 | // Constructors | ||
293 |
1/2✓ Branch 2 taken 1 times.
✗ Branch 3 not taken.
|
2 | inline _objref_Constraint() { _PR_setobj(0); } // nil |
294 | _objref_Constraint(omniIOR*, omniIdentity*); | ||
295 | |||
296 | protected: | ||
297 | virtual ~_objref_Constraint(); | ||
298 | |||
299 | |||
300 | private: | ||
301 | virtual void* _ptrToObjRef(const char*); | ||
302 | |||
303 | _objref_Constraint(const _objref_Constraint&); | ||
304 | _objref_Constraint& operator = (const _objref_Constraint&); | ||
305 | // not implemented | ||
306 | |||
307 | friend class Constraint; | ||
308 | }; | ||
309 | |||
310 | class _pof_Constraint : public _OMNI_NS(proxyObjectFactory) { | ||
311 | public: | ||
312 | 8 | inline _pof_Constraint() : _OMNI_NS(proxyObjectFactory)(Constraint::_PD_repoId) {} | |
313 | virtual ~_pof_Constraint(); | ||
314 | |||
315 | virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*); | ||
316 | virtual _CORBA_Boolean is_a(const char*) const; | ||
317 | }; | ||
318 | |||
319 | class _impl_Constraint : | ||
320 | public virtual omniServant | ||
321 | { | ||
322 | public: | ||
323 | virtual ~_impl_Constraint(); | ||
324 | |||
325 | virtual void deleteThis() = 0; | ||
326 | virtual ::CORBA::Boolean deleteIfExpired() = 0; | ||
327 | virtual void persistantStorage(::CORBA::Boolean persistant) = 0; | ||
328 | virtual ::CORBA::Boolean apply(::hpp::floatSeq& config) = 0; | ||
329 | virtual char* name() = 0; | ||
330 | virtual char* str() = 0; | ||
331 | virtual ::CORBA::Boolean isSatisfied(const ::hpp::floatSeq& config) = 0; | ||
332 | virtual Constraint_ptr copy() = 0; | ||
333 | |||
334 | public: // Really protected, workaround for xlC | ||
335 | virtual _CORBA_Boolean _dispatch(omniCallHandle&); | ||
336 | |||
337 | private: | ||
338 | virtual void* _ptrToInterface(const char*); | ||
339 | virtual const char* _mostDerivedRepoId(); | ||
340 | |||
341 | }; | ||
342 | |||
343 | |||
344 | #ifndef __hpp_mcore__idl_mConfigProjector__ | ||
345 | #define __hpp_mcore__idl_mConfigProjector__ | ||
346 | class ConfigProjector; | ||
347 | class _objref_ConfigProjector; | ||
348 | class _impl_ConfigProjector; | ||
349 | |||
350 | typedef _objref_ConfigProjector* ConfigProjector_ptr; | ||
351 | typedef ConfigProjector_ptr ConfigProjectorRef; | ||
352 | |||
353 | class ConfigProjector_Helper { | ||
354 | public: | ||
355 | typedef ConfigProjector_ptr _ptr_type; | ||
356 | |||
357 | static _ptr_type _nil(); | ||
358 | static _CORBA_Boolean is_nil(_ptr_type); | ||
359 | static void release(_ptr_type); | ||
360 | static void duplicate(_ptr_type); | ||
361 | static void marshalObjRef(_ptr_type, cdrStream&); | ||
362 | static _ptr_type unmarshalObjRef(cdrStream&); | ||
363 | }; | ||
364 | |||
365 | typedef _CORBA_ObjRef_Var<_objref_ConfigProjector, ConfigProjector_Helper> ConfigProjector_var; | ||
366 | typedef _CORBA_ObjRef_OUT_arg<_objref_ConfigProjector,ConfigProjector_Helper > ConfigProjector_out; | ||
367 | |||
368 | #endif | ||
369 | |||
370 | // interface ConfigProjector | ||
371 | class ConfigProjector { | ||
372 | public: | ||
373 | // Declarations for this interface type. | ||
374 | typedef ConfigProjector_ptr _ptr_type; | ||
375 | typedef ConfigProjector_var _var_type; | ||
376 | |||
377 | static _ptr_type _duplicate(_ptr_type); | ||
378 | static _ptr_type _narrow(::CORBA::Object_ptr); | ||
379 | static _ptr_type _unchecked_narrow(::CORBA::Object_ptr); | ||
380 | |||
381 | static _ptr_type _nil(); | ||
382 | |||
383 | static inline void _marshalObjRef(_ptr_type, cdrStream&); | ||
384 | |||
385 | ✗ | static inline _ptr_type _unmarshalObjRef(cdrStream& s) { | |
386 | ✗ | omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s); | |
387 | ✗ | if (o) | |
388 | ✗ | return (_ptr_type) o->_ptrToObjRef(_PD_repoId); | |
389 | else | ||
390 | ✗ | return _nil(); | |
391 | } | ||
392 | |||
393 | static inline _ptr_type _fromObjRef(omniObjRef* o) { | ||
394 | if (o) | ||
395 | return (_ptr_type) o->_ptrToObjRef(_PD_repoId); | ||
396 | else | ||
397 | return _nil(); | ||
398 | } | ||
399 | |||
400 | static _core_attr const char* _PD_repoId; | ||
401 | |||
402 | // Other IDL defined within this scope. | ||
403 | |||
404 | }; | ||
405 | |||
406 | class _objref_ConfigProjector : | ||
407 | public virtual _objref_Constraint | ||
408 | { | ||
409 | public: | ||
410 | // IDL operations | ||
411 | void setRightHandSideFromConfig(const ::hpp::floatSeq& config); | ||
412 | void setRightHandSideOfConstraintFromConfig(::hpp::constraints_idl::Implicit_ptr nm, const ::hpp::floatSeq& config); | ||
413 | void setRightHandSide(const ::hpp::floatSeq& param); | ||
414 | void setRightHandSideOfConstraint(::hpp::constraints_idl::Implicit_ptr nm, const ::hpp::floatSeq& rhs); | ||
415 | floatSeq* getRightHandSide(); | ||
416 | void setRightHandSideAt(::hpp::value_type s); | ||
417 | ::CORBA::Boolean isConstraintSatisfied(::hpp::constraints_idl::Implicit_ptr nm, const ::hpp::floatSeq& arg, ::hpp::floatSeq_out err, ::CORBA::Boolean& constraintFound); | ||
418 | constraints_idl::Implicits* numericalConstraints(); | ||
419 | ::CORBA::Boolean add(::hpp::constraints_idl::Implicit_ptr numconstraint, ::CORBA::ULong priority); | ||
420 | void setLastIsOptional(::CORBA::Boolean optional); | ||
421 | ::CORBA::Boolean getLastIsOptional(); | ||
422 | void setErrorThreshold(::hpp::value_type threshold); | ||
423 | value_type getErrorThreshold(); | ||
424 | |||
425 | // Constructors | ||
426 | ✗ | inline _objref_ConfigProjector() { _PR_setobj(0); } // nil | |
427 | _objref_ConfigProjector(omniIOR*, omniIdentity*); | ||
428 | |||
429 | protected: | ||
430 | virtual ~_objref_ConfigProjector(); | ||
431 | |||
432 | |||
433 | private: | ||
434 | virtual void* _ptrToObjRef(const char*); | ||
435 | |||
436 | _objref_ConfigProjector(const _objref_ConfigProjector&); | ||
437 | _objref_ConfigProjector& operator = (const _objref_ConfigProjector&); | ||
438 | // not implemented | ||
439 | |||
440 | friend class ConfigProjector; | ||
441 | }; | ||
442 | |||
443 | class _pof_ConfigProjector : public _OMNI_NS(proxyObjectFactory) { | ||
444 | public: | ||
445 | 8 | inline _pof_ConfigProjector() : _OMNI_NS(proxyObjectFactory)(ConfigProjector::_PD_repoId) {} | |
446 | virtual ~_pof_ConfigProjector(); | ||
447 | |||
448 | virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*); | ||
449 | virtual _CORBA_Boolean is_a(const char*) const; | ||
450 | }; | ||
451 | |||
452 | class _impl_ConfigProjector : | ||
453 | public virtual _impl_Constraint | ||
454 | { | ||
455 | public: | ||
456 | virtual ~_impl_ConfigProjector(); | ||
457 | |||
458 | virtual void setRightHandSideFromConfig(const ::hpp::floatSeq& config) = 0; | ||
459 | virtual void setRightHandSideOfConstraintFromConfig(::hpp::constraints_idl::Implicit_ptr nm, const ::hpp::floatSeq& config) = 0; | ||
460 | virtual void setRightHandSide(const ::hpp::floatSeq& param) = 0; | ||
461 | virtual void setRightHandSideOfConstraint(::hpp::constraints_idl::Implicit_ptr nm, const ::hpp::floatSeq& rhs) = 0; | ||
462 | virtual floatSeq* getRightHandSide() = 0; | ||
463 | virtual void setRightHandSideAt(::hpp::value_type s) = 0; | ||
464 | virtual ::CORBA::Boolean isConstraintSatisfied(::hpp::constraints_idl::Implicit_ptr nm, const ::hpp::floatSeq& arg, ::hpp::floatSeq_out err, ::CORBA::Boolean& constraintFound) = 0; | ||
465 | virtual constraints_idl::Implicits* numericalConstraints() = 0; | ||
466 | virtual ::CORBA::Boolean add(::hpp::constraints_idl::Implicit_ptr numconstraint, ::CORBA::ULong priority) = 0; | ||
467 | virtual void setLastIsOptional(::CORBA::Boolean optional) = 0; | ||
468 | virtual ::CORBA::Boolean getLastIsOptional() = 0; | ||
469 | virtual void setErrorThreshold(::hpp::value_type threshold) = 0; | ||
470 | virtual value_type getErrorThreshold() = 0; | ||
471 | |||
472 | public: // Really protected, workaround for xlC | ||
473 | virtual _CORBA_Boolean _dispatch(omniCallHandle&); | ||
474 | |||
475 | private: | ||
476 | virtual void* _ptrToInterface(const char*); | ||
477 | virtual const char* _mostDerivedRepoId(); | ||
478 | |||
479 | }; | ||
480 | |||
481 | |||
482 | #ifndef __hpp_mcore__idl_mConstraintSet__ | ||
483 | #define __hpp_mcore__idl_mConstraintSet__ | ||
484 | class ConstraintSet; | ||
485 | class _objref_ConstraintSet; | ||
486 | class _impl_ConstraintSet; | ||
487 | |||
488 | typedef _objref_ConstraintSet* ConstraintSet_ptr; | ||
489 | typedef ConstraintSet_ptr ConstraintSetRef; | ||
490 | |||
491 | class ConstraintSet_Helper { | ||
492 | public: | ||
493 | typedef ConstraintSet_ptr _ptr_type; | ||
494 | |||
495 | static _ptr_type _nil(); | ||
496 | static _CORBA_Boolean is_nil(_ptr_type); | ||
497 | static void release(_ptr_type); | ||
498 | static void duplicate(_ptr_type); | ||
499 | static void marshalObjRef(_ptr_type, cdrStream&); | ||
500 | static _ptr_type unmarshalObjRef(cdrStream&); | ||
501 | }; | ||
502 | |||
503 | typedef _CORBA_ObjRef_Var<_objref_ConstraintSet, ConstraintSet_Helper> ConstraintSet_var; | ||
504 | typedef _CORBA_ObjRef_OUT_arg<_objref_ConstraintSet,ConstraintSet_Helper > ConstraintSet_out; | ||
505 | |||
506 | #endif | ||
507 | |||
508 | // interface ConstraintSet | ||
509 | class ConstraintSet { | ||
510 | public: | ||
511 | // Declarations for this interface type. | ||
512 | typedef ConstraintSet_ptr _ptr_type; | ||
513 | typedef ConstraintSet_var _var_type; | ||
514 | |||
515 | static _ptr_type _duplicate(_ptr_type); | ||
516 | static _ptr_type _narrow(::CORBA::Object_ptr); | ||
517 | static _ptr_type _unchecked_narrow(::CORBA::Object_ptr); | ||
518 | |||
519 | static _ptr_type _nil(); | ||
520 | |||
521 | static inline void _marshalObjRef(_ptr_type, cdrStream&); | ||
522 | |||
523 | ✗ | static inline _ptr_type _unmarshalObjRef(cdrStream& s) { | |
524 | ✗ | omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s); | |
525 | ✗ | if (o) | |
526 | ✗ | return (_ptr_type) o->_ptrToObjRef(_PD_repoId); | |
527 | else | ||
528 | ✗ | return _nil(); | |
529 | } | ||
530 | |||
531 | static inline _ptr_type _fromObjRef(omniObjRef* o) { | ||
532 | if (o) | ||
533 | return (_ptr_type) o->_ptrToObjRef(_PD_repoId); | ||
534 | else | ||
535 | return _nil(); | ||
536 | } | ||
537 | |||
538 | static _core_attr const char* _PD_repoId; | ||
539 | |||
540 | // Other IDL defined within this scope. | ||
541 | |||
542 | }; | ||
543 | |||
544 | class _objref_ConstraintSet : | ||
545 | public virtual _objref_Constraint | ||
546 | { | ||
547 | public: | ||
548 | // IDL operations | ||
549 | Constraint_ptr getConfigProjector(); | ||
550 | void addConstraint(::hpp::core_idl::Constraint_ptr a_constraint); | ||
551 | |||
552 | // Constructors | ||
553 | ✗ | inline _objref_ConstraintSet() { _PR_setobj(0); } // nil | |
554 | _objref_ConstraintSet(omniIOR*, omniIdentity*); | ||
555 | |||
556 | protected: | ||
557 | virtual ~_objref_ConstraintSet(); | ||
558 | |||
559 | |||
560 | private: | ||
561 | virtual void* _ptrToObjRef(const char*); | ||
562 | |||
563 | _objref_ConstraintSet(const _objref_ConstraintSet&); | ||
564 | _objref_ConstraintSet& operator = (const _objref_ConstraintSet&); | ||
565 | // not implemented | ||
566 | |||
567 | friend class ConstraintSet; | ||
568 | }; | ||
569 | |||
570 | class _pof_ConstraintSet : public _OMNI_NS(proxyObjectFactory) { | ||
571 | public: | ||
572 | 8 | inline _pof_ConstraintSet() : _OMNI_NS(proxyObjectFactory)(ConstraintSet::_PD_repoId) {} | |
573 | virtual ~_pof_ConstraintSet(); | ||
574 | |||
575 | virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*); | ||
576 | virtual _CORBA_Boolean is_a(const char*) const; | ||
577 | }; | ||
578 | |||
579 | class _impl_ConstraintSet : | ||
580 | public virtual _impl_Constraint | ||
581 | { | ||
582 | public: | ||
583 | virtual ~_impl_ConstraintSet(); | ||
584 | |||
585 | virtual Constraint_ptr getConfigProjector() = 0; | ||
586 | virtual void addConstraint(::hpp::core_idl::Constraint_ptr a_constraint) = 0; | ||
587 | |||
588 | public: // Really protected, workaround for xlC | ||
589 | virtual _CORBA_Boolean _dispatch(omniCallHandle&); | ||
590 | |||
591 | private: | ||
592 | virtual void* _ptrToInterface(const char*); | ||
593 | virtual const char* _mostDerivedRepoId(); | ||
594 | |||
595 | }; | ||
596 | |||
597 | |||
598 | _CORBA_MODULE_END | ||
599 | |||
600 | _CORBA_MODULE_END | ||
601 | |||
602 | |||
603 | |||
604 | _CORBA_MODULE POA_hpp | ||
605 | _CORBA_MODULE_BEG | ||
606 | |||
607 | _CORBA_MODULE constraints_idl | ||
608 | _CORBA_MODULE_BEG | ||
609 | |||
610 | _CORBA_MODULE_END | ||
611 | |||
612 | _CORBA_MODULE core_idl | ||
613 | _CORBA_MODULE_BEG | ||
614 | |||
615 | class Constraint : | ||
616 | public virtual hpp::core_idl::_impl_Constraint, | ||
617 | public virtual ::PortableServer::ServantBase | ||
618 | { | ||
619 | public: | ||
620 | virtual ~Constraint(); | ||
621 | |||
622 | ✗ | inline ::hpp::core_idl::Constraint_ptr _this() { | |
623 | ✗ | return (::hpp::core_idl::Constraint_ptr) _do_this(::hpp::core_idl::Constraint::_PD_repoId); | |
624 | } | ||
625 | }; | ||
626 | |||
627 | class ConfigProjector : | ||
628 | public virtual hpp::core_idl::_impl_ConfigProjector, | ||
629 | public virtual Constraint | ||
630 | { | ||
631 | public: | ||
632 | virtual ~ConfigProjector(); | ||
633 | |||
634 | 3 | inline ::hpp::core_idl::ConfigProjector_ptr _this() { | |
635 | 3 | return (::hpp::core_idl::ConfigProjector_ptr) _do_this(::hpp::core_idl::ConfigProjector::_PD_repoId); | |
636 | } | ||
637 | }; | ||
638 | |||
639 | class ConstraintSet : | ||
640 | public virtual hpp::core_idl::_impl_ConstraintSet, | ||
641 | public virtual Constraint | ||
642 | { | ||
643 | public: | ||
644 | virtual ~ConstraintSet(); | ||
645 | |||
646 | 1 | inline ::hpp::core_idl::ConstraintSet_ptr _this() { | |
647 | 1 | return (::hpp::core_idl::ConstraintSet_ptr) _do_this(::hpp::core_idl::ConstraintSet::_PD_repoId); | |
648 | } | ||
649 | }; | ||
650 | |||
651 | _CORBA_MODULE_END | ||
652 | |||
653 | _CORBA_MODULE_END | ||
654 | |||
655 | |||
656 | |||
657 | _CORBA_MODULE OBV_hpp | ||
658 | _CORBA_MODULE_BEG | ||
659 | |||
660 | _CORBA_MODULE constraints_idl | ||
661 | _CORBA_MODULE_BEG | ||
662 | |||
663 | _CORBA_MODULE_END | ||
664 | |||
665 | _CORBA_MODULE core_idl | ||
666 | _CORBA_MODULE_BEG | ||
667 | |||
668 | _CORBA_MODULE_END | ||
669 | |||
670 | _CORBA_MODULE_END | ||
671 | |||
672 | |||
673 | |||
674 | |||
675 | |||
676 | #undef _core_attr | ||
677 | #undef _dyn_attr | ||
678 | |||
679 | |||
680 | |||
681 | inline void | ||
682 | 5 | hpp::core_idl::Constraint::_marshalObjRef(::hpp::core_idl::Constraint_ptr obj, cdrStream& s) { | |
683 | 5 | omniObjRef::_marshal(obj->_PR_getobj(),s); | |
684 | 5 | } | |
685 | |||
686 | inline void | ||
687 | ✗ | hpp::core_idl::ConfigProjector::_marshalObjRef(::hpp::core_idl::ConfigProjector_ptr obj, cdrStream& s) { | |
688 | ✗ | omniObjRef::_marshal(obj->_PR_getobj(),s); | |
689 | } | ||
690 | |||
691 | inline void | ||
692 | ✗ | hpp::core_idl::ConstraintSet::_marshalObjRef(::hpp::core_idl::ConstraintSet_ptr obj, cdrStream& s) { | |
693 | ✗ | omniObjRef::_marshal(obj->_PR_getobj(),s); | |
694 | } | ||
695 | |||
696 | |||
697 | |||
698 | #ifdef USE_stub_in_nt_dll_NOT_DEFINED___constraints | ||
699 | # undef USE_stub_in_nt_dll | ||
700 | # undef USE_stub_in_nt_dll_NOT_DEFINED___constraints | ||
701 | #endif | ||
702 | #ifdef USE_core_stub_in_nt_dll_NOT_DEFINED___constraints | ||
703 | # undef USE_core_stub_in_nt_dll | ||
704 | # undef USE_core_stub_in_nt_dll_NOT_DEFINED___constraints | ||
705 | #endif | ||
706 | #ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED___constraints | ||
707 | # undef USE_dyn_stub_in_nt_dll | ||
708 | # undef USE_dyn_stub_in_nt_dll_NOT_DEFINED___constraints | ||
709 | #endif | ||
710 | |||
711 | #endif // ____constraints_hh__ | ||
712 | |||
713 |