EC_ProxyConsumer.i

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // EC_ProxyConsumer.i,v 1.10 2005/11/10 06:47:24 ossama Exp
00004 
00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 ACE_INLINE CORBA::Boolean
00008 TAO_EC_ProxyPushConsumer::is_connected_i (void) const
00009 {
00010   return this->connected_;
00011 }
00012 
00013 ACE_INLINE CORBA::Boolean
00014 TAO_EC_ProxyPushConsumer::is_connected (void) const
00015 {
00016   ACE_GUARD_RETURN (ACE_Lock, ace_mon, *this->lock_, 0);
00017 
00018   return this->is_connected_i ();
00019 }
00020 
00021 ACE_INLINE RtecEventComm::PushSupplier_ptr
00022 TAO_EC_ProxyPushConsumer::supplier (void) const
00023 {
00024   ACE_GUARD_RETURN (ACE_Lock, ace_mon, *this->lock_, 0);
00025   return RtecEventComm::PushSupplier::_duplicate (this->supplier_.in ());
00026 }
00027 
00028 ACE_INLINE void
00029 TAO_EC_ProxyPushConsumer::supplier_i (RtecEventComm::PushSupplier_ptr supplier)
00030 {
00031   this->supplier_ = supplier;
00032 }
00033 
00034 ACE_INLINE void
00035 TAO_EC_ProxyPushConsumer::supplier (RtecEventComm::PushSupplier_ptr supplier)
00036 {
00037   ACE_GUARD (ACE_Lock, ace_mon, *this->lock_);
00038 
00039   this->supplier_i (supplier);
00040 }
00041 
00042 ACE_INLINE const RtecEventChannelAdmin::SupplierQOS&
00043 TAO_EC_ProxyPushConsumer::publications (void) const
00044 {
00045   // @@ TODO There should some way to signal errors here.
00046   ACE_GUARD_RETURN (ACE_Lock, ace_mon, *this->lock_, this->qos_);
00047 
00048   return this->qos_;
00049 }
00050 
00051 ACE_INLINE const RtecEventChannelAdmin::SupplierQOS&
00052 TAO_EC_ProxyPushConsumer::publications_i (void) const
00053 {
00054   return this->qos_;
00055 }
00056 
00057 ACE_INLINE TAO_EC_Supplier_Filter *
00058 TAO_EC_ProxyPushConsumer::filter_i (void) const
00059 {
00060   return this->filter_;
00061 }
00062 
00063 // ****************************************************************
00064 
00065 ACE_INLINE int
00066 TAO_EC_ProxyPushConsumer_Guard::locked (void) const
00067 {
00068   return this->locked_;
00069 }
00070 
00071 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Thu Nov 9 13:11:09 2006 for TAO_RTEvent by doxygen 1.3.6