/usr/include/COS/CosLifeCycle.hh is in libcos4-dev 4.1.6-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 | // This file is generated by omniidl (C++ backend)- omniORB_4_1. Do not edit.
#ifndef __CosLifeCycle_hh__
#define __CosLifeCycle_hh__
#ifndef __CORBA_H_EXTERNAL_GUARD__
#include <omniORB4/CORBA.h>
#endif
#ifndef USE_stub_in_nt_dll
# define USE_stub_in_nt_dll_NOT_DEFINED_CosLifeCycle
#endif
#ifndef USE_core_stub_in_nt_dll
# define USE_core_stub_in_nt_dll_NOT_DEFINED_CosLifeCycle
#endif
#ifndef USE_dyn_stub_in_nt_dll
# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_CosLifeCycle
#endif
#include "COS_sysdep.h"
#ifndef __CosNaming_hh_EXTERNAL_GUARD__
#define __CosNaming_hh_EXTERNAL_GUARD__
#include "CosNaming.hh"
#endif
#ifdef USE_stub_in_nt_dll
# ifndef USE_core_stub_in_nt_dll
# define USE_core_stub_in_nt_dll
# endif
# ifndef USE_dyn_stub_in_nt_dll
# define USE_dyn_stub_in_nt_dll
# endif
#endif
#ifdef _core_attr
# error "A local CPP macro _core_attr has already been defined."
#else
# ifdef USE_core_stub_in_nt_dll
# define _core_attr _OMNIORB_NTDLL_IMPORT
# else
# define _core_attr
# endif
#endif
#ifdef _dyn_attr
# error "A local CPP macro _dyn_attr has already been defined."
#else
# ifdef USE_dyn_stub_in_nt_dll
# define _dyn_attr _OMNIORB_NTDLL_IMPORT
# else
# define _dyn_attr
# endif
#endif
_CORBA_MODULE CosLifeCycle
_CORBA_MODULE_BEG
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_Key;
typedef CosNaming::Name Key;
typedef CosNaming::Name_var Key_var;
typedef CosNaming::Name_out Key_out;
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_Factory;
typedef ::CORBA::Object Factory;
typedef ::CORBA::Object_ptr Factory_ptr;
typedef ::CORBA::ObjectRef FactoryRef;
typedef ::CORBA::Object_Helper Factory_Helper;
typedef ::CORBA::Object_var Factory_var;
typedef ::CORBA::Object_out Factory_out;
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_Factories;
class Factories_var;
class Factories : public _CORBA_Unbounded_Sequence_ObjRef< ::CORBA::Object, ::CORBA::Object_Element, Factory_Helper > {
public:
typedef Factories_var _var_type;
inline Factories() {}
inline Factories(const Factories& _s)
: _CORBA_Unbounded_Sequence_ObjRef< ::CORBA::Object, ::CORBA::Object_Element, Factory_Helper > (_s) {}
inline Factories(_CORBA_ULong _max)
: _CORBA_Unbounded_Sequence_ObjRef< ::CORBA::Object, ::CORBA::Object_Element, Factory_Helper > (_max) {}
inline Factories(_CORBA_ULong _max, _CORBA_ULong _len, Factory_ptr* _val, _CORBA_Boolean _rel=0)
: _CORBA_Unbounded_Sequence_ObjRef< ::CORBA::Object, ::CORBA::Object_Element, Factory_Helper > (_max, _len, _val, _rel) {}
inline Factories& operator = (const Factories& _s) {
_CORBA_Unbounded_Sequence_ObjRef< ::CORBA::Object, ::CORBA::Object_Element, Factory_Helper > ::operator=(_s);
return *this;
}
};
class Factories_out;
class Factories_var {
public:
inline Factories_var() : _pd_seq(0) {}
inline Factories_var(Factories* _s) : _pd_seq(_s) {}
inline Factories_var(const Factories_var& _s) {
if( _s._pd_seq ) _pd_seq = new Factories(*_s._pd_seq);
else _pd_seq = 0;
}
inline ~Factories_var() { if( _pd_seq ) delete _pd_seq; }
inline Factories_var& operator = (Factories* _s) {
if( _pd_seq ) delete _pd_seq;
_pd_seq = _s;
return *this;
}
inline Factories_var& operator = (const Factories_var& _s) {
if( _s._pd_seq ) {
if( !_pd_seq ) _pd_seq = new Factories;
*_pd_seq = *_s._pd_seq;
} else if( _pd_seq ) {
delete _pd_seq;
_pd_seq = 0;
}
return *this;
}
inline ::CORBA::Object_Element operator [] (_CORBA_ULong _s) {
return (*_pd_seq)[_s];
}
inline Factories* operator -> () { return _pd_seq; }
inline const Factories* operator -> () const { return _pd_seq; }
#if defined(__GNUG__)
inline operator Factories& () const { return *_pd_seq; }
#else
inline operator const Factories& () const { return *_pd_seq; }
inline operator Factories& () { return *_pd_seq; }
#endif
inline const Factories& in() const { return *_pd_seq; }
inline Factories& inout() { return *_pd_seq; }
inline Factories*& out() {
if( _pd_seq ) { delete _pd_seq; _pd_seq = 0; }
return _pd_seq;
}
inline Factories* _retn() { Factories* tmp = _pd_seq; _pd_seq = 0; return tmp; }
friend class Factories_out;
private:
Factories* _pd_seq;
};
class Factories_out {
public:
inline Factories_out(Factories*& _s) : _data(_s) { _data = 0; }
inline Factories_out(Factories_var& _s)
: _data(_s._pd_seq) { _s = (Factories*) 0; }
inline Factories_out(const Factories_out& _s) : _data(_s._data) {}
inline Factories_out& operator = (const Factories_out& _s) {
_data = _s._data;
return *this;
}
inline Factories_out& operator = (Factories* _s) {
_data = _s;
return *this;
}
inline operator Factories*&() { return _data; }
inline Factories*& ptr() { return _data; }
inline Factories* operator->() { return _data; }
inline ::CORBA::Object_Element operator [] (_CORBA_ULong _i) {
return (*_data)[_i];
}
Factories*& _data;
private:
Factories_out();
Factories_out& operator=(const Factories_var&);
};
struct NVP {
typedef _CORBA_ConstrType_Variable_Var<NVP> _var_type;
::CORBA::String_member name;
::CORBA::Any value;
void operator>>= (cdrStream &) const;
void operator<<= (cdrStream &);
};
typedef NVP::_var_type NVP_var;
typedef _CORBA_ConstrType_Variable_OUT_arg< NVP,NVP_var > NVP_out;
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_NVP;
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_NameValuePair;
typedef NVP NameValuePair;
typedef NVP_var NameValuePair_var;
typedef NVP_out NameValuePair_out;
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_Criteria;
class Criteria_var;
class Criteria : public _CORBA_Unbounded_Sequence< NameValuePair > {
public:
typedef Criteria_var _var_type;
inline Criteria() {}
inline Criteria(const Criteria& _s)
: _CORBA_Unbounded_Sequence< NameValuePair > (_s) {}
inline Criteria(_CORBA_ULong _max)
: _CORBA_Unbounded_Sequence< NameValuePair > (_max) {}
inline Criteria(_CORBA_ULong _max, _CORBA_ULong _len, NameValuePair* _val, _CORBA_Boolean _rel=0)
: _CORBA_Unbounded_Sequence< NameValuePair > (_max, _len, _val, _rel) {}
inline Criteria& operator = (const Criteria& _s) {
_CORBA_Unbounded_Sequence< NameValuePair > ::operator=(_s);
return *this;
}
};
class Criteria_out;
class Criteria_var {
public:
inline Criteria_var() : _pd_seq(0) {}
inline Criteria_var(Criteria* _s) : _pd_seq(_s) {}
inline Criteria_var(const Criteria_var& _s) {
if( _s._pd_seq ) _pd_seq = new Criteria(*_s._pd_seq);
else _pd_seq = 0;
}
inline ~Criteria_var() { if( _pd_seq ) delete _pd_seq; }
inline Criteria_var& operator = (Criteria* _s) {
if( _pd_seq ) delete _pd_seq;
_pd_seq = _s;
return *this;
}
inline Criteria_var& operator = (const Criteria_var& _s) {
if( _s._pd_seq ) {
if( !_pd_seq ) _pd_seq = new Criteria;
*_pd_seq = *_s._pd_seq;
} else if( _pd_seq ) {
delete _pd_seq;
_pd_seq = 0;
}
return *this;
}
inline NameValuePair& operator [] (_CORBA_ULong _s) {
return (*_pd_seq)[_s];
}
inline Criteria* operator -> () { return _pd_seq; }
inline const Criteria* operator -> () const { return _pd_seq; }
#if defined(__GNUG__)
inline operator Criteria& () const { return *_pd_seq; }
#else
inline operator const Criteria& () const { return *_pd_seq; }
inline operator Criteria& () { return *_pd_seq; }
#endif
inline const Criteria& in() const { return *_pd_seq; }
inline Criteria& inout() { return *_pd_seq; }
inline Criteria*& out() {
if( _pd_seq ) { delete _pd_seq; _pd_seq = 0; }
return _pd_seq;
}
inline Criteria* _retn() { Criteria* tmp = _pd_seq; _pd_seq = 0; return tmp; }
friend class Criteria_out;
private:
Criteria* _pd_seq;
};
class Criteria_out {
public:
inline Criteria_out(Criteria*& _s) : _data(_s) { _data = 0; }
inline Criteria_out(Criteria_var& _s)
: _data(_s._pd_seq) { _s = (Criteria*) 0; }
inline Criteria_out(const Criteria_out& _s) : _data(_s._data) {}
inline Criteria_out& operator = (const Criteria_out& _s) {
_data = _s._data;
return *this;
}
inline Criteria_out& operator = (Criteria* _s) {
_data = _s;
return *this;
}
inline operator Criteria*&() { return _data; }
inline Criteria*& ptr() { return _data; }
inline Criteria* operator->() { return _data; }
inline NameValuePair& operator [] (_CORBA_ULong _i) {
return (*_data)[_i];
}
Criteria*& _data;
private:
Criteria_out();
Criteria_out& operator=(const Criteria_var&);
};
class NoFactory : public ::CORBA::UserException {
public:
Key search_key;
inline NoFactory() {
pd_insertToAnyFn = insertToAnyFn;
pd_insertToAnyFnNCP = insertToAnyFnNCP;
}
NoFactory(const NoFactory&);
NoFactory(const Key i_search_key);
NoFactory& operator=(const NoFactory&);
virtual ~NoFactory();
virtual void _raise() const;
static NoFactory* _downcast(::CORBA::Exception*);
static const NoFactory* _downcast(const ::CORBA::Exception*);
static inline NoFactory* _narrow(::CORBA::Exception* _e) {
return _downcast(_e);
}
void operator>>=(cdrStream&) const ;
void operator<<=(cdrStream&) ;
static _core_attr insertExceptionToAny insertToAnyFn;
static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP;
virtual ::CORBA::Exception* _NP_duplicate() const;
static _core_attr const char* _PD_repoId;
static _core_attr const char* _PD_typeId;
private:
virtual const char* _NP_typeId() const;
virtual const char* _NP_repoId(int*) const;
virtual void _NP_marshal(cdrStream&) const;
};
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_NoFactory;
class NotCopyable : public ::CORBA::UserException {
public:
::CORBA::String_member reason;
inline NotCopyable() {
pd_insertToAnyFn = insertToAnyFn;
pd_insertToAnyFnNCP = insertToAnyFnNCP;
}
NotCopyable(const NotCopyable&);
NotCopyable(const char* i_reason);
NotCopyable& operator=(const NotCopyable&);
virtual ~NotCopyable();
virtual void _raise() const;
static NotCopyable* _downcast(::CORBA::Exception*);
static const NotCopyable* _downcast(const ::CORBA::Exception*);
static inline NotCopyable* _narrow(::CORBA::Exception* _e) {
return _downcast(_e);
}
void operator>>=(cdrStream&) const ;
void operator<<=(cdrStream&) ;
static _core_attr insertExceptionToAny insertToAnyFn;
static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP;
virtual ::CORBA::Exception* _NP_duplicate() const;
static _core_attr const char* _PD_repoId;
static _core_attr const char* _PD_typeId;
private:
virtual const char* _NP_typeId() const;
virtual const char* _NP_repoId(int*) const;
virtual void _NP_marshal(cdrStream&) const;
};
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_NotCopyable;
class NotMovable : public ::CORBA::UserException {
public:
::CORBA::String_member reason;
inline NotMovable() {
pd_insertToAnyFn = insertToAnyFn;
pd_insertToAnyFnNCP = insertToAnyFnNCP;
}
NotMovable(const NotMovable&);
NotMovable(const char* i_reason);
NotMovable& operator=(const NotMovable&);
virtual ~NotMovable();
virtual void _raise() const;
static NotMovable* _downcast(::CORBA::Exception*);
static const NotMovable* _downcast(const ::CORBA::Exception*);
static inline NotMovable* _narrow(::CORBA::Exception* _e) {
return _downcast(_e);
}
void operator>>=(cdrStream&) const ;
void operator<<=(cdrStream&) ;
static _core_attr insertExceptionToAny insertToAnyFn;
static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP;
virtual ::CORBA::Exception* _NP_duplicate() const;
static _core_attr const char* _PD_repoId;
static _core_attr const char* _PD_typeId;
private:
virtual const char* _NP_typeId() const;
virtual const char* _NP_repoId(int*) const;
virtual void _NP_marshal(cdrStream&) const;
};
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_NotMovable;
class NotRemovable : public ::CORBA::UserException {
public:
::CORBA::String_member reason;
inline NotRemovable() {
pd_insertToAnyFn = insertToAnyFn;
pd_insertToAnyFnNCP = insertToAnyFnNCP;
}
NotRemovable(const NotRemovable&);
NotRemovable(const char* i_reason);
NotRemovable& operator=(const NotRemovable&);
virtual ~NotRemovable();
virtual void _raise() const;
static NotRemovable* _downcast(::CORBA::Exception*);
static const NotRemovable* _downcast(const ::CORBA::Exception*);
static inline NotRemovable* _narrow(::CORBA::Exception* _e) {
return _downcast(_e);
}
void operator>>=(cdrStream&) const ;
void operator<<=(cdrStream&) ;
static _core_attr insertExceptionToAny insertToAnyFn;
static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP;
virtual ::CORBA::Exception* _NP_duplicate() const;
static _core_attr const char* _PD_repoId;
static _core_attr const char* _PD_typeId;
private:
virtual const char* _NP_typeId() const;
virtual const char* _NP_repoId(int*) const;
virtual void _NP_marshal(cdrStream&) const;
};
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_NotRemovable;
class InvalidCriteria : public ::CORBA::UserException {
public:
Criteria invalid_criteria;
inline InvalidCriteria() {
pd_insertToAnyFn = insertToAnyFn;
pd_insertToAnyFnNCP = insertToAnyFnNCP;
}
InvalidCriteria(const InvalidCriteria&);
InvalidCriteria(const Criteria i_invalid_criteria);
InvalidCriteria& operator=(const InvalidCriteria&);
virtual ~InvalidCriteria();
virtual void _raise() const;
static InvalidCriteria* _downcast(::CORBA::Exception*);
static const InvalidCriteria* _downcast(const ::CORBA::Exception*);
static inline InvalidCriteria* _narrow(::CORBA::Exception* _e) {
return _downcast(_e);
}
void operator>>=(cdrStream&) const ;
void operator<<=(cdrStream&) ;
static _core_attr insertExceptionToAny insertToAnyFn;
static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP;
virtual ::CORBA::Exception* _NP_duplicate() const;
static _core_attr const char* _PD_repoId;
static _core_attr const char* _PD_typeId;
private:
virtual const char* _NP_typeId() const;
virtual const char* _NP_repoId(int*) const;
virtual void _NP_marshal(cdrStream&) const;
};
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_InvalidCriteria;
class CannotMeetCriteria : public ::CORBA::UserException {
public:
Criteria unmet_criteria;
inline CannotMeetCriteria() {
pd_insertToAnyFn = insertToAnyFn;
pd_insertToAnyFnNCP = insertToAnyFnNCP;
}
CannotMeetCriteria(const CannotMeetCriteria&);
CannotMeetCriteria(const Criteria i_unmet_criteria);
CannotMeetCriteria& operator=(const CannotMeetCriteria&);
virtual ~CannotMeetCriteria();
virtual void _raise() const;
static CannotMeetCriteria* _downcast(::CORBA::Exception*);
static const CannotMeetCriteria* _downcast(const ::CORBA::Exception*);
static inline CannotMeetCriteria* _narrow(::CORBA::Exception* _e) {
return _downcast(_e);
}
void operator>>=(cdrStream&) const ;
void operator<<=(cdrStream&) ;
static _core_attr insertExceptionToAny insertToAnyFn;
static _core_attr insertExceptionToAnyNCP insertToAnyFnNCP;
virtual ::CORBA::Exception* _NP_duplicate() const;
static _core_attr const char* _PD_repoId;
static _core_attr const char* _PD_typeId;
private:
virtual const char* _NP_typeId() const;
virtual const char* _NP_repoId(int*) const;
virtual void _NP_marshal(cdrStream&) const;
};
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_CannotMeetCriteria;
#ifndef __CosLifeCycle_mFactoryFinder__
#define __CosLifeCycle_mFactoryFinder__
class FactoryFinder;
class _objref_FactoryFinder;
class _impl_FactoryFinder;
typedef _objref_FactoryFinder* FactoryFinder_ptr;
typedef FactoryFinder_ptr FactoryFinderRef;
class FactoryFinder_Helper {
public:
typedef FactoryFinder_ptr _ptr_type;
static _ptr_type _nil();
static _CORBA_Boolean is_nil(_ptr_type);
static void release(_ptr_type);
static void duplicate(_ptr_type);
static void marshalObjRef(_ptr_type, cdrStream&);
static _ptr_type unmarshalObjRef(cdrStream&);
};
typedef _CORBA_ObjRef_Var<_objref_FactoryFinder, FactoryFinder_Helper> FactoryFinder_var;
typedef _CORBA_ObjRef_OUT_arg<_objref_FactoryFinder,FactoryFinder_Helper > FactoryFinder_out;
#endif
// interface FactoryFinder
class FactoryFinder {
public:
// Declarations for this interface type.
typedef FactoryFinder_ptr _ptr_type;
typedef FactoryFinder_var _var_type;
static _ptr_type _duplicate(_ptr_type);
static _ptr_type _narrow(::CORBA::Object_ptr);
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
static _ptr_type _nil();
static inline void _marshalObjRef(_ptr_type, cdrStream&);
static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
if (o)
return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
else
return _nil();
}
static _core_attr const char* _PD_repoId;
// Other IDL defined within this scope.
};
class _objref_FactoryFinder :
public virtual ::CORBA::Object,
public virtual omniObjRef
{
public:
Factories* find_factories(const ::CosLifeCycle::Key& factory_key);
inline _objref_FactoryFinder() { _PR_setobj(0); } // nil
_objref_FactoryFinder(omniIOR*, omniIdentity*);
protected:
virtual ~_objref_FactoryFinder();
private:
virtual void* _ptrToObjRef(const char*);
_objref_FactoryFinder(const _objref_FactoryFinder&);
_objref_FactoryFinder& operator = (const _objref_FactoryFinder&);
// not implemented
friend class FactoryFinder;
};
class _pof_FactoryFinder : public _OMNI_NS(proxyObjectFactory) {
public:
inline _pof_FactoryFinder() : _OMNI_NS(proxyObjectFactory)(FactoryFinder::_PD_repoId) {}
virtual ~_pof_FactoryFinder();
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
virtual _CORBA_Boolean is_a(const char*) const;
};
class _impl_FactoryFinder :
public virtual omniServant
{
public:
virtual ~_impl_FactoryFinder();
virtual Factories* find_factories(const ::CosLifeCycle::Key& factory_key) = 0;
public: // Really protected, workaround for xlC
virtual _CORBA_Boolean _dispatch(omniCallHandle&);
private:
virtual void* _ptrToInterface(const char*);
virtual const char* _mostDerivedRepoId();
};
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_FactoryFinder;
#ifndef __CosLifeCycle_mLifeCycleObject__
#define __CosLifeCycle_mLifeCycleObject__
class LifeCycleObject;
class _objref_LifeCycleObject;
class _impl_LifeCycleObject;
typedef _objref_LifeCycleObject* LifeCycleObject_ptr;
typedef LifeCycleObject_ptr LifeCycleObjectRef;
class LifeCycleObject_Helper {
public:
typedef LifeCycleObject_ptr _ptr_type;
static _ptr_type _nil();
static _CORBA_Boolean is_nil(_ptr_type);
static void release(_ptr_type);
static void duplicate(_ptr_type);
static void marshalObjRef(_ptr_type, cdrStream&);
static _ptr_type unmarshalObjRef(cdrStream&);
};
typedef _CORBA_ObjRef_Var<_objref_LifeCycleObject, LifeCycleObject_Helper> LifeCycleObject_var;
typedef _CORBA_ObjRef_OUT_arg<_objref_LifeCycleObject,LifeCycleObject_Helper > LifeCycleObject_out;
#endif
// interface LifeCycleObject
class LifeCycleObject {
public:
// Declarations for this interface type.
typedef LifeCycleObject_ptr _ptr_type;
typedef LifeCycleObject_var _var_type;
static _ptr_type _duplicate(_ptr_type);
static _ptr_type _narrow(::CORBA::Object_ptr);
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
static _ptr_type _nil();
static inline void _marshalObjRef(_ptr_type, cdrStream&);
static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
if (o)
return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
else
return _nil();
}
static _core_attr const char* _PD_repoId;
// Other IDL defined within this scope.
};
class _objref_LifeCycleObject :
public virtual ::CORBA::Object,
public virtual omniObjRef
{
public:
LifeCycleObject_ptr copy(::CosLifeCycle::FactoryFinder_ptr there, const ::CosLifeCycle::Criteria& the_criteria);
void move(::CosLifeCycle::FactoryFinder_ptr there, const ::CosLifeCycle::Criteria& the_criteria);
void remove();
inline _objref_LifeCycleObject() { _PR_setobj(0); } // nil
_objref_LifeCycleObject(omniIOR*, omniIdentity*);
protected:
virtual ~_objref_LifeCycleObject();
private:
virtual void* _ptrToObjRef(const char*);
_objref_LifeCycleObject(const _objref_LifeCycleObject&);
_objref_LifeCycleObject& operator = (const _objref_LifeCycleObject&);
// not implemented
friend class LifeCycleObject;
};
class _pof_LifeCycleObject : public _OMNI_NS(proxyObjectFactory) {
public:
inline _pof_LifeCycleObject() : _OMNI_NS(proxyObjectFactory)(LifeCycleObject::_PD_repoId) {}
virtual ~_pof_LifeCycleObject();
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
virtual _CORBA_Boolean is_a(const char*) const;
};
class _impl_LifeCycleObject :
public virtual omniServant
{
public:
virtual ~_impl_LifeCycleObject();
virtual LifeCycleObject_ptr copy(::CosLifeCycle::FactoryFinder_ptr there, const ::CosLifeCycle::Criteria& the_criteria) = 0;
virtual void move(::CosLifeCycle::FactoryFinder_ptr there, const ::CosLifeCycle::Criteria& the_criteria) = 0;
virtual void remove() = 0;
public: // Really protected, workaround for xlC
virtual _CORBA_Boolean _dispatch(omniCallHandle&);
private:
virtual void* _ptrToInterface(const char*);
virtual const char* _mostDerivedRepoId();
};
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_LifeCycleObject;
#ifndef __CosLifeCycle_mGenericFactory__
#define __CosLifeCycle_mGenericFactory__
class GenericFactory;
class _objref_GenericFactory;
class _impl_GenericFactory;
typedef _objref_GenericFactory* GenericFactory_ptr;
typedef GenericFactory_ptr GenericFactoryRef;
class GenericFactory_Helper {
public:
typedef GenericFactory_ptr _ptr_type;
static _ptr_type _nil();
static _CORBA_Boolean is_nil(_ptr_type);
static void release(_ptr_type);
static void duplicate(_ptr_type);
static void marshalObjRef(_ptr_type, cdrStream&);
static _ptr_type unmarshalObjRef(cdrStream&);
};
typedef _CORBA_ObjRef_Var<_objref_GenericFactory, GenericFactory_Helper> GenericFactory_var;
typedef _CORBA_ObjRef_OUT_arg<_objref_GenericFactory,GenericFactory_Helper > GenericFactory_out;
#endif
// interface GenericFactory
class GenericFactory {
public:
// Declarations for this interface type.
typedef GenericFactory_ptr _ptr_type;
typedef GenericFactory_var _var_type;
static _ptr_type _duplicate(_ptr_type);
static _ptr_type _narrow(::CORBA::Object_ptr);
static _ptr_type _unchecked_narrow(::CORBA::Object_ptr);
static _ptr_type _nil();
static inline void _marshalObjRef(_ptr_type, cdrStream&);
static inline _ptr_type _unmarshalObjRef(cdrStream& s) {
omniObjRef* o = omniObjRef::_unMarshal(_PD_repoId,s);
if (o)
return (_ptr_type) o->_ptrToObjRef(_PD_repoId);
else
return _nil();
}
static _core_attr const char* _PD_repoId;
// Other IDL defined within this scope.
};
class _objref_GenericFactory :
public virtual ::CORBA::Object,
public virtual omniObjRef
{
public:
::CORBA::Boolean supports(const ::CosLifeCycle::Key& k);
::CORBA::Object_ptr create_object(const ::CosLifeCycle::Key& k, const ::CosLifeCycle::Criteria& the_criteria);
inline _objref_GenericFactory() { _PR_setobj(0); } // nil
_objref_GenericFactory(omniIOR*, omniIdentity*);
protected:
virtual ~_objref_GenericFactory();
private:
virtual void* _ptrToObjRef(const char*);
_objref_GenericFactory(const _objref_GenericFactory&);
_objref_GenericFactory& operator = (const _objref_GenericFactory&);
// not implemented
friend class GenericFactory;
};
class _pof_GenericFactory : public _OMNI_NS(proxyObjectFactory) {
public:
inline _pof_GenericFactory() : _OMNI_NS(proxyObjectFactory)(GenericFactory::_PD_repoId) {}
virtual ~_pof_GenericFactory();
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
virtual _CORBA_Boolean is_a(const char*) const;
};
class _impl_GenericFactory :
public virtual omniServant
{
public:
virtual ~_impl_GenericFactory();
virtual ::CORBA::Boolean supports(const ::CosLifeCycle::Key& k) = 0;
virtual ::CORBA::Object_ptr create_object(const ::CosLifeCycle::Key& k, const ::CosLifeCycle::Criteria& the_criteria) = 0;
public: // Really protected, workaround for xlC
virtual _CORBA_Boolean _dispatch(omniCallHandle&);
private:
virtual void* _ptrToInterface(const char*);
virtual const char* _mostDerivedRepoId();
};
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_GenericFactory;
_CORBA_MODULE_END
_CORBA_MODULE POA_CosLifeCycle
_CORBA_MODULE_BEG
class FactoryFinder :
public virtual CosLifeCycle::_impl_FactoryFinder,
public virtual ::PortableServer::ServantBase
{
public:
virtual ~FactoryFinder();
inline ::CosLifeCycle::FactoryFinder_ptr _this() {
return (::CosLifeCycle::FactoryFinder_ptr) _do_this(::CosLifeCycle::FactoryFinder::_PD_repoId);
}
};
class LifeCycleObject :
public virtual CosLifeCycle::_impl_LifeCycleObject,
public virtual ::PortableServer::ServantBase
{
public:
virtual ~LifeCycleObject();
inline ::CosLifeCycle::LifeCycleObject_ptr _this() {
return (::CosLifeCycle::LifeCycleObject_ptr) _do_this(::CosLifeCycle::LifeCycleObject::_PD_repoId);
}
};
class GenericFactory :
public virtual CosLifeCycle::_impl_GenericFactory,
public virtual ::PortableServer::ServantBase
{
public:
virtual ~GenericFactory();
inline ::CosLifeCycle::GenericFactory_ptr _this() {
return (::CosLifeCycle::GenericFactory_ptr) _do_this(::CosLifeCycle::GenericFactory::_PD_repoId);
}
};
_CORBA_MODULE_END
_CORBA_MODULE OBV_CosLifeCycle
_CORBA_MODULE_BEG
_CORBA_MODULE_END
#undef _core_attr
#undef _dyn_attr
void operator<<=(::CORBA::Any& _a, const CosLifeCycle::Factories& _s);
void operator<<=(::CORBA::Any& _a, CosLifeCycle::Factories* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, CosLifeCycle::Factories*& _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const CosLifeCycle::Factories*& _sp);
extern void operator<<=(::CORBA::Any& _a, const CosLifeCycle::NVP& _s);
extern void operator<<=(::CORBA::Any& _a, CosLifeCycle::NVP* _sp);
extern _CORBA_Boolean operator>>=(const ::CORBA::Any& _a, CosLifeCycle::NVP*& _sp);
extern _CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const CosLifeCycle::NVP*& _sp);
void operator<<=(::CORBA::Any& _a, const CosLifeCycle::Criteria& _s);
void operator<<=(::CORBA::Any& _a, CosLifeCycle::Criteria* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, CosLifeCycle::Criteria*& _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const CosLifeCycle::Criteria*& _sp);
void operator<<=(::CORBA::Any& _a, const CosLifeCycle::NoFactory& _s);
void operator<<=(::CORBA::Any& _a, const CosLifeCycle::NoFactory* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const CosLifeCycle::NoFactory*& _sp);
void operator<<=(::CORBA::Any& _a, const CosLifeCycle::NotCopyable& _s);
void operator<<=(::CORBA::Any& _a, const CosLifeCycle::NotCopyable* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const CosLifeCycle::NotCopyable*& _sp);
void operator<<=(::CORBA::Any& _a, const CosLifeCycle::NotMovable& _s);
void operator<<=(::CORBA::Any& _a, const CosLifeCycle::NotMovable* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const CosLifeCycle::NotMovable*& _sp);
void operator<<=(::CORBA::Any& _a, const CosLifeCycle::NotRemovable& _s);
void operator<<=(::CORBA::Any& _a, const CosLifeCycle::NotRemovable* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const CosLifeCycle::NotRemovable*& _sp);
void operator<<=(::CORBA::Any& _a, const CosLifeCycle::InvalidCriteria& _s);
void operator<<=(::CORBA::Any& _a, const CosLifeCycle::InvalidCriteria* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const CosLifeCycle::InvalidCriteria*& _sp);
void operator<<=(::CORBA::Any& _a, const CosLifeCycle::CannotMeetCriteria& _s);
void operator<<=(::CORBA::Any& _a, const CosLifeCycle::CannotMeetCriteria* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const CosLifeCycle::CannotMeetCriteria*& _sp);
void operator<<=(::CORBA::Any& _a, CosLifeCycle::FactoryFinder_ptr _s);
void operator<<=(::CORBA::Any& _a, CosLifeCycle::FactoryFinder_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, CosLifeCycle::FactoryFinder_ptr& _s);
void operator<<=(::CORBA::Any& _a, CosLifeCycle::LifeCycleObject_ptr _s);
void operator<<=(::CORBA::Any& _a, CosLifeCycle::LifeCycleObject_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, CosLifeCycle::LifeCycleObject_ptr& _s);
void operator<<=(::CORBA::Any& _a, CosLifeCycle::GenericFactory_ptr _s);
void operator<<=(::CORBA::Any& _a, CosLifeCycle::GenericFactory_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, CosLifeCycle::GenericFactory_ptr& _s);
inline void
CosLifeCycle::FactoryFinder::_marshalObjRef(::CosLifeCycle::FactoryFinder_ptr obj, cdrStream& s) {
omniObjRef::_marshal(obj->_PR_getobj(),s);
}
inline void
CosLifeCycle::LifeCycleObject::_marshalObjRef(::CosLifeCycle::LifeCycleObject_ptr obj, cdrStream& s) {
omniObjRef::_marshal(obj->_PR_getobj(),s);
}
inline void
CosLifeCycle::GenericFactory::_marshalObjRef(::CosLifeCycle::GenericFactory_ptr obj, cdrStream& s) {
omniObjRef::_marshal(obj->_PR_getobj(),s);
}
#ifdef USE_stub_in_nt_dll_NOT_DEFINED_CosLifeCycle
# undef USE_stub_in_nt_dll
# undef USE_stub_in_nt_dll_NOT_DEFINED_CosLifeCycle
#endif
#ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_CosLifeCycle
# undef USE_core_stub_in_nt_dll
# undef USE_core_stub_in_nt_dll_NOT_DEFINED_CosLifeCycle
#endif
#ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_CosLifeCycle
# undef USE_dyn_stub_in_nt_dll
# undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_CosLifeCycle
#endif
#endif // __CosLifeCycle_hh__
|