// -*- C++ -*-
/**
 * Code generated by the The ACE ORB (TAO) IDL Compiler v2.4.0
 * 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
 * and
 *       Institute for Software Integrated Systems
 *       Vanderbilt University
 *       Nashville, TN
 *       USA
 *       http://www.isis.vanderbilt.edu/
 *
 * Information about TAO is available at:
 *     http://www.dre.vanderbilt.edu/~schmidt/TAO.html
 **/


TAO_BEGIN_VERSIONED_NAMESPACE_DECL



// TAO_IDL - Generated from
// be/be_visitor_union/union_ci.cpp:36

// *************************************************************
// Inline operations for union FtRtecEventChannelAdmin::ProxyPushConsumerConnectionParamter
// *************************************************************

// TAO_IDL - Generated from
// be/be_visitor_union/discriminant_ci.cpp:145



// Accessor to set the discriminant.
ACE_INLINE
void
FtRtecEventChannelAdmin::ProxyPushConsumerConnectionParamter::_d ( ::CORBA::Short discval)
{
  this->disc_ = discval;
}

// Accessor to get the discriminant.
ACE_INLINE
::CORBA::Short
FtRtecEventChannelAdmin::ProxyPushConsumerConnectionParamter::_d (void) const
{
  return this->disc_;
}

// TAO_IDL - Generated from
// be/be_visitor_union_branch/public_ci.cpp:1065

/// Accessor to set the member.
ACE_INLINE
void
FtRtecEventChannelAdmin::ProxyPushConsumerConnectionParamter::info (const FtRtecEventChannelAdmin::ProxyPushConsumerConnectionInfo &val)
{
  // Set the discriminant value.
  this->_reset ();
  this->disc_ = 0;
  ACE_NEW (
      this->u_.info_,
      FtRtecEventChannelAdmin::ProxyPushConsumerConnectionInfo (val)
    );
}

// Readonly get method.
ACE_INLINE
const FtRtecEventChannelAdmin::ProxyPushConsumerConnectionInfo &
FtRtecEventChannelAdmin::ProxyPushConsumerConnectionParamter::info (void) const
{
  return *this->u_.info_;
}

// Read/write get method.
ACE_INLINE
FtRtecEventChannelAdmin::ProxyPushConsumerConnectionInfo &
FtRtecEventChannelAdmin::ProxyPushConsumerConnectionParamter::info (void)
{
  return *this->u_.info_;
}

// TAO_IDL - Generated from
// be/be_visitor_union/union_ci.cpp:36

// *************************************************************
// Inline operations for union FtRtecEventChannelAdmin::ProxyPushSupplierConnectionParamter
// *************************************************************

// TAO_IDL - Generated from
// be/be_visitor_union/discriminant_ci.cpp:145



// Accessor to set the discriminant.
ACE_INLINE
void
FtRtecEventChannelAdmin::ProxyPushSupplierConnectionParamter::_d ( ::CORBA::Short discval)
{
  this->disc_ = discval;
}

// Accessor to get the discriminant.
ACE_INLINE
::CORBA::Short
FtRtecEventChannelAdmin::ProxyPushSupplierConnectionParamter::_d (void) const
{
  return this->disc_;
}

// TAO_IDL - Generated from
// be/be_visitor_union_branch/public_ci.cpp:1065

/// Accessor to set the member.
ACE_INLINE
void
FtRtecEventChannelAdmin::ProxyPushSupplierConnectionParamter::info (const FtRtecEventChannelAdmin::ProxyPushSupplierConnectionInfo &val)
{
  // Set the discriminant value.
  this->_reset ();
  this->disc_ = 0;
  ACE_NEW (
      this->u_.info_,
      FtRtecEventChannelAdmin::ProxyPushSupplierConnectionInfo (val)
    );
}

// Readonly get method.
ACE_INLINE
const FtRtecEventChannelAdmin::ProxyPushSupplierConnectionInfo &
FtRtecEventChannelAdmin::ProxyPushSupplierConnectionParamter::info (void) const
{
  return *this->u_.info_;
}

// Read/write get method.
ACE_INLINE
FtRtecEventChannelAdmin::ProxyPushSupplierConnectionInfo &
FtRtecEventChannelAdmin::ProxyPushSupplierConnectionParamter::info (void)
{
  return *this->u_.info_;
}

// TAO_IDL - Generated from
// be/be_visitor_union/union_ci.cpp:36

// *************************************************************
// Inline operations for union FtRtecEventChannelAdmin::OperationParam
// *************************************************************

// TAO_IDL - Generated from
// be/be_visitor_union/discriminant_ci.cpp:55

ACE_INLINE
void
FtRtecEventChannelAdmin::OperationParam::_default ()
{
  this->_reset ();
  this->disc_ = FtRtecEventChannelAdmin::OBTAIN_PUSH_SUPPLIER;
}

// Accessor to set the discriminant.
ACE_INLINE
void
FtRtecEventChannelAdmin::OperationParam::_d (FtRtecEventChannelAdmin::OperationType discval)
{
  this->disc_ = discval;
}

// Accessor to get the discriminant.
ACE_INLINE
FtRtecEventChannelAdmin::OperationType
FtRtecEventChannelAdmin::OperationParam::_d (void) const
{
  return this->disc_;
}

// TAO_IDL - Generated from
// be/be_visitor_union_branch/public_ci.cpp:1065

/// Accessor to set the member.
ACE_INLINE
void
FtRtecEventChannelAdmin::OperationParam::connect_supplier_param (const FtRtecEventChannelAdmin::Connect_push_supplier_param &val)
{
  // Set the discriminant value.
  this->_reset ();
  this->disc_ = FtRtecEventChannelAdmin::CONNECT_PUSH_SUPPLIER;
  ACE_NEW (
      this->u_.connect_supplier_param_,
      FtRtecEventChannelAdmin::Connect_push_supplier_param (val)
    );
}

// Readonly get method.
ACE_INLINE
const FtRtecEventChannelAdmin::Connect_push_supplier_param &
FtRtecEventChannelAdmin::OperationParam::connect_supplier_param (void) const
{
  return *this->u_.connect_supplier_param_;
}

// Read/write get method.
ACE_INLINE
FtRtecEventChannelAdmin::Connect_push_supplier_param &
FtRtecEventChannelAdmin::OperationParam::connect_supplier_param (void)
{
  return *this->u_.connect_supplier_param_;
}

// TAO_IDL - Generated from
// be/be_visitor_union_branch/public_ci.cpp:1065

/// Accessor to set the member.
ACE_INLINE
void
FtRtecEventChannelAdmin::OperationParam::connect_consumer_param (const FtRtecEventChannelAdmin::Connect_push_consumer_param &val)
{
  // Set the discriminant value.
  this->_reset ();
  this->disc_ = FtRtecEventChannelAdmin::CONNECT_PUSH_CONSUMER;
  ACE_NEW (
      this->u_.connect_consumer_param_,
      FtRtecEventChannelAdmin::Connect_push_consumer_param (val)
    );
}

// Readonly get method.
ACE_INLINE
const FtRtecEventChannelAdmin::Connect_push_consumer_param &
FtRtecEventChannelAdmin::OperationParam::connect_consumer_param (void) const
{
  return *this->u_.connect_consumer_param_;
}

// Read/write get method.
ACE_INLINE
FtRtecEventChannelAdmin::Connect_push_consumer_param &
FtRtecEventChannelAdmin::OperationParam::connect_consumer_param (void)
{
  return *this->u_.connect_consumer_param_;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_ci.cpp:59

ACE_INLINE
FtRtecEventChannelAdmin::EventChannelFacade::EventChannelFacade (
    TAO_Stub *objref,
    ::CORBA::Boolean _tao_collocated,
    TAO_Abstract_ServantBase *servant,
    TAO_ORB_Core *oc)
  : ::CORBA::Object (objref, _tao_collocated, servant, oc)
{
}

ACE_INLINE
FtRtecEventChannelAdmin::EventChannelFacade::EventChannelFacade (
    ::IOP::IOR *ior,
    TAO_ORB_Core *oc)
  : ::CORBA::Object (ior, oc)
{
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_ci.cpp:59

ACE_INLINE
FtRtecEventChannelAdmin::EventChannel::EventChannel (
    TAO_Stub *objref,
    ::CORBA::Boolean _tao_collocated,
    TAO_Abstract_ServantBase *servant,
    TAO_ORB_Core *oc)
  : ::CORBA::Object (objref, _tao_collocated, servant, oc)
{
}

ACE_INLINE
FtRtecEventChannelAdmin::EventChannel::EventChannel (
    ::IOP::IOR *ior,
    TAO_ORB_Core *oc)
  : ::CORBA::Object (ior, oc)
{
}


TAO_END_VERSIONED_NAMESPACE_DECL


