// -*- C++ -*-
/**
 * Code generated by the The ACE ORB (TAO) IDL Compiler v4.0.0
 * TAO and the TAO IDL Compiler have been developed by:
 *       Center for Distributed Object Computing
 *       Washington University
 *       St. Louis, MO
 *       USA
 * and
 *       Distributed Object Computing Laboratory
 *       University of California at Irvine
 *       Irvine, CA
 *       USA
 * and
 *       Institute for Software Integrated Systems
 *       Vanderbilt University
 *       Nashville, TN
 *       USA
 *       https://www.isis.vanderbilt.edu/
 *
 * Information about TAO is available at:
 *     https://www.dre.vanderbilt.edu/~schmidt/TAO.html
 **/

// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_codegen.cpp:691

#ifndef _TAO_IDL_COSTYPEDEVENTCHANNELADMINS_T_WIDAQT_CPP_
#define _TAO_IDL_COSTYPEDEVENTCHANNELADMINS_T_WIDAQT_CPP_

#include "CosTypedEventChannelAdminS_T.h"
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/tie_ss.cpp:78

template <class T>
POA_CosTypedEventChannelAdmin::TypedProxyPushConsumer_tie<T>::TypedProxyPushConsumer_tie (T &t)
  : ptr_ (std::addressof(t)),
    poa_ (::PortableServer::POA::_nil ()),
    rel_ (false)
{}

template <class T>
POA_CosTypedEventChannelAdmin::TypedProxyPushConsumer_tie<T>::TypedProxyPushConsumer_tie (T &t, ::PortableServer::POA_ptr poa)
  : ptr_ (std::addressof(t)),
    poa_ (::PortableServer::POA::_duplicate (poa)),
    rel_ (false)
{}

template <class T>
POA_CosTypedEventChannelAdmin::TypedProxyPushConsumer_tie<T>::TypedProxyPushConsumer_tie (T *tp, ::CORBA::Boolean release)
  : ptr_ (tp),
    poa_ (::PortableServer::POA::_nil ()),
    rel_ (release)
{}

template <class T>
POA_CosTypedEventChannelAdmin::TypedProxyPushConsumer_tie<T>::TypedProxyPushConsumer_tie (T *tp, ::PortableServer::POA_ptr poa, ::CORBA::Boolean release)
  : ptr_ (tp),
    poa_ (::PortableServer::POA::_duplicate (poa)),
    rel_ (release)
{}

template <class T>
POA_CosTypedEventChannelAdmin::TypedProxyPushConsumer_tie<T>::~TypedProxyPushConsumer_tie ()
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
}

template <class T> T *
POA_CosTypedEventChannelAdmin::TypedProxyPushConsumer_tie<T>::_tied_object ()
{
  return this->ptr_;
}

template <class T> void
POA_CosTypedEventChannelAdmin::TypedProxyPushConsumer_tie<T>::_tied_object (T &obj)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
  
  this->ptr_ = std::addressof(obj);
  this->rel_ = false;
}

template <class T> void
POA_CosTypedEventChannelAdmin::TypedProxyPushConsumer_tie<T>::_tied_object (T *obj, ::CORBA::Boolean release)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
  
  this->ptr_ = obj;
  this->rel_ = release;
}

template <class T>  ::CORBA::Boolean
POA_CosTypedEventChannelAdmin::TypedProxyPushConsumer_tie<T>::_is_owner ()
{
  return this->rel_;
}

template <class T> void
POA_CosTypedEventChannelAdmin::TypedProxyPushConsumer_tie<T>::_is_owner (::CORBA::Boolean b)
{
  this->rel_ = b;
}

template <class T> PortableServer::POA_ptr
POA_CosTypedEventChannelAdmin::TypedProxyPushConsumer_tie<T>::_default_POA ()
{
  if (! ::CORBA::is_nil (this->poa_.in ()))
    {
      return ::PortableServer::POA::_duplicate (this->poa_.in ());
    }
  
  return this->TypedProxyPushConsumer::_default_POA ();
}
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_operation/tie_ss.cpp:91

template <class T>
void POA_CosTypedEventChannelAdmin::TypedProxyPushConsumer_tie<T>::push  (
  const ::CORBA::Any & data)
{
  this->ptr_->push (
    data
  );
}
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_operation/tie_ss.cpp:91

template <class T>
void POA_CosTypedEventChannelAdmin::TypedProxyPushConsumer_tie<T>::disconnect_push_consumer  ()
{
  this->ptr_->disconnect_push_consumer (
  );
}
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_operation/tie_ss.cpp:91

template <class T>
void POA_CosTypedEventChannelAdmin::TypedProxyPushConsumer_tie<T>::connect_push_supplier  (
  ::CosEventComm::PushSupplier_ptr push_supplier)
{
  this->ptr_->connect_push_supplier (
    push_supplier
  );
}
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_operation/tie_ss.cpp:91

template <class T>
::CORBA::Object_ptr POA_CosTypedEventChannelAdmin::TypedProxyPushConsumer_tie<T>::get_typed_consumer  ()
{
  return this->ptr_->get_typed_consumer (
  );
}
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/tie_ss.cpp:78

template <class T>
POA_CosTypedEventChannelAdmin::TypedProxyPullSupplier_tie<T>::TypedProxyPullSupplier_tie (T &t)
  : ptr_ (std::addressof(t)),
    poa_ (::PortableServer::POA::_nil ()),
    rel_ (false)
{}

template <class T>
POA_CosTypedEventChannelAdmin::TypedProxyPullSupplier_tie<T>::TypedProxyPullSupplier_tie (T &t, ::PortableServer::POA_ptr poa)
  : ptr_ (std::addressof(t)),
    poa_ (::PortableServer::POA::_duplicate (poa)),
    rel_ (false)
{}

template <class T>
POA_CosTypedEventChannelAdmin::TypedProxyPullSupplier_tie<T>::TypedProxyPullSupplier_tie (T *tp, ::CORBA::Boolean release)
  : ptr_ (tp),
    poa_ (::PortableServer::POA::_nil ()),
    rel_ (release)
{}

template <class T>
POA_CosTypedEventChannelAdmin::TypedProxyPullSupplier_tie<T>::TypedProxyPullSupplier_tie (T *tp, ::PortableServer::POA_ptr poa, ::CORBA::Boolean release)
  : ptr_ (tp),
    poa_ (::PortableServer::POA::_duplicate (poa)),
    rel_ (release)
{}

template <class T>
POA_CosTypedEventChannelAdmin::TypedProxyPullSupplier_tie<T>::~TypedProxyPullSupplier_tie ()
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
}

template <class T> T *
POA_CosTypedEventChannelAdmin::TypedProxyPullSupplier_tie<T>::_tied_object ()
{
  return this->ptr_;
}

template <class T> void
POA_CosTypedEventChannelAdmin::TypedProxyPullSupplier_tie<T>::_tied_object (T &obj)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
  
  this->ptr_ = std::addressof(obj);
  this->rel_ = false;
}

template <class T> void
POA_CosTypedEventChannelAdmin::TypedProxyPullSupplier_tie<T>::_tied_object (T *obj, ::CORBA::Boolean release)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
  
  this->ptr_ = obj;
  this->rel_ = release;
}

template <class T>  ::CORBA::Boolean
POA_CosTypedEventChannelAdmin::TypedProxyPullSupplier_tie<T>::_is_owner ()
{
  return this->rel_;
}

template <class T> void
POA_CosTypedEventChannelAdmin::TypedProxyPullSupplier_tie<T>::_is_owner (::CORBA::Boolean b)
{
  this->rel_ = b;
}

template <class T> PortableServer::POA_ptr
POA_CosTypedEventChannelAdmin::TypedProxyPullSupplier_tie<T>::_default_POA ()
{
  if (! ::CORBA::is_nil (this->poa_.in ()))
    {
      return ::PortableServer::POA::_duplicate (this->poa_.in ());
    }
  
  return this->TypedProxyPullSupplier::_default_POA ();
}
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_operation/tie_ss.cpp:91

template <class T>
::CORBA::Any * POA_CosTypedEventChannelAdmin::TypedProxyPullSupplier_tie<T>::pull  ()
{
  return this->ptr_->pull (
  );
}
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_operation/tie_ss.cpp:91

template <class T>
::CORBA::Any * POA_CosTypedEventChannelAdmin::TypedProxyPullSupplier_tie<T>::try_pull  (
  ::CORBA::Boolean_out has_event)
{
  return this->ptr_->try_pull (
    has_event
  );
}
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_operation/tie_ss.cpp:91

template <class T>
void POA_CosTypedEventChannelAdmin::TypedProxyPullSupplier_tie<T>::disconnect_pull_supplier  ()
{
  this->ptr_->disconnect_pull_supplier (
  );
}
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_operation/tie_ss.cpp:91

template <class T>
void POA_CosTypedEventChannelAdmin::TypedProxyPullSupplier_tie<T>::connect_pull_consumer  (
  ::CosEventComm::PullConsumer_ptr pull_consumer)
{
  this->ptr_->connect_pull_consumer (
    pull_consumer
  );
}
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_operation/tie_ss.cpp:91

template <class T>
::CORBA::Object_ptr POA_CosTypedEventChannelAdmin::TypedProxyPullSupplier_tie<T>::get_typed_supplier  ()
{
  return this->ptr_->get_typed_supplier (
  );
}
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/tie_ss.cpp:78

template <class T>
POA_CosTypedEventChannelAdmin::TypedSupplierAdmin_tie<T>::TypedSupplierAdmin_tie (T &t)
  : ptr_ (std::addressof(t)),
    poa_ (::PortableServer::POA::_nil ()),
    rel_ (false)
{}

template <class T>
POA_CosTypedEventChannelAdmin::TypedSupplierAdmin_tie<T>::TypedSupplierAdmin_tie (T &t, ::PortableServer::POA_ptr poa)
  : ptr_ (std::addressof(t)),
    poa_ (::PortableServer::POA::_duplicate (poa)),
    rel_ (false)
{}

template <class T>
POA_CosTypedEventChannelAdmin::TypedSupplierAdmin_tie<T>::TypedSupplierAdmin_tie (T *tp, ::CORBA::Boolean release)
  : ptr_ (tp),
    poa_ (::PortableServer::POA::_nil ()),
    rel_ (release)
{}

template <class T>
POA_CosTypedEventChannelAdmin::TypedSupplierAdmin_tie<T>::TypedSupplierAdmin_tie (T *tp, ::PortableServer::POA_ptr poa, ::CORBA::Boolean release)
  : ptr_ (tp),
    poa_ (::PortableServer::POA::_duplicate (poa)),
    rel_ (release)
{}

template <class T>
POA_CosTypedEventChannelAdmin::TypedSupplierAdmin_tie<T>::~TypedSupplierAdmin_tie ()
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
}

template <class T> T *
POA_CosTypedEventChannelAdmin::TypedSupplierAdmin_tie<T>::_tied_object ()
{
  return this->ptr_;
}

template <class T> void
POA_CosTypedEventChannelAdmin::TypedSupplierAdmin_tie<T>::_tied_object (T &obj)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
  
  this->ptr_ = std::addressof(obj);
  this->rel_ = false;
}

template <class T> void
POA_CosTypedEventChannelAdmin::TypedSupplierAdmin_tie<T>::_tied_object (T *obj, ::CORBA::Boolean release)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
  
  this->ptr_ = obj;
  this->rel_ = release;
}

template <class T>  ::CORBA::Boolean
POA_CosTypedEventChannelAdmin::TypedSupplierAdmin_tie<T>::_is_owner ()
{
  return this->rel_;
}

template <class T> void
POA_CosTypedEventChannelAdmin::TypedSupplierAdmin_tie<T>::_is_owner (::CORBA::Boolean b)
{
  this->rel_ = b;
}

template <class T> PortableServer::POA_ptr
POA_CosTypedEventChannelAdmin::TypedSupplierAdmin_tie<T>::_default_POA ()
{
  if (! ::CORBA::is_nil (this->poa_.in ()))
    {
      return ::PortableServer::POA::_duplicate (this->poa_.in ());
    }
  
  return this->TypedSupplierAdmin::_default_POA ();
}
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_operation/tie_ss.cpp:91

template <class T>
::CosEventChannelAdmin::ProxyPushConsumer_ptr POA_CosTypedEventChannelAdmin::TypedSupplierAdmin_tie<T>::obtain_push_consumer  ()
{
  return this->ptr_->obtain_push_consumer (
  );
}
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_operation/tie_ss.cpp:91

template <class T>
::CosEventChannelAdmin::ProxyPullConsumer_ptr POA_CosTypedEventChannelAdmin::TypedSupplierAdmin_tie<T>::obtain_pull_consumer  ()
{
  return this->ptr_->obtain_pull_consumer (
  );
}
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_operation/tie_ss.cpp:91

template <class T>
::CosTypedEventChannelAdmin::TypedProxyPushConsumer_ptr POA_CosTypedEventChannelAdmin::TypedSupplierAdmin_tie<T>::obtain_typed_push_consumer  (
  const char * supported_interface)
{
  return this->ptr_->obtain_typed_push_consumer (
    supported_interface
  );
}
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_operation/tie_ss.cpp:91

template <class T>
::CosEventChannelAdmin::ProxyPullConsumer_ptr POA_CosTypedEventChannelAdmin::TypedSupplierAdmin_tie<T>::obtain_typed_pull_consumer  (
  const char * uses_interface)
{
  return this->ptr_->obtain_typed_pull_consumer (
    uses_interface
  );
}
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/tie_ss.cpp:78

template <class T>
POA_CosTypedEventChannelAdmin::TypedConsumerAdmin_tie<T>::TypedConsumerAdmin_tie (T &t)
  : ptr_ (std::addressof(t)),
    poa_ (::PortableServer::POA::_nil ()),
    rel_ (false)
{}

template <class T>
POA_CosTypedEventChannelAdmin::TypedConsumerAdmin_tie<T>::TypedConsumerAdmin_tie (T &t, ::PortableServer::POA_ptr poa)
  : ptr_ (std::addressof(t)),
    poa_ (::PortableServer::POA::_duplicate (poa)),
    rel_ (false)
{}

template <class T>
POA_CosTypedEventChannelAdmin::TypedConsumerAdmin_tie<T>::TypedConsumerAdmin_tie (T *tp, ::CORBA::Boolean release)
  : ptr_ (tp),
    poa_ (::PortableServer::POA::_nil ()),
    rel_ (release)
{}

template <class T>
POA_CosTypedEventChannelAdmin::TypedConsumerAdmin_tie<T>::TypedConsumerAdmin_tie (T *tp, ::PortableServer::POA_ptr poa, ::CORBA::Boolean release)
  : ptr_ (tp),
    poa_ (::PortableServer::POA::_duplicate (poa)),
    rel_ (release)
{}

template <class T>
POA_CosTypedEventChannelAdmin::TypedConsumerAdmin_tie<T>::~TypedConsumerAdmin_tie ()
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
}

template <class T> T *
POA_CosTypedEventChannelAdmin::TypedConsumerAdmin_tie<T>::_tied_object ()
{
  return this->ptr_;
}

template <class T> void
POA_CosTypedEventChannelAdmin::TypedConsumerAdmin_tie<T>::_tied_object (T &obj)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
  
  this->ptr_ = std::addressof(obj);
  this->rel_ = false;
}

template <class T> void
POA_CosTypedEventChannelAdmin::TypedConsumerAdmin_tie<T>::_tied_object (T *obj, ::CORBA::Boolean release)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
  
  this->ptr_ = obj;
  this->rel_ = release;
}

template <class T>  ::CORBA::Boolean
POA_CosTypedEventChannelAdmin::TypedConsumerAdmin_tie<T>::_is_owner ()
{
  return this->rel_;
}

template <class T> void
POA_CosTypedEventChannelAdmin::TypedConsumerAdmin_tie<T>::_is_owner (::CORBA::Boolean b)
{
  this->rel_ = b;
}

template <class T> PortableServer::POA_ptr
POA_CosTypedEventChannelAdmin::TypedConsumerAdmin_tie<T>::_default_POA ()
{
  if (! ::CORBA::is_nil (this->poa_.in ()))
    {
      return ::PortableServer::POA::_duplicate (this->poa_.in ());
    }
  
  return this->TypedConsumerAdmin::_default_POA ();
}
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_operation/tie_ss.cpp:91

template <class T>
::CosEventChannelAdmin::ProxyPushSupplier_ptr POA_CosTypedEventChannelAdmin::TypedConsumerAdmin_tie<T>::obtain_push_supplier  ()
{
  return this->ptr_->obtain_push_supplier (
  );
}
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_operation/tie_ss.cpp:91

template <class T>
::CosEventChannelAdmin::ProxyPullSupplier_ptr POA_CosTypedEventChannelAdmin::TypedConsumerAdmin_tie<T>::obtain_pull_supplier  ()
{
  return this->ptr_->obtain_pull_supplier (
  );
}
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_operation/tie_ss.cpp:91

template <class T>
::CosTypedEventChannelAdmin::TypedProxyPullSupplier_ptr POA_CosTypedEventChannelAdmin::TypedConsumerAdmin_tie<T>::obtain_typed_pull_supplier  (
  const char * supported_interface)
{
  return this->ptr_->obtain_typed_pull_supplier (
    supported_interface
  );
}
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_operation/tie_ss.cpp:91

template <class T>
::CosEventChannelAdmin::ProxyPushSupplier_ptr POA_CosTypedEventChannelAdmin::TypedConsumerAdmin_tie<T>::obtain_typed_push_supplier  (
  const char * uses_interface)
{
  return this->ptr_->obtain_typed_push_supplier (
    uses_interface
  );
}
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_interface/tie_ss.cpp:78

template <class T>
POA_CosTypedEventChannelAdmin::TypedEventChannel_tie<T>::TypedEventChannel_tie (T &t)
  : ptr_ (std::addressof(t)),
    poa_ (::PortableServer::POA::_nil ()),
    rel_ (false)
{}

template <class T>
POA_CosTypedEventChannelAdmin::TypedEventChannel_tie<T>::TypedEventChannel_tie (T &t, ::PortableServer::POA_ptr poa)
  : ptr_ (std::addressof(t)),
    poa_ (::PortableServer::POA::_duplicate (poa)),
    rel_ (false)
{}

template <class T>
POA_CosTypedEventChannelAdmin::TypedEventChannel_tie<T>::TypedEventChannel_tie (T *tp, ::CORBA::Boolean release)
  : ptr_ (tp),
    poa_ (::PortableServer::POA::_nil ()),
    rel_ (release)
{}

template <class T>
POA_CosTypedEventChannelAdmin::TypedEventChannel_tie<T>::TypedEventChannel_tie (T *tp, ::PortableServer::POA_ptr poa, ::CORBA::Boolean release)
  : ptr_ (tp),
    poa_ (::PortableServer::POA::_duplicate (poa)),
    rel_ (release)
{}

template <class T>
POA_CosTypedEventChannelAdmin::TypedEventChannel_tie<T>::~TypedEventChannel_tie ()
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
}

template <class T> T *
POA_CosTypedEventChannelAdmin::TypedEventChannel_tie<T>::_tied_object ()
{
  return this->ptr_;
}

template <class T> void
POA_CosTypedEventChannelAdmin::TypedEventChannel_tie<T>::_tied_object (T &obj)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
  
  this->ptr_ = std::addressof(obj);
  this->rel_ = false;
}

template <class T> void
POA_CosTypedEventChannelAdmin::TypedEventChannel_tie<T>::_tied_object (T *obj, ::CORBA::Boolean release)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
  
  this->ptr_ = obj;
  this->rel_ = release;
}

template <class T>  ::CORBA::Boolean
POA_CosTypedEventChannelAdmin::TypedEventChannel_tie<T>::_is_owner ()
{
  return this->rel_;
}

template <class T> void
POA_CosTypedEventChannelAdmin::TypedEventChannel_tie<T>::_is_owner (::CORBA::Boolean b)
{
  this->rel_ = b;
}

template <class T> PortableServer::POA_ptr
POA_CosTypedEventChannelAdmin::TypedEventChannel_tie<T>::_default_POA ()
{
  if (! ::CORBA::is_nil (this->poa_.in ()))
    {
      return ::PortableServer::POA::_duplicate (this->poa_.in ());
    }
  
  return this->TypedEventChannel::_default_POA ();
}
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_operation/tie_ss.cpp:91

template <class T>
::CosTypedEventChannelAdmin::TypedConsumerAdmin_ptr POA_CosTypedEventChannelAdmin::TypedEventChannel_tie<T>::for_consumers  ()
{
  return this->ptr_->for_consumers (
  );
}
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_operation/tie_ss.cpp:91

template <class T>
::CosTypedEventChannelAdmin::TypedSupplierAdmin_ptr POA_CosTypedEventChannelAdmin::TypedEventChannel_tie<T>::for_suppliers  ()
{
  return this->ptr_->for_suppliers (
  );
}
// TAO_IDL - Generated from
// /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_devel_tao/tao/work/ACE_wrappers/TAO/TAO_IDL/be/be_visitor_operation/tie_ss.cpp:91

template <class T>
void POA_CosTypedEventChannelAdmin::TypedEventChannel_tie<T>::destroy  ()
{
  this->ptr_->destroy (
  );
}
#endif /* ifndef */

