/usr/include/COS/CosEventComm.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 | // This file is generated by omniidl (C++ backend)- omniORB_4_1. Do not edit.
#ifndef __CosEventComm_hh__
#define __CosEventComm_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_CosEventComm
#endif
#ifndef USE_core_stub_in_nt_dll
# define USE_core_stub_in_nt_dll_NOT_DEFINED_CosEventComm
#endif
#ifndef USE_dyn_stub_in_nt_dll
# define USE_dyn_stub_in_nt_dll_NOT_DEFINED_CosEventComm
#endif
#include "COS_sysdep.h"
#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 CosEventComm
_CORBA_MODULE_BEG
class Disconnected : public ::CORBA::UserException {
public:
inline Disconnected() {
pd_insertToAnyFn = insertToAnyFn;
pd_insertToAnyFnNCP = insertToAnyFnNCP;
}
Disconnected(const Disconnected&);
Disconnected& operator=(const Disconnected&);
virtual ~Disconnected();
virtual void _raise() const;
static Disconnected* _downcast(::CORBA::Exception*);
static const Disconnected* _downcast(const ::CORBA::Exception*);
static inline Disconnected* _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;
};
_CORBA_MODULE_VAR _dyn_attr const ::CORBA::TypeCode_ptr _tc_Disconnected;
#ifndef __CosEventComm_mPushConsumer__
#define __CosEventComm_mPushConsumer__
class PushConsumer;
class _objref_PushConsumer;
class _impl_PushConsumer;
typedef _objref_PushConsumer* PushConsumer_ptr;
typedef PushConsumer_ptr PushConsumerRef;
class PushConsumer_Helper {
public:
typedef PushConsumer_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_PushConsumer, PushConsumer_Helper> PushConsumer_var;
typedef _CORBA_ObjRef_OUT_arg<_objref_PushConsumer,PushConsumer_Helper > PushConsumer_out;
#endif
// interface PushConsumer
class PushConsumer {
public:
// Declarations for this interface type.
typedef PushConsumer_ptr _ptr_type;
typedef PushConsumer_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_PushConsumer :
public virtual ::CORBA::Object,
public virtual omniObjRef
{
public:
void push(const ::CORBA::Any& data);
void disconnect_push_consumer();
inline _objref_PushConsumer() { _PR_setobj(0); } // nil
_objref_PushConsumer(omniIOR*, omniIdentity*);
protected:
virtual ~_objref_PushConsumer();
private:
virtual void* _ptrToObjRef(const char*);
_objref_PushConsumer(const _objref_PushConsumer&);
_objref_PushConsumer& operator = (const _objref_PushConsumer&);
// not implemented
friend class PushConsumer;
};
class _pof_PushConsumer : public _OMNI_NS(proxyObjectFactory) {
public:
inline _pof_PushConsumer() : _OMNI_NS(proxyObjectFactory)(PushConsumer::_PD_repoId) {}
virtual ~_pof_PushConsumer();
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
virtual _CORBA_Boolean is_a(const char*) const;
};
class _impl_PushConsumer :
public virtual omniServant
{
public:
virtual ~_impl_PushConsumer();
virtual void push(const ::CORBA::Any& data) = 0;
virtual void disconnect_push_consumer() = 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_PushConsumer;
#ifndef __CosEventComm_mPushSupplier__
#define __CosEventComm_mPushSupplier__
class PushSupplier;
class _objref_PushSupplier;
class _impl_PushSupplier;
typedef _objref_PushSupplier* PushSupplier_ptr;
typedef PushSupplier_ptr PushSupplierRef;
class PushSupplier_Helper {
public:
typedef PushSupplier_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_PushSupplier, PushSupplier_Helper> PushSupplier_var;
typedef _CORBA_ObjRef_OUT_arg<_objref_PushSupplier,PushSupplier_Helper > PushSupplier_out;
#endif
// interface PushSupplier
class PushSupplier {
public:
// Declarations for this interface type.
typedef PushSupplier_ptr _ptr_type;
typedef PushSupplier_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_PushSupplier :
public virtual ::CORBA::Object,
public virtual omniObjRef
{
public:
void disconnect_push_supplier();
inline _objref_PushSupplier() { _PR_setobj(0); } // nil
_objref_PushSupplier(omniIOR*, omniIdentity*);
protected:
virtual ~_objref_PushSupplier();
private:
virtual void* _ptrToObjRef(const char*);
_objref_PushSupplier(const _objref_PushSupplier&);
_objref_PushSupplier& operator = (const _objref_PushSupplier&);
// not implemented
friend class PushSupplier;
};
class _pof_PushSupplier : public _OMNI_NS(proxyObjectFactory) {
public:
inline _pof_PushSupplier() : _OMNI_NS(proxyObjectFactory)(PushSupplier::_PD_repoId) {}
virtual ~_pof_PushSupplier();
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
virtual _CORBA_Boolean is_a(const char*) const;
};
class _impl_PushSupplier :
public virtual omniServant
{
public:
virtual ~_impl_PushSupplier();
virtual void disconnect_push_supplier() = 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_PushSupplier;
#ifndef __CosEventComm_mPullSupplier__
#define __CosEventComm_mPullSupplier__
class PullSupplier;
class _objref_PullSupplier;
class _impl_PullSupplier;
typedef _objref_PullSupplier* PullSupplier_ptr;
typedef PullSupplier_ptr PullSupplierRef;
class PullSupplier_Helper {
public:
typedef PullSupplier_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_PullSupplier, PullSupplier_Helper> PullSupplier_var;
typedef _CORBA_ObjRef_OUT_arg<_objref_PullSupplier,PullSupplier_Helper > PullSupplier_out;
#endif
// interface PullSupplier
class PullSupplier {
public:
// Declarations for this interface type.
typedef PullSupplier_ptr _ptr_type;
typedef PullSupplier_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_PullSupplier :
public virtual ::CORBA::Object,
public virtual omniObjRef
{
public:
::CORBA::Any* pull();
::CORBA::Any* try_pull(::CORBA::Boolean& has_event);
void disconnect_pull_supplier();
inline _objref_PullSupplier() { _PR_setobj(0); } // nil
_objref_PullSupplier(omniIOR*, omniIdentity*);
protected:
virtual ~_objref_PullSupplier();
private:
virtual void* _ptrToObjRef(const char*);
_objref_PullSupplier(const _objref_PullSupplier&);
_objref_PullSupplier& operator = (const _objref_PullSupplier&);
// not implemented
friend class PullSupplier;
};
class _pof_PullSupplier : public _OMNI_NS(proxyObjectFactory) {
public:
inline _pof_PullSupplier() : _OMNI_NS(proxyObjectFactory)(PullSupplier::_PD_repoId) {}
virtual ~_pof_PullSupplier();
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
virtual _CORBA_Boolean is_a(const char*) const;
};
class _impl_PullSupplier :
public virtual omniServant
{
public:
virtual ~_impl_PullSupplier();
virtual ::CORBA::Any* pull() = 0;
virtual ::CORBA::Any* try_pull(::CORBA::Boolean& has_event) = 0;
virtual void disconnect_pull_supplier() = 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_PullSupplier;
#ifndef __CosEventComm_mPullConsumer__
#define __CosEventComm_mPullConsumer__
class PullConsumer;
class _objref_PullConsumer;
class _impl_PullConsumer;
typedef _objref_PullConsumer* PullConsumer_ptr;
typedef PullConsumer_ptr PullConsumerRef;
class PullConsumer_Helper {
public:
typedef PullConsumer_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_PullConsumer, PullConsumer_Helper> PullConsumer_var;
typedef _CORBA_ObjRef_OUT_arg<_objref_PullConsumer,PullConsumer_Helper > PullConsumer_out;
#endif
// interface PullConsumer
class PullConsumer {
public:
// Declarations for this interface type.
typedef PullConsumer_ptr _ptr_type;
typedef PullConsumer_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_PullConsumer :
public virtual ::CORBA::Object,
public virtual omniObjRef
{
public:
void disconnect_pull_consumer();
inline _objref_PullConsumer() { _PR_setobj(0); } // nil
_objref_PullConsumer(omniIOR*, omniIdentity*);
protected:
virtual ~_objref_PullConsumer();
private:
virtual void* _ptrToObjRef(const char*);
_objref_PullConsumer(const _objref_PullConsumer&);
_objref_PullConsumer& operator = (const _objref_PullConsumer&);
// not implemented
friend class PullConsumer;
};
class _pof_PullConsumer : public _OMNI_NS(proxyObjectFactory) {
public:
inline _pof_PullConsumer() : _OMNI_NS(proxyObjectFactory)(PullConsumer::_PD_repoId) {}
virtual ~_pof_PullConsumer();
virtual omniObjRef* newObjRef(omniIOR*,omniIdentity*);
virtual _CORBA_Boolean is_a(const char*) const;
};
class _impl_PullConsumer :
public virtual omniServant
{
public:
virtual ~_impl_PullConsumer();
virtual void disconnect_pull_consumer() = 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_PullConsumer;
_CORBA_MODULE_END
_CORBA_MODULE POA_CosEventComm
_CORBA_MODULE_BEG
class PushConsumer :
public virtual CosEventComm::_impl_PushConsumer,
public virtual ::PortableServer::ServantBase
{
public:
virtual ~PushConsumer();
inline ::CosEventComm::PushConsumer_ptr _this() {
return (::CosEventComm::PushConsumer_ptr) _do_this(::CosEventComm::PushConsumer::_PD_repoId);
}
};
class PushSupplier :
public virtual CosEventComm::_impl_PushSupplier,
public virtual ::PortableServer::ServantBase
{
public:
virtual ~PushSupplier();
inline ::CosEventComm::PushSupplier_ptr _this() {
return (::CosEventComm::PushSupplier_ptr) _do_this(::CosEventComm::PushSupplier::_PD_repoId);
}
};
class PullSupplier :
public virtual CosEventComm::_impl_PullSupplier,
public virtual ::PortableServer::ServantBase
{
public:
virtual ~PullSupplier();
inline ::CosEventComm::PullSupplier_ptr _this() {
return (::CosEventComm::PullSupplier_ptr) _do_this(::CosEventComm::PullSupplier::_PD_repoId);
}
};
class PullConsumer :
public virtual CosEventComm::_impl_PullConsumer,
public virtual ::PortableServer::ServantBase
{
public:
virtual ~PullConsumer();
inline ::CosEventComm::PullConsumer_ptr _this() {
return (::CosEventComm::PullConsumer_ptr) _do_this(::CosEventComm::PullConsumer::_PD_repoId);
}
};
_CORBA_MODULE_END
_CORBA_MODULE OBV_CosEventComm
_CORBA_MODULE_BEG
_CORBA_MODULE_END
#undef _core_attr
#undef _dyn_attr
void operator<<=(::CORBA::Any& _a, const CosEventComm::Disconnected& _s);
void operator<<=(::CORBA::Any& _a, const CosEventComm::Disconnected* _sp);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, const CosEventComm::Disconnected*& _sp);
void operator<<=(::CORBA::Any& _a, CosEventComm::PushConsumer_ptr _s);
void operator<<=(::CORBA::Any& _a, CosEventComm::PushConsumer_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, CosEventComm::PushConsumer_ptr& _s);
void operator<<=(::CORBA::Any& _a, CosEventComm::PushSupplier_ptr _s);
void operator<<=(::CORBA::Any& _a, CosEventComm::PushSupplier_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, CosEventComm::PushSupplier_ptr& _s);
void operator<<=(::CORBA::Any& _a, CosEventComm::PullSupplier_ptr _s);
void operator<<=(::CORBA::Any& _a, CosEventComm::PullSupplier_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, CosEventComm::PullSupplier_ptr& _s);
void operator<<=(::CORBA::Any& _a, CosEventComm::PullConsumer_ptr _s);
void operator<<=(::CORBA::Any& _a, CosEventComm::PullConsumer_ptr* _s);
_CORBA_Boolean operator>>=(const ::CORBA::Any& _a, CosEventComm::PullConsumer_ptr& _s);
inline void
CosEventComm::PushConsumer::_marshalObjRef(::CosEventComm::PushConsumer_ptr obj, cdrStream& s) {
omniObjRef::_marshal(obj->_PR_getobj(),s);
}
inline void
CosEventComm::PushSupplier::_marshalObjRef(::CosEventComm::PushSupplier_ptr obj, cdrStream& s) {
omniObjRef::_marshal(obj->_PR_getobj(),s);
}
inline void
CosEventComm::PullSupplier::_marshalObjRef(::CosEventComm::PullSupplier_ptr obj, cdrStream& s) {
omniObjRef::_marshal(obj->_PR_getobj(),s);
}
inline void
CosEventComm::PullConsumer::_marshalObjRef(::CosEventComm::PullConsumer_ptr obj, cdrStream& s) {
omniObjRef::_marshal(obj->_PR_getobj(),s);
}
#ifdef USE_stub_in_nt_dll_NOT_DEFINED_CosEventComm
# undef USE_stub_in_nt_dll
# undef USE_stub_in_nt_dll_NOT_DEFINED_CosEventComm
#endif
#ifdef USE_core_stub_in_nt_dll_NOT_DEFINED_CosEventComm
# undef USE_core_stub_in_nt_dll
# undef USE_core_stub_in_nt_dll_NOT_DEFINED_CosEventComm
#endif
#ifdef USE_dyn_stub_in_nt_dll_NOT_DEFINED_CosEventComm
# undef USE_dyn_stub_in_nt_dll
# undef USE_dyn_stub_in_nt_dll_NOT_DEFINED_CosEventComm
#endif
#endif // __CosEventComm_hh__
|