/usr/include/salome/DSC_Engines.hh is in salome-kernel-dev 6.5.0-7ubuntu2.
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 | // This file is generated by omniidl (C++ backend)- omniORB_4_1. Do not edit.
#ifndef __DSC__Engines_hh__
#define __DSC__Engines_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_DSC__Engines
#endif
#ifndef USE_core_stub_in_nt_dll
# define USE_core_stub_in_nt_dll_NOT_DEFINED_DSC__Engines
#endif
#ifndef USE_dyn_stub_in_nt_dll
# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_DSC__Engines
#endif
#ifndef __SALOME__GenericObj_hh_EXTERNAL_GUARD__
#define __SALOME__GenericObj_hh_EXTERNAL_GUARD__
#include <SALOME_GenericObj.hh>
#endif
#ifndef __SALOME__Exception_hh_EXTERNAL_GUARD__
#define __SALOME__Exception_hh_EXTERNAL_GUARD__
#include <SALOME_Exception.hh>
#endif
#ifndef __SALOMEDS_hh_EXTERNAL_GUARD__
#define __SALOMEDS_hh_EXTERNAL_GUARD__
#include <SALOMEDS.hh>
#endif
#ifndef __SALOME__PyNode_hh_EXTERNAL_GUARD__
#define __SALOME__PyNode_hh_EXTERNAL_GUARD__
#include <SALOME_PyNode.hh>
#endif
#ifndef __SALOME__Component_hh_EXTERNAL_GUARD__
#define __SALOME__Component_hh_EXTERNAL_GUARD__
#include <SALOME_Component.hh>
#endif
#ifndef __SALOME__Ports_hh_EXTERNAL_GUARD__
#define __SALOME__Ports_hh_EXTERNAL_GUARD__
#include <SALOME_Ports.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 Engines
_CORBA_MODULE_BEG
#ifndef __Engines_mDSC__
#define __Engines_mDSC__
class DSC;
class _objref_DSC;
class _impl_DSC;
typedef _objref_DSC* DSC_ptr;
typedef DSC_ptr DSCRef;
class DSC_Helper {
public:
typedef DSC_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_DSC, DSC_Helper> DSC_var;
typedef _CORBA_ObjRef_OUT_arg<_objref_DSC,DSC_Helper > DSC_out;
#endif
// interface DSC
class DSC {
public:
// Declarations for this interface type.
typedef DSC_ptr _ptr_type;
typedef DSC_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.
static _dyn_attr const ::CORBA::TypeCode_ptr _tc_uses_port;
class uses_port_var;
class uses_port : public _CORBA_Unbounded_Sequence_ObjRef< Ports::_objref_Port, _CORBA_ObjRef_Element< Ports::_objref_Port, Ports::Port_Helper> , Ports::Port_Helper > {
public:
typedef uses_port_var _var_type;
inline uses_port() {}
inline uses_port(const uses_port& _s)
: _CORBA_Unbounded_Sequence_ObjRef< Ports::_objref_Port, _CORBA_ObjRef_Element< Ports::_objref_Port, Ports::Port_Helper> , Ports::Port_Helper > (_s) {}
inline uses_port(_CORBA_ULong _max)
: _CORBA_Unbounded_Sequence_ObjRef< Ports::_objref_Port, _CORBA_ObjRef_Element< Ports::_objref_Port, Ports::Port_Helper> , Ports::Port_Helper > (_max) {}
inline uses_port(_CORBA_ULong _max, _CORBA_ULong _len, Ports::Port_ptr* _val, _CORBA_Boolean _rel=0)
: _CORBA_Unbounded_Sequence_ObjRef< Ports::_objref_Port, _CORBA_ObjRef_Element< Ports::_objref_Port, Ports::Port_Helper> , Ports::Port_Helper > (_max, _len, _val, _rel) {}
inline uses_port& operator = (const uses_port& _s) {
_CORBA_Unbounded_Sequence_ObjRef< Ports::_objref_Port, _CORBA_ObjRef_Element< Ports::_objref_Port, Ports::Port_Helper> , Ports::Port_Helper > ::operator=(_s);
return *this;
}
};
class uses_port_out;
class uses_port_var {
public:
inline uses_port_var() : _pd_seq(0) {}
inline uses_port_var(uses_port* _s) : _pd_seq(_s) {}
inline uses_port_var(const uses_port_var& _s) {
if( _s._pd_seq ) _pd_seq = new uses_port(*_s._pd_seq);
else _pd_seq = 0;
}
inline ~uses_port_var() { if( _pd_seq ) delete _pd_seq; }
inline uses_port_var& operator = (uses_port* _s) {
if( _pd_seq ) delete _pd_seq;
_pd_seq = _s;
return *this;
}
inline uses_port_var& operator = (const uses_port_var& _s) {
if( _s._pd_seq ) {
if( !_pd_seq ) _pd_seq = new uses_port;
*_pd_seq = *_s._pd_seq;
} else if( _pd_seq ) {
delete _pd_seq;
_pd_seq = 0;
}
return *this;
}
inline _CORBA_ObjRef_Element< Ports::_objref_Port, Ports::Port_Helper> operator [] (_CORBA_ULong _s) {
return (*_pd_seq)[_s];
}
inline uses_port* operator -> () { return _pd_seq; }
inline const uses_port* operator -> () const { return _pd_seq; }
#if defined(__GNUG__)
inline operator uses_port& () const { return *_pd_seq; }
#else
inline operator const uses_port& () const { return *_pd_seq; }
inline operator uses_port& () { return *_pd_seq; }
#endif
inline const uses_port& in() const { return *_pd_seq; }
inline uses_port& inout() { return *_pd_seq; }
inline uses_port*& out() {
if( _pd_seq ) { delete _pd_seq; _pd_seq = 0; }
return _pd_seq;
}
inline uses_port* _retn() { uses_port* tmp = _pd_seq; _pd_seq = 0; return tmp; }
friend class uses_port_out;
private:
uses_port* _pd_seq;
};
class uses_port_out {
public:
inline uses_port_out(uses_port*& _s) : _data(_s) { _data = 0; }
inline uses_port_out(uses_port_var& _s)
: _data(_s._pd_seq) { _s = (uses_port*) 0; }
inline uses_port_out(const uses_port_out& _s) : _data(_s._data) {}
inline uses_port_out& operator = (const uses_port_out& _s) {
_data = _s._data;
return *this;
}
inline uses_port_out& operator = (uses_port* _s) {
_data = _s;
return *this;
}
inline operator uses_port*&() { return _data; }
inline uses_port*& ptr() { return _data; }
inline uses_port* operator->() { return _data; }
inline _CORBA_ObjRef_Element< Ports::_objref_Port, Ports::Port_Helper> operator [] (_CORBA_ULong _i) {
return (*_data)[_i];
}
uses_port*& _data;
private:
uses_port_out();
uses_port_out& operator=(const uses_port_var&);
};
enum Message { AddingConnection, RemovingConnection, ApplicationError /*, __max_Message=0xffffffff */ };
typedef Message& Message_out;
static _dyn_attr const ::CORBA::TypeCode_ptr _tc_Message;
class PortNotDefined : public ::CORBA::UserException {
public:
inline PortNotDefined() {
pd_insertToAnyFn = insertToAnyFn;
pd_insertToAnyFnNCP = insertToAnyFnNCP;
}
PortNotDefined(const PortNotDefined&);
PortNotDefined& operator=(const PortNotDefined&);
virtual ~PortNotDefined();
virtual void _raise() const;
static PortNotDefined* _downcast(::CORBA::Exception*);
static const PortNotDefined* _downcast(const ::CORBA::Exception*);
static inline PortNotDefined* _narrow(::CORBA::Exception* _e) {
return _downcast(_e);
}
inline void operator>>=(cdrStream&) const { }
inline 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;
};
static _dyn_attr const ::CORBA::TypeCode_ptr _tc_PortNotDefined;
class PortAlreadyDefined : public ::CORBA::UserException {
public:
inline PortAlreadyDefined() {
pd_insertToAnyFn = insertToAnyFn;
pd_insertToAnyFnNCP = insertToAnyFnNCP;
}
PortAlreadyDefined(const PortAlreadyDefined&);
PortAlreadyDefined& operator=(const PortAlreadyDefined&);
virtual ~PortAlreadyDefined();
virtual void _raise() const;
static PortAlreadyDefined* _downcast(::CORBA::Exception*);
static const PortAlreadyDefined* _downcast(const ::CORBA::Exception*);
static inline PortAlreadyDefined* _narrow(::CORBA::Exception* _e) {
return _downcast(_e);
}
inline void operator>>=(cdrStream&) const { }
inline 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;
};
static _dyn_attr const ::CORBA::TypeCode_ptr _tc_PortAlreadyDefined;
class PortNotConnected : public ::CORBA::UserException {
public:
inline PortNotConnected() {
pd_insertToAnyFn = insertToAnyFn;
pd_insertToAnyFnNCP = insertToAnyFnNCP;
}
PortNotConnected(const PortNotConnected&);
PortNotConnected& operator=(const PortNotConnected&);
virtual ~PortNotConnected();
virtual void _raise() const;
static PortNotConnected* _downcast(::CORBA::Exception*);
static const PortNotConnected* _downcast(const ::CORBA::Exception*);
static inline PortNotConnected* _narrow(::CORBA::Exception* _e) {
return _downcast(_e);
}
inline void operator>>=(cdrStream&) const { }
inline 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;
};
static _dyn_attr const ::CORBA::TypeCode_ptr _tc_PortNotConnected;
class BadPortType : public ::CORBA::UserException {
public:
::CORBA::String_member expected;
::CORBA::String_member received;
inline BadPortType() {
pd_insertToAnyFn = insertToAnyFn;
pd_insertToAnyFnNCP = insertToAnyFnNCP;
}
BadPortType(const BadPortType&);
BadPortType(const char* i_expected, const char* i_received);
BadPortType& operator=(const BadPortType&);
virtual ~BadPortType();
virtual void _raise() const;
static BadPortType* _downcast(::CORBA::Exception*);
static const BadPortType* _downcast(const ::CORBA::Exception*);
static inline BadPortType* _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;
};
static _dyn_attr const ::CORBA::TypeCode_ptr _tc_BadPortType;
class NilPort : public ::CORBA::UserException {
public:
inline NilPort() {
pd_insertToAnyFn = insertToAnyFn;
pd_insertToAnyFnNCP = insertToAnyFnNCP;
}
NilPort(const NilPort&);
NilPort& operator=(const NilPort&);
virtual ~NilPort();
virtual void _raise() const;
static NilPort* _downcast(::CORBA::Exception*);
static const NilPort* _downcast(const ::CORBA::Exception*);
static inline NilPort* _narrow(::CORBA::Exception* _e) {
return _downcast(_e);
}
inline void operator>>=(cdrStream&) const { }
inline 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;
};
static _dyn_attr const ::CORBA::TypeCode_ptr _tc_NilPort;
class BadPortReference : public ::CORBA::UserException {
public:
inline BadPortReference() {
pd_insertToAnyFn = insertToAnyFn;
pd_insertToAnyFnNCP = insertToAnyFnNCP;
}
BadPortReference(const BadPortReference&);
BadPortReference& operator=(const BadPortReference&);
virtual ~BadPortReference();
virtual void _raise() const;
static BadPortReference* _downcast(::CORBA::Exception*);
static const BadPortReference* _downcast(const ::CORBA::Exception*);
static inline BadPortReference* _narrow(::CORBA::Exception* _e) {
return _downcast(_e);
}
inline void operator>>=(cdrStream&) const { }
inline 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;
};
static _dyn_attr const ::CORBA::TypeCode_ptr _tc_BadPortReference;
class BadProperty : public ::CORBA::UserException {
public:
inline BadProperty() {
pd_insertToAnyFn = insertToAnyFn;
pd_insertToAnyFnNCP = insertToAnyFnNCP;
}
BadProperty(const BadProperty&);
BadProperty& operator=(const BadProperty&);
virtual ~BadProperty();
virtual void _raise() const;
static BadProperty* _downcast(::CORBA::Exception*);
static const BadProperty* _downcast(const ::CORBA::Exception*);
static inline BadProperty* _narrow(::CORBA::Exception* _e) {
return _downcast(_e);
}
inline void operator>>=(cdrStream&) const { }
inline 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;
};
static _dyn_attr const ::CORBA::TypeCode_ptr _tc_BadProperty;
};
class _objref_DSC :
public virtual _objref_EngineComponent
{
public:
void add_provides_port(::Ports::Port_ptr ref, const char* provides_port_name, ::Ports::PortProperties_ptr port_prop);
void add_uses_port(const char* repository_id, const char* uses_port_name, ::Ports::PortProperties_ptr port_prop);
Ports::Port_ptr get_provides_port(const char* provides_port_name, ::CORBA::Boolean connection_error);
DSC::uses_port* get_uses_port(const char* uses_port_name);
void connect_provides_port(const char* provides_port_name);
void connect_uses_port(const char* uses_port_name, ::Ports::Port_ptr provides_port_ref);
::CORBA::Boolean is_connected(const char* port_name);
void disconnect_provides_port(const char* provides_port_name, ::Engines::DSC::Message message);
void disconnect_uses_port(const char* uses_port_name, ::Ports::Port_ptr provides_port_ref, ::Engines::DSC::Message message);
Ports::PortProperties_ptr get_port_properties(const char* port_name);
inline _objref_DSC() { _PR_setobj(0); } // nil
_objref_DSC(omniIOR*, omniIdentity*);
protected:
virtual ~_objref_DSC();
private:
virtual void* _ptrToObjRef(const char*);
_objref_DSC(const _objref_DSC&);
_objref_DSC& operator = (const _objref_DSC&);
// not implemented
friend class DSC;
};
class _pof_DSC : public _OMNI_NS(proxyObjectFactory) {
public:
inline _pof_DSC() : _OMNI_NS(proxyObjectFactory)(DSC::_PD_repoId) {}
virtual ~_pof_DSC();
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
virtual _CORBA_Boolean is_a(const char*) const;
};
class _impl_DSC :
public virtual _impl_EngineComponent
{
public:
virtual ~_impl_DSC();
virtual void add_provides_port(::Ports::Port_ptr ref, const char* provides_port_name, ::Ports::PortProperties_ptr port_prop) = 0;
virtual void add_uses_port(const char* repository_id, const char* uses_port_name, ::Ports::PortProperties_ptr port_prop) = 0;
virtual Ports::Port_ptr get_provides_port(const char* provides_port_name, ::CORBA::Boolean connection_error) = 0;
virtual DSC::uses_port* get_uses_port(const char* uses_port_name) = 0;
virtual void connect_provides_port(const char* provides_port_name) = 0;
virtual void connect_uses_port(const char* uses_port_name, ::Ports::Port_ptr provides_port_ref) = 0;
virtual ::CORBA::Boolean is_connected(const char* port_name) = 0;
virtual void disconnect_provides_port(const char* provides_port_name, ::Engines::DSC::Message message) = 0;
virtual void disconnect_uses_port(const char* uses_port_name, ::Ports::Port_ptr provides_port_ref, ::Engines::DSC::Message message) = 0;
virtual Ports::PortProperties_ptr get_port_properties(const char* port_name) = 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_DSC;
#ifndef __Engines_mConnectionManager__
#define __Engines_mConnectionManager__
class ConnectionManager;
class _objref_ConnectionManager;
class _impl_ConnectionManager;
typedef _objref_ConnectionManager* ConnectionManager_ptr;
typedef ConnectionManager_ptr ConnectionManagerRef;
class ConnectionManager_Helper {
public:
typedef ConnectionManager_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_ConnectionManager, ConnectionManager_Helper> ConnectionManager_var;
typedef _CORBA_ObjRef_OUT_arg<_objref_ConnectionManager,ConnectionManager_Helper > ConnectionManager_out;
#endif
// interface ConnectionManager
class ConnectionManager {
public:
// Declarations for this interface type.
typedef ConnectionManager_ptr _ptr_type;
typedef ConnectionManager_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 BadId : public ::CORBA::UserException {
public:
inline BadId() {
pd_insertToAnyFn = insertToAnyFn;
pd_insertToAnyFnNCP = insertToAnyFnNCP;
}
BadId(const BadId&);
BadId& operator=(const BadId&);
virtual ~BadId();
virtual void _raise() const;
static BadId* _downcast(::CORBA::Exception*);
static const BadId* _downcast(const ::CORBA::Exception*);
static inline BadId* _narrow(::CORBA::Exception* _e) {
return _downcast(_e);
}
inline void operator>>=(cdrStream&) const { }
inline 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;
};
static _dyn_attr const ::CORBA::TypeCode_ptr _tc_BadId;
static _dyn_attr const ::CORBA::TypeCode_ptr _tc_connectionId;
typedef ::CORBA::Short connectionId;
typedef ::CORBA::Short_out connectionId_out;
};
class _objref_ConnectionManager :
public virtual ::CORBA::Object,
public virtual omniObjRef
{
public:
ConnectionManager::connectionId connect(::Engines::DSC_ptr uses_component, const char* uses_port_name, ::Engines::DSC_ptr provides_component, const char* provides_port_name);
void disconnect(::Engines::ConnectionManager::connectionId id, ::Engines::DSC::Message message);
void ShutdownWithExit();
::CORBA::Long getPID();
inline _objref_ConnectionManager() { _PR_setobj(0); } // nil
_objref_ConnectionManager(omniIOR*, omniIdentity*);
protected:
virtual ~_objref_ConnectionManager();
private:
virtual void* _ptrToObjRef(const char*);
_objref_ConnectionManager(const _objref_ConnectionManager&);
_objref_ConnectionManager& operator = (const _objref_ConnectionManager&);
// not implemented
friend class ConnectionManager;
};
class _pof_ConnectionManager : public _OMNI_NS(proxyObjectFactory) {
public:
inline _pof_ConnectionManager() : _OMNI_NS(proxyObjectFactory)(ConnectionManager::_PD_repoId) {}
virtual ~_pof_ConnectionManager();
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
virtual _CORBA_Boolean is_a(const char*) const;
};
class _impl_ConnectionManager :
public virtual omniServant
{
public:
virtual ~_impl_ConnectionManager();
virtual ConnectionManager::connectionId connect(::Engines::DSC_ptr uses_component, const char* uses_port_name, ::Engines::DSC_ptr provides_component, const char* provides_port_name) = 0;
virtual void disconnect(::Engines::ConnectionManager::connectionId id, ::Engines::DSC::Message message) = 0;
virtual void ShutdownWithExit() = 0;
virtual ::CORBA::Long getPID() = 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_ConnectionManager;
#ifndef __Engines_mSuperv__Component__
#define __Engines_mSuperv__Component__
class Superv_Component;
class _objref_Superv_Component;
class _impl_Superv_Component;
typedef _objref_Superv_Component* Superv_Component_ptr;
typedef Superv_Component_ptr Superv_ComponentRef;
class Superv_Component_Helper {
public:
typedef Superv_Component_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_Superv_Component, Superv_Component_Helper> Superv_Component_var;
typedef _CORBA_ObjRef_OUT_arg<_objref_Superv_Component,Superv_Component_Helper > Superv_Component_out;
#endif
// interface Superv_Component
class Superv_Component {
public:
// Declarations for this interface type.
typedef Superv_Component_ptr _ptr_type;
typedef Superv_Component_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_Superv_Component :
public virtual _objref_DSC
{
public:
::CORBA::Boolean init_service(const char* service_name);
inline _objref_Superv_Component() { _PR_setobj(0); } // nil
_objref_Superv_Component(omniIOR*, omniIdentity*);
protected:
virtual ~_objref_Superv_Component();
private:
virtual void* _ptrToObjRef(const char*);
_objref_Superv_Component(const _objref_Superv_Component&);
_objref_Superv_Component& operator = (const _objref_Superv_Component&);
// not implemented
friend class Superv_Component;
};
class _pof_Superv_Component : public _OMNI_NS(proxyObjectFactory) {
public:
inline _pof_Superv_Component() : _OMNI_NS(proxyObjectFactory)(Superv_Component::_PD_repoId) {}
virtual ~_pof_Superv_Component();
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
virtual _CORBA_Boolean is_a(const char*) const;
};
class _impl_Superv_Component :
public virtual _impl_DSC
{
public:
virtual ~_impl_Superv_Component();
virtual ::CORBA::Boolean init_service(const char* service_name) = 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_Superv_Component;
_CORBA_MODULE_END
_CORBA_MODULE POA_Engines
_CORBA_MODULE_BEG
class DSC :
public virtual Engines::_impl_DSC,
public virtual EngineComponent
{
public:
virtual ~DSC();
inline ::Engines::DSC_ptr _this() {
return (::Engines::DSC_ptr) _do_this(::Engines::DSC::_PD_repoId);
}
};
class ConnectionManager :
public virtual Engines::_impl_ConnectionManager,
public virtual ::PortableServer::ServantBase
{
public:
virtual ~ConnectionManager();
inline ::Engines::ConnectionManager_ptr _this() {
return (::Engines::ConnectionManager_ptr) _do_this(::Engines::ConnectionManager::_PD_repoId);
}
};
class Superv_Component :
public virtual Engines::_impl_Superv_Component,
public virtual DSC
{
public:
virtual ~Superv_Component();
inline ::Engines::Superv_Component_ptr _this() {
return (::Engines::Superv_Component_ptr) _do_this(::Engines::Superv_Component::_PD_repoId);
}
};
_CORBA_MODULE_END
_CORBA_MODULE OBV_Engines
_CORBA_MODULE_BEG
_CORBA_MODULE_END
#undef _core_attr
#undef _dyn_attr
void operator<<=(::CORBA::Any& _a, const Engines::DSC::uses_port& _s);
void operator<<=(::CORBA::Any& _a, Engines::DSC::uses_port* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, Engines::DSC::uses_port*& _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const Engines::DSC::uses_port*& _sp);
inline void operator >>=(Engines::DSC::Message _e, cdrStream& s) {
::operator>>=((::CORBA::ULong)_e, s);
}
inline void operator <<= (Engines::DSC::Message& _e, cdrStream& s) {
::CORBA::ULong _0RL_e;
::operator<<=(_0RL_e,s);
if (_0RL_e <= Engines::DSC::ApplicationError) {
_e = (Engines::DSC::Message) _0RL_e;
}
else {
OMNIORB_THROW(MARSHAL,_OMNI_NS(MARSHAL_InvalidEnumValue),
(::CORBA::CompletionStatus)s.completion());
}
}
void operator<<=(::CORBA::Any& _a, Engines::DSC::Message _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, Engines::DSC::Message& _s);
void operator<<=(::CORBA::Any& _a, const Engines::DSC::PortNotDefined& _s);
void operator<<=(::CORBA::Any& _a, const Engines::DSC::PortNotDefined* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const Engines::DSC::PortNotDefined*& _sp);
void operator<<=(::CORBA::Any& _a, const Engines::DSC::PortAlreadyDefined& _s);
void operator<<=(::CORBA::Any& _a, const Engines::DSC::PortAlreadyDefined* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const Engines::DSC::PortAlreadyDefined*& _sp);
void operator<<=(::CORBA::Any& _a, const Engines::DSC::PortNotConnected& _s);
void operator<<=(::CORBA::Any& _a, const Engines::DSC::PortNotConnected* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const Engines::DSC::PortNotConnected*& _sp);
void operator<<=(::CORBA::Any& _a, const Engines::DSC::BadPortType& _s);
void operator<<=(::CORBA::Any& _a, const Engines::DSC::BadPortType* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const Engines::DSC::BadPortType*& _sp);
void operator<<=(::CORBA::Any& _a, const Engines::DSC::NilPort& _s);
void operator<<=(::CORBA::Any& _a, const Engines::DSC::NilPort* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const Engines::DSC::NilPort*& _sp);
void operator<<=(::CORBA::Any& _a, const Engines::DSC::BadPortReference& _s);
void operator<<=(::CORBA::Any& _a, const Engines::DSC::BadPortReference* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const Engines::DSC::BadPortReference*& _sp);
void operator<<=(::CORBA::Any& _a, const Engines::DSC::BadProperty& _s);
void operator<<=(::CORBA::Any& _a, const Engines::DSC::BadProperty* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const Engines::DSC::BadProperty*& _sp);
void operator<<=(::CORBA::Any& _a, Engines::DSC_ptr _s);
void operator<<=(::CORBA::Any& _a, Engines::DSC_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, Engines::DSC_ptr& _s);
void operator<<=(::CORBA::Any& _a, const Engines::ConnectionManager::BadId& _s);
void operator<<=(::CORBA::Any& _a, const Engines::ConnectionManager::BadId* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const Engines::ConnectionManager::BadId*& _sp);
void operator<<=(::CORBA::Any& _a, Engines::ConnectionManager_ptr _s);
void operator<<=(::CORBA::Any& _a, Engines::ConnectionManager_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, Engines::ConnectionManager_ptr& _s);
void operator<<=(::CORBA::Any& _a, Engines::Superv_Component_ptr _s);
void operator<<=(::CORBA::Any& _a, Engines::Superv_Component_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, Engines::Superv_Component_ptr& _s);
inline void
Engines::DSC::_marshalObjRef(::Engines::DSC_ptr obj, cdrStream& s) {
omniObjRef::_marshal(obj->_PR_getobj(),s);
}
inline void
Engines::ConnectionManager::_marshalObjRef(::Engines::ConnectionManager_ptr obj, cdrStream& s) {
omniObjRef::_marshal(obj->_PR_getobj(),s);
}
inline void
Engines::Superv_Component::_marshalObjRef(::Engines::Superv_Component_ptr obj, cdrStream& s) {
omniObjRef::_marshal(obj->_PR_getobj(),s);
}
#ifdef USE_stub_in_nt_dll_NOT_DEFINED_DSC__Engines
# undef USE_stub_in_nt_dll
# undef USE_stub_in_nt_dll_NOT_DEFINED_DSC__Engines
#endif
#ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_DSC__Engines
# undef USE_core_stub_in_nt_dll
# undef USE_core_stub_in_nt_dll_NOT_DEFINED_DSC__Engines
#endif
#ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_DSC__Engines
# undef USE_dyn_stub_in_nt_dll
# undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_DSC__Engines
#endif
#endif // __DSC__Engines_hh__
|