/usr/include/LogToolFwdr.hh is in liblogservicetoolbase2-dev 2.7-1.1.
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 | // This file is generated by omniidl (C++ backend)- omniORB_4_1. Do not edit.
#ifndef __LogToolFwdr_hh__
#define __LogToolFwdr_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_LogToolFwdr
#endif
#ifndef USE_core_stub_in_nt_dll
# define USE_core_stub_in_nt_dll_NOT_DEFINED_LogToolFwdr
#endif
#ifndef USE_dyn_stub_in_nt_dll
# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_LogToolFwdr
#endif
#ifndef __LogTypes_hh_EXTERNAL_GUARD__
#define __LogTypes_hh_EXTERNAL_GUARD__
#include <LogTypes.hh>
#endif
#ifndef __LogTool_hh_EXTERNAL_GUARD__
#define __LogTool_hh_EXTERNAL_GUARD__
#include <LogTool.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
#ifndef __ToolMsgReceiverFwdr__
#define __ToolMsgReceiverFwdr__
class ToolMsgReceiverFwdr;
class _objref_ToolMsgReceiverFwdr;
class _impl_ToolMsgReceiverFwdr;
typedef _objref_ToolMsgReceiverFwdr* ToolMsgReceiverFwdr_ptr;
typedef ToolMsgReceiverFwdr_ptr ToolMsgReceiverFwdrRef;
class ToolMsgReceiverFwdr_Helper {
public:
typedef ToolMsgReceiverFwdr_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_ToolMsgReceiverFwdr, ToolMsgReceiverFwdr_Helper> ToolMsgReceiverFwdr_var;
typedef _CORBA_ObjRef_OUT_arg<_objref_ToolMsgReceiverFwdr,ToolMsgReceiverFwdr_Helper > ToolMsgReceiverFwdr_out;
#endif
// interface ToolMsgReceiverFwdr
class ToolMsgReceiverFwdr {
public:
// Declarations for this interface type.
typedef ToolMsgReceiverFwdr_ptr _ptr_type;
typedef ToolMsgReceiverFwdr_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_ToolMsgReceiverFwdr :
public virtual _objref_ToolMsgReceiver
{
public:
inline _objref_ToolMsgReceiverFwdr() { _PR_setobj(0); } // nil
_objref_ToolMsgReceiverFwdr(omniIOR*, omniIdentity*);
protected:
virtual ~_objref_ToolMsgReceiverFwdr();
private:
virtual void* _ptrToObjRef(const char*);
_objref_ToolMsgReceiverFwdr(const _objref_ToolMsgReceiverFwdr&);
_objref_ToolMsgReceiverFwdr& operator = (const _objref_ToolMsgReceiverFwdr&);
// not implemented
friend class ToolMsgReceiverFwdr;
};
class _pof_ToolMsgReceiverFwdr : public _OMNI_NS(proxyObjectFactory) {
public:
inline _pof_ToolMsgReceiverFwdr() : _OMNI_NS(proxyObjectFactory)(ToolMsgReceiverFwdr::_PD_repoId) {}
virtual ~_pof_ToolMsgReceiverFwdr();
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
virtual _CORBA_Boolean is_a(const char*) const;
};
class _impl_ToolMsgReceiverFwdr :
public virtual _impl_ToolMsgReceiver
{
public:
virtual ~_impl_ToolMsgReceiverFwdr();
public: // Really protected, workaround for xlC
virtual _CORBA_Boolean _dispatch(omniCallHandle&);
private:
virtual void* _ptrToInterface(const char*);
virtual const char* _mostDerivedRepoId();
};
_CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ToolMsgReceiverFwdr;
#ifndef __ToolMsgReceiverForwarder__
#define __ToolMsgReceiverForwarder__
class ToolMsgReceiverForwarder;
class _objref_ToolMsgReceiverForwarder;
class _impl_ToolMsgReceiverForwarder;
typedef _objref_ToolMsgReceiverForwarder* ToolMsgReceiverForwarder_ptr;
typedef ToolMsgReceiverForwarder_ptr ToolMsgReceiverForwarderRef;
class ToolMsgReceiverForwarder_Helper {
public:
typedef ToolMsgReceiverForwarder_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_ToolMsgReceiverForwarder, ToolMsgReceiverForwarder_Helper> ToolMsgReceiverForwarder_var;
typedef _CORBA_ObjRef_OUT_arg<_objref_ToolMsgReceiverForwarder,ToolMsgReceiverForwarder_Helper > ToolMsgReceiverForwarder_out;
#endif
// interface ToolMsgReceiverForwarder
class ToolMsgReceiverForwarder {
public:
// Declarations for this interface type.
typedef ToolMsgReceiverForwarder_ptr _ptr_type;
typedef ToolMsgReceiverForwarder_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_ToolMsgReceiverForwarder :
public virtual ::CORBA::Object,
public virtual omniObjRef
{
public:
void sendMsg(const ::log_msg_buf_t& msgBuf, const char* objName);
inline _objref_ToolMsgReceiverForwarder() { _PR_setobj(0); } // nil
_objref_ToolMsgReceiverForwarder(omniIOR*, omniIdentity*);
protected:
virtual ~_objref_ToolMsgReceiverForwarder();
private:
virtual void* _ptrToObjRef(const char*);
_objref_ToolMsgReceiverForwarder(const _objref_ToolMsgReceiverForwarder&);
_objref_ToolMsgReceiverForwarder& operator = (const _objref_ToolMsgReceiverForwarder&);
// not implemented
friend class ToolMsgReceiverForwarder;
};
class _pof_ToolMsgReceiverForwarder : public _OMNI_NS(proxyObjectFactory) {
public:
inline _pof_ToolMsgReceiverForwarder() : _OMNI_NS(proxyObjectFactory)(ToolMsgReceiverForwarder::_PD_repoId) {}
virtual ~_pof_ToolMsgReceiverForwarder();
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
virtual _CORBA_Boolean is_a(const char*) const;
};
class _impl_ToolMsgReceiverForwarder :
public virtual omniServant
{
public:
virtual ~_impl_ToolMsgReceiverForwarder();
virtual void sendMsg(const ::log_msg_buf_t& msgBuf, const char* objName) = 0;
public: // Really protected, workaround for xlC
virtual _CORBA_Boolean _dispatch(omniCallHandle&);
private:
virtual void* _ptrToInterface(const char*);
virtual const char* _mostDerivedRepoId();
};
_CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_ToolMsgReceiverForwarder;
#ifndef __LogCentralToolFwdr__
#define __LogCentralToolFwdr__
class LogCentralToolFwdr;
class _objref_LogCentralToolFwdr;
class _impl_LogCentralToolFwdr;
typedef _objref_LogCentralToolFwdr* LogCentralToolFwdr_ptr;
typedef LogCentralToolFwdr_ptr LogCentralToolFwdrRef;
class LogCentralToolFwdr_Helper {
public:
typedef LogCentralToolFwdr_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_LogCentralToolFwdr, LogCentralToolFwdr_Helper> LogCentralToolFwdr_var;
typedef _CORBA_ObjRef_OUT_arg<_objref_LogCentralToolFwdr,LogCentralToolFwdr_Helper > LogCentralToolFwdr_out;
#endif
// interface LogCentralToolFwdr
class LogCentralToolFwdr {
public:
// Declarations for this interface type.
typedef LogCentralToolFwdr_ptr _ptr_type;
typedef LogCentralToolFwdr_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_LogCentralToolFwdr :
public virtual _objref_LogCentralTool
{
public:
inline _objref_LogCentralToolFwdr() { _PR_setobj(0); } // nil
_objref_LogCentralToolFwdr(omniIOR*, omniIdentity*);
protected:
virtual ~_objref_LogCentralToolFwdr();
private:
virtual void* _ptrToObjRef(const char*);
_objref_LogCentralToolFwdr(const _objref_LogCentralToolFwdr&);
_objref_LogCentralToolFwdr& operator = (const _objref_LogCentralToolFwdr&);
// not implemented
friend class LogCentralToolFwdr;
};
class _pof_LogCentralToolFwdr : public _OMNI_NS(proxyObjectFactory) {
public:
inline _pof_LogCentralToolFwdr() : _OMNI_NS(proxyObjectFactory)(LogCentralToolFwdr::_PD_repoId) {}
virtual ~_pof_LogCentralToolFwdr();
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
virtual _CORBA_Boolean is_a(const char*) const;
};
class _impl_LogCentralToolFwdr :
public virtual _impl_LogCentralTool
{
public:
virtual ~_impl_LogCentralToolFwdr();
public: // Really protected, workaround for xlC
virtual _CORBA_Boolean _dispatch(omniCallHandle&);
private:
virtual void* _ptrToInterface(const char*);
virtual const char* _mostDerivedRepoId();
};
_CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_LogCentralToolFwdr;
#ifndef __LogCentralToolForwarder__
#define __LogCentralToolForwarder__
class LogCentralToolForwarder;
class _objref_LogCentralToolForwarder;
class _impl_LogCentralToolForwarder;
typedef _objref_LogCentralToolForwarder* LogCentralToolForwarder_ptr;
typedef LogCentralToolForwarder_ptr LogCentralToolForwarderRef;
class LogCentralToolForwarder_Helper {
public:
typedef LogCentralToolForwarder_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_LogCentralToolForwarder, LogCentralToolForwarder_Helper> LogCentralToolForwarder_var;
typedef _CORBA_ObjRef_OUT_arg<_objref_LogCentralToolForwarder,LogCentralToolForwarder_Helper > LogCentralToolForwarder_out;
#endif
// interface LogCentralToolForwarder
class LogCentralToolForwarder {
public:
// Declarations for this interface type.
typedef LogCentralToolForwarder_ptr _ptr_type;
typedef LogCentralToolForwarder_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_LogCentralToolForwarder :
public virtual ::CORBA::Object,
public virtual omniObjRef
{
public:
::CORBA::Short connectTool(::CORBA::String_INOUT_arg toolName, const char* msgReceiver, const char* objName);
::CORBA::Short disconnectTool(const char* toolName, const char* objName);
tag_list_t* getDefinedTags(const char* objName);
component_list_t* getDefinedComponents(const char* objName);
::CORBA::Short addFilter(const char* toolName, const ::filter_t& filter, const char* objName);
::CORBA::Short removeFilter(const char* toolName, const char* filterName, const char* objName);
::CORBA::Short flushAllFilters(const char* toolName, const char* objName);
inline _objref_LogCentralToolForwarder() { _PR_setobj(0); } // nil
_objref_LogCentralToolForwarder(omniIOR*, omniIdentity*);
protected:
virtual ~_objref_LogCentralToolForwarder();
private:
virtual void* _ptrToObjRef(const char*);
_objref_LogCentralToolForwarder(const _objref_LogCentralToolForwarder&);
_objref_LogCentralToolForwarder& operator = (const _objref_LogCentralToolForwarder&);
// not implemented
friend class LogCentralToolForwarder;
};
class _pof_LogCentralToolForwarder : public _OMNI_NS(proxyObjectFactory) {
public:
inline _pof_LogCentralToolForwarder() : _OMNI_NS(proxyObjectFactory)(LogCentralToolForwarder::_PD_repoId) {}
virtual ~_pof_LogCentralToolForwarder();
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
virtual _CORBA_Boolean is_a(const char*) const;
};
class _impl_LogCentralToolForwarder :
public virtual omniServant
{
public:
virtual ~_impl_LogCentralToolForwarder();
virtual ::CORBA::Short connectTool(char*& toolName, const char* msgReceiver, const char* objName) = 0;
virtual ::CORBA::Short disconnectTool(const char* toolName, const char* objName) = 0;
virtual tag_list_t* getDefinedTags(const char* objName) = 0;
virtual component_list_t* getDefinedComponents(const char* objName) = 0;
virtual ::CORBA::Short addFilter(const char* toolName, const ::filter_t& filter, const char* objName) = 0;
virtual ::CORBA::Short removeFilter(const char* toolName, const char* filterName, const char* objName) = 0;
virtual ::CORBA::Short flushAllFilters(const char* toolName, const char* objName) = 0;
public: // Really protected, workaround for xlC
virtual _CORBA_Boolean _dispatch(omniCallHandle&);
private:
virtual void* _ptrToInterface(const char*);
virtual const char* _mostDerivedRepoId();
};
_CORBA_GLOBAL_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_LogCentralToolForwarder;
class POA_ToolMsgReceiverFwdr :
public virtual _impl_ToolMsgReceiverFwdr,
public virtual POA_ToolMsgReceiver
{
public:
virtual ~POA_ToolMsgReceiverFwdr();
inline ::ToolMsgReceiverFwdr_ptr _this() {
return (::ToolMsgReceiverFwdr_ptr) _do_this(::ToolMsgReceiverFwdr::_PD_repoId);
}
};
template <class _omniT>
class POA_ToolMsgReceiverFwdr_tie : public virtual POA_ToolMsgReceiverFwdr
{
public:
POA_ToolMsgReceiverFwdr_tie(_omniT& t)
: pd_obj(&t), pd_poa(0), pd_rel(0) {}
POA_ToolMsgReceiverFwdr_tie(_omniT& t, ::PortableServer::POA_ptr p)
: pd_obj(&t), pd_poa(p), pd_rel(0) {}
POA_ToolMsgReceiverFwdr_tie(_omniT* t, _CORBA_Boolean r=1)
: pd_obj(t), pd_poa(0), pd_rel(r) {}
POA_ToolMsgReceiverFwdr_tie(_omniT* t, ::PortableServer::POA_ptr p,_CORBA_Boolean r=1)
: pd_obj(t), pd_poa(p), pd_rel(r) {}
~POA_ToolMsgReceiverFwdr_tie() {
if( pd_poa ) ::CORBA::release(pd_poa);
if( pd_rel ) delete pd_obj;
}
_omniT* _tied_object() { return pd_obj; }
void _tied_object(_omniT& t) {
if( pd_rel ) delete pd_obj;
pd_obj = &t;
pd_rel = 0;
}
void _tied_object(_omniT* t, _CORBA_Boolean r=1) {
if( pd_rel ) delete pd_obj;
pd_obj = t;
pd_rel = r;
}
_CORBA_Boolean _is_owner() { return pd_rel; }
void _is_owner(_CORBA_Boolean io) { pd_rel = io; }
::PortableServer::POA_ptr _default_POA() {
if( !pd_poa ) return ::PortableServer::POA::_the_root_poa();
else return ::PortableServer::POA::_duplicate(pd_poa);
}
void sendMsg(const log_msg_buf_t& msgBuf) { pd_obj->sendMsg(msgBuf); }
private:
_omniT* pd_obj;
::PortableServer::POA_ptr pd_poa;
_CORBA_Boolean pd_rel;
};
class POA_ToolMsgReceiverForwarder :
public virtual _impl_ToolMsgReceiverForwarder,
public virtual ::PortableServer::ServantBase
{
public:
virtual ~POA_ToolMsgReceiverForwarder();
inline ::ToolMsgReceiverForwarder_ptr _this() {
return (::ToolMsgReceiverForwarder_ptr) _do_this(::ToolMsgReceiverForwarder::_PD_repoId);
}
};
template <class _omniT>
class POA_ToolMsgReceiverForwarder_tie : public virtual POA_ToolMsgReceiverForwarder
{
public:
POA_ToolMsgReceiverForwarder_tie(_omniT& t)
: pd_obj(&t), pd_poa(0), pd_rel(0) {}
POA_ToolMsgReceiverForwarder_tie(_omniT& t, ::PortableServer::POA_ptr p)
: pd_obj(&t), pd_poa(p), pd_rel(0) {}
POA_ToolMsgReceiverForwarder_tie(_omniT* t, _CORBA_Boolean r=1)
: pd_obj(t), pd_poa(0), pd_rel(r) {}
POA_ToolMsgReceiverForwarder_tie(_omniT* t, ::PortableServer::POA_ptr p,_CORBA_Boolean r=1)
: pd_obj(t), pd_poa(p), pd_rel(r) {}
~POA_ToolMsgReceiverForwarder_tie() {
if( pd_poa ) ::CORBA::release(pd_poa);
if( pd_rel ) delete pd_obj;
}
_omniT* _tied_object() { return pd_obj; }
void _tied_object(_omniT& t) {
if( pd_rel ) delete pd_obj;
pd_obj = &t;
pd_rel = 0;
}
void _tied_object(_omniT* t, _CORBA_Boolean r=1) {
if( pd_rel ) delete pd_obj;
pd_obj = t;
pd_rel = r;
}
_CORBA_Boolean _is_owner() { return pd_rel; }
void _is_owner(_CORBA_Boolean io) { pd_rel = io; }
::PortableServer::POA_ptr _default_POA() {
if( !pd_poa ) return ::PortableServer::POA::_the_root_poa();
else return ::PortableServer::POA::_duplicate(pd_poa);
}
void sendMsg(const log_msg_buf_t& msgBuf, const char* objName) { pd_obj->sendMsg(msgBuf, objName); }
private:
_omniT* pd_obj;
::PortableServer::POA_ptr pd_poa;
_CORBA_Boolean pd_rel;
};
class POA_LogCentralToolFwdr :
public virtual _impl_LogCentralToolFwdr,
public virtual POA_LogCentralTool
{
public:
virtual ~POA_LogCentralToolFwdr();
inline ::LogCentralToolFwdr_ptr _this() {
return (::LogCentralToolFwdr_ptr) _do_this(::LogCentralToolFwdr::_PD_repoId);
}
};
template <class _omniT>
class POA_LogCentralToolFwdr_tie : public virtual POA_LogCentralToolFwdr
{
public:
POA_LogCentralToolFwdr_tie(_omniT& t)
: pd_obj(&t), pd_poa(0), pd_rel(0) {}
POA_LogCentralToolFwdr_tie(_omniT& t, ::PortableServer::POA_ptr p)
: pd_obj(&t), pd_poa(p), pd_rel(0) {}
POA_LogCentralToolFwdr_tie(_omniT* t, _CORBA_Boolean r=1)
: pd_obj(t), pd_poa(0), pd_rel(r) {}
POA_LogCentralToolFwdr_tie(_omniT* t, ::PortableServer::POA_ptr p,_CORBA_Boolean r=1)
: pd_obj(t), pd_poa(p), pd_rel(r) {}
~POA_LogCentralToolFwdr_tie() {
if( pd_poa ) ::CORBA::release(pd_poa);
if( pd_rel ) delete pd_obj;
}
_omniT* _tied_object() { return pd_obj; }
void _tied_object(_omniT& t) {
if( pd_rel ) delete pd_obj;
pd_obj = &t;
pd_rel = 0;
}
void _tied_object(_omniT* t, _CORBA_Boolean r=1) {
if( pd_rel ) delete pd_obj;
pd_obj = t;
pd_rel = r;
}
_CORBA_Boolean _is_owner() { return pd_rel; }
void _is_owner(_CORBA_Boolean io) { pd_rel = io; }
::PortableServer::POA_ptr _default_POA() {
if( !pd_poa ) return ::PortableServer::POA::_the_root_poa();
else return ::PortableServer::POA::_duplicate(pd_poa);
}
void test() { pd_obj->test(); }
::CORBA::Short connectTool(char*& toolName, const char* msgReceiver) { return pd_obj->connectTool(toolName, msgReceiver); }
::CORBA::Short disconnectTool(const char* toolName) { return pd_obj->disconnectTool(toolName); }
tag_list_t* getDefinedTags() { return pd_obj->getDefinedTags(); }
component_list_t* getDefinedComponents() { return pd_obj->getDefinedComponents(); }
::CORBA::Short addFilter(const char* toolName, const filter_t& filter) { return pd_obj->addFilter(toolName, filter); }
::CORBA::Short removeFilter(const char* toolName, const char* filterName) { return pd_obj->removeFilter(toolName, filterName); }
::CORBA::Short flushAllFilters(const char* toolName) { return pd_obj->flushAllFilters(toolName); }
private:
_omniT* pd_obj;
::PortableServer::POA_ptr pd_poa;
_CORBA_Boolean pd_rel;
};
class POA_LogCentralToolForwarder :
public virtual _impl_LogCentralToolForwarder,
public virtual ::PortableServer::ServantBase
{
public:
virtual ~POA_LogCentralToolForwarder();
inline ::LogCentralToolForwarder_ptr _this() {
return (::LogCentralToolForwarder_ptr) _do_this(::LogCentralToolForwarder::_PD_repoId);
}
};
template <class _omniT>
class POA_LogCentralToolForwarder_tie : public virtual POA_LogCentralToolForwarder
{
public:
POA_LogCentralToolForwarder_tie(_omniT& t)
: pd_obj(&t), pd_poa(0), pd_rel(0) {}
POA_LogCentralToolForwarder_tie(_omniT& t, ::PortableServer::POA_ptr p)
: pd_obj(&t), pd_poa(p), pd_rel(0) {}
POA_LogCentralToolForwarder_tie(_omniT* t, _CORBA_Boolean r=1)
: pd_obj(t), pd_poa(0), pd_rel(r) {}
POA_LogCentralToolForwarder_tie(_omniT* t, ::PortableServer::POA_ptr p,_CORBA_Boolean r=1)
: pd_obj(t), pd_poa(p), pd_rel(r) {}
~POA_LogCentralToolForwarder_tie() {
if( pd_poa ) ::CORBA::release(pd_poa);
if( pd_rel ) delete pd_obj;
}
_omniT* _tied_object() { return pd_obj; }
void _tied_object(_omniT& t) {
if( pd_rel ) delete pd_obj;
pd_obj = &t;
pd_rel = 0;
}
void _tied_object(_omniT* t, _CORBA_Boolean r=1) {
if( pd_rel ) delete pd_obj;
pd_obj = t;
pd_rel = r;
}
_CORBA_Boolean _is_owner() { return pd_rel; }
void _is_owner(_CORBA_Boolean io) { pd_rel = io; }
::PortableServer::POA_ptr _default_POA() {
if( !pd_poa ) return ::PortableServer::POA::_the_root_poa();
else return ::PortableServer::POA::_duplicate(pd_poa);
}
::CORBA::Short connectTool(char*& toolName, const char* msgReceiver, const char* objName) { return pd_obj->connectTool(toolName, msgReceiver, objName); }
::CORBA::Short disconnectTool(const char* toolName, const char* objName) { return pd_obj->disconnectTool(toolName, objName); }
tag_list_t* getDefinedTags(const char* objName) { return pd_obj->getDefinedTags(objName); }
component_list_t* getDefinedComponents(const char* objName) { return pd_obj->getDefinedComponents(objName); }
::CORBA::Short addFilter(const char* toolName, const filter_t& filter, const char* objName) { return pd_obj->addFilter(toolName, filter, objName); }
::CORBA::Short removeFilter(const char* toolName, const char* filterName, const char* objName) { return pd_obj->removeFilter(toolName, filterName, objName); }
::CORBA::Short flushAllFilters(const char* toolName, const char* objName) { return pd_obj->flushAllFilters(toolName, objName); }
private:
_omniT* pd_obj;
::PortableServer::POA_ptr pd_poa;
_CORBA_Boolean pd_rel;
};
#undef _core_attr
#undef _dyn_attr
void operator<<=(::CORBA::Any& _a, ToolMsgReceiverFwdr_ptr _s);
void operator<<=(::CORBA::Any& _a, ToolMsgReceiverFwdr_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, ToolMsgReceiverFwdr_ptr& _s);
void operator<<=(::CORBA::Any& _a, ToolMsgReceiverForwarder_ptr _s);
void operator<<=(::CORBA::Any& _a, ToolMsgReceiverForwarder_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, ToolMsgReceiverForwarder_ptr& _s);
void operator<<=(::CORBA::Any& _a, LogCentralToolFwdr_ptr _s);
void operator<<=(::CORBA::Any& _a, LogCentralToolFwdr_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, LogCentralToolFwdr_ptr& _s);
void operator<<=(::CORBA::Any& _a, LogCentralToolForwarder_ptr _s);
void operator<<=(::CORBA::Any& _a, LogCentralToolForwarder_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, LogCentralToolForwarder_ptr& _s);
inline void
ToolMsgReceiverFwdr::_marshalObjRef(::ToolMsgReceiverFwdr_ptr obj, cdrStream& s) {
omniObjRef::_marshal(obj->_PR_getobj(),s);
}
inline void
ToolMsgReceiverForwarder::_marshalObjRef(::ToolMsgReceiverForwarder_ptr obj, cdrStream& s) {
omniObjRef::_marshal(obj->_PR_getobj(),s);
}
inline void
LogCentralToolFwdr::_marshalObjRef(::LogCentralToolFwdr_ptr obj, cdrStream& s) {
omniObjRef::_marshal(obj->_PR_getobj(),s);
}
inline void
LogCentralToolForwarder::_marshalObjRef(::LogCentralToolForwarder_ptr obj, cdrStream& s) {
omniObjRef::_marshal(obj->_PR_getobj(),s);
}
#ifdef USE_stub_in_nt_dll_NOT_DEFINED_LogToolFwdr
# undef USE_stub_in_nt_dll
# undef USE_stub_in_nt_dll_NOT_DEFINED_LogToolFwdr
#endif
#ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_LogToolFwdr
# undef USE_core_stub_in_nt_dll
# undef USE_core_stub_in_nt_dll_NOT_DEFINED_LogToolFwdr
#endif
#ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_LogToolFwdr
# undef USE_dyn_stub_in_nt_dll
# undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_LogToolFwdr
#endif
#endif // __LogToolFwdr_hh__
|