// -*- C++ -*-
//
// $Id$

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


// TAO_IDL - Generated from
// be/be_visitor_interface/tie_si.cpp:96

#if defined (ACE_HAS_USING_KEYWORD)

template <class T> ACE_INLINE
POA_AVStreams::Basic_StreamCtrl_tie<T>::Basic_StreamCtrl_tie (T &t)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_nil ()),
	  rel_ (0)
{}

template <class T> ACE_INLINE
POA_AVStreams::Basic_StreamCtrl_tie<T>::Basic_StreamCtrl_tie (T &t, PortableServer::POA_ptr poa)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_duplicate (poa)),
	  rel_ (0)
{}

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

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

template <class T> ACE_INLINE
POA_AVStreams::Basic_StreamCtrl_tie<T>::~Basic_StreamCtrl_tie (void)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
}

template <class T> ACE_INLINE T *
POA_AVStreams::Basic_StreamCtrl_tie<T>::_tied_object (void)
{
  return this->ptr_;
}

template <class T> ACE_INLINE void
POA_AVStreams::Basic_StreamCtrl_tie<T>::_tied_object (T &obj)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
  
  this->ptr_ = &obj;
  this->rel_ = 0;
}

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

template <class T> ACE_INLINE CORBA::Boolean
POA_AVStreams::Basic_StreamCtrl_tie<T>::_is_owner (void)
{
  return this->rel_;
}

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

template <class T> ACE_INLINE PortableServer::POA_ptr
POA_AVStreams::Basic_StreamCtrl_tie<T>::_default_POA (ACE_ENV_SINGLE_ARG_DECL)
{
  if (!CORBA::is_nil (this->poa_.in ()))
    {
      return PortableServer::POA::_duplicate (this->poa_.in ());
    }
  
  return this->Basic_StreamCtrl::_default_POA (ACE_ENV_SINGLE_ARG_PARAMETER);
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::Basic_StreamCtrl_tie<T>::define_property  (
    const char * property_name,
    const ::CORBA::Any & property_value
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::ConflictingProperty,
    ::CosPropertyService::UnsupportedTypeCode,
    ::CosPropertyService::UnsupportedProperty,
    ::CosPropertyService::ReadOnlyProperty
  ))
{
  this->ptr_->define_property (
    property_name,
    property_value
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::Basic_StreamCtrl_tie<T>::define_properties  (
    const ::CosPropertyService::Properties & nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  this->ptr_->define_properties (
    nproperties
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::ULong POA_AVStreams::Basic_StreamCtrl_tie<T>::get_number_of_properties  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_number_of_properties (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::Basic_StreamCtrl_tie<T>::get_all_property_names  (
    ::CORBA::ULong how_many,
    ::CosPropertyService::PropertyNames_out property_names,
    ::CosPropertyService::PropertyNamesIterator_out rest
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->get_all_property_names (
    how_many,
    property_names,
    rest
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Any * POA_AVStreams::Basic_StreamCtrl_tie<T>::get_property_value  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  return this->ptr_->get_property_value (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::Basic_StreamCtrl_tie<T>::get_properties  (
    const ::CosPropertyService::PropertyNames & property_names,
    ::CosPropertyService::Properties_out nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_properties (
    property_names,
    nproperties
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::Basic_StreamCtrl_tie<T>::get_all_properties  (
    ::CORBA::ULong how_many,
    ::CosPropertyService::Properties_out nproperties,
    ::CosPropertyService::PropertiesIterator_out rest
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->get_all_properties (
    how_many,
    nproperties,
    rest
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::Basic_StreamCtrl_tie<T>::delete_property  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::FixedProperty
  ))
{
  this->ptr_->delete_property (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::Basic_StreamCtrl_tie<T>::delete_properties  (
    const ::CosPropertyService::PropertyNames & property_names
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  this->ptr_->delete_properties (
    property_names
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::Basic_StreamCtrl_tie<T>::delete_all_properties  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->delete_all_properties (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::Basic_StreamCtrl_tie<T>::is_property_defined  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  return this->ptr_->is_property_defined (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::Basic_StreamCtrl_tie<T>::stop  (
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow
  ))
{
  this->ptr_->stop (
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::Basic_StreamCtrl_tie<T>::start  (
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow
  ))
{
  this->ptr_->start (
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::Basic_StreamCtrl_tie<T>::destroy  (
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow
  ))
{
  this->ptr_->destroy (
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::Basic_StreamCtrl_tie<T>::modify_QoS  (
    ::AVStreams::streamQoS & new_qos,
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow,
    ::AVStreams::QoSRequestFailed
  ))
{
  return this->ptr_->modify_QoS (
    new_qos,
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::Basic_StreamCtrl_tie<T>::push_event  (
    const ::AVStreams::streamEvent & the_event
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->push_event (
    the_event
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::Basic_StreamCtrl_tie<T>::set_FPStatus  (
    const ::AVStreams::flowSpec & the_spec,
    const char * fp_name,
    const ::CORBA::Any & fp_settings
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow,
    ::AVStreams::FPError
  ))
{
  this->ptr_->set_FPStatus (
    the_spec,
    fp_name,
    fp_settings
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Object_ptr POA_AVStreams::Basic_StreamCtrl_tie<T>::get_flow_connection  (
    const char * flow_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow,
    ::AVStreams::notSupported
  ))
{
  return this->ptr_->get_flow_connection (
    flow_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::Basic_StreamCtrl_tie<T>::set_flow_connection  (
    const char * flow_name,
    ::CORBA::Object_ptr flow_connection
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow,
    ::AVStreams::notSupported
  ))
{
  this->ptr_->set_flow_connection (
    flow_name,
    flow_connection
    ACE_ENV_ARG_PARAMETER
  );
}

#endif /* ACE_HAS_USING_KEYWORD */

// TAO_IDL - Generated from
// be/be_visitor_interface/tie_si.cpp:96

#if defined (ACE_HAS_USING_KEYWORD)

template <class T> ACE_INLINE
POA_AVStreams::Negotiator_tie<T>::Negotiator_tie (T &t)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_nil ()),
	  rel_ (0)
{}

template <class T> ACE_INLINE
POA_AVStreams::Negotiator_tie<T>::Negotiator_tie (T &t, PortableServer::POA_ptr poa)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_duplicate (poa)),
	  rel_ (0)
{}

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

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

template <class T> ACE_INLINE
POA_AVStreams::Negotiator_tie<T>::~Negotiator_tie (void)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
}

template <class T> ACE_INLINE T *
POA_AVStreams::Negotiator_tie<T>::_tied_object (void)
{
  return this->ptr_;
}

template <class T> ACE_INLINE void
POA_AVStreams::Negotiator_tie<T>::_tied_object (T &obj)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
  
  this->ptr_ = &obj;
  this->rel_ = 0;
}

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

template <class T> ACE_INLINE CORBA::Boolean
POA_AVStreams::Negotiator_tie<T>::_is_owner (void)
{
  return this->rel_;
}

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

template <class T> ACE_INLINE PortableServer::POA_ptr
POA_AVStreams::Negotiator_tie<T>::_default_POA (ACE_ENV_SINGLE_ARG_DECL)
{
  if (!CORBA::is_nil (this->poa_.in ()))
    {
      return PortableServer::POA::_duplicate (this->poa_.in ());
    }
  
  return this->Negotiator::_default_POA (ACE_ENV_SINGLE_ARG_PARAMETER);
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::Negotiator_tie<T>::negotiate  (
    ::AVStreams::Negotiator_ptr remote_negotiator,
    const ::AVStreams::streamQoS & qos_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->negotiate (
    remote_negotiator,
    qos_spec
    ACE_ENV_ARG_PARAMETER
  );
}

#endif /* ACE_HAS_USING_KEYWORD */

// TAO_IDL - Generated from
// be/be_visitor_interface/tie_si.cpp:96

#if defined (ACE_HAS_USING_KEYWORD)

template <class T> ACE_INLINE
POA_AVStreams::StreamCtrl_tie<T>::StreamCtrl_tie (T &t)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_nil ()),
	  rel_ (0)
{}

template <class T> ACE_INLINE
POA_AVStreams::StreamCtrl_tie<T>::StreamCtrl_tie (T &t, PortableServer::POA_ptr poa)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_duplicate (poa)),
	  rel_ (0)
{}

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

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

template <class T> ACE_INLINE
POA_AVStreams::StreamCtrl_tie<T>::~StreamCtrl_tie (void)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
}

template <class T> ACE_INLINE T *
POA_AVStreams::StreamCtrl_tie<T>::_tied_object (void)
{
  return this->ptr_;
}

template <class T> ACE_INLINE void
POA_AVStreams::StreamCtrl_tie<T>::_tied_object (T &obj)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
  
  this->ptr_ = &obj;
  this->rel_ = 0;
}

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

template <class T> ACE_INLINE CORBA::Boolean
POA_AVStreams::StreamCtrl_tie<T>::_is_owner (void)
{
  return this->rel_;
}

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

template <class T> ACE_INLINE PortableServer::POA_ptr
POA_AVStreams::StreamCtrl_tie<T>::_default_POA (ACE_ENV_SINGLE_ARG_DECL)
{
  if (!CORBA::is_nil (this->poa_.in ()))
    {
      return PortableServer::POA::_duplicate (this->poa_.in ());
    }
  
  return this->StreamCtrl::_default_POA (ACE_ENV_SINGLE_ARG_PARAMETER);
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamCtrl_tie<T>::define_property  (
    const char * property_name,
    const ::CORBA::Any & property_value
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::ConflictingProperty,
    ::CosPropertyService::UnsupportedTypeCode,
    ::CosPropertyService::UnsupportedProperty,
    ::CosPropertyService::ReadOnlyProperty
  ))
{
  this->ptr_->define_property (
    property_name,
    property_value
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamCtrl_tie<T>::define_properties  (
    const ::CosPropertyService::Properties & nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  this->ptr_->define_properties (
    nproperties
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::ULong POA_AVStreams::StreamCtrl_tie<T>::get_number_of_properties  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_number_of_properties (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamCtrl_tie<T>::get_all_property_names  (
    ::CORBA::ULong how_many,
    ::CosPropertyService::PropertyNames_out property_names,
    ::CosPropertyService::PropertyNamesIterator_out rest
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->get_all_property_names (
    how_many,
    property_names,
    rest
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Any * POA_AVStreams::StreamCtrl_tie<T>::get_property_value  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  return this->ptr_->get_property_value (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamCtrl_tie<T>::get_properties  (
    const ::CosPropertyService::PropertyNames & property_names,
    ::CosPropertyService::Properties_out nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_properties (
    property_names,
    nproperties
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamCtrl_tie<T>::get_all_properties  (
    ::CORBA::ULong how_many,
    ::CosPropertyService::Properties_out nproperties,
    ::CosPropertyService::PropertiesIterator_out rest
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->get_all_properties (
    how_many,
    nproperties,
    rest
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamCtrl_tie<T>::delete_property  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::FixedProperty
  ))
{
  this->ptr_->delete_property (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamCtrl_tie<T>::delete_properties  (
    const ::CosPropertyService::PropertyNames & property_names
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  this->ptr_->delete_properties (
    property_names
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamCtrl_tie<T>::delete_all_properties  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->delete_all_properties (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamCtrl_tie<T>::is_property_defined  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  return this->ptr_->is_property_defined (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamCtrl_tie<T>::stop  (
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow
  ))
{
  this->ptr_->stop (
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamCtrl_tie<T>::start  (
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow
  ))
{
  this->ptr_->start (
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamCtrl_tie<T>::destroy  (
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow
  ))
{
  this->ptr_->destroy (
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamCtrl_tie<T>::modify_QoS  (
    ::AVStreams::streamQoS & new_qos,
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow,
    ::AVStreams::QoSRequestFailed
  ))
{
  return this->ptr_->modify_QoS (
    new_qos,
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamCtrl_tie<T>::push_event  (
    const ::AVStreams::streamEvent & the_event
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->push_event (
    the_event
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamCtrl_tie<T>::set_FPStatus  (
    const ::AVStreams::flowSpec & the_spec,
    const char * fp_name,
    const ::CORBA::Any & fp_settings
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow,
    ::AVStreams::FPError
  ))
{
  this->ptr_->set_FPStatus (
    the_spec,
    fp_name,
    fp_settings
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Object_ptr POA_AVStreams::StreamCtrl_tie<T>::get_flow_connection  (
    const char * flow_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow,
    ::AVStreams::notSupported
  ))
{
  return this->ptr_->get_flow_connection (
    flow_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamCtrl_tie<T>::set_flow_connection  (
    const char * flow_name,
    ::CORBA::Object_ptr flow_connection
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow,
    ::AVStreams::notSupported
  ))
{
  this->ptr_->set_flow_connection (
    flow_name,
    flow_connection
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamCtrl_tie<T>::bind_devs  (
    ::AVStreams::MMDevice_ptr a_party,
    ::AVStreams::MMDevice_ptr b_party,
    ::AVStreams::streamQoS & the_qos,
    const ::AVStreams::flowSpec & the_flows
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::streamOpFailed,
    ::AVStreams::noSuchFlow,
    ::AVStreams::QoSRequestFailed
  ))
{
  return this->ptr_->bind_devs (
    a_party,
    b_party,
    the_qos,
    the_flows
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamCtrl_tie<T>::bind  (
    ::AVStreams::StreamEndPoint_A_ptr a_party,
    ::AVStreams::StreamEndPoint_B_ptr b_party,
    ::AVStreams::streamQoS & the_qos,
    const ::AVStreams::flowSpec & the_flows
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::streamOpFailed,
    ::AVStreams::noSuchFlow,
    ::AVStreams::QoSRequestFailed
  ))
{
  return this->ptr_->bind (
    a_party,
    b_party,
    the_qos,
    the_flows
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamCtrl_tie<T>::unbind_dev  (
    ::AVStreams::MMDevice_ptr dev,
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::streamOpFailed,
    ::AVStreams::noSuchFlow
  ))
{
  this->ptr_->unbind_dev (
    dev,
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamCtrl_tie<T>::unbind_party  (
    ::AVStreams::StreamEndPoint_ptr the_ep,
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::streamOpFailed,
    ::AVStreams::noSuchFlow
  ))
{
  this->ptr_->unbind_party (
    the_ep,
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamCtrl_tie<T>::unbind  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::streamOpFailed
  ))
{
  this->ptr_->unbind (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
::AVStreams::VDev_ptr POA_AVStreams::StreamCtrl_tie<T>::get_related_vdev  (
    ::AVStreams::MMDevice_ptr adev,
    ::AVStreams::StreamEndPoint_out sep
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::streamOpFailed
  ))
{
  return this->ptr_->get_related_vdev (
    adev,
    sep
    ACE_ENV_ARG_PARAMETER
  );
}

#endif /* ACE_HAS_USING_KEYWORD */

// TAO_IDL - Generated from
// be/be_visitor_interface/tie_si.cpp:96

#if defined (ACE_HAS_USING_KEYWORD)

template <class T> ACE_INLINE
POA_AVStreams::MCastConfigIf_tie<T>::MCastConfigIf_tie (T &t)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_nil ()),
	  rel_ (0)
{}

template <class T> ACE_INLINE
POA_AVStreams::MCastConfigIf_tie<T>::MCastConfigIf_tie (T &t, PortableServer::POA_ptr poa)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_duplicate (poa)),
	  rel_ (0)
{}

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

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

template <class T> ACE_INLINE
POA_AVStreams::MCastConfigIf_tie<T>::~MCastConfigIf_tie (void)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
}

template <class T> ACE_INLINE T *
POA_AVStreams::MCastConfigIf_tie<T>::_tied_object (void)
{
  return this->ptr_;
}

template <class T> ACE_INLINE void
POA_AVStreams::MCastConfigIf_tie<T>::_tied_object (T &obj)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
  
  this->ptr_ = &obj;
  this->rel_ = 0;
}

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

template <class T> ACE_INLINE CORBA::Boolean
POA_AVStreams::MCastConfigIf_tie<T>::_is_owner (void)
{
  return this->rel_;
}

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

template <class T> ACE_INLINE PortableServer::POA_ptr
POA_AVStreams::MCastConfigIf_tie<T>::_default_POA (ACE_ENV_SINGLE_ARG_DECL)
{
  if (!CORBA::is_nil (this->poa_.in ()))
    {
      return PortableServer::POA::_duplicate (this->poa_.in ());
    }
  
  return this->MCastConfigIf::_default_POA (ACE_ENV_SINGLE_ARG_PARAMETER);
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::MCastConfigIf_tie<T>::define_property  (
    const char * property_name,
    const ::CORBA::Any & property_value
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::ConflictingProperty,
    ::CosPropertyService::UnsupportedTypeCode,
    ::CosPropertyService::UnsupportedProperty,
    ::CosPropertyService::ReadOnlyProperty
  ))
{
  this->ptr_->define_property (
    property_name,
    property_value
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::MCastConfigIf_tie<T>::define_properties  (
    const ::CosPropertyService::Properties & nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  this->ptr_->define_properties (
    nproperties
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::ULong POA_AVStreams::MCastConfigIf_tie<T>::get_number_of_properties  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_number_of_properties (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::MCastConfigIf_tie<T>::get_all_property_names  (
    ::CORBA::ULong how_many,
    ::CosPropertyService::PropertyNames_out property_names,
    ::CosPropertyService::PropertyNamesIterator_out rest
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->get_all_property_names (
    how_many,
    property_names,
    rest
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Any * POA_AVStreams::MCastConfigIf_tie<T>::get_property_value  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  return this->ptr_->get_property_value (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::MCastConfigIf_tie<T>::get_properties  (
    const ::CosPropertyService::PropertyNames & property_names,
    ::CosPropertyService::Properties_out nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_properties (
    property_names,
    nproperties
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::MCastConfigIf_tie<T>::get_all_properties  (
    ::CORBA::ULong how_many,
    ::CosPropertyService::Properties_out nproperties,
    ::CosPropertyService::PropertiesIterator_out rest
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->get_all_properties (
    how_many,
    nproperties,
    rest
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::MCastConfigIf_tie<T>::delete_property  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::FixedProperty
  ))
{
  this->ptr_->delete_property (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::MCastConfigIf_tie<T>::delete_properties  (
    const ::CosPropertyService::PropertyNames & property_names
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  this->ptr_->delete_properties (
    property_names
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::MCastConfigIf_tie<T>::delete_all_properties  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->delete_all_properties (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::MCastConfigIf_tie<T>::is_property_defined  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  return this->ptr_->is_property_defined (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::MCastConfigIf_tie<T>::set_peer  (
    ::CORBA::Object_ptr peer,
    ::AVStreams::streamQoS & the_qos,
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::QoSRequestFailed,
    ::AVStreams::streamOpFailed
  ))
{
  return this->ptr_->set_peer (
    peer,
    the_qos,
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::MCastConfigIf_tie<T>::configure  (
    const ::CosPropertyService::Property & a_configuration
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->configure (
    a_configuration
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::MCastConfigIf_tie<T>::set_initial_configuration  (
    const ::CosPropertyService::Properties & initial
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->set_initial_configuration (
    initial
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::MCastConfigIf_tie<T>::set_format  (
    const char * flowName,
    const char * format_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::notSupported
  ))
{
  this->ptr_->set_format (
    flowName,
    format_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::MCastConfigIf_tie<T>::set_dev_params  (
    const char * flowName,
    const ::CosPropertyService::Properties & new_params
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::PropertyException,
    ::AVStreams::streamOpFailed
  ))
{
  this->ptr_->set_dev_params (
    flowName,
    new_params
    ACE_ENV_ARG_PARAMETER
  );
}

#endif /* ACE_HAS_USING_KEYWORD */

// TAO_IDL - Generated from
// be/be_visitor_interface/tie_si.cpp:96

#if defined (ACE_HAS_USING_KEYWORD)

template <class T> ACE_INLINE
POA_AVStreams::StreamEndPoint_tie<T>::StreamEndPoint_tie (T &t)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_nil ()),
	  rel_ (0)
{}

template <class T> ACE_INLINE
POA_AVStreams::StreamEndPoint_tie<T>::StreamEndPoint_tie (T &t, PortableServer::POA_ptr poa)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_duplicate (poa)),
	  rel_ (0)
{}

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

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

template <class T> ACE_INLINE
POA_AVStreams::StreamEndPoint_tie<T>::~StreamEndPoint_tie (void)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
}

template <class T> ACE_INLINE T *
POA_AVStreams::StreamEndPoint_tie<T>::_tied_object (void)
{
  return this->ptr_;
}

template <class T> ACE_INLINE void
POA_AVStreams::StreamEndPoint_tie<T>::_tied_object (T &obj)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
  
  this->ptr_ = &obj;
  this->rel_ = 0;
}

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

template <class T> ACE_INLINE CORBA::Boolean
POA_AVStreams::StreamEndPoint_tie<T>::_is_owner (void)
{
  return this->rel_;
}

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

template <class T> ACE_INLINE PortableServer::POA_ptr
POA_AVStreams::StreamEndPoint_tie<T>::_default_POA (ACE_ENV_SINGLE_ARG_DECL)
{
  if (!CORBA::is_nil (this->poa_.in ()))
    {
      return PortableServer::POA::_duplicate (this->poa_.in ());
    }
  
  return this->StreamEndPoint::_default_POA (ACE_ENV_SINGLE_ARG_PARAMETER);
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_tie<T>::define_property  (
    const char * property_name,
    const ::CORBA::Any & property_value
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::ConflictingProperty,
    ::CosPropertyService::UnsupportedTypeCode,
    ::CosPropertyService::UnsupportedProperty,
    ::CosPropertyService::ReadOnlyProperty
  ))
{
  this->ptr_->define_property (
    property_name,
    property_value
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_tie<T>::define_properties  (
    const ::CosPropertyService::Properties & nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  this->ptr_->define_properties (
    nproperties
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::ULong POA_AVStreams::StreamEndPoint_tie<T>::get_number_of_properties  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_number_of_properties (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_tie<T>::get_all_property_names  (
    ::CORBA::ULong how_many,
    ::CosPropertyService::PropertyNames_out property_names,
    ::CosPropertyService::PropertyNamesIterator_out rest
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->get_all_property_names (
    how_many,
    property_names,
    rest
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Any * POA_AVStreams::StreamEndPoint_tie<T>::get_property_value  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  return this->ptr_->get_property_value (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamEndPoint_tie<T>::get_properties  (
    const ::CosPropertyService::PropertyNames & property_names,
    ::CosPropertyService::Properties_out nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_properties (
    property_names,
    nproperties
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_tie<T>::get_all_properties  (
    ::CORBA::ULong how_many,
    ::CosPropertyService::Properties_out nproperties,
    ::CosPropertyService::PropertiesIterator_out rest
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->get_all_properties (
    how_many,
    nproperties,
    rest
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_tie<T>::delete_property  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::FixedProperty
  ))
{
  this->ptr_->delete_property (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_tie<T>::delete_properties  (
    const ::CosPropertyService::PropertyNames & property_names
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  this->ptr_->delete_properties (
    property_names
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamEndPoint_tie<T>::delete_all_properties  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->delete_all_properties (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamEndPoint_tie<T>::is_property_defined  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  return this->ptr_->is_property_defined (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_tie<T>::stop  (
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow
  ))
{
  this->ptr_->stop (
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_tie<T>::start  (
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow
  ))
{
  this->ptr_->start (
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_tie<T>::destroy  (
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow
  ))
{
  this->ptr_->destroy (
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamEndPoint_tie<T>::connect  (
    ::AVStreams::StreamEndPoint_ptr responder,
    ::AVStreams::streamQoS & qos_spec,
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow,
    ::AVStreams::QoSRequestFailed,
    ::AVStreams::streamOpFailed
  ))
{
  return this->ptr_->connect (
    responder,
    qos_spec,
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamEndPoint_tie<T>::request_connection  (
    ::AVStreams::StreamEndPoint_ptr initiator,
    ::CORBA::Boolean is_mcast,
    ::AVStreams::streamQoS & qos,
    ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::streamOpDenied,
    ::AVStreams::noSuchFlow,
    ::AVStreams::QoSRequestFailed,
    ::AVStreams::FPError
  ))
{
  return this->ptr_->request_connection (
    initiator,
    is_mcast,
    qos,
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamEndPoint_tie<T>::modify_QoS  (
    ::AVStreams::streamQoS & new_qos,
    const ::AVStreams::flowSpec & the_flows
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow,
    ::AVStreams::QoSRequestFailed
  ))
{
  return this->ptr_->modify_QoS (
    new_qos,
    the_flows
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamEndPoint_tie<T>::set_protocol_restriction  (
    const ::AVStreams::protocolSpec & the_pspec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->set_protocol_restriction (
    the_pspec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_tie<T>::disconnect  (
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow,
    ::AVStreams::streamOpFailed
  ))
{
  this->ptr_->disconnect (
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_tie<T>::set_FPStatus  (
    const ::AVStreams::flowSpec & the_spec,
    const char * fp_name,
    const ::CORBA::Any & fp_settings
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow,
    ::AVStreams::FPError
  ))
{
  this->ptr_->set_FPStatus (
    the_spec,
    fp_name,
    fp_settings
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Object_ptr POA_AVStreams::StreamEndPoint_tie<T>::get_fep  (
    const char * flow_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::notSupported,
    ::AVStreams::noSuchFlow
  ))
{
  return this->ptr_->get_fep (
    flow_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
char * POA_AVStreams::StreamEndPoint_tie<T>::add_fep  (
    ::CORBA::Object_ptr the_fep
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::notSupported,
    ::AVStreams::streamOpFailed
  ))
{
  return this->ptr_->add_fep (
    the_fep
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_tie<T>::remove_fep  (
    const char * fep_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::notSupported,
    ::AVStreams::streamOpFailed
  ))
{
  this->ptr_->remove_fep (
    fep_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_tie<T>::set_negotiator  (
    ::AVStreams::Negotiator_ptr new_negotiator
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->set_negotiator (
    new_negotiator
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_tie<T>::set_key  (
    const char * flow_name,
    const ::AVStreams::key & the_key
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->set_key (
    flow_name,
    the_key
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_tie<T>::set_source_id  (
    ::CORBA::Long source_id
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->set_source_id (
    source_id
    ACE_ENV_ARG_PARAMETER
  );
}

#endif /* ACE_HAS_USING_KEYWORD */

// TAO_IDL - Generated from
// be/be_visitor_interface/tie_si.cpp:96

#if defined (ACE_HAS_USING_KEYWORD)

template <class T> ACE_INLINE
POA_AVStreams::StreamEndPoint_A_tie<T>::StreamEndPoint_A_tie (T &t)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_nil ()),
	  rel_ (0)
{}

template <class T> ACE_INLINE
POA_AVStreams::StreamEndPoint_A_tie<T>::StreamEndPoint_A_tie (T &t, PortableServer::POA_ptr poa)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_duplicate (poa)),
	  rel_ (0)
{}

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

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

template <class T> ACE_INLINE
POA_AVStreams::StreamEndPoint_A_tie<T>::~StreamEndPoint_A_tie (void)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
}

template <class T> ACE_INLINE T *
POA_AVStreams::StreamEndPoint_A_tie<T>::_tied_object (void)
{
  return this->ptr_;
}

template <class T> ACE_INLINE void
POA_AVStreams::StreamEndPoint_A_tie<T>::_tied_object (T &obj)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
  
  this->ptr_ = &obj;
  this->rel_ = 0;
}

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

template <class T> ACE_INLINE CORBA::Boolean
POA_AVStreams::StreamEndPoint_A_tie<T>::_is_owner (void)
{
  return this->rel_;
}

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

template <class T> ACE_INLINE PortableServer::POA_ptr
POA_AVStreams::StreamEndPoint_A_tie<T>::_default_POA (ACE_ENV_SINGLE_ARG_DECL)
{
  if (!CORBA::is_nil (this->poa_.in ()))
    {
      return PortableServer::POA::_duplicate (this->poa_.in ());
    }
  
  return this->StreamEndPoint_A::_default_POA (ACE_ENV_SINGLE_ARG_PARAMETER);
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_A_tie<T>::define_property  (
    const char * property_name,
    const ::CORBA::Any & property_value
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::ConflictingProperty,
    ::CosPropertyService::UnsupportedTypeCode,
    ::CosPropertyService::UnsupportedProperty,
    ::CosPropertyService::ReadOnlyProperty
  ))
{
  this->ptr_->define_property (
    property_name,
    property_value
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_A_tie<T>::define_properties  (
    const ::CosPropertyService::Properties & nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  this->ptr_->define_properties (
    nproperties
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::ULong POA_AVStreams::StreamEndPoint_A_tie<T>::get_number_of_properties  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_number_of_properties (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_A_tie<T>::get_all_property_names  (
    ::CORBA::ULong how_many,
    ::CosPropertyService::PropertyNames_out property_names,
    ::CosPropertyService::PropertyNamesIterator_out rest
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->get_all_property_names (
    how_many,
    property_names,
    rest
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Any * POA_AVStreams::StreamEndPoint_A_tie<T>::get_property_value  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  return this->ptr_->get_property_value (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamEndPoint_A_tie<T>::get_properties  (
    const ::CosPropertyService::PropertyNames & property_names,
    ::CosPropertyService::Properties_out nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_properties (
    property_names,
    nproperties
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_A_tie<T>::get_all_properties  (
    ::CORBA::ULong how_many,
    ::CosPropertyService::Properties_out nproperties,
    ::CosPropertyService::PropertiesIterator_out rest
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->get_all_properties (
    how_many,
    nproperties,
    rest
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_A_tie<T>::delete_property  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::FixedProperty
  ))
{
  this->ptr_->delete_property (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_A_tie<T>::delete_properties  (
    const ::CosPropertyService::PropertyNames & property_names
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  this->ptr_->delete_properties (
    property_names
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamEndPoint_A_tie<T>::delete_all_properties  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->delete_all_properties (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamEndPoint_A_tie<T>::is_property_defined  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  return this->ptr_->is_property_defined (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_A_tie<T>::stop  (
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow
  ))
{
  this->ptr_->stop (
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_A_tie<T>::start  (
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow
  ))
{
  this->ptr_->start (
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_A_tie<T>::destroy  (
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow
  ))
{
  this->ptr_->destroy (
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamEndPoint_A_tie<T>::connect  (
    ::AVStreams::StreamEndPoint_ptr responder,
    ::AVStreams::streamQoS & qos_spec,
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow,
    ::AVStreams::QoSRequestFailed,
    ::AVStreams::streamOpFailed
  ))
{
  return this->ptr_->connect (
    responder,
    qos_spec,
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamEndPoint_A_tie<T>::request_connection  (
    ::AVStreams::StreamEndPoint_ptr initiator,
    ::CORBA::Boolean is_mcast,
    ::AVStreams::streamQoS & qos,
    ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::streamOpDenied,
    ::AVStreams::noSuchFlow,
    ::AVStreams::QoSRequestFailed,
    ::AVStreams::FPError
  ))
{
  return this->ptr_->request_connection (
    initiator,
    is_mcast,
    qos,
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamEndPoint_A_tie<T>::modify_QoS  (
    ::AVStreams::streamQoS & new_qos,
    const ::AVStreams::flowSpec & the_flows
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow,
    ::AVStreams::QoSRequestFailed
  ))
{
  return this->ptr_->modify_QoS (
    new_qos,
    the_flows
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamEndPoint_A_tie<T>::set_protocol_restriction  (
    const ::AVStreams::protocolSpec & the_pspec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->set_protocol_restriction (
    the_pspec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_A_tie<T>::disconnect  (
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow,
    ::AVStreams::streamOpFailed
  ))
{
  this->ptr_->disconnect (
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_A_tie<T>::set_FPStatus  (
    const ::AVStreams::flowSpec & the_spec,
    const char * fp_name,
    const ::CORBA::Any & fp_settings
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow,
    ::AVStreams::FPError
  ))
{
  this->ptr_->set_FPStatus (
    the_spec,
    fp_name,
    fp_settings
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Object_ptr POA_AVStreams::StreamEndPoint_A_tie<T>::get_fep  (
    const char * flow_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::notSupported,
    ::AVStreams::noSuchFlow
  ))
{
  return this->ptr_->get_fep (
    flow_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
char * POA_AVStreams::StreamEndPoint_A_tie<T>::add_fep  (
    ::CORBA::Object_ptr the_fep
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::notSupported,
    ::AVStreams::streamOpFailed
  ))
{
  return this->ptr_->add_fep (
    the_fep
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_A_tie<T>::remove_fep  (
    const char * fep_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::notSupported,
    ::AVStreams::streamOpFailed
  ))
{
  this->ptr_->remove_fep (
    fep_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_A_tie<T>::set_negotiator  (
    ::AVStreams::Negotiator_ptr new_negotiator
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->set_negotiator (
    new_negotiator
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_A_tie<T>::set_key  (
    const char * flow_name,
    const ::AVStreams::key & the_key
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->set_key (
    flow_name,
    the_key
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_A_tie<T>::set_source_id  (
    ::CORBA::Long source_id
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->set_source_id (
    source_id
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamEndPoint_A_tie<T>::multiconnect  (
    ::AVStreams::streamQoS & the_qos,
    ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow,
    ::AVStreams::QoSRequestFailed,
    ::AVStreams::streamOpFailed
  ))
{
  return this->ptr_->multiconnect (
    the_qos,
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamEndPoint_A_tie<T>::connect_leaf  (
    ::AVStreams::StreamEndPoint_B_ptr the_ep,
    ::AVStreams::streamQoS & the_qos,
    const ::AVStreams::flowSpec & the_flows
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::streamOpFailed,
    ::AVStreams::noSuchFlow,
    ::AVStreams::QoSRequestFailed,
    ::AVStreams::notSupported
  ))
{
  return this->ptr_->connect_leaf (
    the_ep,
    the_qos,
    the_flows
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_A_tie<T>::disconnect_leaf  (
    ::AVStreams::StreamEndPoint_B_ptr the_ep,
    const ::AVStreams::flowSpec & theSpec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::streamOpFailed,
    ::AVStreams::noSuchFlow,
    ::AVStreams::notSupported
  ))
{
  this->ptr_->disconnect_leaf (
    the_ep,
    theSpec
    ACE_ENV_ARG_PARAMETER
  );
}

#endif /* ACE_HAS_USING_KEYWORD */

// TAO_IDL - Generated from
// be/be_visitor_interface/tie_si.cpp:96

#if defined (ACE_HAS_USING_KEYWORD)

template <class T> ACE_INLINE
POA_AVStreams::StreamEndPoint_B_tie<T>::StreamEndPoint_B_tie (T &t)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_nil ()),
	  rel_ (0)
{}

template <class T> ACE_INLINE
POA_AVStreams::StreamEndPoint_B_tie<T>::StreamEndPoint_B_tie (T &t, PortableServer::POA_ptr poa)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_duplicate (poa)),
	  rel_ (0)
{}

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

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

template <class T> ACE_INLINE
POA_AVStreams::StreamEndPoint_B_tie<T>::~StreamEndPoint_B_tie (void)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
}

template <class T> ACE_INLINE T *
POA_AVStreams::StreamEndPoint_B_tie<T>::_tied_object (void)
{
  return this->ptr_;
}

template <class T> ACE_INLINE void
POA_AVStreams::StreamEndPoint_B_tie<T>::_tied_object (T &obj)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
  
  this->ptr_ = &obj;
  this->rel_ = 0;
}

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

template <class T> ACE_INLINE CORBA::Boolean
POA_AVStreams::StreamEndPoint_B_tie<T>::_is_owner (void)
{
  return this->rel_;
}

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

template <class T> ACE_INLINE PortableServer::POA_ptr
POA_AVStreams::StreamEndPoint_B_tie<T>::_default_POA (ACE_ENV_SINGLE_ARG_DECL)
{
  if (!CORBA::is_nil (this->poa_.in ()))
    {
      return PortableServer::POA::_duplicate (this->poa_.in ());
    }
  
  return this->StreamEndPoint_B::_default_POA (ACE_ENV_SINGLE_ARG_PARAMETER);
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_B_tie<T>::define_property  (
    const char * property_name,
    const ::CORBA::Any & property_value
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::ConflictingProperty,
    ::CosPropertyService::UnsupportedTypeCode,
    ::CosPropertyService::UnsupportedProperty,
    ::CosPropertyService::ReadOnlyProperty
  ))
{
  this->ptr_->define_property (
    property_name,
    property_value
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_B_tie<T>::define_properties  (
    const ::CosPropertyService::Properties & nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  this->ptr_->define_properties (
    nproperties
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::ULong POA_AVStreams::StreamEndPoint_B_tie<T>::get_number_of_properties  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_number_of_properties (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_B_tie<T>::get_all_property_names  (
    ::CORBA::ULong how_many,
    ::CosPropertyService::PropertyNames_out property_names,
    ::CosPropertyService::PropertyNamesIterator_out rest
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->get_all_property_names (
    how_many,
    property_names,
    rest
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Any * POA_AVStreams::StreamEndPoint_B_tie<T>::get_property_value  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  return this->ptr_->get_property_value (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamEndPoint_B_tie<T>::get_properties  (
    const ::CosPropertyService::PropertyNames & property_names,
    ::CosPropertyService::Properties_out nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_properties (
    property_names,
    nproperties
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_B_tie<T>::get_all_properties  (
    ::CORBA::ULong how_many,
    ::CosPropertyService::Properties_out nproperties,
    ::CosPropertyService::PropertiesIterator_out rest
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->get_all_properties (
    how_many,
    nproperties,
    rest
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_B_tie<T>::delete_property  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::FixedProperty
  ))
{
  this->ptr_->delete_property (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_B_tie<T>::delete_properties  (
    const ::CosPropertyService::PropertyNames & property_names
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  this->ptr_->delete_properties (
    property_names
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamEndPoint_B_tie<T>::delete_all_properties  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->delete_all_properties (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamEndPoint_B_tie<T>::is_property_defined  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  return this->ptr_->is_property_defined (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_B_tie<T>::stop  (
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow
  ))
{
  this->ptr_->stop (
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_B_tie<T>::start  (
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow
  ))
{
  this->ptr_->start (
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_B_tie<T>::destroy  (
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow
  ))
{
  this->ptr_->destroy (
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamEndPoint_B_tie<T>::connect  (
    ::AVStreams::StreamEndPoint_ptr responder,
    ::AVStreams::streamQoS & qos_spec,
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow,
    ::AVStreams::QoSRequestFailed,
    ::AVStreams::streamOpFailed
  ))
{
  return this->ptr_->connect (
    responder,
    qos_spec,
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamEndPoint_B_tie<T>::request_connection  (
    ::AVStreams::StreamEndPoint_ptr initiator,
    ::CORBA::Boolean is_mcast,
    ::AVStreams::streamQoS & qos,
    ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::streamOpDenied,
    ::AVStreams::noSuchFlow,
    ::AVStreams::QoSRequestFailed,
    ::AVStreams::FPError
  ))
{
  return this->ptr_->request_connection (
    initiator,
    is_mcast,
    qos,
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamEndPoint_B_tie<T>::modify_QoS  (
    ::AVStreams::streamQoS & new_qos,
    const ::AVStreams::flowSpec & the_flows
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow,
    ::AVStreams::QoSRequestFailed
  ))
{
  return this->ptr_->modify_QoS (
    new_qos,
    the_flows
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamEndPoint_B_tie<T>::set_protocol_restriction  (
    const ::AVStreams::protocolSpec & the_pspec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->set_protocol_restriction (
    the_pspec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_B_tie<T>::disconnect  (
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow,
    ::AVStreams::streamOpFailed
  ))
{
  this->ptr_->disconnect (
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_B_tie<T>::set_FPStatus  (
    const ::AVStreams::flowSpec & the_spec,
    const char * fp_name,
    const ::CORBA::Any & fp_settings
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow,
    ::AVStreams::FPError
  ))
{
  this->ptr_->set_FPStatus (
    the_spec,
    fp_name,
    fp_settings
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Object_ptr POA_AVStreams::StreamEndPoint_B_tie<T>::get_fep  (
    const char * flow_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::notSupported,
    ::AVStreams::noSuchFlow
  ))
{
  return this->ptr_->get_fep (
    flow_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
char * POA_AVStreams::StreamEndPoint_B_tie<T>::add_fep  (
    ::CORBA::Object_ptr the_fep
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::notSupported,
    ::AVStreams::streamOpFailed
  ))
{
  return this->ptr_->add_fep (
    the_fep
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_B_tie<T>::remove_fep  (
    const char * fep_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::notSupported,
    ::AVStreams::streamOpFailed
  ))
{
  this->ptr_->remove_fep (
    fep_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_B_tie<T>::set_negotiator  (
    ::AVStreams::Negotiator_ptr new_negotiator
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->set_negotiator (
    new_negotiator
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_B_tie<T>::set_key  (
    const char * flow_name,
    const ::AVStreams::key & the_key
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->set_key (
    flow_name,
    the_key
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::StreamEndPoint_B_tie<T>::set_source_id  (
    ::CORBA::Long source_id
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->set_source_id (
    source_id
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::StreamEndPoint_B_tie<T>::multiconnect  (
    ::AVStreams::streamQoS & the_qos,
    ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::streamOpFailed,
    ::AVStreams::noSuchFlow,
    ::AVStreams::QoSRequestFailed,
    ::AVStreams::FPError
  ))
{
  return this->ptr_->multiconnect (
    the_qos,
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

#endif /* ACE_HAS_USING_KEYWORD */

// TAO_IDL - Generated from
// be/be_visitor_interface/tie_si.cpp:96

#if defined (ACE_HAS_USING_KEYWORD)

template <class T> ACE_INLINE
POA_AVStreams::VDev_tie<T>::VDev_tie (T &t)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_nil ()),
	  rel_ (0)
{}

template <class T> ACE_INLINE
POA_AVStreams::VDev_tie<T>::VDev_tie (T &t, PortableServer::POA_ptr poa)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_duplicate (poa)),
	  rel_ (0)
{}

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

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

template <class T> ACE_INLINE
POA_AVStreams::VDev_tie<T>::~VDev_tie (void)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
}

template <class T> ACE_INLINE T *
POA_AVStreams::VDev_tie<T>::_tied_object (void)
{
  return this->ptr_;
}

template <class T> ACE_INLINE void
POA_AVStreams::VDev_tie<T>::_tied_object (T &obj)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
  
  this->ptr_ = &obj;
  this->rel_ = 0;
}

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

template <class T> ACE_INLINE CORBA::Boolean
POA_AVStreams::VDev_tie<T>::_is_owner (void)
{
  return this->rel_;
}

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

template <class T> ACE_INLINE PortableServer::POA_ptr
POA_AVStreams::VDev_tie<T>::_default_POA (ACE_ENV_SINGLE_ARG_DECL)
{
  if (!CORBA::is_nil (this->poa_.in ()))
    {
      return PortableServer::POA::_duplicate (this->poa_.in ());
    }
  
  return this->VDev::_default_POA (ACE_ENV_SINGLE_ARG_PARAMETER);
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::VDev_tie<T>::define_property  (
    const char * property_name,
    const ::CORBA::Any & property_value
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::ConflictingProperty,
    ::CosPropertyService::UnsupportedTypeCode,
    ::CosPropertyService::UnsupportedProperty,
    ::CosPropertyService::ReadOnlyProperty
  ))
{
  this->ptr_->define_property (
    property_name,
    property_value
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::VDev_tie<T>::define_properties  (
    const ::CosPropertyService::Properties & nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  this->ptr_->define_properties (
    nproperties
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::ULong POA_AVStreams::VDev_tie<T>::get_number_of_properties  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_number_of_properties (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::VDev_tie<T>::get_all_property_names  (
    ::CORBA::ULong how_many,
    ::CosPropertyService::PropertyNames_out property_names,
    ::CosPropertyService::PropertyNamesIterator_out rest
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->get_all_property_names (
    how_many,
    property_names,
    rest
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Any * POA_AVStreams::VDev_tie<T>::get_property_value  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  return this->ptr_->get_property_value (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::VDev_tie<T>::get_properties  (
    const ::CosPropertyService::PropertyNames & property_names,
    ::CosPropertyService::Properties_out nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_properties (
    property_names,
    nproperties
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::VDev_tie<T>::get_all_properties  (
    ::CORBA::ULong how_many,
    ::CosPropertyService::Properties_out nproperties,
    ::CosPropertyService::PropertiesIterator_out rest
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->get_all_properties (
    how_many,
    nproperties,
    rest
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::VDev_tie<T>::delete_property  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::FixedProperty
  ))
{
  this->ptr_->delete_property (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::VDev_tie<T>::delete_properties  (
    const ::CosPropertyService::PropertyNames & property_names
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  this->ptr_->delete_properties (
    property_names
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::VDev_tie<T>::delete_all_properties  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->delete_all_properties (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::VDev_tie<T>::is_property_defined  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  return this->ptr_->is_property_defined (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::VDev_tie<T>::set_peer  (
    ::AVStreams::StreamCtrl_ptr the_ctrl,
    ::AVStreams::VDev_ptr the_peer_dev,
    ::AVStreams::streamQoS & the_qos,
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow,
    ::AVStreams::QoSRequestFailed,
    ::AVStreams::streamOpFailed
  ))
{
  return this->ptr_->set_peer (
    the_ctrl,
    the_peer_dev,
    the_qos,
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::VDev_tie<T>::set_Mcast_peer  (
    ::AVStreams::StreamCtrl_ptr the_ctrl,
    ::AVStreams::MCastConfigIf_ptr a_mcastconfigif,
    ::AVStreams::streamQoS & the_qos,
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow,
    ::AVStreams::QoSRequestFailed,
    ::AVStreams::streamOpFailed
  ))
{
  return this->ptr_->set_Mcast_peer (
    the_ctrl,
    a_mcastconfigif,
    the_qos,
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::VDev_tie<T>::configure  (
    const ::CosPropertyService::Property & the_config_mesg
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::PropertyException,
    ::AVStreams::streamOpFailed
  ))
{
  this->ptr_->configure (
    the_config_mesg
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::VDev_tie<T>::set_format  (
    const char * flowName,
    const char * format_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::notSupported
  ))
{
  this->ptr_->set_format (
    flowName,
    format_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::VDev_tie<T>::set_dev_params  (
    const char * flowName,
    const ::CosPropertyService::Properties & new_params
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::PropertyException,
    ::AVStreams::streamOpFailed
  ))
{
  this->ptr_->set_dev_params (
    flowName,
    new_params
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::VDev_tie<T>::modify_QoS  (
    ::AVStreams::streamQoS & the_qos,
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::noSuchFlow,
    ::AVStreams::QoSRequestFailed
  ))
{
  return this->ptr_->modify_QoS (
    the_qos,
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

#endif /* ACE_HAS_USING_KEYWORD */

// TAO_IDL - Generated from
// be/be_visitor_interface/tie_si.cpp:96

#if defined (ACE_HAS_USING_KEYWORD)

template <class T> ACE_INLINE
POA_AVStreams::MMDevice_tie<T>::MMDevice_tie (T &t)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_nil ()),
	  rel_ (0)
{}

template <class T> ACE_INLINE
POA_AVStreams::MMDevice_tie<T>::MMDevice_tie (T &t, PortableServer::POA_ptr poa)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_duplicate (poa)),
	  rel_ (0)
{}

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

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

template <class T> ACE_INLINE
POA_AVStreams::MMDevice_tie<T>::~MMDevice_tie (void)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
}

template <class T> ACE_INLINE T *
POA_AVStreams::MMDevice_tie<T>::_tied_object (void)
{
  return this->ptr_;
}

template <class T> ACE_INLINE void
POA_AVStreams::MMDevice_tie<T>::_tied_object (T &obj)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
  
  this->ptr_ = &obj;
  this->rel_ = 0;
}

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

template <class T> ACE_INLINE CORBA::Boolean
POA_AVStreams::MMDevice_tie<T>::_is_owner (void)
{
  return this->rel_;
}

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

template <class T> ACE_INLINE PortableServer::POA_ptr
POA_AVStreams::MMDevice_tie<T>::_default_POA (ACE_ENV_SINGLE_ARG_DECL)
{
  if (!CORBA::is_nil (this->poa_.in ()))
    {
      return PortableServer::POA::_duplicate (this->poa_.in ());
    }
  
  return this->MMDevice::_default_POA (ACE_ENV_SINGLE_ARG_PARAMETER);
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::MMDevice_tie<T>::define_property  (
    const char * property_name,
    const ::CORBA::Any & property_value
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::ConflictingProperty,
    ::CosPropertyService::UnsupportedTypeCode,
    ::CosPropertyService::UnsupportedProperty,
    ::CosPropertyService::ReadOnlyProperty
  ))
{
  this->ptr_->define_property (
    property_name,
    property_value
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::MMDevice_tie<T>::define_properties  (
    const ::CosPropertyService::Properties & nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  this->ptr_->define_properties (
    nproperties
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::ULong POA_AVStreams::MMDevice_tie<T>::get_number_of_properties  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_number_of_properties (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::MMDevice_tie<T>::get_all_property_names  (
    ::CORBA::ULong how_many,
    ::CosPropertyService::PropertyNames_out property_names,
    ::CosPropertyService::PropertyNamesIterator_out rest
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->get_all_property_names (
    how_many,
    property_names,
    rest
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Any * POA_AVStreams::MMDevice_tie<T>::get_property_value  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  return this->ptr_->get_property_value (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::MMDevice_tie<T>::get_properties  (
    const ::CosPropertyService::PropertyNames & property_names,
    ::CosPropertyService::Properties_out nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_properties (
    property_names,
    nproperties
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::MMDevice_tie<T>::get_all_properties  (
    ::CORBA::ULong how_many,
    ::CosPropertyService::Properties_out nproperties,
    ::CosPropertyService::PropertiesIterator_out rest
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->get_all_properties (
    how_many,
    nproperties,
    rest
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::MMDevice_tie<T>::delete_property  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::FixedProperty
  ))
{
  this->ptr_->delete_property (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::MMDevice_tie<T>::delete_properties  (
    const ::CosPropertyService::PropertyNames & property_names
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  this->ptr_->delete_properties (
    property_names
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::MMDevice_tie<T>::delete_all_properties  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->delete_all_properties (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::MMDevice_tie<T>::is_property_defined  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  return this->ptr_->is_property_defined (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
::AVStreams::StreamEndPoint_A_ptr POA_AVStreams::MMDevice_tie<T>::create_A  (
    ::AVStreams::StreamCtrl_ptr the_requester,
    ::AVStreams::VDev_out the_vdev,
    ::AVStreams::streamQoS & the_qos,
    ::CORBA::Boolean_out met_qos,
    char *& named_vdev,
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::streamOpFailed,
    ::AVStreams::streamOpDenied,
    ::AVStreams::notSupported,
    ::AVStreams::QoSRequestFailed,
    ::AVStreams::noSuchFlow
  ))
{
  return this->ptr_->create_A (
    the_requester,
    the_vdev,
    the_qos,
    met_qos,
    named_vdev,
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
::AVStreams::StreamEndPoint_B_ptr POA_AVStreams::MMDevice_tie<T>::create_B  (
    ::AVStreams::StreamCtrl_ptr the_requester,
    ::AVStreams::VDev_out the_vdev,
    ::AVStreams::streamQoS & the_qos,
    ::CORBA::Boolean_out met_qos,
    char *& named_vdev,
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::streamOpFailed,
    ::AVStreams::streamOpDenied,
    ::AVStreams::notSupported,
    ::AVStreams::QoSRequestFailed,
    ::AVStreams::noSuchFlow
  ))
{
  return this->ptr_->create_B (
    the_requester,
    the_vdev,
    the_qos,
    met_qos,
    named_vdev,
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
::AVStreams::StreamCtrl_ptr POA_AVStreams::MMDevice_tie<T>::bind  (
    ::AVStreams::MMDevice_ptr peer_device,
    ::AVStreams::streamQoS & the_qos,
    ::CORBA::Boolean_out is_met,
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::streamOpFailed,
    ::AVStreams::noSuchFlow,
    ::AVStreams::QoSRequestFailed
  ))
{
  return this->ptr_->bind (
    peer_device,
    the_qos,
    is_met,
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
::AVStreams::StreamCtrl_ptr POA_AVStreams::MMDevice_tie<T>::bind_mcast  (
    ::AVStreams::MMDevice_ptr first_peer,
    ::AVStreams::streamQoS & the_qos,
    ::CORBA::Boolean_out is_met,
    const ::AVStreams::flowSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::streamOpFailed,
    ::AVStreams::noSuchFlow,
    ::AVStreams::QoSRequestFailed
  ))
{
  return this->ptr_->bind_mcast (
    first_peer,
    the_qos,
    is_met,
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::MMDevice_tie<T>::destroy  (
    ::AVStreams::StreamEndPoint_ptr the_ep,
    const char * vdev_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::notSupported
  ))
{
  this->ptr_->destroy (
    the_ep,
    vdev_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
char * POA_AVStreams::MMDevice_tie<T>::add_fdev  (
    ::CORBA::Object_ptr the_fdev
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::notSupported,
    ::AVStreams::streamOpFailed
  ))
{
  return this->ptr_->add_fdev (
    the_fdev
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Object_ptr POA_AVStreams::MMDevice_tie<T>::get_fdev  (
    const char * flow_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::notSupported,
    ::AVStreams::noSuchFlow
  ))
{
  return this->ptr_->get_fdev (
    flow_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::MMDevice_tie<T>::remove_fdev  (
    const char * flow_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::notSupported,
    ::AVStreams::noSuchFlow,
    ::AVStreams::streamOpFailed
  ))
{
  this->ptr_->remove_fdev (
    flow_name
    ACE_ENV_ARG_PARAMETER
  );
}

#endif /* ACE_HAS_USING_KEYWORD */

// TAO_IDL - Generated from
// be/be_visitor_interface/tie_si.cpp:96

#if defined (ACE_HAS_USING_KEYWORD)

template <class T> ACE_INLINE
POA_AVStreams::FlowConnection_tie<T>::FlowConnection_tie (T &t)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_nil ()),
	  rel_ (0)
{}

template <class T> ACE_INLINE
POA_AVStreams::FlowConnection_tie<T>::FlowConnection_tie (T &t, PortableServer::POA_ptr poa)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_duplicate (poa)),
	  rel_ (0)
{}

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

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

template <class T> ACE_INLINE
POA_AVStreams::FlowConnection_tie<T>::~FlowConnection_tie (void)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
}

template <class T> ACE_INLINE T *
POA_AVStreams::FlowConnection_tie<T>::_tied_object (void)
{
  return this->ptr_;
}

template <class T> ACE_INLINE void
POA_AVStreams::FlowConnection_tie<T>::_tied_object (T &obj)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
  
  this->ptr_ = &obj;
  this->rel_ = 0;
}

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

template <class T> ACE_INLINE CORBA::Boolean
POA_AVStreams::FlowConnection_tie<T>::_is_owner (void)
{
  return this->rel_;
}

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

template <class T> ACE_INLINE PortableServer::POA_ptr
POA_AVStreams::FlowConnection_tie<T>::_default_POA (ACE_ENV_SINGLE_ARG_DECL)
{
  if (!CORBA::is_nil (this->poa_.in ()))
    {
      return PortableServer::POA::_duplicate (this->poa_.in ());
    }
  
  return this->FlowConnection::_default_POA (ACE_ENV_SINGLE_ARG_PARAMETER);
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowConnection_tie<T>::define_property  (
    const char * property_name,
    const ::CORBA::Any & property_value
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::ConflictingProperty,
    ::CosPropertyService::UnsupportedTypeCode,
    ::CosPropertyService::UnsupportedProperty,
    ::CosPropertyService::ReadOnlyProperty
  ))
{
  this->ptr_->define_property (
    property_name,
    property_value
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowConnection_tie<T>::define_properties  (
    const ::CosPropertyService::Properties & nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  this->ptr_->define_properties (
    nproperties
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::ULong POA_AVStreams::FlowConnection_tie<T>::get_number_of_properties  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_number_of_properties (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowConnection_tie<T>::get_all_property_names  (
    ::CORBA::ULong how_many,
    ::CosPropertyService::PropertyNames_out property_names,
    ::CosPropertyService::PropertyNamesIterator_out rest
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->get_all_property_names (
    how_many,
    property_names,
    rest
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Any * POA_AVStreams::FlowConnection_tie<T>::get_property_value  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  return this->ptr_->get_property_value (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowConnection_tie<T>::get_properties  (
    const ::CosPropertyService::PropertyNames & property_names,
    ::CosPropertyService::Properties_out nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_properties (
    property_names,
    nproperties
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowConnection_tie<T>::get_all_properties  (
    ::CORBA::ULong how_many,
    ::CosPropertyService::Properties_out nproperties,
    ::CosPropertyService::PropertiesIterator_out rest
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->get_all_properties (
    how_many,
    nproperties,
    rest
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowConnection_tie<T>::delete_property  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::FixedProperty
  ))
{
  this->ptr_->delete_property (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowConnection_tie<T>::delete_properties  (
    const ::CosPropertyService::PropertyNames & property_names
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  this->ptr_->delete_properties (
    property_names
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowConnection_tie<T>::delete_all_properties  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->delete_all_properties (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowConnection_tie<T>::is_property_defined  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  return this->ptr_->is_property_defined (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowConnection_tie<T>::stop  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->stop (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowConnection_tie<T>::start  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->start (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowConnection_tie<T>::destroy  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->destroy (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowConnection_tie<T>::modify_QoS  (
    ::AVStreams::QoS & new_qos
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::QoSRequestFailed
  ))
{
  return this->ptr_->modify_QoS (
    new_qos
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowConnection_tie<T>::use_flow_protocol  (
    const char * fp_name,
    const ::CORBA::Any & fp_settings
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::FPError,
    ::AVStreams::notSupported
  ))
{
  return this->ptr_->use_flow_protocol (
    fp_name,
    fp_settings
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowConnection_tie<T>::push_event  (
    const ::AVStreams::streamEvent & the_event
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->push_event (
    the_event
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowConnection_tie<T>::connect_devs  (
    ::AVStreams::FDev_ptr a_party,
    ::AVStreams::FDev_ptr b_party,
    ::AVStreams::QoS & the_qos
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::streamOpFailed,
    ::AVStreams::streamOpDenied,
    ::AVStreams::QoSRequestFailed
  ))
{
  return this->ptr_->connect_devs (
    a_party,
    b_party,
    the_qos
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowConnection_tie<T>::connect  (
    ::AVStreams::FlowProducer_ptr flow_producer,
    ::AVStreams::FlowConsumer_ptr flow_consumer,
    ::AVStreams::QoS & the_qos
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::formatMismatch,
    ::AVStreams::FEPMismatch,
    ::AVStreams::alreadyConnected
  ))
{
  return this->ptr_->connect (
    flow_producer,
    flow_consumer,
    the_qos
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowConnection_tie<T>::disconnect  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->disconnect (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowConnection_tie<T>::add_producer  (
    ::AVStreams::FlowProducer_ptr flow_producer,
    ::AVStreams::QoS & the_qos
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::alreadyConnected,
    ::AVStreams::notSupported
  ))
{
  return this->ptr_->add_producer (
    flow_producer,
    the_qos
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowConnection_tie<T>::add_consumer  (
    ::AVStreams::FlowConsumer_ptr flow_consumer,
    ::AVStreams::QoS & the_qos
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::alreadyConnected
  ))
{
  return this->ptr_->add_consumer (
    flow_consumer,
    the_qos
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowConnection_tie<T>::drop  (
    ::AVStreams::FlowEndPoint_ptr target
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::notConnected
  ))
{
  return this->ptr_->drop (
    target
    ACE_ENV_ARG_PARAMETER
  );
}

#endif /* ACE_HAS_USING_KEYWORD */

// TAO_IDL - Generated from
// be/be_visitor_interface/tie_si.cpp:96

#if defined (ACE_HAS_USING_KEYWORD)

template <class T> ACE_INLINE
POA_AVStreams::FlowEndPoint_tie<T>::FlowEndPoint_tie (T &t)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_nil ()),
	  rel_ (0)
{}

template <class T> ACE_INLINE
POA_AVStreams::FlowEndPoint_tie<T>::FlowEndPoint_tie (T &t, PortableServer::POA_ptr poa)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_duplicate (poa)),
	  rel_ (0)
{}

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

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

template <class T> ACE_INLINE
POA_AVStreams::FlowEndPoint_tie<T>::~FlowEndPoint_tie (void)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
}

template <class T> ACE_INLINE T *
POA_AVStreams::FlowEndPoint_tie<T>::_tied_object (void)
{
  return this->ptr_;
}

template <class T> ACE_INLINE void
POA_AVStreams::FlowEndPoint_tie<T>::_tied_object (T &obj)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
  
  this->ptr_ = &obj;
  this->rel_ = 0;
}

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

template <class T> ACE_INLINE CORBA::Boolean
POA_AVStreams::FlowEndPoint_tie<T>::_is_owner (void)
{
  return this->rel_;
}

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

template <class T> ACE_INLINE PortableServer::POA_ptr
POA_AVStreams::FlowEndPoint_tie<T>::_default_POA (ACE_ENV_SINGLE_ARG_DECL)
{
  if (!CORBA::is_nil (this->poa_.in ()))
    {
      return PortableServer::POA::_duplicate (this->poa_.in ());
    }
  
  return this->FlowEndPoint::_default_POA (ACE_ENV_SINGLE_ARG_PARAMETER);
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowEndPoint_tie<T>::define_property  (
    const char * property_name,
    const ::CORBA::Any & property_value
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::ConflictingProperty,
    ::CosPropertyService::UnsupportedTypeCode,
    ::CosPropertyService::UnsupportedProperty,
    ::CosPropertyService::ReadOnlyProperty
  ))
{
  this->ptr_->define_property (
    property_name,
    property_value
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowEndPoint_tie<T>::define_properties  (
    const ::CosPropertyService::Properties & nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  this->ptr_->define_properties (
    nproperties
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::ULong POA_AVStreams::FlowEndPoint_tie<T>::get_number_of_properties  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_number_of_properties (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowEndPoint_tie<T>::get_all_property_names  (
    ::CORBA::ULong how_many,
    ::CosPropertyService::PropertyNames_out property_names,
    ::CosPropertyService::PropertyNamesIterator_out rest
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->get_all_property_names (
    how_many,
    property_names,
    rest
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Any * POA_AVStreams::FlowEndPoint_tie<T>::get_property_value  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  return this->ptr_->get_property_value (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowEndPoint_tie<T>::get_properties  (
    const ::CosPropertyService::PropertyNames & property_names,
    ::CosPropertyService::Properties_out nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_properties (
    property_names,
    nproperties
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowEndPoint_tie<T>::get_all_properties  (
    ::CORBA::ULong how_many,
    ::CosPropertyService::Properties_out nproperties,
    ::CosPropertyService::PropertiesIterator_out rest
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->get_all_properties (
    how_many,
    nproperties,
    rest
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowEndPoint_tie<T>::delete_property  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::FixedProperty
  ))
{
  this->ptr_->delete_property (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowEndPoint_tie<T>::delete_properties  (
    const ::CosPropertyService::PropertyNames & property_names
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  this->ptr_->delete_properties (
    property_names
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowEndPoint_tie<T>::delete_all_properties  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->delete_all_properties (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowEndPoint_tie<T>::is_property_defined  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  return this->ptr_->is_property_defined (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowEndPoint_tie<T>::lock  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->lock (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowEndPoint_tie<T>::unlock  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->unlock (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowEndPoint_tie<T>::stop  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->stop (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowEndPoint_tie<T>::start  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->start (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowEndPoint_tie<T>::destroy  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->destroy (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
::AVStreams::StreamEndPoint_ptr POA_AVStreams::FlowEndPoint_tie<T>::related_sep  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->related_sep (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowEndPoint_tie<T>::related_sep  (
    ::AVStreams::StreamEndPoint_ptr related_sep
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->related_sep (
    related_sep
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
::AVStreams::FlowConnection_ptr POA_AVStreams::FlowEndPoint_tie<T>::related_flow_connection  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->related_flow_connection (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowEndPoint_tie<T>::related_flow_connection  (
    ::AVStreams::FlowConnection_ptr related_flow_connection
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->related_flow_connection (
    related_flow_connection
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
::AVStreams::FlowEndPoint_ptr POA_AVStreams::FlowEndPoint_tie<T>::get_connected_fep  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::notConnected,
    ::AVStreams::notSupported
  ))
{
  return this->ptr_->get_connected_fep (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowEndPoint_tie<T>::use_flow_protocol  (
    const char * fp_name,
    const ::CORBA::Any & fp_settings
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::FPError,
    ::AVStreams::notSupported
  ))
{
  return this->ptr_->use_flow_protocol (
    fp_name,
    fp_settings
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowEndPoint_tie<T>::set_format  (
    const char * format
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::notSupported
  ))
{
  this->ptr_->set_format (
    format
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowEndPoint_tie<T>::set_dev_params  (
    const ::CosPropertyService::Properties & new_settings
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::PropertyException,
    ::AVStreams::streamOpFailed
  ))
{
  this->ptr_->set_dev_params (
    new_settings
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowEndPoint_tie<T>::set_protocol_restriction  (
    const ::AVStreams::protocolSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::notSupported
  ))
{
  this->ptr_->set_protocol_restriction (
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowEndPoint_tie<T>::is_fep_compatible  (
    ::AVStreams::FlowEndPoint_ptr fep
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::formatMismatch,
    ::AVStreams::deviceQosMismatch
  ))
{
  return this->ptr_->is_fep_compatible (
    fep
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowEndPoint_tie<T>::set_peer  (
    ::AVStreams::FlowConnection_ptr the_fc,
    ::AVStreams::FlowEndPoint_ptr the_peer_fep,
    ::AVStreams::QoS & the_qos
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::QoSRequestFailed,
    ::AVStreams::streamOpFailed
  ))
{
  return this->ptr_->set_peer (
    the_fc,
    the_peer_fep,
    the_qos
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowEndPoint_tie<T>::set_Mcast_peer  (
    ::AVStreams::FlowConnection_ptr the_fc,
    ::AVStreams::MCastConfigIf_ptr a_mcastconfigif,
    ::AVStreams::QoS & the_qos
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::QoSRequestFailed
  ))
{
  return this->ptr_->set_Mcast_peer (
    the_fc,
    a_mcastconfigif,
    the_qos
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowEndPoint_tie<T>::connect_to_peer  (
    ::AVStreams::QoS & the_qos,
    const char * address,
    const char * use_flow_protocol
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::failedToConnect,
    ::AVStreams::FPError,
    ::AVStreams::QoSRequestFailed
  ))
{
  return this->ptr_->connect_to_peer (
    the_qos,
    address,
    use_flow_protocol
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
char * POA_AVStreams::FlowEndPoint_tie<T>::go_to_listen  (
    ::AVStreams::QoS & the_qos,
    ::CORBA::Boolean is_mcast,
    ::AVStreams::FlowEndPoint_ptr peer,
    char *& flowProtocol
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::failedToListen,
    ::AVStreams::FPError,
    ::AVStreams::QoSRequestFailed
  ))
{
  return this->ptr_->go_to_listen (
    the_qos,
    is_mcast,
    peer,
    flowProtocol
    ACE_ENV_ARG_PARAMETER
  );
}

#endif /* ACE_HAS_USING_KEYWORD */

// TAO_IDL - Generated from
// be/be_visitor_interface/tie_si.cpp:96

#if defined (ACE_HAS_USING_KEYWORD)

template <class T> ACE_INLINE
POA_AVStreams::FlowProducer_tie<T>::FlowProducer_tie (T &t)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_nil ()),
	  rel_ (0)
{}

template <class T> ACE_INLINE
POA_AVStreams::FlowProducer_tie<T>::FlowProducer_tie (T &t, PortableServer::POA_ptr poa)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_duplicate (poa)),
	  rel_ (0)
{}

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

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

template <class T> ACE_INLINE
POA_AVStreams::FlowProducer_tie<T>::~FlowProducer_tie (void)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
}

template <class T> ACE_INLINE T *
POA_AVStreams::FlowProducer_tie<T>::_tied_object (void)
{
  return this->ptr_;
}

template <class T> ACE_INLINE void
POA_AVStreams::FlowProducer_tie<T>::_tied_object (T &obj)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
  
  this->ptr_ = &obj;
  this->rel_ = 0;
}

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

template <class T> ACE_INLINE CORBA::Boolean
POA_AVStreams::FlowProducer_tie<T>::_is_owner (void)
{
  return this->rel_;
}

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

template <class T> ACE_INLINE PortableServer::POA_ptr
POA_AVStreams::FlowProducer_tie<T>::_default_POA (ACE_ENV_SINGLE_ARG_DECL)
{
  if (!CORBA::is_nil (this->poa_.in ()))
    {
      return PortableServer::POA::_duplicate (this->poa_.in ());
    }
  
  return this->FlowProducer::_default_POA (ACE_ENV_SINGLE_ARG_PARAMETER);
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowProducer_tie<T>::define_property  (
    const char * property_name,
    const ::CORBA::Any & property_value
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::ConflictingProperty,
    ::CosPropertyService::UnsupportedTypeCode,
    ::CosPropertyService::UnsupportedProperty,
    ::CosPropertyService::ReadOnlyProperty
  ))
{
  this->ptr_->define_property (
    property_name,
    property_value
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowProducer_tie<T>::define_properties  (
    const ::CosPropertyService::Properties & nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  this->ptr_->define_properties (
    nproperties
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::ULong POA_AVStreams::FlowProducer_tie<T>::get_number_of_properties  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_number_of_properties (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowProducer_tie<T>::get_all_property_names  (
    ::CORBA::ULong how_many,
    ::CosPropertyService::PropertyNames_out property_names,
    ::CosPropertyService::PropertyNamesIterator_out rest
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->get_all_property_names (
    how_many,
    property_names,
    rest
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Any * POA_AVStreams::FlowProducer_tie<T>::get_property_value  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  return this->ptr_->get_property_value (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowProducer_tie<T>::get_properties  (
    const ::CosPropertyService::PropertyNames & property_names,
    ::CosPropertyService::Properties_out nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_properties (
    property_names,
    nproperties
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowProducer_tie<T>::get_all_properties  (
    ::CORBA::ULong how_many,
    ::CosPropertyService::Properties_out nproperties,
    ::CosPropertyService::PropertiesIterator_out rest
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->get_all_properties (
    how_many,
    nproperties,
    rest
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowProducer_tie<T>::delete_property  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::FixedProperty
  ))
{
  this->ptr_->delete_property (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowProducer_tie<T>::delete_properties  (
    const ::CosPropertyService::PropertyNames & property_names
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  this->ptr_->delete_properties (
    property_names
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowProducer_tie<T>::delete_all_properties  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->delete_all_properties (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowProducer_tie<T>::is_property_defined  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  return this->ptr_->is_property_defined (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowProducer_tie<T>::lock  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->lock (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowProducer_tie<T>::unlock  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->unlock (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowProducer_tie<T>::stop  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->stop (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowProducer_tie<T>::start  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->start (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowProducer_tie<T>::destroy  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->destroy (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
::AVStreams::StreamEndPoint_ptr POA_AVStreams::FlowProducer_tie<T>::related_sep  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->related_sep (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowProducer_tie<T>::related_sep  (
    ::AVStreams::StreamEndPoint_ptr related_sep
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->related_sep (
    related_sep
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
::AVStreams::FlowConnection_ptr POA_AVStreams::FlowProducer_tie<T>::related_flow_connection  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->related_flow_connection (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowProducer_tie<T>::related_flow_connection  (
    ::AVStreams::FlowConnection_ptr related_flow_connection
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->related_flow_connection (
    related_flow_connection
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
::AVStreams::FlowEndPoint_ptr POA_AVStreams::FlowProducer_tie<T>::get_connected_fep  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::notConnected,
    ::AVStreams::notSupported
  ))
{
  return this->ptr_->get_connected_fep (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowProducer_tie<T>::use_flow_protocol  (
    const char * fp_name,
    const ::CORBA::Any & fp_settings
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::FPError,
    ::AVStreams::notSupported
  ))
{
  return this->ptr_->use_flow_protocol (
    fp_name,
    fp_settings
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowProducer_tie<T>::set_format  (
    const char * format
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::notSupported
  ))
{
  this->ptr_->set_format (
    format
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowProducer_tie<T>::set_dev_params  (
    const ::CosPropertyService::Properties & new_settings
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::PropertyException,
    ::AVStreams::streamOpFailed
  ))
{
  this->ptr_->set_dev_params (
    new_settings
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowProducer_tie<T>::set_protocol_restriction  (
    const ::AVStreams::protocolSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::notSupported
  ))
{
  this->ptr_->set_protocol_restriction (
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowProducer_tie<T>::is_fep_compatible  (
    ::AVStreams::FlowEndPoint_ptr fep
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::formatMismatch,
    ::AVStreams::deviceQosMismatch
  ))
{
  return this->ptr_->is_fep_compatible (
    fep
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowProducer_tie<T>::set_peer  (
    ::AVStreams::FlowConnection_ptr the_fc,
    ::AVStreams::FlowEndPoint_ptr the_peer_fep,
    ::AVStreams::QoS & the_qos
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::QoSRequestFailed,
    ::AVStreams::streamOpFailed
  ))
{
  return this->ptr_->set_peer (
    the_fc,
    the_peer_fep,
    the_qos
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowProducer_tie<T>::set_Mcast_peer  (
    ::AVStreams::FlowConnection_ptr the_fc,
    ::AVStreams::MCastConfigIf_ptr a_mcastconfigif,
    ::AVStreams::QoS & the_qos
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::QoSRequestFailed
  ))
{
  return this->ptr_->set_Mcast_peer (
    the_fc,
    a_mcastconfigif,
    the_qos
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowProducer_tie<T>::connect_to_peer  (
    ::AVStreams::QoS & the_qos,
    const char * address,
    const char * use_flow_protocol
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::failedToConnect,
    ::AVStreams::FPError,
    ::AVStreams::QoSRequestFailed
  ))
{
  return this->ptr_->connect_to_peer (
    the_qos,
    address,
    use_flow_protocol
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
char * POA_AVStreams::FlowProducer_tie<T>::go_to_listen  (
    ::AVStreams::QoS & the_qos,
    ::CORBA::Boolean is_mcast,
    ::AVStreams::FlowEndPoint_ptr peer,
    char *& flowProtocol
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::failedToListen,
    ::AVStreams::FPError,
    ::AVStreams::QoSRequestFailed
  ))
{
  return this->ptr_->go_to_listen (
    the_qos,
    is_mcast,
    peer,
    flowProtocol
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
char * POA_AVStreams::FlowProducer_tie<T>::connect_mcast  (
    ::AVStreams::QoS & the_qos,
    ::CORBA::Boolean_out is_met,
    const char * address,
    const char * use_flow_protocol
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::failedToConnect,
    ::AVStreams::notSupported,
    ::AVStreams::FPError,
    ::AVStreams::QoSRequestFailed
  ))
{
  return this->ptr_->connect_mcast (
    the_qos,
    is_met,
    address,
    use_flow_protocol
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
char * POA_AVStreams::FlowProducer_tie<T>::get_rev_channel  (
    const char * pcol_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_rev_channel (
    pcol_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowProducer_tie<T>::set_key  (
    const ::AVStreams::key & the_key
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->set_key (
    the_key
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowProducer_tie<T>::set_source_id  (
    ::CORBA::Long source_id
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->set_source_id (
    source_id
    ACE_ENV_ARG_PARAMETER
  );
}

#endif /* ACE_HAS_USING_KEYWORD */

// TAO_IDL - Generated from
// be/be_visitor_interface/tie_si.cpp:96

#if defined (ACE_HAS_USING_KEYWORD)

template <class T> ACE_INLINE
POA_AVStreams::FlowConsumer_tie<T>::FlowConsumer_tie (T &t)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_nil ()),
	  rel_ (0)
{}

template <class T> ACE_INLINE
POA_AVStreams::FlowConsumer_tie<T>::FlowConsumer_tie (T &t, PortableServer::POA_ptr poa)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_duplicate (poa)),
	  rel_ (0)
{}

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

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

template <class T> ACE_INLINE
POA_AVStreams::FlowConsumer_tie<T>::~FlowConsumer_tie (void)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
}

template <class T> ACE_INLINE T *
POA_AVStreams::FlowConsumer_tie<T>::_tied_object (void)
{
  return this->ptr_;
}

template <class T> ACE_INLINE void
POA_AVStreams::FlowConsumer_tie<T>::_tied_object (T &obj)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
  
  this->ptr_ = &obj;
  this->rel_ = 0;
}

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

template <class T> ACE_INLINE CORBA::Boolean
POA_AVStreams::FlowConsumer_tie<T>::_is_owner (void)
{
  return this->rel_;
}

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

template <class T> ACE_INLINE PortableServer::POA_ptr
POA_AVStreams::FlowConsumer_tie<T>::_default_POA (ACE_ENV_SINGLE_ARG_DECL)
{
  if (!CORBA::is_nil (this->poa_.in ()))
    {
      return PortableServer::POA::_duplicate (this->poa_.in ());
    }
  
  return this->FlowConsumer::_default_POA (ACE_ENV_SINGLE_ARG_PARAMETER);
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowConsumer_tie<T>::define_property  (
    const char * property_name,
    const ::CORBA::Any & property_value
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::ConflictingProperty,
    ::CosPropertyService::UnsupportedTypeCode,
    ::CosPropertyService::UnsupportedProperty,
    ::CosPropertyService::ReadOnlyProperty
  ))
{
  this->ptr_->define_property (
    property_name,
    property_value
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowConsumer_tie<T>::define_properties  (
    const ::CosPropertyService::Properties & nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  this->ptr_->define_properties (
    nproperties
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::ULong POA_AVStreams::FlowConsumer_tie<T>::get_number_of_properties  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_number_of_properties (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowConsumer_tie<T>::get_all_property_names  (
    ::CORBA::ULong how_many,
    ::CosPropertyService::PropertyNames_out property_names,
    ::CosPropertyService::PropertyNamesIterator_out rest
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->get_all_property_names (
    how_many,
    property_names,
    rest
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Any * POA_AVStreams::FlowConsumer_tie<T>::get_property_value  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  return this->ptr_->get_property_value (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowConsumer_tie<T>::get_properties  (
    const ::CosPropertyService::PropertyNames & property_names,
    ::CosPropertyService::Properties_out nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_properties (
    property_names,
    nproperties
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowConsumer_tie<T>::get_all_properties  (
    ::CORBA::ULong how_many,
    ::CosPropertyService::Properties_out nproperties,
    ::CosPropertyService::PropertiesIterator_out rest
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->get_all_properties (
    how_many,
    nproperties,
    rest
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowConsumer_tie<T>::delete_property  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::FixedProperty
  ))
{
  this->ptr_->delete_property (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowConsumer_tie<T>::delete_properties  (
    const ::CosPropertyService::PropertyNames & property_names
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  this->ptr_->delete_properties (
    property_names
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowConsumer_tie<T>::delete_all_properties  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->delete_all_properties (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowConsumer_tie<T>::is_property_defined  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  return this->ptr_->is_property_defined (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowConsumer_tie<T>::lock  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->lock (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowConsumer_tie<T>::unlock  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->unlock (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowConsumer_tie<T>::stop  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->stop (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowConsumer_tie<T>::start  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->start (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowConsumer_tie<T>::destroy  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->destroy (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
::AVStreams::StreamEndPoint_ptr POA_AVStreams::FlowConsumer_tie<T>::related_sep  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->related_sep (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowConsumer_tie<T>::related_sep  (
    ::AVStreams::StreamEndPoint_ptr related_sep
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->related_sep (
    related_sep
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
::AVStreams::FlowConnection_ptr POA_AVStreams::FlowConsumer_tie<T>::related_flow_connection  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->related_flow_connection (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowConsumer_tie<T>::related_flow_connection  (
    ::AVStreams::FlowConnection_ptr related_flow_connection
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->related_flow_connection (
    related_flow_connection
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
::AVStreams::FlowEndPoint_ptr POA_AVStreams::FlowConsumer_tie<T>::get_connected_fep  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::notConnected,
    ::AVStreams::notSupported
  ))
{
  return this->ptr_->get_connected_fep (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowConsumer_tie<T>::use_flow_protocol  (
    const char * fp_name,
    const ::CORBA::Any & fp_settings
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::FPError,
    ::AVStreams::notSupported
  ))
{
  return this->ptr_->use_flow_protocol (
    fp_name,
    fp_settings
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowConsumer_tie<T>::set_format  (
    const char * format
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::notSupported
  ))
{
  this->ptr_->set_format (
    format
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowConsumer_tie<T>::set_dev_params  (
    const ::CosPropertyService::Properties & new_settings
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::PropertyException,
    ::AVStreams::streamOpFailed
  ))
{
  this->ptr_->set_dev_params (
    new_settings
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FlowConsumer_tie<T>::set_protocol_restriction  (
    const ::AVStreams::protocolSpec & the_spec
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::notSupported
  ))
{
  this->ptr_->set_protocol_restriction (
    the_spec
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowConsumer_tie<T>::is_fep_compatible  (
    ::AVStreams::FlowEndPoint_ptr fep
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::formatMismatch,
    ::AVStreams::deviceQosMismatch
  ))
{
  return this->ptr_->is_fep_compatible (
    fep
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowConsumer_tie<T>::set_peer  (
    ::AVStreams::FlowConnection_ptr the_fc,
    ::AVStreams::FlowEndPoint_ptr the_peer_fep,
    ::AVStreams::QoS & the_qos
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::QoSRequestFailed,
    ::AVStreams::streamOpFailed
  ))
{
  return this->ptr_->set_peer (
    the_fc,
    the_peer_fep,
    the_qos
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowConsumer_tie<T>::set_Mcast_peer  (
    ::AVStreams::FlowConnection_ptr the_fc,
    ::AVStreams::MCastConfigIf_ptr a_mcastconfigif,
    ::AVStreams::QoS & the_qos
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::QoSRequestFailed
  ))
{
  return this->ptr_->set_Mcast_peer (
    the_fc,
    a_mcastconfigif,
    the_qos
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FlowConsumer_tie<T>::connect_to_peer  (
    ::AVStreams::QoS & the_qos,
    const char * address,
    const char * use_flow_protocol
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::failedToConnect,
    ::AVStreams::FPError,
    ::AVStreams::QoSRequestFailed
  ))
{
  return this->ptr_->connect_to_peer (
    the_qos,
    address,
    use_flow_protocol
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
char * POA_AVStreams::FlowConsumer_tie<T>::go_to_listen  (
    ::AVStreams::QoS & the_qos,
    ::CORBA::Boolean is_mcast,
    ::AVStreams::FlowEndPoint_ptr peer,
    char *& flowProtocol
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::failedToListen,
    ::AVStreams::FPError,
    ::AVStreams::QoSRequestFailed
  ))
{
  return this->ptr_->go_to_listen (
    the_qos,
    is_mcast,
    peer,
    flowProtocol
    ACE_ENV_ARG_PARAMETER
  );
}

#endif /* ACE_HAS_USING_KEYWORD */

// TAO_IDL - Generated from
// be/be_visitor_interface/tie_si.cpp:96

#if defined (ACE_HAS_USING_KEYWORD)

template <class T> ACE_INLINE
POA_AVStreams::FDev_tie<T>::FDev_tie (T &t)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_nil ()),
	  rel_ (0)
{}

template <class T> ACE_INLINE
POA_AVStreams::FDev_tie<T>::FDev_tie (T &t, PortableServer::POA_ptr poa)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_duplicate (poa)),
	  rel_ (0)
{}

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

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

template <class T> ACE_INLINE
POA_AVStreams::FDev_tie<T>::~FDev_tie (void)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
}

template <class T> ACE_INLINE T *
POA_AVStreams::FDev_tie<T>::_tied_object (void)
{
  return this->ptr_;
}

template <class T> ACE_INLINE void
POA_AVStreams::FDev_tie<T>::_tied_object (T &obj)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
  
  this->ptr_ = &obj;
  this->rel_ = 0;
}

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

template <class T> ACE_INLINE CORBA::Boolean
POA_AVStreams::FDev_tie<T>::_is_owner (void)
{
  return this->rel_;
}

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

template <class T> ACE_INLINE PortableServer::POA_ptr
POA_AVStreams::FDev_tie<T>::_default_POA (ACE_ENV_SINGLE_ARG_DECL)
{
  if (!CORBA::is_nil (this->poa_.in ()))
    {
      return PortableServer::POA::_duplicate (this->poa_.in ());
    }
  
  return this->FDev::_default_POA (ACE_ENV_SINGLE_ARG_PARAMETER);
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FDev_tie<T>::define_property  (
    const char * property_name,
    const ::CORBA::Any & property_value
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::ConflictingProperty,
    ::CosPropertyService::UnsupportedTypeCode,
    ::CosPropertyService::UnsupportedProperty,
    ::CosPropertyService::ReadOnlyProperty
  ))
{
  this->ptr_->define_property (
    property_name,
    property_value
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FDev_tie<T>::define_properties  (
    const ::CosPropertyService::Properties & nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  this->ptr_->define_properties (
    nproperties
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::ULong POA_AVStreams::FDev_tie<T>::get_number_of_properties  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_number_of_properties (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FDev_tie<T>::get_all_property_names  (
    ::CORBA::ULong how_many,
    ::CosPropertyService::PropertyNames_out property_names,
    ::CosPropertyService::PropertyNamesIterator_out rest
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->get_all_property_names (
    how_many,
    property_names,
    rest
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Any * POA_AVStreams::FDev_tie<T>::get_property_value  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  return this->ptr_->get_property_value (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FDev_tie<T>::get_properties  (
    const ::CosPropertyService::PropertyNames & property_names,
    ::CosPropertyService::Properties_out nproperties
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->get_properties (
    property_names,
    nproperties
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FDev_tie<T>::get_all_properties  (
    ::CORBA::ULong how_many,
    ::CosPropertyService::Properties_out nproperties,
    ::CosPropertyService::PropertiesIterator_out rest
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  this->ptr_->get_all_properties (
    how_many,
    nproperties,
    rest
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FDev_tie<T>::delete_property  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::PropertyNotFound,
    ::CosPropertyService::InvalidPropertyName,
    ::CosPropertyService::FixedProperty
  ))
{
  this->ptr_->delete_property (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FDev_tie<T>::delete_properties  (
    const ::CosPropertyService::PropertyNames & property_names
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::MultipleExceptions
  ))
{
  this->ptr_->delete_properties (
    property_names
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FDev_tie<T>::delete_all_properties  (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  return this->ptr_->delete_all_properties (
    ACE_ENV_SINGLE_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
CORBA::Boolean POA_AVStreams::FDev_tie<T>::is_property_defined  (
    const char * property_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::CosPropertyService::InvalidPropertyName
  ))
{
  return this->ptr_->is_property_defined (
    property_name
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
::AVStreams::FlowProducer_ptr POA_AVStreams::FDev_tie<T>::create_producer  (
    ::AVStreams::FlowConnection_ptr the_requester,
    ::AVStreams::QoS & the_qos,
    ::CORBA::Boolean_out met_qos,
    char *& named_fdev
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::streamOpFailed,
    ::AVStreams::streamOpDenied,
    ::AVStreams::notSupported,
    ::AVStreams::QoSRequestFailed
  ))
{
  return this->ptr_->create_producer (
    the_requester,
    the_qos,
    met_qos,
    named_fdev
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
::AVStreams::FlowConsumer_ptr POA_AVStreams::FDev_tie<T>::create_consumer  (
    ::AVStreams::FlowConnection_ptr the_requester,
    ::AVStreams::QoS & the_qos,
    ::CORBA::Boolean_out met_qos,
    char *& named_fdev
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::streamOpFailed,
    ::AVStreams::streamOpDenied,
    ::AVStreams::notSupported,
    ::AVStreams::QoSRequestFailed
  ))
{
  return this->ptr_->create_consumer (
    the_requester,
    the_qos,
    met_qos,
    named_fdev
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
::AVStreams::FlowConnection_ptr POA_AVStreams::FDev_tie<T>::bind  (
    ::AVStreams::FDev_ptr peer_device,
    ::AVStreams::QoS & the_qos,
    ::CORBA::Boolean_out is_met
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::streamOpFailed,
    ::AVStreams::QoSRequestFailed
  ))
{
  return this->ptr_->bind (
    peer_device,
    the_qos,
    is_met
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
::AVStreams::FlowConnection_ptr POA_AVStreams::FDev_tie<T>::bind_mcast  (
    ::AVStreams::FDev_ptr first_peer,
    ::AVStreams::QoS & the_qos,
    ::CORBA::Boolean_out is_met
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::streamOpFailed,
    ::AVStreams::QoSRequestFailed
  ))
{
  return this->ptr_->bind_mcast (
    first_peer,
    the_qos,
    is_met
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::FDev_tie<T>::destroy  (
    ::AVStreams::FlowEndPoint_ptr the_ep,
    const char * fdev_name
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::notSupported
  ))
{
  this->ptr_->destroy (
    the_ep,
    fdev_name
    ACE_ENV_ARG_PARAMETER
  );
}

#endif /* ACE_HAS_USING_KEYWORD */

// TAO_IDL - Generated from
// be/be_visitor_interface/tie_si.cpp:96

#if defined (ACE_HAS_USING_KEYWORD)

template <class T> ACE_INLINE
POA_AVStreams::MediaControl_tie<T>::MediaControl_tie (T &t)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_nil ()),
	  rel_ (0)
{}

template <class T> ACE_INLINE
POA_AVStreams::MediaControl_tie<T>::MediaControl_tie (T &t, PortableServer::POA_ptr poa)
	: ptr_ (&t),
	  poa_ (PortableServer::POA::_duplicate (poa)),
	  rel_ (0)
{}

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

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

template <class T> ACE_INLINE
POA_AVStreams::MediaControl_tie<T>::~MediaControl_tie (void)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
}

template <class T> ACE_INLINE T *
POA_AVStreams::MediaControl_tie<T>::_tied_object (void)
{
  return this->ptr_;
}

template <class T> ACE_INLINE void
POA_AVStreams::MediaControl_tie<T>::_tied_object (T &obj)
{
  if (this->rel_)
    {
      delete this->ptr_;
    }
  
  this->ptr_ = &obj;
  this->rel_ = 0;
}

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

template <class T> ACE_INLINE CORBA::Boolean
POA_AVStreams::MediaControl_tie<T>::_is_owner (void)
{
  return this->rel_;
}

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

template <class T> ACE_INLINE PortableServer::POA_ptr
POA_AVStreams::MediaControl_tie<T>::_default_POA (ACE_ENV_SINGLE_ARG_DECL)
{
  if (!CORBA::is_nil (this->poa_.in ()))
    {
      return PortableServer::POA::_duplicate (this->poa_.in ());
    }
  
  return this->MediaControl::_default_POA (ACE_ENV_SINGLE_ARG_PARAMETER);
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
::AVStreams::Position POA_AVStreams::MediaControl_tie<T>::get_media_position  (
    ::AVStreams::PositionOrigin an_origin,
    ::AVStreams::PositionKey a_key
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::MediaControl::PostionKeyNotSupported
  ))
{
  return this->ptr_->get_media_position (
    an_origin,
    a_key
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::MediaControl_tie<T>::set_media_position  (
    const ::AVStreams::Position & a_position
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::MediaControl::PostionKeyNotSupported,
    ::AVStreams::InvalidPosition
  ))
{
  this->ptr_->set_media_position (
    a_position
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::MediaControl_tie<T>::start  (
    const ::AVStreams::Position & a_position
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::InvalidPosition
  ))
{
  this->ptr_->start (
    a_position
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::MediaControl_tie<T>::pause  (
    const ::AVStreams::Position & a_position
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::InvalidPosition
  ))
{
  this->ptr_->pause (
    a_position
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::MediaControl_tie<T>::resume  (
    const ::AVStreams::Position & a_position
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::InvalidPosition
  ))
{
  this->ptr_->resume (
    a_position
    ACE_ENV_ARG_PARAMETER
  );
}

// TAO_IDL - Generated from 
// be/be_visitor_operation/tie_si.cpp:68

template <class T> ACE_INLINE
void POA_AVStreams::MediaControl_tie<T>::stop  (
    const ::AVStreams::Position & a_position
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::AVStreams::InvalidPosition
  ))
{
  this->ptr_->stop (
    a_position
    ACE_ENV_ARG_PARAMETER
  );
}

#endif /* ACE_HAS_USING_KEYWORD */

