diff options
Diffstat (limited to 'TAO/tao/Pluggable.i')
-rw-r--r-- | TAO/tao/Pluggable.i | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/TAO/tao/Pluggable.i b/TAO/tao/Pluggable.i index 2cf99c90146..934cf4e062d 100644 --- a/TAO/tao/Pluggable.i +++ b/TAO/tao/Pluggable.i @@ -3,33 +3,6 @@ // **************************************************************** -ACE_INLINE TAO_ORB_Core * -TAO_Transport::orb_core (void) const -{ - return this->orb_core_; -} - -ACE_INLINE TAO_Transport_Mux_Strategy * -TAO_Transport::tms (void) const -{ - return tms_; -} - -// Return the Wait strategy used by the Transport. -ACE_INLINE TAO_Wait_Strategy * -TAO_Transport::wait_strategy (void) const -{ - return this->ws_; -} - -ACE_INLINE CORBA::ULong -TAO_Transport::tag (void) const -{ - return this->tag_; -} - -// **************************************************************** - ACE_INLINE TAO_Profile::TAO_Profile (CORBA::ULong tag) : tag_ (tag), @@ -38,40 +11,6 @@ TAO_Profile::TAO_Profile (CORBA::ULong tag) { } -ACE_INLINE CORBA::ULong -TAO_Profile::tag (void) const -{ - return this->tag_; -} - -ACE_INLINE CORBA::ULong -TAO_Profile::_incr_refcnt (void) -{ - // OK, think I got it. When this object is created (guard) the - // lock is automatically acquired (refcount_lock_). Then when - // we leave this method the destructir for guard is called which - // releases the lock! - ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, guard, this->refcount_lock_, 0); - - return this->refcount_++; -} - -ACE_INLINE CORBA::ULong -TAO_Profile::_decr_refcnt (void) -{ - { - ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, mon, this->refcount_lock_, 0); - this->refcount_--; - if (this->refcount_ != 0) - return this->refcount_; - } - - // refcount is 0, so delete us! - // delete will call our ~ destructor which in turn deletes stuff. - delete this; - return 0; -} - ACE_INLINE void TAO_Profile::forward_to (TAO_MProfile *mprofiles) { @@ -89,25 +28,3 @@ TAO_Profile::forward_to_i (void) { return this->forward_to_; } - -// **************************************************************** - -ACE_INLINE CORBA::ULong -TAO_Connector::tag (void) const -{ - return this->tag_; -} - -// **************************************************************** - -ACE_INLINE CORBA::ULong -TAO_Acceptor::tag (void) const -{ - return this->tag_; -} - -ACE_INLINE CORBA::Short -TAO_Acceptor::priority (void) const -{ - return this->priority_; -} |