// -*- 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_codegen.cpp:303


#include "RtecEventChannelAdminC.h"
#include "tao/CDR.h"
#include "tao/Exception_Data.h"
#include "tao/Invocation_Adapter.h"
#include "tao/Object_T.h"
#include "tao/Typecode.h"
#include "tao/Any_Impl_T.h"
#include "tao/Any_Dual_Impl_T.h"
#include "tao/Basic_Arguments.h"
#include "tao/Object_Argument_T.h"
#include "tao/Var_Size_Argument_T.h"
#include "ace/OS_NS_string.h"

#if defined (__BORLANDC__)
#pragma option -w-rvl -w-rch -w-ccc -w-aus -w-sig
#endif /* __BORLANDC__ */

#if !defined (__ACE_INLINE__)
#include "RtecEventChannelAdminC.inl"
#endif /* !defined __ACE_INLINE__ */

// TAO_IDL - Generated from
// be/be_visitor_arg_traits.cpp:64

// Arg traits specializations.
namespace TAO
{
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:379

#if !defined (_RTECEVENTCOMM_EVENTSET__ARG_TRAITS_CS_)
#define _RTECEVENTCOMM_EVENTSET__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_RTEvent_Export Arg_Traits<RtecEventComm::EventSet>
    : public
        Var_Size_Arg_Traits_T<
            RtecEventComm::EventSet,
            RtecEventComm::EventSet_var,
            RtecEventComm::EventSet_out
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_RTECEVENTCOMM_PUSHCONSUMER__ARG_TRAITS_CS_)
#define _RTECEVENTCOMM_PUSHCONSUMER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_RTEvent_Export Arg_Traits<RtecEventComm::PushConsumer>
    : public
        Object_Arg_Traits_T<
            RtecEventComm::PushConsumer_ptr,
            RtecEventComm::PushConsumer_var,
            RtecEventComm::PushConsumer_out,
            TAO::Objref_Traits<RtecEventComm::PushConsumer>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_RTECEVENTCOMM_PUSHSUPPLIER__ARG_TRAITS_CS_)
#define _RTECEVENTCOMM_PUSHSUPPLIER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_RTEvent_Export Arg_Traits<RtecEventComm::PushSupplier>
    : public
        Object_Arg_Traits_T<
            RtecEventComm::PushSupplier_ptr,
            RtecEventComm::PushSupplier_var,
            RtecEventComm::PushSupplier_out,
            TAO::Objref_Traits<RtecEventComm::PushSupplier>
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:618

#if !defined (_RTECEVENTCHANNELADMIN_CONSUMERQOS__ARG_TRAITS_CS_)
#define _RTECEVENTCHANNELADMIN_CONSUMERQOS__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_RTEvent_Export Arg_Traits<RtecEventChannelAdmin::ConsumerQOS>
    : public
        Var_Size_Arg_Traits_T<
            RtecEventChannelAdmin::ConsumerQOS,
            RtecEventChannelAdmin::ConsumerQOS_var,
            RtecEventChannelAdmin::ConsumerQOS_out
          >
  {
  };

#endif /* end #if !defined */
  
  // TAO_IDL - Generated from
  // be/be_visitor_arg_traits.cpp:618

#if !defined (_RTECEVENTCHANNELADMIN_SUPPLIERQOS__ARG_TRAITS_CS_)
#define _RTECEVENTCHANNELADMIN_SUPPLIERQOS__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_RTEvent_Export Arg_Traits<RtecEventChannelAdmin::SupplierQOS>
    : public
        Var_Size_Arg_Traits_T<
            RtecEventChannelAdmin::SupplierQOS,
            RtecEventChannelAdmin::SupplierQOS_var,
            RtecEventChannelAdmin::SupplierQOS_out
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_RTECEVENTCHANNELADMIN_PROXYPUSHSUPPLIER__ARG_TRAITS_CS_)
#define _RTECEVENTCHANNELADMIN_PROXYPUSHSUPPLIER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_RTEvent_Export Arg_Traits<RtecEventChannelAdmin::ProxyPushSupplier>
    : public
        Object_Arg_Traits_T<
            RtecEventChannelAdmin::ProxyPushSupplier_ptr,
            RtecEventChannelAdmin::ProxyPushSupplier_var,
            RtecEventChannelAdmin::ProxyPushSupplier_out,
            TAO::Objref_Traits<RtecEventChannelAdmin::ProxyPushSupplier>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_RTECEVENTCHANNELADMIN_PROXYPUSHCONSUMER__ARG_TRAITS_CS_)
#define _RTECEVENTCHANNELADMIN_PROXYPUSHCONSUMER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_RTEvent_Export Arg_Traits<RtecEventChannelAdmin::ProxyPushConsumer>
    : public
        Object_Arg_Traits_T<
            RtecEventChannelAdmin::ProxyPushConsumer_ptr,
            RtecEventChannelAdmin::ProxyPushConsumer_var,
            RtecEventChannelAdmin::ProxyPushConsumer_out,
            TAO::Objref_Traits<RtecEventChannelAdmin::ProxyPushConsumer>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_RTECEVENTCHANNELADMIN_CONSUMERADMIN__ARG_TRAITS_CS_)
#define _RTECEVENTCHANNELADMIN_CONSUMERADMIN__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_RTEvent_Export Arg_Traits<RtecEventChannelAdmin::ConsumerAdmin>
    : public
        Object_Arg_Traits_T<
            RtecEventChannelAdmin::ConsumerAdmin_ptr,
            RtecEventChannelAdmin::ConsumerAdmin_var,
            RtecEventChannelAdmin::ConsumerAdmin_out,
            TAO::Objref_Traits<RtecEventChannelAdmin::ConsumerAdmin>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_RTECEVENTCHANNELADMIN_SUPPLIERADMIN__ARG_TRAITS_CS_)
#define _RTECEVENTCHANNELADMIN_SUPPLIERADMIN__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_RTEvent_Export Arg_Traits<RtecEventChannelAdmin::SupplierAdmin>
    : public
        Object_Arg_Traits_T<
            RtecEventChannelAdmin::SupplierAdmin_ptr,
            RtecEventChannelAdmin::SupplierAdmin_var,
            RtecEventChannelAdmin::SupplierAdmin_out,
            TAO::Objref_Traits<RtecEventChannelAdmin::SupplierAdmin>
          >
  {
  };

#endif /* end #if !defined */

#if !defined (_RTECEVENTCHANNELADMIN_OBSERVER__ARG_TRAITS_CS_)
#define _RTECEVENTCHANNELADMIN_OBSERVER__ARG_TRAITS_CS_
  
  ACE_TEMPLATE_SPECIALIZATION
  class TAO_RTEvent_Export Arg_Traits<RtecEventChannelAdmin::Observer>
    : public
        Object_Arg_Traits_T<
            RtecEventChannelAdmin::Observer_ptr,
            RtecEventChannelAdmin::Observer_var,
            RtecEventChannelAdmin::Observer_out,
            TAO::Objref_Traits<RtecEventChannelAdmin::Observer>
          >
  {
  };

#endif /* end #if !defined */
}


// TAO_IDL - Generated from 
// be/be_visitor_exception/exception_cs.cpp:63

RtecEventChannelAdmin::AlreadyConnected::AlreadyConnected (void)
  : CORBA::UserException (
        "IDL:RtecEventChannelAdmin/AlreadyConnected:1.0",
        "AlreadyConnected"
      )
{
}

RtecEventChannelAdmin::AlreadyConnected::~AlreadyConnected (void)
{
}

RtecEventChannelAdmin::AlreadyConnected::AlreadyConnected (const ::RtecEventChannelAdmin::AlreadyConnected &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

RtecEventChannelAdmin::AlreadyConnected&
RtecEventChannelAdmin::AlreadyConnected::operator= (const ::RtecEventChannelAdmin::AlreadyConnected &_tao_excp)
{
  this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
  return *this;
}

void RtecEventChannelAdmin::AlreadyConnected::_tao_any_destructor (void *_tao_void_pointer)
{
  AlreadyConnected *_tao_tmp_pointer =
    static_cast<AlreadyConnected*> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

RtecEventChannelAdmin::AlreadyConnected *
RtecEventChannelAdmin::AlreadyConnected::_downcast (CORBA::Exception *_tao_excp)
{
  if (!ACE_OS::strcmp ("IDL:RtecEventChannelAdmin/AlreadyConnected:1.0", _tao_excp->_rep_id ()))
    {
      return dynamic_cast<AlreadyConnected *> (_tao_excp);
    }
  else
    {
      return 0;
    }
}

CORBA::Exception *RtecEventChannelAdmin::AlreadyConnected::_alloc (void)
{
  CORBA::Exception *retval = 0;
  ACE_NEW_RETURN (retval, ::RtecEventChannelAdmin::AlreadyConnected, 0);
  return retval;
}

CORBA::Exception *
RtecEventChannelAdmin::AlreadyConnected::_tao_duplicate (void) const
{
  CORBA::Exception *result;
  ACE_NEW_RETURN (
      result,
      ::RtecEventChannelAdmin::AlreadyConnected (*this),
      0
    );
  return result;
}

void RtecEventChannelAdmin::AlreadyConnected::_raise (void) const
{
  TAO_RAISE (*this);
}

void RtecEventChannelAdmin::AlreadyConnected::_tao_encode (
    TAO_OutputCDR &cdr
    ACE_ENV_ARG_DECL
  ) const
{
  if (cdr << *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

void RtecEventChannelAdmin::AlreadyConnected::_tao_decode (
    TAO_InputCDR &cdr
    ACE_ENV_ARG_DECL
  )
{
  if (cdr >> *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

// TAO extension - the virtual _type method.
CORBA::TypeCode_ptr RtecEventChannelAdmin::AlreadyConnected::_type (void) const
{
  return ::RtecEventChannelAdmin::_tc_AlreadyConnected;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_RtecEventChannelAdmin_AlreadyConnected[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  47,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x74436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f416c), 
  ACE_NTOHL (0x72656164), 
  ACE_NTOHL (0x79436f6e), 
  ACE_NTOHL (0x6e656374), 
  ACE_NTOHL (0x65643a31), 
  ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecEventChannelAdmin/AlreadyConnected:1.0
    17,
  ACE_NTOHL (0x416c7265), 
  ACE_NTOHL (0x61647943), 
  ACE_NTOHL (0x6f6e6e65), 
  ACE_NTOHL (0x63746564), 
  ACE_NTOHL (0x0),  // name = AlreadyConnected
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_RtecEventChannelAdmin_AlreadyConnected (
    CORBA::tk_except,
    sizeof (_oc_RtecEventChannelAdmin_AlreadyConnected),
    (char *) &_oc_RtecEventChannelAdmin_AlreadyConnected,
    0,
    sizeof (RtecEventChannelAdmin::AlreadyConnected)
  );

namespace RtecEventChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_AlreadyConnected =
    &_tc_TAO_tc_RtecEventChannelAdmin_AlreadyConnected;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_RtecEventChannelAdmin_Dependency[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  41,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x74436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f4465), 
  ACE_NTOHL (0x70656e64), 
  ACE_NTOHL (0x656e6379), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:RtecEventChannelAdmin/Dependency:1.0
    11,
  ACE_NTOHL (0x44657065), 
  ACE_NTOHL (0x6e64656e), 
  ACE_NTOHL (0x63790000),  // name = Dependency
  2, // member count
    6,
  ACE_NTOHL (0x6576656e), 
  ACE_NTOHL (0x74000000),  // name = event
    CORBA::tk_struct, // typecode kind
  1004, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    28,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x52746563), 
    ACE_NTOHL (0x4576656e), 
    ACE_NTOHL (0x74436f6d), 
    ACE_NTOHL (0x6d2f4576), 
    ACE_NTOHL (0x656e743a), 
    ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventComm/Event:1.0
        6,
    ACE_NTOHL (0x4576656e), 
    ACE_NTOHL (0x74000000),  // name = Event
    2, // member count
        7,
    ACE_NTOHL (0x68656164), 
    ACE_NTOHL (0x65720000),  // name = header
        CORBA::tk_struct, // typecode kind
    664, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      34,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x52746563), 
      ACE_NTOHL (0x4576656e), 
      ACE_NTOHL (0x74436f6d), 
      ACE_NTOHL (0x6d2f4576), 
      ACE_NTOHL (0x656e7448), 
      ACE_NTOHL (0x65616465), 
      ACE_NTOHL (0x723a312e), 
      ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecEventComm/EventHeader:1.0
            12,
      ACE_NTOHL (0x4576656e), 
      ACE_NTOHL (0x74486561), 
      ACE_NTOHL (0x64657200),  // name = EventHeader
      6, // member count
            5,
      ACE_NTOHL (0x74797065), 
      ACE_NTOHL (0x0),  // name = type
            CORBA::tk_alias, // typecode kind for typedefs
      60, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        32,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x52746563), 
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74436f6d), 
        ACE_NTOHL (0x6d2f4576), 
        ACE_NTOHL (0x656e7454), 
        ACE_NTOHL (0x7970653a), 
        ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventComm/EventType:1.0
                10,
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74547970), 
        ACE_NTOHL (0x65000000),  // name = EventType
                CORBA::tk_long,


      7,
      ACE_NTOHL (0x736f7572), 
      ACE_NTOHL (0x63650000),  // name = source
            CORBA::tk_alias, // typecode kind for typedefs
      68, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        36,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x52746563), 
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74436f6d), 
        ACE_NTOHL (0x6d2f4576), 
        ACE_NTOHL (0x656e7453), 
        ACE_NTOHL (0x6f757263), 
        ACE_NTOHL (0x6549443a), 
        ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventComm/EventSourceID:1.0
                14,
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74536f75), 
        ACE_NTOHL (0x72636549), 
        ACE_NTOHL (0x44000000),  // name = EventSourceID
                CORBA::tk_long,


      4,
      ACE_NTOHL (0x74746c00),  // name = ttl
            CORBA::tk_long,

      14,
      ACE_NTOHL (0x63726561), 
      ACE_NTOHL (0x74696f6e), 
      ACE_NTOHL (0x5f74696d), 
      ACE_NTOHL (0x65000000),  // name = creation_time
            CORBA::tk_alias, // typecode kind for typedefs
      112, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        27,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x52746563), 
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74436f6d), 
        ACE_NTOHL (0x6d2f5469), 
        ACE_NTOHL (0x6d653a31), 
        ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecEventComm/Time:1.0
                5,
        ACE_NTOHL (0x54696d65), 
        ACE_NTOHL (0x0),  // name = Time
                CORBA::tk_alias, // typecode kind for typedefs
        56, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          31,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x6f6d672e), 
          ACE_NTOHL (0x6f72672f), 
          ACE_NTOHL (0x54696d65), 
          ACE_NTOHL (0x42617365), 
          ACE_NTOHL (0x2f54696d), 
          ACE_NTOHL (0x65543a31), 
          ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/TimeBase/TimeT:1.0
                    6,
          ACE_NTOHL (0x54696d65), 
          ACE_NTOHL (0x54000000),  // name = TimeT
                    CORBA::tk_ulonglong,



      13,
      ACE_NTOHL (0x65635f72), 
      ACE_NTOHL (0x6563765f), 
      ACE_NTOHL (0x74696d65), 
      ACE_NTOHL (0x0),  // name = ec_recv_time
            CORBA::tk_alias, // typecode kind for typedefs
      112, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        27,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x52746563), 
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74436f6d), 
        ACE_NTOHL (0x6d2f5469), 
        ACE_NTOHL (0x6d653a31), 
        ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecEventComm/Time:1.0
                5,
        ACE_NTOHL (0x54696d65), 
        ACE_NTOHL (0x0),  // name = Time
                CORBA::tk_alias, // typecode kind for typedefs
        56, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          31,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x6f6d672e), 
          ACE_NTOHL (0x6f72672f), 
          ACE_NTOHL (0x54696d65), 
          ACE_NTOHL (0x42617365), 
          ACE_NTOHL (0x2f54696d), 
          ACE_NTOHL (0x65543a31), 
          ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/TimeBase/TimeT:1.0
                    6,
          ACE_NTOHL (0x54696d65), 
          ACE_NTOHL (0x54000000),  // name = TimeT
                    CORBA::tk_ulonglong,



      13,
      ACE_NTOHL (0x65635f73), 
      ACE_NTOHL (0x656e645f), 
      ACE_NTOHL (0x74696d65), 
      ACE_NTOHL (0x0),  // name = ec_send_time
            CORBA::tk_alias, // typecode kind for typedefs
      112, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        27,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x52746563), 
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74436f6d), 
        ACE_NTOHL (0x6d2f5469), 
        ACE_NTOHL (0x6d653a31), 
        ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecEventComm/Time:1.0
                5,
        ACE_NTOHL (0x54696d65), 
        ACE_NTOHL (0x0),  // name = Time
                CORBA::tk_alias, // typecode kind for typedefs
        56, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          31,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x6f6d672e), 
          ACE_NTOHL (0x6f72672f), 
          ACE_NTOHL (0x54696d65), 
          ACE_NTOHL (0x42617365), 
          ACE_NTOHL (0x2f54696d), 
          ACE_NTOHL (0x65543a31), 
          ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/TimeBase/TimeT:1.0
                    6,
          ACE_NTOHL (0x54696d65), 
          ACE_NTOHL (0x54000000),  // name = TimeT
                    CORBA::tk_ulonglong,




    5,
    ACE_NTOHL (0x64617461), 
    ACE_NTOHL (0x0),  // name = data
        CORBA::tk_alias, // typecode kind for typedefs
    248, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      32,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x52746563), 
      ACE_NTOHL (0x4576656e), 
      ACE_NTOHL (0x74436f6d), 
      ACE_NTOHL (0x6d2f4576), 
      ACE_NTOHL (0x656e7444), 
      ACE_NTOHL (0x6174613a), 
      ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventComm/EventData:1.0
            10,
      ACE_NTOHL (0x4576656e), 
      ACE_NTOHL (0x74446174), 
      ACE_NTOHL (0x61000000),  // name = EventData
            CORBA::tk_struct, // typecode kind
      184, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        22,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x52746563), 
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74446174), 
        ACE_NTOHL (0x613a312e), 
        ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecEventData:1.0
                14,
        ACE_NTOHL (0x52746563), 
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74446174), 
        ACE_NTOHL (0x61000000),  // name = RtecEventData
        3, // member count
                5,
        ACE_NTOHL (0x70616431), 
        ACE_NTOHL (0x0),  // name = pad1
                CORBA::tk_long,

        8,
        ACE_NTOHL (0x7061796c), 
        ACE_NTOHL (0x6f616400),  // name = payload
                CORBA::tk_alias, // typecode kind for typedefs
        72, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          21,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74506179), 
          ACE_NTOHL (0x6c6f6164), 
          ACE_NTOHL (0x3a312e30), 
          ACE_NTOHL (0x0),  // repository ID = IDL:EventPayload:1.0
                    13,
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74506179), 
          ACE_NTOHL (0x6c6f6164), 
          ACE_NTOHL (0x0),  // name = EventPayload
                    CORBA::tk_sequence, // typecode kind
          12, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            CORBA::tk_octet,

            0U,


        10,
        ACE_NTOHL (0x616e795f), 
        ACE_NTOHL (0x76616c75), 
        ACE_NTOHL (0x65000000),  // name = any_value
                CORBA::tk_any,




  8,
  ACE_NTOHL (0x72745f69), 
  ACE_NTOHL (0x6e666f00),  // name = rt_info
    CORBA::tk_alias, // typecode kind for typedefs
  56, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    26,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x52746563), 
    ACE_NTOHL (0x42617365), 
    ACE_NTOHL (0x2f68616e), 
    ACE_NTOHL (0x646c655f), 
    ACE_NTOHL (0x743a312e), 
    ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecBase/handle_t:1.0
        9,
    ACE_NTOHL (0x68616e64), 
    ACE_NTOHL (0x6c655f74), 
    ACE_NTOHL (0x0),  // name = handle_t
        CORBA::tk_long,


};

static CORBA::TypeCode _tc_TAO_tc_RtecEventChannelAdmin_Dependency (
    CORBA::tk_struct,
    sizeof (_oc_RtecEventChannelAdmin_Dependency),
    (char *) &_oc_RtecEventChannelAdmin_Dependency,
    0,
    sizeof (RtecEventChannelAdmin::Dependency)
  );

namespace RtecEventChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_Dependency =
    &_tc_TAO_tc_RtecEventChannelAdmin_Dependency;
}

// TAO_IDL - Generated from 
// be/be_visitor_structure/structure_cs.cpp:66

void 
RtecEventChannelAdmin::Dependency::_tao_any_destructor (
    void *_tao_void_pointer
  )
{
  Dependency *_tao_tmp_pointer =
    static_cast<Dependency *> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/sequence_cs.cpp:65

#if !defined (_RTECEVENTCHANNELADMIN_DEPENDENCYSET_CS_)
#define _RTECEVENTCHANNELADMIN_DEPENDENCYSET_CS_

RtecEventChannelAdmin::DependencySet::DependencySet (void)
{}

RtecEventChannelAdmin::DependencySet::DependencySet (
    CORBA::ULong max
  )
  : TAO_Unbounded_Sequence<
        RtecEventChannelAdmin::Dependency
      >
    (max)
{}

RtecEventChannelAdmin::DependencySet::DependencySet (
    CORBA::ULong max,
    CORBA::ULong length,
    RtecEventChannelAdmin::Dependency * buffer,
    CORBA::Boolean release
  )
  : TAO_Unbounded_Sequence<
        RtecEventChannelAdmin::Dependency
      >
    (max, length, buffer, release)
{}

RtecEventChannelAdmin::DependencySet::DependencySet (
    const DependencySet &seq
  )
  : TAO_Unbounded_Sequence<
        RtecEventChannelAdmin::Dependency
      >
    (seq)
{}

RtecEventChannelAdmin::DependencySet::~DependencySet (void)
{}

void RtecEventChannelAdmin::DependencySet::_tao_any_destructor (
    void * _tao_void_pointer
  )
{
  DependencySet * _tao_tmp_pointer =
    static_cast<DependencySet *> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

#endif /* end #if !defined */

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_RtecEventChannelAdmin_DependencySet[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  44,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x74436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f4465), 
  ACE_NTOHL (0x70656e64), 
  ACE_NTOHL (0x656e6379), 
  ACE_NTOHL (0x5365743a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventChannelAdmin/DependencySet:1.0
    14,
  ACE_NTOHL (0x44657065), 
  ACE_NTOHL (0x6e64656e), 
  ACE_NTOHL (0x63795365), 
  ACE_NTOHL (0x74000000),  // name = DependencySet
    CORBA::tk_sequence, // typecode kind
  1188, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    CORBA::tk_struct, // typecode kind
    1172, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      41,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x52746563), 
      ACE_NTOHL (0x4576656e), 
      ACE_NTOHL (0x74436861), 
      ACE_NTOHL (0x6e6e656c), 
      ACE_NTOHL (0x41646d69), 
      ACE_NTOHL (0x6e2f4465), 
      ACE_NTOHL (0x70656e64), 
      ACE_NTOHL (0x656e6379), 
      ACE_NTOHL (0x3a312e30), 
      ACE_NTOHL (0x0),  // repository ID = IDL:RtecEventChannelAdmin/Dependency:1.0
            11,
      ACE_NTOHL (0x44657065), 
      ACE_NTOHL (0x6e64656e), 
      ACE_NTOHL (0x63790000),  // name = Dependency
      2, // member count
            6,
      ACE_NTOHL (0x6576656e), 
      ACE_NTOHL (0x74000000),  // name = event
            CORBA::tk_struct, // typecode kind
      1004, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        28,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x52746563), 
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74436f6d), 
        ACE_NTOHL (0x6d2f4576), 
        ACE_NTOHL (0x656e743a), 
        ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventComm/Event:1.0
                6,
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74000000),  // name = Event
        2, // member count
                7,
        ACE_NTOHL (0x68656164), 
        ACE_NTOHL (0x65720000),  // name = header
                CORBA::tk_struct, // typecode kind
        664, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          34,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x52746563), 
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74436f6d), 
          ACE_NTOHL (0x6d2f4576), 
          ACE_NTOHL (0x656e7448), 
          ACE_NTOHL (0x65616465), 
          ACE_NTOHL (0x723a312e), 
          ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecEventComm/EventHeader:1.0
                    12,
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74486561), 
          ACE_NTOHL (0x64657200),  // name = EventHeader
          6, // member count
                    5,
          ACE_NTOHL (0x74797065), 
          ACE_NTOHL (0x0),  // name = type
                    CORBA::tk_alias, // typecode kind for typedefs
          60, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            32,
            ACE_NTOHL (0x49444c3a), 
            ACE_NTOHL (0x52746563), 
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74436f6d), 
            ACE_NTOHL (0x6d2f4576), 
            ACE_NTOHL (0x656e7454), 
            ACE_NTOHL (0x7970653a), 
            ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventComm/EventType:1.0
                        10,
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74547970), 
            ACE_NTOHL (0x65000000),  // name = EventType
                        CORBA::tk_long,


          7,
          ACE_NTOHL (0x736f7572), 
          ACE_NTOHL (0x63650000),  // name = source
                    CORBA::tk_alias, // typecode kind for typedefs
          68, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            36,
            ACE_NTOHL (0x49444c3a), 
            ACE_NTOHL (0x52746563), 
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74436f6d), 
            ACE_NTOHL (0x6d2f4576), 
            ACE_NTOHL (0x656e7453), 
            ACE_NTOHL (0x6f757263), 
            ACE_NTOHL (0x6549443a), 
            ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventComm/EventSourceID:1.0
                        14,
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74536f75), 
            ACE_NTOHL (0x72636549), 
            ACE_NTOHL (0x44000000),  // name = EventSourceID
                        CORBA::tk_long,


          4,
          ACE_NTOHL (0x74746c00),  // name = ttl
                    CORBA::tk_long,

          14,
          ACE_NTOHL (0x63726561), 
          ACE_NTOHL (0x74696f6e), 
          ACE_NTOHL (0x5f74696d), 
          ACE_NTOHL (0x65000000),  // name = creation_time
                    CORBA::tk_alias, // typecode kind for typedefs
          112, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            27,
            ACE_NTOHL (0x49444c3a), 
            ACE_NTOHL (0x52746563), 
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74436f6d), 
            ACE_NTOHL (0x6d2f5469), 
            ACE_NTOHL (0x6d653a31), 
            ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecEventComm/Time:1.0
                        5,
            ACE_NTOHL (0x54696d65), 
            ACE_NTOHL (0x0),  // name = Time
                        CORBA::tk_alias, // typecode kind for typedefs
            56, // encapsulation length
              TAO_ENCAP_BYTE_ORDER, // byte order
              31,
              ACE_NTOHL (0x49444c3a), 
              ACE_NTOHL (0x6f6d672e), 
              ACE_NTOHL (0x6f72672f), 
              ACE_NTOHL (0x54696d65), 
              ACE_NTOHL (0x42617365), 
              ACE_NTOHL (0x2f54696d), 
              ACE_NTOHL (0x65543a31), 
              ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/TimeBase/TimeT:1.0
                            6,
              ACE_NTOHL (0x54696d65), 
              ACE_NTOHL (0x54000000),  // name = TimeT
                            CORBA::tk_ulonglong,



          13,
          ACE_NTOHL (0x65635f72), 
          ACE_NTOHL (0x6563765f), 
          ACE_NTOHL (0x74696d65), 
          ACE_NTOHL (0x0),  // name = ec_recv_time
                    CORBA::tk_alias, // typecode kind for typedefs
          112, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            27,
            ACE_NTOHL (0x49444c3a), 
            ACE_NTOHL (0x52746563), 
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74436f6d), 
            ACE_NTOHL (0x6d2f5469), 
            ACE_NTOHL (0x6d653a31), 
            ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecEventComm/Time:1.0
                        5,
            ACE_NTOHL (0x54696d65), 
            ACE_NTOHL (0x0),  // name = Time
                        CORBA::tk_alias, // typecode kind for typedefs
            56, // encapsulation length
              TAO_ENCAP_BYTE_ORDER, // byte order
              31,
              ACE_NTOHL (0x49444c3a), 
              ACE_NTOHL (0x6f6d672e), 
              ACE_NTOHL (0x6f72672f), 
              ACE_NTOHL (0x54696d65), 
              ACE_NTOHL (0x42617365), 
              ACE_NTOHL (0x2f54696d), 
              ACE_NTOHL (0x65543a31), 
              ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/TimeBase/TimeT:1.0
                            6,
              ACE_NTOHL (0x54696d65), 
              ACE_NTOHL (0x54000000),  // name = TimeT
                            CORBA::tk_ulonglong,



          13,
          ACE_NTOHL (0x65635f73), 
          ACE_NTOHL (0x656e645f), 
          ACE_NTOHL (0x74696d65), 
          ACE_NTOHL (0x0),  // name = ec_send_time
                    CORBA::tk_alias, // typecode kind for typedefs
          112, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            27,
            ACE_NTOHL (0x49444c3a), 
            ACE_NTOHL (0x52746563), 
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74436f6d), 
            ACE_NTOHL (0x6d2f5469), 
            ACE_NTOHL (0x6d653a31), 
            ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecEventComm/Time:1.0
                        5,
            ACE_NTOHL (0x54696d65), 
            ACE_NTOHL (0x0),  // name = Time
                        CORBA::tk_alias, // typecode kind for typedefs
            56, // encapsulation length
              TAO_ENCAP_BYTE_ORDER, // byte order
              31,
              ACE_NTOHL (0x49444c3a), 
              ACE_NTOHL (0x6f6d672e), 
              ACE_NTOHL (0x6f72672f), 
              ACE_NTOHL (0x54696d65), 
              ACE_NTOHL (0x42617365), 
              ACE_NTOHL (0x2f54696d), 
              ACE_NTOHL (0x65543a31), 
              ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/TimeBase/TimeT:1.0
                            6,
              ACE_NTOHL (0x54696d65), 
              ACE_NTOHL (0x54000000),  // name = TimeT
                            CORBA::tk_ulonglong,




        5,
        ACE_NTOHL (0x64617461), 
        ACE_NTOHL (0x0),  // name = data
                CORBA::tk_alias, // typecode kind for typedefs
        248, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          32,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x52746563), 
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74436f6d), 
          ACE_NTOHL (0x6d2f4576), 
          ACE_NTOHL (0x656e7444), 
          ACE_NTOHL (0x6174613a), 
          ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventComm/EventData:1.0
                    10,
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74446174), 
          ACE_NTOHL (0x61000000),  // name = EventData
                    CORBA::tk_struct, // typecode kind
          184, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            22,
            ACE_NTOHL (0x49444c3a), 
            ACE_NTOHL (0x52746563), 
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74446174), 
            ACE_NTOHL (0x613a312e), 
            ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecEventData:1.0
                        14,
            ACE_NTOHL (0x52746563), 
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74446174), 
            ACE_NTOHL (0x61000000),  // name = RtecEventData
            3, // member count
                        5,
            ACE_NTOHL (0x70616431), 
            ACE_NTOHL (0x0),  // name = pad1
                        CORBA::tk_long,

            8,
            ACE_NTOHL (0x7061796c), 
            ACE_NTOHL (0x6f616400),  // name = payload
                        CORBA::tk_alias, // typecode kind for typedefs
            72, // encapsulation length
              TAO_ENCAP_BYTE_ORDER, // byte order
              21,
              ACE_NTOHL (0x49444c3a), 
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74506179), 
              ACE_NTOHL (0x6c6f6164), 
              ACE_NTOHL (0x3a312e30), 
              ACE_NTOHL (0x0),  // repository ID = IDL:EventPayload:1.0
                            13,
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74506179), 
              ACE_NTOHL (0x6c6f6164), 
              ACE_NTOHL (0x0),  // name = EventPayload
                            CORBA::tk_sequence, // typecode kind
              12, // encapsulation length
                TAO_ENCAP_BYTE_ORDER, // byte order
                CORBA::tk_octet,

                0U,


            10,
            ACE_NTOHL (0x616e795f), 
            ACE_NTOHL (0x76616c75), 
            ACE_NTOHL (0x65000000),  // name = any_value
                        CORBA::tk_any,




      8,
      ACE_NTOHL (0x72745f69), 
      ACE_NTOHL (0x6e666f00),  // name = rt_info
            CORBA::tk_alias, // typecode kind for typedefs
      56, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        26,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x52746563), 
        ACE_NTOHL (0x42617365), 
        ACE_NTOHL (0x2f68616e), 
        ACE_NTOHL (0x646c655f), 
        ACE_NTOHL (0x743a312e), 
        ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecBase/handle_t:1.0
                9,
        ACE_NTOHL (0x68616e64), 
        ACE_NTOHL (0x6c655f74), 
        ACE_NTOHL (0x0),  // name = handle_t
                CORBA::tk_long,



    0U,

};

static CORBA::TypeCode _tc_TAO_tc_RtecEventChannelAdmin_DependencySet (
    CORBA::tk_alias,
    sizeof (_oc_RtecEventChannelAdmin_DependencySet),
    (char *) &_oc_RtecEventChannelAdmin_DependencySet,
    0,
    sizeof (RtecEventChannelAdmin::DependencySet)
  );

namespace RtecEventChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_DependencySet =
    &_tc_TAO_tc_RtecEventChannelAdmin_DependencySet;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_RtecEventChannelAdmin_ConsumerQOS[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  42,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x74436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f436f), 
  ACE_NTOHL (0x6e73756d), 
  ACE_NTOHL (0x6572514f), 
  ACE_NTOHL (0x533a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecEventChannelAdmin/ConsumerQOS:1.0
    12,
  ACE_NTOHL (0x436f6e73), 
  ACE_NTOHL (0x756d6572), 
  ACE_NTOHL (0x514f5300),  // name = ConsumerQOS
  2, // member count
    13,
  ACE_NTOHL (0x64657065), 
  ACE_NTOHL (0x6e64656e), 
  ACE_NTOHL (0x63696573), 
  ACE_NTOHL (0x0),  // name = dependencies
    CORBA::tk_alias, // typecode kind for typedefs
  1268, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    44,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x52746563), 
    ACE_NTOHL (0x4576656e), 
    ACE_NTOHL (0x74436861), 
    ACE_NTOHL (0x6e6e656c), 
    ACE_NTOHL (0x41646d69), 
    ACE_NTOHL (0x6e2f4465), 
    ACE_NTOHL (0x70656e64), 
    ACE_NTOHL (0x656e6379), 
    ACE_NTOHL (0x5365743a), 
    ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventChannelAdmin/DependencySet:1.0
        14,
    ACE_NTOHL (0x44657065), 
    ACE_NTOHL (0x6e64656e), 
    ACE_NTOHL (0x63795365), 
    ACE_NTOHL (0x74000000),  // name = DependencySet
        CORBA::tk_sequence, // typecode kind
    1188, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      CORBA::tk_struct, // typecode kind
      1172, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        41,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x52746563), 
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74436861), 
        ACE_NTOHL (0x6e6e656c), 
        ACE_NTOHL (0x41646d69), 
        ACE_NTOHL (0x6e2f4465), 
        ACE_NTOHL (0x70656e64), 
        ACE_NTOHL (0x656e6379), 
        ACE_NTOHL (0x3a312e30), 
        ACE_NTOHL (0x0),  // repository ID = IDL:RtecEventChannelAdmin/Dependency:1.0
                11,
        ACE_NTOHL (0x44657065), 
        ACE_NTOHL (0x6e64656e), 
        ACE_NTOHL (0x63790000),  // name = Dependency
        2, // member count
                6,
        ACE_NTOHL (0x6576656e), 
        ACE_NTOHL (0x74000000),  // name = event
                CORBA::tk_struct, // typecode kind
        1004, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          28,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x52746563), 
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74436f6d), 
          ACE_NTOHL (0x6d2f4576), 
          ACE_NTOHL (0x656e743a), 
          ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventComm/Event:1.0
                    6,
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74000000),  // name = Event
          2, // member count
                    7,
          ACE_NTOHL (0x68656164), 
          ACE_NTOHL (0x65720000),  // name = header
                    CORBA::tk_struct, // typecode kind
          664, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            34,
            ACE_NTOHL (0x49444c3a), 
            ACE_NTOHL (0x52746563), 
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74436f6d), 
            ACE_NTOHL (0x6d2f4576), 
            ACE_NTOHL (0x656e7448), 
            ACE_NTOHL (0x65616465), 
            ACE_NTOHL (0x723a312e), 
            ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecEventComm/EventHeader:1.0
                        12,
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74486561), 
            ACE_NTOHL (0x64657200),  // name = EventHeader
            6, // member count
                        5,
            ACE_NTOHL (0x74797065), 
            ACE_NTOHL (0x0),  // name = type
                        CORBA::tk_alias, // typecode kind for typedefs
            60, // encapsulation length
              TAO_ENCAP_BYTE_ORDER, // byte order
              32,
              ACE_NTOHL (0x49444c3a), 
              ACE_NTOHL (0x52746563), 
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74436f6d), 
              ACE_NTOHL (0x6d2f4576), 
              ACE_NTOHL (0x656e7454), 
              ACE_NTOHL (0x7970653a), 
              ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventComm/EventType:1.0
                            10,
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74547970), 
              ACE_NTOHL (0x65000000),  // name = EventType
                            CORBA::tk_long,


            7,
            ACE_NTOHL (0x736f7572), 
            ACE_NTOHL (0x63650000),  // name = source
                        CORBA::tk_alias, // typecode kind for typedefs
            68, // encapsulation length
              TAO_ENCAP_BYTE_ORDER, // byte order
              36,
              ACE_NTOHL (0x49444c3a), 
              ACE_NTOHL (0x52746563), 
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74436f6d), 
              ACE_NTOHL (0x6d2f4576), 
              ACE_NTOHL (0x656e7453), 
              ACE_NTOHL (0x6f757263), 
              ACE_NTOHL (0x6549443a), 
              ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventComm/EventSourceID:1.0
                            14,
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74536f75), 
              ACE_NTOHL (0x72636549), 
              ACE_NTOHL (0x44000000),  // name = EventSourceID
                            CORBA::tk_long,


            4,
            ACE_NTOHL (0x74746c00),  // name = ttl
                        CORBA::tk_long,

            14,
            ACE_NTOHL (0x63726561), 
            ACE_NTOHL (0x74696f6e), 
            ACE_NTOHL (0x5f74696d), 
            ACE_NTOHL (0x65000000),  // name = creation_time
                        CORBA::tk_alias, // typecode kind for typedefs
            112, // encapsulation length
              TAO_ENCAP_BYTE_ORDER, // byte order
              27,
              ACE_NTOHL (0x49444c3a), 
              ACE_NTOHL (0x52746563), 
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74436f6d), 
              ACE_NTOHL (0x6d2f5469), 
              ACE_NTOHL (0x6d653a31), 
              ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecEventComm/Time:1.0
                            5,
              ACE_NTOHL (0x54696d65), 
              ACE_NTOHL (0x0),  // name = Time
                            CORBA::tk_alias, // typecode kind for typedefs
              56, // encapsulation length
                TAO_ENCAP_BYTE_ORDER, // byte order
                31,
                ACE_NTOHL (0x49444c3a), 
                ACE_NTOHL (0x6f6d672e), 
                ACE_NTOHL (0x6f72672f), 
                ACE_NTOHL (0x54696d65), 
                ACE_NTOHL (0x42617365), 
                ACE_NTOHL (0x2f54696d), 
                ACE_NTOHL (0x65543a31), 
                ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/TimeBase/TimeT:1.0
                                6,
                ACE_NTOHL (0x54696d65), 
                ACE_NTOHL (0x54000000),  // name = TimeT
                                CORBA::tk_ulonglong,



            13,
            ACE_NTOHL (0x65635f72), 
            ACE_NTOHL (0x6563765f), 
            ACE_NTOHL (0x74696d65), 
            ACE_NTOHL (0x0),  // name = ec_recv_time
                        CORBA::tk_alias, // typecode kind for typedefs
            112, // encapsulation length
              TAO_ENCAP_BYTE_ORDER, // byte order
              27,
              ACE_NTOHL (0x49444c3a), 
              ACE_NTOHL (0x52746563), 
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74436f6d), 
              ACE_NTOHL (0x6d2f5469), 
              ACE_NTOHL (0x6d653a31), 
              ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecEventComm/Time:1.0
                            5,
              ACE_NTOHL (0x54696d65), 
              ACE_NTOHL (0x0),  // name = Time
                            CORBA::tk_alias, // typecode kind for typedefs
              56, // encapsulation length
                TAO_ENCAP_BYTE_ORDER, // byte order
                31,
                ACE_NTOHL (0x49444c3a), 
                ACE_NTOHL (0x6f6d672e), 
                ACE_NTOHL (0x6f72672f), 
                ACE_NTOHL (0x54696d65), 
                ACE_NTOHL (0x42617365), 
                ACE_NTOHL (0x2f54696d), 
                ACE_NTOHL (0x65543a31), 
                ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/TimeBase/TimeT:1.0
                                6,
                ACE_NTOHL (0x54696d65), 
                ACE_NTOHL (0x54000000),  // name = TimeT
                                CORBA::tk_ulonglong,



            13,
            ACE_NTOHL (0x65635f73), 
            ACE_NTOHL (0x656e645f), 
            ACE_NTOHL (0x74696d65), 
            ACE_NTOHL (0x0),  // name = ec_send_time
                        CORBA::tk_alias, // typecode kind for typedefs
            112, // encapsulation length
              TAO_ENCAP_BYTE_ORDER, // byte order
              27,
              ACE_NTOHL (0x49444c3a), 
              ACE_NTOHL (0x52746563), 
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74436f6d), 
              ACE_NTOHL (0x6d2f5469), 
              ACE_NTOHL (0x6d653a31), 
              ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecEventComm/Time:1.0
                            5,
              ACE_NTOHL (0x54696d65), 
              ACE_NTOHL (0x0),  // name = Time
                            CORBA::tk_alias, // typecode kind for typedefs
              56, // encapsulation length
                TAO_ENCAP_BYTE_ORDER, // byte order
                31,
                ACE_NTOHL (0x49444c3a), 
                ACE_NTOHL (0x6f6d672e), 
                ACE_NTOHL (0x6f72672f), 
                ACE_NTOHL (0x54696d65), 
                ACE_NTOHL (0x42617365), 
                ACE_NTOHL (0x2f54696d), 
                ACE_NTOHL (0x65543a31), 
                ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/TimeBase/TimeT:1.0
                                6,
                ACE_NTOHL (0x54696d65), 
                ACE_NTOHL (0x54000000),  // name = TimeT
                                CORBA::tk_ulonglong,




          5,
          ACE_NTOHL (0x64617461), 
          ACE_NTOHL (0x0),  // name = data
                    CORBA::tk_alias, // typecode kind for typedefs
          248, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            32,
            ACE_NTOHL (0x49444c3a), 
            ACE_NTOHL (0x52746563), 
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74436f6d), 
            ACE_NTOHL (0x6d2f4576), 
            ACE_NTOHL (0x656e7444), 
            ACE_NTOHL (0x6174613a), 
            ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventComm/EventData:1.0
                        10,
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74446174), 
            ACE_NTOHL (0x61000000),  // name = EventData
                        CORBA::tk_struct, // typecode kind
            184, // encapsulation length
              TAO_ENCAP_BYTE_ORDER, // byte order
              22,
              ACE_NTOHL (0x49444c3a), 
              ACE_NTOHL (0x52746563), 
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74446174), 
              ACE_NTOHL (0x613a312e), 
              ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecEventData:1.0
                            14,
              ACE_NTOHL (0x52746563), 
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74446174), 
              ACE_NTOHL (0x61000000),  // name = RtecEventData
              3, // member count
                            5,
              ACE_NTOHL (0x70616431), 
              ACE_NTOHL (0x0),  // name = pad1
                            CORBA::tk_long,

              8,
              ACE_NTOHL (0x7061796c), 
              ACE_NTOHL (0x6f616400),  // name = payload
                            CORBA::tk_alias, // typecode kind for typedefs
              72, // encapsulation length
                TAO_ENCAP_BYTE_ORDER, // byte order
                21,
                ACE_NTOHL (0x49444c3a), 
                ACE_NTOHL (0x4576656e), 
                ACE_NTOHL (0x74506179), 
                ACE_NTOHL (0x6c6f6164), 
                ACE_NTOHL (0x3a312e30), 
                ACE_NTOHL (0x0),  // repository ID = IDL:EventPayload:1.0
                                13,
                ACE_NTOHL (0x4576656e), 
                ACE_NTOHL (0x74506179), 
                ACE_NTOHL (0x6c6f6164), 
                ACE_NTOHL (0x0),  // name = EventPayload
                                CORBA::tk_sequence, // typecode kind
                12, // encapsulation length
                  TAO_ENCAP_BYTE_ORDER, // byte order
                  CORBA::tk_octet,

                  0U,


              10,
              ACE_NTOHL (0x616e795f), 
              ACE_NTOHL (0x76616c75), 
              ACE_NTOHL (0x65000000),  // name = any_value
                            CORBA::tk_any,




        8,
        ACE_NTOHL (0x72745f69), 
        ACE_NTOHL (0x6e666f00),  // name = rt_info
                CORBA::tk_alias, // typecode kind for typedefs
        56, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          26,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x52746563), 
          ACE_NTOHL (0x42617365), 
          ACE_NTOHL (0x2f68616e), 
          ACE_NTOHL (0x646c655f), 
          ACE_NTOHL (0x743a312e), 
          ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecBase/handle_t:1.0
                    9,
          ACE_NTOHL (0x68616e64), 
          ACE_NTOHL (0x6c655f74), 
          ACE_NTOHL (0x0),  // name = handle_t
                    CORBA::tk_long,



      0U,


  11,
  ACE_NTOHL (0x69735f67), 
  ACE_NTOHL (0x61746577), 
  ACE_NTOHL (0x61790000),  // name = is_gateway
    CORBA::tk_boolean,

};

static CORBA::TypeCode _tc_TAO_tc_RtecEventChannelAdmin_ConsumerQOS (
    CORBA::tk_struct,
    sizeof (_oc_RtecEventChannelAdmin_ConsumerQOS),
    (char *) &_oc_RtecEventChannelAdmin_ConsumerQOS,
    0,
    sizeof (RtecEventChannelAdmin::ConsumerQOS)
  );

namespace RtecEventChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_ConsumerQOS =
    &_tc_TAO_tc_RtecEventChannelAdmin_ConsumerQOS;
}

// TAO_IDL - Generated from 
// be/be_visitor_structure/structure_cs.cpp:66

void 
RtecEventChannelAdmin::ConsumerQOS::_tao_any_destructor (
    void *_tao_void_pointer
  )
{
  ConsumerQOS *_tao_tmp_pointer =
    static_cast<ConsumerQOS *> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_RtecEventChannelAdmin_Publication[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  42,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x74436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f5075), 
  ACE_NTOHL (0x626c6963), 
  ACE_NTOHL (0x6174696f), 
  ACE_NTOHL (0x6e3a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecEventChannelAdmin/Publication:1.0
    12,
  ACE_NTOHL (0x5075626c), 
  ACE_NTOHL (0x69636174), 
  ACE_NTOHL (0x696f6e00),  // name = Publication
  2, // member count
    6,
  ACE_NTOHL (0x6576656e), 
  ACE_NTOHL (0x74000000),  // name = event
    CORBA::tk_struct, // typecode kind
  1004, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    28,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x52746563), 
    ACE_NTOHL (0x4576656e), 
    ACE_NTOHL (0x74436f6d), 
    ACE_NTOHL (0x6d2f4576), 
    ACE_NTOHL (0x656e743a), 
    ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventComm/Event:1.0
        6,
    ACE_NTOHL (0x4576656e), 
    ACE_NTOHL (0x74000000),  // name = Event
    2, // member count
        7,
    ACE_NTOHL (0x68656164), 
    ACE_NTOHL (0x65720000),  // name = header
        CORBA::tk_struct, // typecode kind
    664, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      34,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x52746563), 
      ACE_NTOHL (0x4576656e), 
      ACE_NTOHL (0x74436f6d), 
      ACE_NTOHL (0x6d2f4576), 
      ACE_NTOHL (0x656e7448), 
      ACE_NTOHL (0x65616465), 
      ACE_NTOHL (0x723a312e), 
      ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecEventComm/EventHeader:1.0
            12,
      ACE_NTOHL (0x4576656e), 
      ACE_NTOHL (0x74486561), 
      ACE_NTOHL (0x64657200),  // name = EventHeader
      6, // member count
            5,
      ACE_NTOHL (0x74797065), 
      ACE_NTOHL (0x0),  // name = type
            CORBA::tk_alias, // typecode kind for typedefs
      60, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        32,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x52746563), 
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74436f6d), 
        ACE_NTOHL (0x6d2f4576), 
        ACE_NTOHL (0x656e7454), 
        ACE_NTOHL (0x7970653a), 
        ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventComm/EventType:1.0
                10,
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74547970), 
        ACE_NTOHL (0x65000000),  // name = EventType
                CORBA::tk_long,


      7,
      ACE_NTOHL (0x736f7572), 
      ACE_NTOHL (0x63650000),  // name = source
            CORBA::tk_alias, // typecode kind for typedefs
      68, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        36,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x52746563), 
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74436f6d), 
        ACE_NTOHL (0x6d2f4576), 
        ACE_NTOHL (0x656e7453), 
        ACE_NTOHL (0x6f757263), 
        ACE_NTOHL (0x6549443a), 
        ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventComm/EventSourceID:1.0
                14,
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74536f75), 
        ACE_NTOHL (0x72636549), 
        ACE_NTOHL (0x44000000),  // name = EventSourceID
                CORBA::tk_long,


      4,
      ACE_NTOHL (0x74746c00),  // name = ttl
            CORBA::tk_long,

      14,
      ACE_NTOHL (0x63726561), 
      ACE_NTOHL (0x74696f6e), 
      ACE_NTOHL (0x5f74696d), 
      ACE_NTOHL (0x65000000),  // name = creation_time
            CORBA::tk_alias, // typecode kind for typedefs
      112, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        27,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x52746563), 
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74436f6d), 
        ACE_NTOHL (0x6d2f5469), 
        ACE_NTOHL (0x6d653a31), 
        ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecEventComm/Time:1.0
                5,
        ACE_NTOHL (0x54696d65), 
        ACE_NTOHL (0x0),  // name = Time
                CORBA::tk_alias, // typecode kind for typedefs
        56, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          31,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x6f6d672e), 
          ACE_NTOHL (0x6f72672f), 
          ACE_NTOHL (0x54696d65), 
          ACE_NTOHL (0x42617365), 
          ACE_NTOHL (0x2f54696d), 
          ACE_NTOHL (0x65543a31), 
          ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/TimeBase/TimeT:1.0
                    6,
          ACE_NTOHL (0x54696d65), 
          ACE_NTOHL (0x54000000),  // name = TimeT
                    CORBA::tk_ulonglong,



      13,
      ACE_NTOHL (0x65635f72), 
      ACE_NTOHL (0x6563765f), 
      ACE_NTOHL (0x74696d65), 
      ACE_NTOHL (0x0),  // name = ec_recv_time
            CORBA::tk_alias, // typecode kind for typedefs
      112, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        27,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x52746563), 
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74436f6d), 
        ACE_NTOHL (0x6d2f5469), 
        ACE_NTOHL (0x6d653a31), 
        ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecEventComm/Time:1.0
                5,
        ACE_NTOHL (0x54696d65), 
        ACE_NTOHL (0x0),  // name = Time
                CORBA::tk_alias, // typecode kind for typedefs
        56, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          31,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x6f6d672e), 
          ACE_NTOHL (0x6f72672f), 
          ACE_NTOHL (0x54696d65), 
          ACE_NTOHL (0x42617365), 
          ACE_NTOHL (0x2f54696d), 
          ACE_NTOHL (0x65543a31), 
          ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/TimeBase/TimeT:1.0
                    6,
          ACE_NTOHL (0x54696d65), 
          ACE_NTOHL (0x54000000),  // name = TimeT
                    CORBA::tk_ulonglong,



      13,
      ACE_NTOHL (0x65635f73), 
      ACE_NTOHL (0x656e645f), 
      ACE_NTOHL (0x74696d65), 
      ACE_NTOHL (0x0),  // name = ec_send_time
            CORBA::tk_alias, // typecode kind for typedefs
      112, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        27,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x52746563), 
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74436f6d), 
        ACE_NTOHL (0x6d2f5469), 
        ACE_NTOHL (0x6d653a31), 
        ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecEventComm/Time:1.0
                5,
        ACE_NTOHL (0x54696d65), 
        ACE_NTOHL (0x0),  // name = Time
                CORBA::tk_alias, // typecode kind for typedefs
        56, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          31,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x6f6d672e), 
          ACE_NTOHL (0x6f72672f), 
          ACE_NTOHL (0x54696d65), 
          ACE_NTOHL (0x42617365), 
          ACE_NTOHL (0x2f54696d), 
          ACE_NTOHL (0x65543a31), 
          ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/TimeBase/TimeT:1.0
                    6,
          ACE_NTOHL (0x54696d65), 
          ACE_NTOHL (0x54000000),  // name = TimeT
                    CORBA::tk_ulonglong,




    5,
    ACE_NTOHL (0x64617461), 
    ACE_NTOHL (0x0),  // name = data
        CORBA::tk_alias, // typecode kind for typedefs
    248, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      32,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x52746563), 
      ACE_NTOHL (0x4576656e), 
      ACE_NTOHL (0x74436f6d), 
      ACE_NTOHL (0x6d2f4576), 
      ACE_NTOHL (0x656e7444), 
      ACE_NTOHL (0x6174613a), 
      ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventComm/EventData:1.0
            10,
      ACE_NTOHL (0x4576656e), 
      ACE_NTOHL (0x74446174), 
      ACE_NTOHL (0x61000000),  // name = EventData
            CORBA::tk_struct, // typecode kind
      184, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        22,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x52746563), 
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74446174), 
        ACE_NTOHL (0x613a312e), 
        ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecEventData:1.0
                14,
        ACE_NTOHL (0x52746563), 
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74446174), 
        ACE_NTOHL (0x61000000),  // name = RtecEventData
        3, // member count
                5,
        ACE_NTOHL (0x70616431), 
        ACE_NTOHL (0x0),  // name = pad1
                CORBA::tk_long,

        8,
        ACE_NTOHL (0x7061796c), 
        ACE_NTOHL (0x6f616400),  // name = payload
                CORBA::tk_alias, // typecode kind for typedefs
        72, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          21,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74506179), 
          ACE_NTOHL (0x6c6f6164), 
          ACE_NTOHL (0x3a312e30), 
          ACE_NTOHL (0x0),  // repository ID = IDL:EventPayload:1.0
                    13,
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74506179), 
          ACE_NTOHL (0x6c6f6164), 
          ACE_NTOHL (0x0),  // name = EventPayload
                    CORBA::tk_sequence, // typecode kind
          12, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            CORBA::tk_octet,

            0U,


        10,
        ACE_NTOHL (0x616e795f), 
        ACE_NTOHL (0x76616c75), 
        ACE_NTOHL (0x65000000),  // name = any_value
                CORBA::tk_any,




  16,
  ACE_NTOHL (0x64657065), 
  ACE_NTOHL (0x6e64656e), 
  ACE_NTOHL (0x63795f69), 
  ACE_NTOHL (0x6e666f00),  // name = dependency_info
    CORBA::tk_struct, // typecode kind
  580, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    33,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x52746563), 
    ACE_NTOHL (0x42617365), 
    ACE_NTOHL (0x2f446570), 
    ACE_NTOHL (0x656e6465), 
    ACE_NTOHL (0x6e63795f), 
    ACE_NTOHL (0x496e666f), 
    ACE_NTOHL (0x3a312e30), 
    ACE_NTOHL (0x0),  // repository ID = IDL:RtecBase/Dependency_Info:1.0
        16,
    ACE_NTOHL (0x44657065), 
    ACE_NTOHL (0x6e64656e), 
    ACE_NTOHL (0x63795f49), 
    ACE_NTOHL (0x6e666f00),  // name = Dependency_Info
    5, // member count
        16,
    ACE_NTOHL (0x64657065), 
    ACE_NTOHL (0x6e64656e), 
    ACE_NTOHL (0x63795f74), 
    ACE_NTOHL (0x79706500),  // name = dependency_type
        CORBA::tk_enum, // typecode kind
    112, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
      35,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x52746563), 
      ACE_NTOHL (0x42617365), 
      ACE_NTOHL (0x2f446570), 
      ACE_NTOHL (0x656e6465), 
      ACE_NTOHL (0x6e63795f), 
      ACE_NTOHL (0x54797065), 
      ACE_NTOHL (0x5f743a31), 
      ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecBase/Dependency_Type_t:1.0
      18,
      ACE_NTOHL (0x44657065), 
      ACE_NTOHL (0x6e64656e), 
      ACE_NTOHL (0x63795f54), 
      ACE_NTOHL (0x7970655f), 
      ACE_NTOHL (0x74000000),  // name = Dependency_Type_t
      2, // member count
      13,
      ACE_NTOHL (0x4f4e455f), 
      ACE_NTOHL (0x5741595f), 
      ACE_NTOHL (0x43414c4c), 
      ACE_NTOHL (0x0),  // name = ONE_WAY_CALL
      13,
      ACE_NTOHL (0x54574f5f), 
      ACE_NTOHL (0x5741595f), 
      ACE_NTOHL (0x43414c4c), 
      ACE_NTOHL (0x0),  // name = TWO_WAY_CALL
      
    16,
    ACE_NTOHL (0x6e756d62), 
    ACE_NTOHL (0x65725f6f), 
    ACE_NTOHL (0x665f6361), 
    ACE_NTOHL (0x6c6c7300),  // name = number_of_calls
        CORBA::tk_long,

    8,
    ACE_NTOHL (0x72745f69), 
    ACE_NTOHL (0x6e666f00),  // name = rt_info
        CORBA::tk_alias, // typecode kind for typedefs
    56, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      26,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x52746563), 
      ACE_NTOHL (0x42617365), 
      ACE_NTOHL (0x2f68616e), 
      ACE_NTOHL (0x646c655f), 
      ACE_NTOHL (0x743a312e), 
      ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecBase/handle_t:1.0
            9,
      ACE_NTOHL (0x68616e64), 
      ACE_NTOHL (0x6c655f74), 
      ACE_NTOHL (0x0),  // name = handle_t
            CORBA::tk_long,


    20,
    ACE_NTOHL (0x72745f69), 
    ACE_NTOHL (0x6e666f5f), 
    ACE_NTOHL (0x64657065), 
    ACE_NTOHL (0x6e646564), 
    ACE_NTOHL (0x5f6f6e00),  // name = rt_info_depended_on
        CORBA::tk_alias, // typecode kind for typedefs
    56, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      26,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x52746563), 
      ACE_NTOHL (0x42617365), 
      ACE_NTOHL (0x2f68616e), 
      ACE_NTOHL (0x646c655f), 
      ACE_NTOHL (0x743a312e), 
      ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecBase/handle_t:1.0
            9,
      ACE_NTOHL (0x68616e64), 
      ACE_NTOHL (0x6c655f74), 
      ACE_NTOHL (0x0),  // name = handle_t
            CORBA::tk_long,


    8,
    ACE_NTOHL (0x656e6162), 
    ACE_NTOHL (0x6c656400),  // name = enabled
        CORBA::tk_enum, // typecode kind
    164, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
      43,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x52746563), 
      ACE_NTOHL (0x42617365), 
      ACE_NTOHL (0x2f446570), 
      ACE_NTOHL (0x656e6465), 
      ACE_NTOHL (0x6e63795f), 
      ACE_NTOHL (0x456e6162), 
      ACE_NTOHL (0x6c65645f), 
      ACE_NTOHL (0x54797065), 
      ACE_NTOHL (0x5f743a31), 
      ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecBase/Dependency_Enabled_Type_t:1.0
      26,
      ACE_NTOHL (0x44657065), 
      ACE_NTOHL (0x6e64656e), 
      ACE_NTOHL (0x63795f45), 
      ACE_NTOHL (0x6e61626c), 
      ACE_NTOHL (0x65645f54), 
      ACE_NTOHL (0x7970655f), 
      ACE_NTOHL (0x74000000),  // name = Dependency_Enabled_Type_t
      3, // member count
      20,
      ACE_NTOHL (0x44455045), 
      ACE_NTOHL (0x4e44454e), 
      ACE_NTOHL (0x43595f44), 
      ACE_NTOHL (0x49534142), 
      ACE_NTOHL (0x4c454400),  // name = DEPENDENCY_DISABLED
      19,
      ACE_NTOHL (0x44455045), 
      ACE_NTOHL (0x4e44454e), 
      ACE_NTOHL (0x43595f45), 
      ACE_NTOHL (0x4e41424c), 
      ACE_NTOHL (0x45440000),  // name = DEPENDENCY_ENABLED
      24,
      ACE_NTOHL (0x44455045), 
      ACE_NTOHL (0x4e44454e), 
      ACE_NTOHL (0x43595f4e), 
      ACE_NTOHL (0x4f4e5f56), 
      ACE_NTOHL (0x4f4c4154), 
      ACE_NTOHL (0x494c4500),  // name = DEPENDENCY_NON_VOLATILE
      

};

static CORBA::TypeCode _tc_TAO_tc_RtecEventChannelAdmin_Publication (
    CORBA::tk_struct,
    sizeof (_oc_RtecEventChannelAdmin_Publication),
    (char *) &_oc_RtecEventChannelAdmin_Publication,
    0,
    sizeof (RtecEventChannelAdmin::Publication)
  );

namespace RtecEventChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_Publication =
    &_tc_TAO_tc_RtecEventChannelAdmin_Publication;
}

// TAO_IDL - Generated from 
// be/be_visitor_structure/structure_cs.cpp:66

void 
RtecEventChannelAdmin::Publication::_tao_any_destructor (
    void *_tao_void_pointer
  )
{
  Publication *_tao_tmp_pointer =
    static_cast<Publication *> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/sequence_cs.cpp:65

#if !defined (_RTECEVENTCHANNELADMIN_PUBLICATIONSET_CS_)
#define _RTECEVENTCHANNELADMIN_PUBLICATIONSET_CS_

RtecEventChannelAdmin::PublicationSet::PublicationSet (void)
{}

RtecEventChannelAdmin::PublicationSet::PublicationSet (
    CORBA::ULong max
  )
  : TAO_Unbounded_Sequence<
        RtecEventChannelAdmin::Publication
      >
    (max)
{}

RtecEventChannelAdmin::PublicationSet::PublicationSet (
    CORBA::ULong max,
    CORBA::ULong length,
    RtecEventChannelAdmin::Publication * buffer,
    CORBA::Boolean release
  )
  : TAO_Unbounded_Sequence<
        RtecEventChannelAdmin::Publication
      >
    (max, length, buffer, release)
{}

RtecEventChannelAdmin::PublicationSet::PublicationSet (
    const PublicationSet &seq
  )
  : TAO_Unbounded_Sequence<
        RtecEventChannelAdmin::Publication
      >
    (seq)
{}

RtecEventChannelAdmin::PublicationSet::~PublicationSet (void)
{}

void RtecEventChannelAdmin::PublicationSet::_tao_any_destructor (
    void * _tao_void_pointer
  )
{
  PublicationSet * _tao_tmp_pointer =
    static_cast<PublicationSet *> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

#endif /* end #if !defined */

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_RtecEventChannelAdmin_PublicationSet[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  45,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x74436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f5075), 
  ACE_NTOHL (0x626c6963), 
  ACE_NTOHL (0x6174696f), 
  ACE_NTOHL (0x6e536574), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:RtecEventChannelAdmin/PublicationSet:1.0
    15,
  ACE_NTOHL (0x5075626c), 
  ACE_NTOHL (0x69636174), 
  ACE_NTOHL (0x696f6e53), 
  ACE_NTOHL (0x65740000),  // name = PublicationSet
    CORBA::tk_sequence, // typecode kind
  1720, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    CORBA::tk_struct, // typecode kind
    1704, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      42,
      ACE_NTOHL (0x49444c3a), 
      ACE_NTOHL (0x52746563), 
      ACE_NTOHL (0x4576656e), 
      ACE_NTOHL (0x74436861), 
      ACE_NTOHL (0x6e6e656c), 
      ACE_NTOHL (0x41646d69), 
      ACE_NTOHL (0x6e2f5075), 
      ACE_NTOHL (0x626c6963), 
      ACE_NTOHL (0x6174696f), 
      ACE_NTOHL (0x6e3a312e), 
      ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecEventChannelAdmin/Publication:1.0
            12,
      ACE_NTOHL (0x5075626c), 
      ACE_NTOHL (0x69636174), 
      ACE_NTOHL (0x696f6e00),  // name = Publication
      2, // member count
            6,
      ACE_NTOHL (0x6576656e), 
      ACE_NTOHL (0x74000000),  // name = event
            CORBA::tk_struct, // typecode kind
      1004, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        28,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x52746563), 
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74436f6d), 
        ACE_NTOHL (0x6d2f4576), 
        ACE_NTOHL (0x656e743a), 
        ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventComm/Event:1.0
                6,
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74000000),  // name = Event
        2, // member count
                7,
        ACE_NTOHL (0x68656164), 
        ACE_NTOHL (0x65720000),  // name = header
                CORBA::tk_struct, // typecode kind
        664, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          34,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x52746563), 
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74436f6d), 
          ACE_NTOHL (0x6d2f4576), 
          ACE_NTOHL (0x656e7448), 
          ACE_NTOHL (0x65616465), 
          ACE_NTOHL (0x723a312e), 
          ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecEventComm/EventHeader:1.0
                    12,
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74486561), 
          ACE_NTOHL (0x64657200),  // name = EventHeader
          6, // member count
                    5,
          ACE_NTOHL (0x74797065), 
          ACE_NTOHL (0x0),  // name = type
                    CORBA::tk_alias, // typecode kind for typedefs
          60, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            32,
            ACE_NTOHL (0x49444c3a), 
            ACE_NTOHL (0x52746563), 
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74436f6d), 
            ACE_NTOHL (0x6d2f4576), 
            ACE_NTOHL (0x656e7454), 
            ACE_NTOHL (0x7970653a), 
            ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventComm/EventType:1.0
                        10,
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74547970), 
            ACE_NTOHL (0x65000000),  // name = EventType
                        CORBA::tk_long,


          7,
          ACE_NTOHL (0x736f7572), 
          ACE_NTOHL (0x63650000),  // name = source
                    CORBA::tk_alias, // typecode kind for typedefs
          68, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            36,
            ACE_NTOHL (0x49444c3a), 
            ACE_NTOHL (0x52746563), 
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74436f6d), 
            ACE_NTOHL (0x6d2f4576), 
            ACE_NTOHL (0x656e7453), 
            ACE_NTOHL (0x6f757263), 
            ACE_NTOHL (0x6549443a), 
            ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventComm/EventSourceID:1.0
                        14,
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74536f75), 
            ACE_NTOHL (0x72636549), 
            ACE_NTOHL (0x44000000),  // name = EventSourceID
                        CORBA::tk_long,


          4,
          ACE_NTOHL (0x74746c00),  // name = ttl
                    CORBA::tk_long,

          14,
          ACE_NTOHL (0x63726561), 
          ACE_NTOHL (0x74696f6e), 
          ACE_NTOHL (0x5f74696d), 
          ACE_NTOHL (0x65000000),  // name = creation_time
                    CORBA::tk_alias, // typecode kind for typedefs
          112, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            27,
            ACE_NTOHL (0x49444c3a), 
            ACE_NTOHL (0x52746563), 
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74436f6d), 
            ACE_NTOHL (0x6d2f5469), 
            ACE_NTOHL (0x6d653a31), 
            ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecEventComm/Time:1.0
                        5,
            ACE_NTOHL (0x54696d65), 
            ACE_NTOHL (0x0),  // name = Time
                        CORBA::tk_alias, // typecode kind for typedefs
            56, // encapsulation length
              TAO_ENCAP_BYTE_ORDER, // byte order
              31,
              ACE_NTOHL (0x49444c3a), 
              ACE_NTOHL (0x6f6d672e), 
              ACE_NTOHL (0x6f72672f), 
              ACE_NTOHL (0x54696d65), 
              ACE_NTOHL (0x42617365), 
              ACE_NTOHL (0x2f54696d), 
              ACE_NTOHL (0x65543a31), 
              ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/TimeBase/TimeT:1.0
                            6,
              ACE_NTOHL (0x54696d65), 
              ACE_NTOHL (0x54000000),  // name = TimeT
                            CORBA::tk_ulonglong,



          13,
          ACE_NTOHL (0x65635f72), 
          ACE_NTOHL (0x6563765f), 
          ACE_NTOHL (0x74696d65), 
          ACE_NTOHL (0x0),  // name = ec_recv_time
                    CORBA::tk_alias, // typecode kind for typedefs
          112, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            27,
            ACE_NTOHL (0x49444c3a), 
            ACE_NTOHL (0x52746563), 
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74436f6d), 
            ACE_NTOHL (0x6d2f5469), 
            ACE_NTOHL (0x6d653a31), 
            ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecEventComm/Time:1.0
                        5,
            ACE_NTOHL (0x54696d65), 
            ACE_NTOHL (0x0),  // name = Time
                        CORBA::tk_alias, // typecode kind for typedefs
            56, // encapsulation length
              TAO_ENCAP_BYTE_ORDER, // byte order
              31,
              ACE_NTOHL (0x49444c3a), 
              ACE_NTOHL (0x6f6d672e), 
              ACE_NTOHL (0x6f72672f), 
              ACE_NTOHL (0x54696d65), 
              ACE_NTOHL (0x42617365), 
              ACE_NTOHL (0x2f54696d), 
              ACE_NTOHL (0x65543a31), 
              ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/TimeBase/TimeT:1.0
                            6,
              ACE_NTOHL (0x54696d65), 
              ACE_NTOHL (0x54000000),  // name = TimeT
                            CORBA::tk_ulonglong,



          13,
          ACE_NTOHL (0x65635f73), 
          ACE_NTOHL (0x656e645f), 
          ACE_NTOHL (0x74696d65), 
          ACE_NTOHL (0x0),  // name = ec_send_time
                    CORBA::tk_alias, // typecode kind for typedefs
          112, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            27,
            ACE_NTOHL (0x49444c3a), 
            ACE_NTOHL (0x52746563), 
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74436f6d), 
            ACE_NTOHL (0x6d2f5469), 
            ACE_NTOHL (0x6d653a31), 
            ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecEventComm/Time:1.0
                        5,
            ACE_NTOHL (0x54696d65), 
            ACE_NTOHL (0x0),  // name = Time
                        CORBA::tk_alias, // typecode kind for typedefs
            56, // encapsulation length
              TAO_ENCAP_BYTE_ORDER, // byte order
              31,
              ACE_NTOHL (0x49444c3a), 
              ACE_NTOHL (0x6f6d672e), 
              ACE_NTOHL (0x6f72672f), 
              ACE_NTOHL (0x54696d65), 
              ACE_NTOHL (0x42617365), 
              ACE_NTOHL (0x2f54696d), 
              ACE_NTOHL (0x65543a31), 
              ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/TimeBase/TimeT:1.0
                            6,
              ACE_NTOHL (0x54696d65), 
              ACE_NTOHL (0x54000000),  // name = TimeT
                            CORBA::tk_ulonglong,




        5,
        ACE_NTOHL (0x64617461), 
        ACE_NTOHL (0x0),  // name = data
                CORBA::tk_alias, // typecode kind for typedefs
        248, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          32,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x52746563), 
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74436f6d), 
          ACE_NTOHL (0x6d2f4576), 
          ACE_NTOHL (0x656e7444), 
          ACE_NTOHL (0x6174613a), 
          ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventComm/EventData:1.0
                    10,
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74446174), 
          ACE_NTOHL (0x61000000),  // name = EventData
                    CORBA::tk_struct, // typecode kind
          184, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            22,
            ACE_NTOHL (0x49444c3a), 
            ACE_NTOHL (0x52746563), 
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74446174), 
            ACE_NTOHL (0x613a312e), 
            ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecEventData:1.0
                        14,
            ACE_NTOHL (0x52746563), 
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74446174), 
            ACE_NTOHL (0x61000000),  // name = RtecEventData
            3, // member count
                        5,
            ACE_NTOHL (0x70616431), 
            ACE_NTOHL (0x0),  // name = pad1
                        CORBA::tk_long,

            8,
            ACE_NTOHL (0x7061796c), 
            ACE_NTOHL (0x6f616400),  // name = payload
                        CORBA::tk_alias, // typecode kind for typedefs
            72, // encapsulation length
              TAO_ENCAP_BYTE_ORDER, // byte order
              21,
              ACE_NTOHL (0x49444c3a), 
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74506179), 
              ACE_NTOHL (0x6c6f6164), 
              ACE_NTOHL (0x3a312e30), 
              ACE_NTOHL (0x0),  // repository ID = IDL:EventPayload:1.0
                            13,
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74506179), 
              ACE_NTOHL (0x6c6f6164), 
              ACE_NTOHL (0x0),  // name = EventPayload
                            CORBA::tk_sequence, // typecode kind
              12, // encapsulation length
                TAO_ENCAP_BYTE_ORDER, // byte order
                CORBA::tk_octet,

                0U,


            10,
            ACE_NTOHL (0x616e795f), 
            ACE_NTOHL (0x76616c75), 
            ACE_NTOHL (0x65000000),  // name = any_value
                        CORBA::tk_any,




      16,
      ACE_NTOHL (0x64657065), 
      ACE_NTOHL (0x6e64656e), 
      ACE_NTOHL (0x63795f69), 
      ACE_NTOHL (0x6e666f00),  // name = dependency_info
            CORBA::tk_struct, // typecode kind
      580, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        33,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x52746563), 
        ACE_NTOHL (0x42617365), 
        ACE_NTOHL (0x2f446570), 
        ACE_NTOHL (0x656e6465), 
        ACE_NTOHL (0x6e63795f), 
        ACE_NTOHL (0x496e666f), 
        ACE_NTOHL (0x3a312e30), 
        ACE_NTOHL (0x0),  // repository ID = IDL:RtecBase/Dependency_Info:1.0
                16,
        ACE_NTOHL (0x44657065), 
        ACE_NTOHL (0x6e64656e), 
        ACE_NTOHL (0x63795f49), 
        ACE_NTOHL (0x6e666f00),  // name = Dependency_Info
        5, // member count
                16,
        ACE_NTOHL (0x64657065), 
        ACE_NTOHL (0x6e64656e), 
        ACE_NTOHL (0x63795f74), 
        ACE_NTOHL (0x79706500),  // name = dependency_type
                CORBA::tk_enum, // typecode kind
        112, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
          35,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x52746563), 
          ACE_NTOHL (0x42617365), 
          ACE_NTOHL (0x2f446570), 
          ACE_NTOHL (0x656e6465), 
          ACE_NTOHL (0x6e63795f), 
          ACE_NTOHL (0x54797065), 
          ACE_NTOHL (0x5f743a31), 
          ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecBase/Dependency_Type_t:1.0
          18,
          ACE_NTOHL (0x44657065), 
          ACE_NTOHL (0x6e64656e), 
          ACE_NTOHL (0x63795f54), 
          ACE_NTOHL (0x7970655f), 
          ACE_NTOHL (0x74000000),  // name = Dependency_Type_t
          2, // member count
          13,
          ACE_NTOHL (0x4f4e455f), 
          ACE_NTOHL (0x5741595f), 
          ACE_NTOHL (0x43414c4c), 
          ACE_NTOHL (0x0),  // name = ONE_WAY_CALL
          13,
          ACE_NTOHL (0x54574f5f), 
          ACE_NTOHL (0x5741595f), 
          ACE_NTOHL (0x43414c4c), 
          ACE_NTOHL (0x0),  // name = TWO_WAY_CALL
          
        16,
        ACE_NTOHL (0x6e756d62), 
        ACE_NTOHL (0x65725f6f), 
        ACE_NTOHL (0x665f6361), 
        ACE_NTOHL (0x6c6c7300),  // name = number_of_calls
                CORBA::tk_long,

        8,
        ACE_NTOHL (0x72745f69), 
        ACE_NTOHL (0x6e666f00),  // name = rt_info
                CORBA::tk_alias, // typecode kind for typedefs
        56, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          26,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x52746563), 
          ACE_NTOHL (0x42617365), 
          ACE_NTOHL (0x2f68616e), 
          ACE_NTOHL (0x646c655f), 
          ACE_NTOHL (0x743a312e), 
          ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecBase/handle_t:1.0
                    9,
          ACE_NTOHL (0x68616e64), 
          ACE_NTOHL (0x6c655f74), 
          ACE_NTOHL (0x0),  // name = handle_t
                    CORBA::tk_long,


        20,
        ACE_NTOHL (0x72745f69), 
        ACE_NTOHL (0x6e666f5f), 
        ACE_NTOHL (0x64657065), 
        ACE_NTOHL (0x6e646564), 
        ACE_NTOHL (0x5f6f6e00),  // name = rt_info_depended_on
                CORBA::tk_alias, // typecode kind for typedefs
        56, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          26,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x52746563), 
          ACE_NTOHL (0x42617365), 
          ACE_NTOHL (0x2f68616e), 
          ACE_NTOHL (0x646c655f), 
          ACE_NTOHL (0x743a312e), 
          ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecBase/handle_t:1.0
                    9,
          ACE_NTOHL (0x68616e64), 
          ACE_NTOHL (0x6c655f74), 
          ACE_NTOHL (0x0),  // name = handle_t
                    CORBA::tk_long,


        8,
        ACE_NTOHL (0x656e6162), 
        ACE_NTOHL (0x6c656400),  // name = enabled
                CORBA::tk_enum, // typecode kind
        164, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
          43,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x52746563), 
          ACE_NTOHL (0x42617365), 
          ACE_NTOHL (0x2f446570), 
          ACE_NTOHL (0x656e6465), 
          ACE_NTOHL (0x6e63795f), 
          ACE_NTOHL (0x456e6162), 
          ACE_NTOHL (0x6c65645f), 
          ACE_NTOHL (0x54797065), 
          ACE_NTOHL (0x5f743a31), 
          ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecBase/Dependency_Enabled_Type_t:1.0
          26,
          ACE_NTOHL (0x44657065), 
          ACE_NTOHL (0x6e64656e), 
          ACE_NTOHL (0x63795f45), 
          ACE_NTOHL (0x6e61626c), 
          ACE_NTOHL (0x65645f54), 
          ACE_NTOHL (0x7970655f), 
          ACE_NTOHL (0x74000000),  // name = Dependency_Enabled_Type_t
          3, // member count
          20,
          ACE_NTOHL (0x44455045), 
          ACE_NTOHL (0x4e44454e), 
          ACE_NTOHL (0x43595f44), 
          ACE_NTOHL (0x49534142), 
          ACE_NTOHL (0x4c454400),  // name = DEPENDENCY_DISABLED
          19,
          ACE_NTOHL (0x44455045), 
          ACE_NTOHL (0x4e44454e), 
          ACE_NTOHL (0x43595f45), 
          ACE_NTOHL (0x4e41424c), 
          ACE_NTOHL (0x45440000),  // name = DEPENDENCY_ENABLED
          24,
          ACE_NTOHL (0x44455045), 
          ACE_NTOHL (0x4e44454e), 
          ACE_NTOHL (0x43595f4e), 
          ACE_NTOHL (0x4f4e5f56), 
          ACE_NTOHL (0x4f4c4154), 
          ACE_NTOHL (0x494c4500),  // name = DEPENDENCY_NON_VOLATILE
          


    0U,

};

static CORBA::TypeCode _tc_TAO_tc_RtecEventChannelAdmin_PublicationSet (
    CORBA::tk_alias,
    sizeof (_oc_RtecEventChannelAdmin_PublicationSet),
    (char *) &_oc_RtecEventChannelAdmin_PublicationSet,
    0,
    sizeof (RtecEventChannelAdmin::PublicationSet)
  );

namespace RtecEventChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_PublicationSet =
    &_tc_TAO_tc_RtecEventChannelAdmin_PublicationSet;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_RtecEventChannelAdmin_SupplierQOS[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  42,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x74436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f5375), 
  ACE_NTOHL (0x70706c69), 
  ACE_NTOHL (0x6572514f), 
  ACE_NTOHL (0x533a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecEventChannelAdmin/SupplierQOS:1.0
    12,
  ACE_NTOHL (0x53757070), 
  ACE_NTOHL (0x6c696572), 
  ACE_NTOHL (0x514f5300),  // name = SupplierQOS
  2, // member count
    13,
  ACE_NTOHL (0x7075626c), 
  ACE_NTOHL (0x69636174), 
  ACE_NTOHL (0x696f6e73), 
  ACE_NTOHL (0x0),  // name = publications
    CORBA::tk_alias, // typecode kind for typedefs
  1804, // encapsulation length
    TAO_ENCAP_BYTE_ORDER, // byte order
    45,
    ACE_NTOHL (0x49444c3a), 
    ACE_NTOHL (0x52746563), 
    ACE_NTOHL (0x4576656e), 
    ACE_NTOHL (0x74436861), 
    ACE_NTOHL (0x6e6e656c), 
    ACE_NTOHL (0x41646d69), 
    ACE_NTOHL (0x6e2f5075), 
    ACE_NTOHL (0x626c6963), 
    ACE_NTOHL (0x6174696f), 
    ACE_NTOHL (0x6e536574), 
    ACE_NTOHL (0x3a312e30), 
    ACE_NTOHL (0x0),  // repository ID = IDL:RtecEventChannelAdmin/PublicationSet:1.0
        15,
    ACE_NTOHL (0x5075626c), 
    ACE_NTOHL (0x69636174), 
    ACE_NTOHL (0x696f6e53), 
    ACE_NTOHL (0x65740000),  // name = PublicationSet
        CORBA::tk_sequence, // typecode kind
    1720, // encapsulation length
      TAO_ENCAP_BYTE_ORDER, // byte order
      CORBA::tk_struct, // typecode kind
      1704, // encapsulation length
        TAO_ENCAP_BYTE_ORDER, // byte order
        42,
        ACE_NTOHL (0x49444c3a), 
        ACE_NTOHL (0x52746563), 
        ACE_NTOHL (0x4576656e), 
        ACE_NTOHL (0x74436861), 
        ACE_NTOHL (0x6e6e656c), 
        ACE_NTOHL (0x41646d69), 
        ACE_NTOHL (0x6e2f5075), 
        ACE_NTOHL (0x626c6963), 
        ACE_NTOHL (0x6174696f), 
        ACE_NTOHL (0x6e3a312e), 
        ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecEventChannelAdmin/Publication:1.0
                12,
        ACE_NTOHL (0x5075626c), 
        ACE_NTOHL (0x69636174), 
        ACE_NTOHL (0x696f6e00),  // name = Publication
        2, // member count
                6,
        ACE_NTOHL (0x6576656e), 
        ACE_NTOHL (0x74000000),  // name = event
                CORBA::tk_struct, // typecode kind
        1004, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          28,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x52746563), 
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74436f6d), 
          ACE_NTOHL (0x6d2f4576), 
          ACE_NTOHL (0x656e743a), 
          ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventComm/Event:1.0
                    6,
          ACE_NTOHL (0x4576656e), 
          ACE_NTOHL (0x74000000),  // name = Event
          2, // member count
                    7,
          ACE_NTOHL (0x68656164), 
          ACE_NTOHL (0x65720000),  // name = header
                    CORBA::tk_struct, // typecode kind
          664, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            34,
            ACE_NTOHL (0x49444c3a), 
            ACE_NTOHL (0x52746563), 
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74436f6d), 
            ACE_NTOHL (0x6d2f4576), 
            ACE_NTOHL (0x656e7448), 
            ACE_NTOHL (0x65616465), 
            ACE_NTOHL (0x723a312e), 
            ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecEventComm/EventHeader:1.0
                        12,
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74486561), 
            ACE_NTOHL (0x64657200),  // name = EventHeader
            6, // member count
                        5,
            ACE_NTOHL (0x74797065), 
            ACE_NTOHL (0x0),  // name = type
                        CORBA::tk_alias, // typecode kind for typedefs
            60, // encapsulation length
              TAO_ENCAP_BYTE_ORDER, // byte order
              32,
              ACE_NTOHL (0x49444c3a), 
              ACE_NTOHL (0x52746563), 
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74436f6d), 
              ACE_NTOHL (0x6d2f4576), 
              ACE_NTOHL (0x656e7454), 
              ACE_NTOHL (0x7970653a), 
              ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventComm/EventType:1.0
                            10,
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74547970), 
              ACE_NTOHL (0x65000000),  // name = EventType
                            CORBA::tk_long,


            7,
            ACE_NTOHL (0x736f7572), 
            ACE_NTOHL (0x63650000),  // name = source
                        CORBA::tk_alias, // typecode kind for typedefs
            68, // encapsulation length
              TAO_ENCAP_BYTE_ORDER, // byte order
              36,
              ACE_NTOHL (0x49444c3a), 
              ACE_NTOHL (0x52746563), 
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74436f6d), 
              ACE_NTOHL (0x6d2f4576), 
              ACE_NTOHL (0x656e7453), 
              ACE_NTOHL (0x6f757263), 
              ACE_NTOHL (0x6549443a), 
              ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventComm/EventSourceID:1.0
                            14,
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74536f75), 
              ACE_NTOHL (0x72636549), 
              ACE_NTOHL (0x44000000),  // name = EventSourceID
                            CORBA::tk_long,


            4,
            ACE_NTOHL (0x74746c00),  // name = ttl
                        CORBA::tk_long,

            14,
            ACE_NTOHL (0x63726561), 
            ACE_NTOHL (0x74696f6e), 
            ACE_NTOHL (0x5f74696d), 
            ACE_NTOHL (0x65000000),  // name = creation_time
                        CORBA::tk_alias, // typecode kind for typedefs
            112, // encapsulation length
              TAO_ENCAP_BYTE_ORDER, // byte order
              27,
              ACE_NTOHL (0x49444c3a), 
              ACE_NTOHL (0x52746563), 
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74436f6d), 
              ACE_NTOHL (0x6d2f5469), 
              ACE_NTOHL (0x6d653a31), 
              ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecEventComm/Time:1.0
                            5,
              ACE_NTOHL (0x54696d65), 
              ACE_NTOHL (0x0),  // name = Time
                            CORBA::tk_alias, // typecode kind for typedefs
              56, // encapsulation length
                TAO_ENCAP_BYTE_ORDER, // byte order
                31,
                ACE_NTOHL (0x49444c3a), 
                ACE_NTOHL (0x6f6d672e), 
                ACE_NTOHL (0x6f72672f), 
                ACE_NTOHL (0x54696d65), 
                ACE_NTOHL (0x42617365), 
                ACE_NTOHL (0x2f54696d), 
                ACE_NTOHL (0x65543a31), 
                ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/TimeBase/TimeT:1.0
                                6,
                ACE_NTOHL (0x54696d65), 
                ACE_NTOHL (0x54000000),  // name = TimeT
                                CORBA::tk_ulonglong,



            13,
            ACE_NTOHL (0x65635f72), 
            ACE_NTOHL (0x6563765f), 
            ACE_NTOHL (0x74696d65), 
            ACE_NTOHL (0x0),  // name = ec_recv_time
                        CORBA::tk_alias, // typecode kind for typedefs
            112, // encapsulation length
              TAO_ENCAP_BYTE_ORDER, // byte order
              27,
              ACE_NTOHL (0x49444c3a), 
              ACE_NTOHL (0x52746563), 
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74436f6d), 
              ACE_NTOHL (0x6d2f5469), 
              ACE_NTOHL (0x6d653a31), 
              ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecEventComm/Time:1.0
                            5,
              ACE_NTOHL (0x54696d65), 
              ACE_NTOHL (0x0),  // name = Time
                            CORBA::tk_alias, // typecode kind for typedefs
              56, // encapsulation length
                TAO_ENCAP_BYTE_ORDER, // byte order
                31,
                ACE_NTOHL (0x49444c3a), 
                ACE_NTOHL (0x6f6d672e), 
                ACE_NTOHL (0x6f72672f), 
                ACE_NTOHL (0x54696d65), 
                ACE_NTOHL (0x42617365), 
                ACE_NTOHL (0x2f54696d), 
                ACE_NTOHL (0x65543a31), 
                ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/TimeBase/TimeT:1.0
                                6,
                ACE_NTOHL (0x54696d65), 
                ACE_NTOHL (0x54000000),  // name = TimeT
                                CORBA::tk_ulonglong,



            13,
            ACE_NTOHL (0x65635f73), 
            ACE_NTOHL (0x656e645f), 
            ACE_NTOHL (0x74696d65), 
            ACE_NTOHL (0x0),  // name = ec_send_time
                        CORBA::tk_alias, // typecode kind for typedefs
            112, // encapsulation length
              TAO_ENCAP_BYTE_ORDER, // byte order
              27,
              ACE_NTOHL (0x49444c3a), 
              ACE_NTOHL (0x52746563), 
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74436f6d), 
              ACE_NTOHL (0x6d2f5469), 
              ACE_NTOHL (0x6d653a31), 
              ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecEventComm/Time:1.0
                            5,
              ACE_NTOHL (0x54696d65), 
              ACE_NTOHL (0x0),  // name = Time
                            CORBA::tk_alias, // typecode kind for typedefs
              56, // encapsulation length
                TAO_ENCAP_BYTE_ORDER, // byte order
                31,
                ACE_NTOHL (0x49444c3a), 
                ACE_NTOHL (0x6f6d672e), 
                ACE_NTOHL (0x6f72672f), 
                ACE_NTOHL (0x54696d65), 
                ACE_NTOHL (0x42617365), 
                ACE_NTOHL (0x2f54696d), 
                ACE_NTOHL (0x65543a31), 
                ACE_NTOHL (0x2e300000),  // repository ID = IDL:omg.org/TimeBase/TimeT:1.0
                                6,
                ACE_NTOHL (0x54696d65), 
                ACE_NTOHL (0x54000000),  // name = TimeT
                                CORBA::tk_ulonglong,




          5,
          ACE_NTOHL (0x64617461), 
          ACE_NTOHL (0x0),  // name = data
                    CORBA::tk_alias, // typecode kind for typedefs
          248, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            32,
            ACE_NTOHL (0x49444c3a), 
            ACE_NTOHL (0x52746563), 
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74436f6d), 
            ACE_NTOHL (0x6d2f4576), 
            ACE_NTOHL (0x656e7444), 
            ACE_NTOHL (0x6174613a), 
            ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventComm/EventData:1.0
                        10,
            ACE_NTOHL (0x4576656e), 
            ACE_NTOHL (0x74446174), 
            ACE_NTOHL (0x61000000),  // name = EventData
                        CORBA::tk_struct, // typecode kind
            184, // encapsulation length
              TAO_ENCAP_BYTE_ORDER, // byte order
              22,
              ACE_NTOHL (0x49444c3a), 
              ACE_NTOHL (0x52746563), 
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74446174), 
              ACE_NTOHL (0x613a312e), 
              ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecEventData:1.0
                            14,
              ACE_NTOHL (0x52746563), 
              ACE_NTOHL (0x4576656e), 
              ACE_NTOHL (0x74446174), 
              ACE_NTOHL (0x61000000),  // name = RtecEventData
              3, // member count
                            5,
              ACE_NTOHL (0x70616431), 
              ACE_NTOHL (0x0),  // name = pad1
                            CORBA::tk_long,

              8,
              ACE_NTOHL (0x7061796c), 
              ACE_NTOHL (0x6f616400),  // name = payload
                            CORBA::tk_alias, // typecode kind for typedefs
              72, // encapsulation length
                TAO_ENCAP_BYTE_ORDER, // byte order
                21,
                ACE_NTOHL (0x49444c3a), 
                ACE_NTOHL (0x4576656e), 
                ACE_NTOHL (0x74506179), 
                ACE_NTOHL (0x6c6f6164), 
                ACE_NTOHL (0x3a312e30), 
                ACE_NTOHL (0x0),  // repository ID = IDL:EventPayload:1.0
                                13,
                ACE_NTOHL (0x4576656e), 
                ACE_NTOHL (0x74506179), 
                ACE_NTOHL (0x6c6f6164), 
                ACE_NTOHL (0x0),  // name = EventPayload
                                CORBA::tk_sequence, // typecode kind
                12, // encapsulation length
                  TAO_ENCAP_BYTE_ORDER, // byte order
                  CORBA::tk_octet,

                  0U,


              10,
              ACE_NTOHL (0x616e795f), 
              ACE_NTOHL (0x76616c75), 
              ACE_NTOHL (0x65000000),  // name = any_value
                            CORBA::tk_any,




        16,
        ACE_NTOHL (0x64657065), 
        ACE_NTOHL (0x6e64656e), 
        ACE_NTOHL (0x63795f69), 
        ACE_NTOHL (0x6e666f00),  // name = dependency_info
                CORBA::tk_struct, // typecode kind
        580, // encapsulation length
          TAO_ENCAP_BYTE_ORDER, // byte order
          33,
          ACE_NTOHL (0x49444c3a), 
          ACE_NTOHL (0x52746563), 
          ACE_NTOHL (0x42617365), 
          ACE_NTOHL (0x2f446570), 
          ACE_NTOHL (0x656e6465), 
          ACE_NTOHL (0x6e63795f), 
          ACE_NTOHL (0x496e666f), 
          ACE_NTOHL (0x3a312e30), 
          ACE_NTOHL (0x0),  // repository ID = IDL:RtecBase/Dependency_Info:1.0
                    16,
          ACE_NTOHL (0x44657065), 
          ACE_NTOHL (0x6e64656e), 
          ACE_NTOHL (0x63795f49), 
          ACE_NTOHL (0x6e666f00),  // name = Dependency_Info
          5, // member count
                    16,
          ACE_NTOHL (0x64657065), 
          ACE_NTOHL (0x6e64656e), 
          ACE_NTOHL (0x63795f74), 
          ACE_NTOHL (0x79706500),  // name = dependency_type
                    CORBA::tk_enum, // typecode kind
          112, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
            35,
            ACE_NTOHL (0x49444c3a), 
            ACE_NTOHL (0x52746563), 
            ACE_NTOHL (0x42617365), 
            ACE_NTOHL (0x2f446570), 
            ACE_NTOHL (0x656e6465), 
            ACE_NTOHL (0x6e63795f), 
            ACE_NTOHL (0x54797065), 
            ACE_NTOHL (0x5f743a31), 
            ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecBase/Dependency_Type_t:1.0
            18,
            ACE_NTOHL (0x44657065), 
            ACE_NTOHL (0x6e64656e), 
            ACE_NTOHL (0x63795f54), 
            ACE_NTOHL (0x7970655f), 
            ACE_NTOHL (0x74000000),  // name = Dependency_Type_t
            2, // member count
            13,
            ACE_NTOHL (0x4f4e455f), 
            ACE_NTOHL (0x5741595f), 
            ACE_NTOHL (0x43414c4c), 
            ACE_NTOHL (0x0),  // name = ONE_WAY_CALL
            13,
            ACE_NTOHL (0x54574f5f), 
            ACE_NTOHL (0x5741595f), 
            ACE_NTOHL (0x43414c4c), 
            ACE_NTOHL (0x0),  // name = TWO_WAY_CALL
            
          16,
          ACE_NTOHL (0x6e756d62), 
          ACE_NTOHL (0x65725f6f), 
          ACE_NTOHL (0x665f6361), 
          ACE_NTOHL (0x6c6c7300),  // name = number_of_calls
                    CORBA::tk_long,

          8,
          ACE_NTOHL (0x72745f69), 
          ACE_NTOHL (0x6e666f00),  // name = rt_info
                    CORBA::tk_alias, // typecode kind for typedefs
          56, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            26,
            ACE_NTOHL (0x49444c3a), 
            ACE_NTOHL (0x52746563), 
            ACE_NTOHL (0x42617365), 
            ACE_NTOHL (0x2f68616e), 
            ACE_NTOHL (0x646c655f), 
            ACE_NTOHL (0x743a312e), 
            ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecBase/handle_t:1.0
                        9,
            ACE_NTOHL (0x68616e64), 
            ACE_NTOHL (0x6c655f74), 
            ACE_NTOHL (0x0),  // name = handle_t
                        CORBA::tk_long,


          20,
          ACE_NTOHL (0x72745f69), 
          ACE_NTOHL (0x6e666f5f), 
          ACE_NTOHL (0x64657065), 
          ACE_NTOHL (0x6e646564), 
          ACE_NTOHL (0x5f6f6e00),  // name = rt_info_depended_on
                    CORBA::tk_alias, // typecode kind for typedefs
          56, // encapsulation length
            TAO_ENCAP_BYTE_ORDER, // byte order
            26,
            ACE_NTOHL (0x49444c3a), 
            ACE_NTOHL (0x52746563), 
            ACE_NTOHL (0x42617365), 
            ACE_NTOHL (0x2f68616e), 
            ACE_NTOHL (0x646c655f), 
            ACE_NTOHL (0x743a312e), 
            ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecBase/handle_t:1.0
                        9,
            ACE_NTOHL (0x68616e64), 
            ACE_NTOHL (0x6c655f74), 
            ACE_NTOHL (0x0),  // name = handle_t
                        CORBA::tk_long,


          8,
          ACE_NTOHL (0x656e6162), 
          ACE_NTOHL (0x6c656400),  // name = enabled
                    CORBA::tk_enum, // typecode kind
          164, // encapsulation length
TAO_ENCAP_BYTE_ORDER, // byte order
            43,
            ACE_NTOHL (0x49444c3a), 
            ACE_NTOHL (0x52746563), 
            ACE_NTOHL (0x42617365), 
            ACE_NTOHL (0x2f446570), 
            ACE_NTOHL (0x656e6465), 
            ACE_NTOHL (0x6e63795f), 
            ACE_NTOHL (0x456e6162), 
            ACE_NTOHL (0x6c65645f), 
            ACE_NTOHL (0x54797065), 
            ACE_NTOHL (0x5f743a31), 
            ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecBase/Dependency_Enabled_Type_t:1.0
            26,
            ACE_NTOHL (0x44657065), 
            ACE_NTOHL (0x6e64656e), 
            ACE_NTOHL (0x63795f45), 
            ACE_NTOHL (0x6e61626c), 
            ACE_NTOHL (0x65645f54), 
            ACE_NTOHL (0x7970655f), 
            ACE_NTOHL (0x74000000),  // name = Dependency_Enabled_Type_t
            3, // member count
            20,
            ACE_NTOHL (0x44455045), 
            ACE_NTOHL (0x4e44454e), 
            ACE_NTOHL (0x43595f44), 
            ACE_NTOHL (0x49534142), 
            ACE_NTOHL (0x4c454400),  // name = DEPENDENCY_DISABLED
            19,
            ACE_NTOHL (0x44455045), 
            ACE_NTOHL (0x4e44454e), 
            ACE_NTOHL (0x43595f45), 
            ACE_NTOHL (0x4e41424c), 
            ACE_NTOHL (0x45440000),  // name = DEPENDENCY_ENABLED
            24,
            ACE_NTOHL (0x44455045), 
            ACE_NTOHL (0x4e44454e), 
            ACE_NTOHL (0x43595f4e), 
            ACE_NTOHL (0x4f4e5f56), 
            ACE_NTOHL (0x4f4c4154), 
            ACE_NTOHL (0x494c4500),  // name = DEPENDENCY_NON_VOLATILE
            


      0U,


  11,
  ACE_NTOHL (0x69735f67), 
  ACE_NTOHL (0x61746577), 
  ACE_NTOHL (0x61790000),  // name = is_gateway
    CORBA::tk_boolean,

};

static CORBA::TypeCode _tc_TAO_tc_RtecEventChannelAdmin_SupplierQOS (
    CORBA::tk_struct,
    sizeof (_oc_RtecEventChannelAdmin_SupplierQOS),
    (char *) &_oc_RtecEventChannelAdmin_SupplierQOS,
    0,
    sizeof (RtecEventChannelAdmin::SupplierQOS)
  );

namespace RtecEventChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_SupplierQOS =
    &_tc_TAO_tc_RtecEventChannelAdmin_SupplierQOS;
}

// TAO_IDL - Generated from 
// be/be_visitor_structure/structure_cs.cpp:66

void 
RtecEventChannelAdmin::SupplierQOS::_tao_any_destructor (
    void *_tao_void_pointer
  )
{
  SupplierQOS *_tao_tmp_pointer =
    static_cast<SupplierQOS *> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/exception_cs.cpp:63

RtecEventChannelAdmin::TypeError::TypeError (void)
  : CORBA::UserException (
        "IDL:RtecEventChannelAdmin/TypeError:1.0",
        "TypeError"
      )
{
}

RtecEventChannelAdmin::TypeError::~TypeError (void)
{
}

RtecEventChannelAdmin::TypeError::TypeError (const ::RtecEventChannelAdmin::TypeError &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

RtecEventChannelAdmin::TypeError&
RtecEventChannelAdmin::TypeError::operator= (const ::RtecEventChannelAdmin::TypeError &_tao_excp)
{
  this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
  return *this;
}

void RtecEventChannelAdmin::TypeError::_tao_any_destructor (void *_tao_void_pointer)
{
  TypeError *_tao_tmp_pointer =
    static_cast<TypeError*> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

RtecEventChannelAdmin::TypeError *
RtecEventChannelAdmin::TypeError::_downcast (CORBA::Exception *_tao_excp)
{
  if (!ACE_OS::strcmp ("IDL:RtecEventChannelAdmin/TypeError:1.0", _tao_excp->_rep_id ()))
    {
      return dynamic_cast<TypeError *> (_tao_excp);
    }
  else
    {
      return 0;
    }
}

CORBA::Exception *RtecEventChannelAdmin::TypeError::_alloc (void)
{
  CORBA::Exception *retval = 0;
  ACE_NEW_RETURN (retval, ::RtecEventChannelAdmin::TypeError, 0);
  return retval;
}

CORBA::Exception *
RtecEventChannelAdmin::TypeError::_tao_duplicate (void) const
{
  CORBA::Exception *result;
  ACE_NEW_RETURN (
      result,
      ::RtecEventChannelAdmin::TypeError (*this),
      0
    );
  return result;
}

void RtecEventChannelAdmin::TypeError::_raise (void) const
{
  TAO_RAISE (*this);
}

void RtecEventChannelAdmin::TypeError::_tao_encode (
    TAO_OutputCDR &cdr
    ACE_ENV_ARG_DECL
  ) const
{
  if (cdr << *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

void RtecEventChannelAdmin::TypeError::_tao_decode (
    TAO_InputCDR &cdr
    ACE_ENV_ARG_DECL
  )
{
  if (cdr >> *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

// TAO extension - the virtual _type method.
CORBA::TypeCode_ptr RtecEventChannelAdmin::TypeError::_type (void) const
{
  return ::RtecEventChannelAdmin::_tc_TypeError;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_RtecEventChannelAdmin_TypeError[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  40,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x74436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f5479), 
  ACE_NTOHL (0x70654572), 
  ACE_NTOHL (0x726f723a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventChannelAdmin/TypeError:1.0
    10,
  ACE_NTOHL (0x54797065), 
  ACE_NTOHL (0x4572726f), 
  ACE_NTOHL (0x72000000),  // name = TypeError
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_RtecEventChannelAdmin_TypeError (
    CORBA::tk_except,
    sizeof (_oc_RtecEventChannelAdmin_TypeError),
    (char *) &_oc_RtecEventChannelAdmin_TypeError,
    0,
    sizeof (RtecEventChannelAdmin::TypeError)
  );

namespace RtecEventChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_TypeError =
    &_tc_TAO_tc_RtecEventChannelAdmin_TypeError;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60

// Traits specializations for RtecEventChannelAdmin::ProxyPushSupplier.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
RtecEventChannelAdmin::ProxyPushSupplier_ptr
TAO::Objref_Traits<RtecEventChannelAdmin::ProxyPushSupplier>::tao_duplicate (
    RtecEventChannelAdmin::ProxyPushSupplier_ptr p
  )
{
  return RtecEventChannelAdmin::ProxyPushSupplier::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<RtecEventChannelAdmin::ProxyPushSupplier>::tao_release (
    RtecEventChannelAdmin::ProxyPushSupplier_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
RtecEventChannelAdmin::ProxyPushSupplier_ptr
TAO::Objref_Traits<RtecEventChannelAdmin::ProxyPushSupplier>::tao_nil (void)
{
  return RtecEventChannelAdmin::ProxyPushSupplier::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<RtecEventChannelAdmin::ProxyPushSupplier>::tao_marshal (
    RtecEventChannelAdmin::ProxyPushSupplier_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker * 
(*RtecEventChannelAdmin__TAO_ProxyPushSupplier_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  ) = 0;

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void RtecEventChannelAdmin::ProxyPushSupplier::connect_push_consumer (
    ::RtecEventComm::PushConsumer_ptr push_consumer,
    const ::RtecEventChannelAdmin::ConsumerQOS & qos
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::RtecEventChannelAdmin::AlreadyConnected,
    ::RtecEventChannelAdmin::TypeError
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxyPushSupplier_Proxy_Broker_ == 0)
    {
      RtecEventChannelAdmin_ProxyPushSupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::RtecEventComm::PushConsumer>::in_arg_val _tao_push_consumer (push_consumer);
  TAO::Arg_Traits< ::RtecEventChannelAdmin::ConsumerQOS>::in_arg_val _tao_qos (qos);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_push_consumer,
      &_tao_qos
    };
  
  static TAO::Exception_Data
  _tao_RtecEventChannelAdmin_ProxyPushSupplier_connect_push_consumer_exceptiondata [] = 
    {
      {
        "IDL:RtecEventChannelAdmin/AlreadyConnected:1.0",
        RtecEventChannelAdmin::AlreadyConnected::_alloc,
        RtecEventChannelAdmin::_tc_AlreadyConnected
      },
      
      {
        "IDL:RtecEventChannelAdmin/TypeError:1.0",
        RtecEventChannelAdmin::TypeError::_alloc,
        RtecEventChannelAdmin::_tc_TypeError
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      3,
      "connect_push_consumer",
      21,
      this->the_TAO_ProxyPushSupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_RtecEventChannelAdmin_ProxyPushSupplier_connect_push_consumer_exceptiondata,
      2
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void RtecEventChannelAdmin::ProxyPushSupplier::suspend_connection (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxyPushSupplier_Proxy_Broker_ == 0)
    {
      RtecEventChannelAdmin_ProxyPushSupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "suspend_connection",
      18,
      this->the_TAO_ProxyPushSupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK;
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void RtecEventChannelAdmin::ProxyPushSupplier::resume_connection (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxyPushSupplier_Proxy_Broker_ == 0)
    {
      RtecEventChannelAdmin_ProxyPushSupplier_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "resume_connection",
      17,
      this->the_TAO_ProxyPushSupplier_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK;
}

RtecEventChannelAdmin::ProxyPushSupplier::ProxyPushSupplier (void)
 : the_TAO_ProxyPushSupplier_Proxy_Broker_ (0)
{
  this->RtecEventChannelAdmin_ProxyPushSupplier_setup_collocation ();
}

void
RtecEventChannelAdmin::ProxyPushSupplier::RtecEventChannelAdmin_ProxyPushSupplier_setup_collocation ()
{
  if (::RtecEventChannelAdmin__TAO_ProxyPushSupplier_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_ProxyPushSupplier_Proxy_Broker_ =
        ::RtecEventChannelAdmin__TAO_ProxyPushSupplier_Proxy_Broker_Factory_function_pointer (this);
    }
  
  this->RtecEventComm_PushSupplier_setup_collocation ();
}

RtecEventChannelAdmin::ProxyPushSupplier::~ProxyPushSupplier (void)
{}

void 
RtecEventChannelAdmin::ProxyPushSupplier::_tao_any_destructor (void *_tao_void_pointer)
{
  ProxyPushSupplier *_tao_tmp_pointer =
    static_cast<ProxyPushSupplier *> (_tao_void_pointer);
  CORBA::release (_tao_tmp_pointer);
}

RtecEventChannelAdmin::ProxyPushSupplier_ptr
RtecEventChannelAdmin::ProxyPushSupplier::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<ProxyPushSupplier>::narrow (
        _tao_objref,
        "IDL:RtecEventChannelAdmin/ProxyPushSupplier:1.0",
        RtecEventChannelAdmin__TAO_ProxyPushSupplier_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

RtecEventChannelAdmin::ProxyPushSupplier_ptr
RtecEventChannelAdmin::ProxyPushSupplier::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<ProxyPushSupplier>::unchecked_narrow (
        _tao_objref,
        "IDL:RtecEventChannelAdmin/ProxyPushSupplier:1.0",
        RtecEventChannelAdmin__TAO_ProxyPushSupplier_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

RtecEventChannelAdmin::ProxyPushSupplier_ptr
RtecEventChannelAdmin::ProxyPushSupplier::_duplicate (ProxyPushSupplier_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
RtecEventChannelAdmin::ProxyPushSupplier::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:RtecEventComm/PushSupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:RtecEventChannelAdmin/ProxyPushSupplier:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* RtecEventChannelAdmin::ProxyPushSupplier::_interface_repository_id (void) const
{
  return "IDL:RtecEventChannelAdmin/ProxyPushSupplier:1.0";
}

CORBA::Boolean
RtecEventChannelAdmin::ProxyPushSupplier::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_RtecEventChannelAdmin_ProxyPushSupplier[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  48,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x74436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f5072), 
  ACE_NTOHL (0x6f787950), 
  ACE_NTOHL (0x75736853), 
  ACE_NTOHL (0x7570706c), 
  ACE_NTOHL (0x6965723a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventChannelAdmin/ProxyPushSupplier:1.0
    18,
  ACE_NTOHL (0x50726f78), 
  ACE_NTOHL (0x79507573), 
  ACE_NTOHL (0x68537570), 
  ACE_NTOHL (0x706c6965), 
  ACE_NTOHL (0x72000000),  // name = ProxyPushSupplier
  };

static CORBA::TypeCode _tc_TAO_tc_RtecEventChannelAdmin_ProxyPushSupplier (
    CORBA::tk_objref,
    sizeof (_oc_RtecEventChannelAdmin_ProxyPushSupplier),
    (char *) &_oc_RtecEventChannelAdmin_ProxyPushSupplier,
    0,
    sizeof (RtecEventChannelAdmin::ProxyPushSupplier)
  );

namespace RtecEventChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_ProxyPushSupplier =
    &_tc_TAO_tc_RtecEventChannelAdmin_ProxyPushSupplier;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60

// Traits specializations for RtecEventChannelAdmin::ProxyPushConsumer.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
RtecEventChannelAdmin::ProxyPushConsumer_ptr
TAO::Objref_Traits<RtecEventChannelAdmin::ProxyPushConsumer>::tao_duplicate (
    RtecEventChannelAdmin::ProxyPushConsumer_ptr p
  )
{
  return RtecEventChannelAdmin::ProxyPushConsumer::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<RtecEventChannelAdmin::ProxyPushConsumer>::tao_release (
    RtecEventChannelAdmin::ProxyPushConsumer_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
RtecEventChannelAdmin::ProxyPushConsumer_ptr
TAO::Objref_Traits<RtecEventChannelAdmin::ProxyPushConsumer>::tao_nil (void)
{
  return RtecEventChannelAdmin::ProxyPushConsumer::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<RtecEventChannelAdmin::ProxyPushConsumer>::tao_marshal (
    RtecEventChannelAdmin::ProxyPushConsumer_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker * 
(*RtecEventChannelAdmin__TAO_ProxyPushConsumer_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  ) = 0;

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void RtecEventChannelAdmin::ProxyPushConsumer::connect_push_supplier (
    ::RtecEventComm::PushSupplier_ptr push_supplier,
    const ::RtecEventChannelAdmin::SupplierQOS & qos
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::RtecEventChannelAdmin::AlreadyConnected
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ProxyPushConsumer_Proxy_Broker_ == 0)
    {
      RtecEventChannelAdmin_ProxyPushConsumer_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::RtecEventComm::PushSupplier>::in_arg_val _tao_push_supplier (push_supplier);
  TAO::Arg_Traits< ::RtecEventChannelAdmin::SupplierQOS>::in_arg_val _tao_qos (qos);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_push_supplier,
      &_tao_qos
    };
  
  static TAO::Exception_Data
  _tao_RtecEventChannelAdmin_ProxyPushConsumer_connect_push_supplier_exceptiondata [] = 
    {
      {
        "IDL:RtecEventChannelAdmin/AlreadyConnected:1.0",
        RtecEventChannelAdmin::AlreadyConnected::_alloc,
        RtecEventChannelAdmin::_tc_AlreadyConnected
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      3,
      "connect_push_supplier",
      21,
      this->the_TAO_ProxyPushConsumer_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_RtecEventChannelAdmin_ProxyPushConsumer_connect_push_supplier_exceptiondata,
      1
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

RtecEventChannelAdmin::ProxyPushConsumer::ProxyPushConsumer (void)
 : the_TAO_ProxyPushConsumer_Proxy_Broker_ (0)
{
  this->RtecEventChannelAdmin_ProxyPushConsumer_setup_collocation ();
}

void
RtecEventChannelAdmin::ProxyPushConsumer::RtecEventChannelAdmin_ProxyPushConsumer_setup_collocation ()
{
  if (::RtecEventChannelAdmin__TAO_ProxyPushConsumer_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_ProxyPushConsumer_Proxy_Broker_ =
        ::RtecEventChannelAdmin__TAO_ProxyPushConsumer_Proxy_Broker_Factory_function_pointer (this);
    }
  
  this->RtecEventComm_PushConsumer_setup_collocation ();
}

RtecEventChannelAdmin::ProxyPushConsumer::~ProxyPushConsumer (void)
{}

void 
RtecEventChannelAdmin::ProxyPushConsumer::_tao_any_destructor (void *_tao_void_pointer)
{
  ProxyPushConsumer *_tao_tmp_pointer =
    static_cast<ProxyPushConsumer *> (_tao_void_pointer);
  CORBA::release (_tao_tmp_pointer);
}

RtecEventChannelAdmin::ProxyPushConsumer_ptr
RtecEventChannelAdmin::ProxyPushConsumer::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<ProxyPushConsumer>::narrow (
        _tao_objref,
        "IDL:RtecEventChannelAdmin/ProxyPushConsumer:1.0",
        RtecEventChannelAdmin__TAO_ProxyPushConsumer_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

RtecEventChannelAdmin::ProxyPushConsumer_ptr
RtecEventChannelAdmin::ProxyPushConsumer::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<ProxyPushConsumer>::unchecked_narrow (
        _tao_objref,
        "IDL:RtecEventChannelAdmin/ProxyPushConsumer:1.0",
        RtecEventChannelAdmin__TAO_ProxyPushConsumer_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

RtecEventChannelAdmin::ProxyPushConsumer_ptr
RtecEventChannelAdmin::ProxyPushConsumer::_duplicate (ProxyPushConsumer_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
RtecEventChannelAdmin::ProxyPushConsumer::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:RtecEventComm/PushConsumer:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:RtecEventChannelAdmin/ProxyPushConsumer:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* RtecEventChannelAdmin::ProxyPushConsumer::_interface_repository_id (void) const
{
  return "IDL:RtecEventChannelAdmin/ProxyPushConsumer:1.0";
}

CORBA::Boolean
RtecEventChannelAdmin::ProxyPushConsumer::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_RtecEventChannelAdmin_ProxyPushConsumer[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  48,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x74436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f5072), 
  ACE_NTOHL (0x6f787950), 
  ACE_NTOHL (0x75736843), 
  ACE_NTOHL (0x6f6e7375), 
  ACE_NTOHL (0x6d65723a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventChannelAdmin/ProxyPushConsumer:1.0
    18,
  ACE_NTOHL (0x50726f78), 
  ACE_NTOHL (0x79507573), 
  ACE_NTOHL (0x68436f6e), 
  ACE_NTOHL (0x73756d65), 
  ACE_NTOHL (0x72000000),  // name = ProxyPushConsumer
  };

static CORBA::TypeCode _tc_TAO_tc_RtecEventChannelAdmin_ProxyPushConsumer (
    CORBA::tk_objref,
    sizeof (_oc_RtecEventChannelAdmin_ProxyPushConsumer),
    (char *) &_oc_RtecEventChannelAdmin_ProxyPushConsumer,
    0,
    sizeof (RtecEventChannelAdmin::ProxyPushConsumer)
  );

namespace RtecEventChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_ProxyPushConsumer =
    &_tc_TAO_tc_RtecEventChannelAdmin_ProxyPushConsumer;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60

// Traits specializations for RtecEventChannelAdmin::ConsumerAdmin.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
RtecEventChannelAdmin::ConsumerAdmin_ptr
TAO::Objref_Traits<RtecEventChannelAdmin::ConsumerAdmin>::tao_duplicate (
    RtecEventChannelAdmin::ConsumerAdmin_ptr p
  )
{
  return RtecEventChannelAdmin::ConsumerAdmin::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<RtecEventChannelAdmin::ConsumerAdmin>::tao_release (
    RtecEventChannelAdmin::ConsumerAdmin_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
RtecEventChannelAdmin::ConsumerAdmin_ptr
TAO::Objref_Traits<RtecEventChannelAdmin::ConsumerAdmin>::tao_nil (void)
{
  return RtecEventChannelAdmin::ConsumerAdmin::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<RtecEventChannelAdmin::ConsumerAdmin>::tao_marshal (
    RtecEventChannelAdmin::ConsumerAdmin_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker * 
(*RtecEventChannelAdmin__TAO_ConsumerAdmin_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  ) = 0;

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::RtecEventChannelAdmin::ProxyPushSupplier_ptr RtecEventChannelAdmin::ConsumerAdmin::obtain_push_supplier (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_ConsumerAdmin_Proxy_Broker_ == 0)
    {
      RtecEventChannelAdmin_ConsumerAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::RtecEventChannelAdmin::ProxyPushSupplier>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "obtain_push_supplier",
      20,
      this->the_TAO_ConsumerAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

RtecEventChannelAdmin::ConsumerAdmin::ConsumerAdmin (void)
 : the_TAO_ConsumerAdmin_Proxy_Broker_ (0)
{
  this->RtecEventChannelAdmin_ConsumerAdmin_setup_collocation ();
}

void
RtecEventChannelAdmin::ConsumerAdmin::RtecEventChannelAdmin_ConsumerAdmin_setup_collocation ()
{
  if (::RtecEventChannelAdmin__TAO_ConsumerAdmin_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_ConsumerAdmin_Proxy_Broker_ =
        ::RtecEventChannelAdmin__TAO_ConsumerAdmin_Proxy_Broker_Factory_function_pointer (this);
    }
}

RtecEventChannelAdmin::ConsumerAdmin::~ConsumerAdmin (void)
{}

void 
RtecEventChannelAdmin::ConsumerAdmin::_tao_any_destructor (void *_tao_void_pointer)
{
  ConsumerAdmin *_tao_tmp_pointer =
    static_cast<ConsumerAdmin *> (_tao_void_pointer);
  CORBA::release (_tao_tmp_pointer);
}

RtecEventChannelAdmin::ConsumerAdmin_ptr
RtecEventChannelAdmin::ConsumerAdmin::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<ConsumerAdmin>::narrow (
        _tao_objref,
        "IDL:RtecEventChannelAdmin/ConsumerAdmin:1.0",
        RtecEventChannelAdmin__TAO_ConsumerAdmin_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

RtecEventChannelAdmin::ConsumerAdmin_ptr
RtecEventChannelAdmin::ConsumerAdmin::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<ConsumerAdmin>::unchecked_narrow (
        _tao_objref,
        "IDL:RtecEventChannelAdmin/ConsumerAdmin:1.0",
        RtecEventChannelAdmin__TAO_ConsumerAdmin_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

RtecEventChannelAdmin::ConsumerAdmin_ptr
RtecEventChannelAdmin::ConsumerAdmin::_duplicate (ConsumerAdmin_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
RtecEventChannelAdmin::ConsumerAdmin::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:RtecEventChannelAdmin/ConsumerAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* RtecEventChannelAdmin::ConsumerAdmin::_interface_repository_id (void) const
{
  return "IDL:RtecEventChannelAdmin/ConsumerAdmin:1.0";
}

CORBA::Boolean
RtecEventChannelAdmin::ConsumerAdmin::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_RtecEventChannelAdmin_ConsumerAdmin[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  44,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x74436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f436f), 
  ACE_NTOHL (0x6e73756d), 
  ACE_NTOHL (0x65724164), 
  ACE_NTOHL (0x6d696e3a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventChannelAdmin/ConsumerAdmin:1.0
    14,
  ACE_NTOHL (0x436f6e73), 
  ACE_NTOHL (0x756d6572), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e000000),  // name = ConsumerAdmin
  };

static CORBA::TypeCode _tc_TAO_tc_RtecEventChannelAdmin_ConsumerAdmin (
    CORBA::tk_objref,
    sizeof (_oc_RtecEventChannelAdmin_ConsumerAdmin),
    (char *) &_oc_RtecEventChannelAdmin_ConsumerAdmin,
    0,
    sizeof (RtecEventChannelAdmin::ConsumerAdmin)
  );

namespace RtecEventChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_ConsumerAdmin =
    &_tc_TAO_tc_RtecEventChannelAdmin_ConsumerAdmin;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60

// Traits specializations for RtecEventChannelAdmin::SupplierAdmin.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
RtecEventChannelAdmin::SupplierAdmin_ptr
TAO::Objref_Traits<RtecEventChannelAdmin::SupplierAdmin>::tao_duplicate (
    RtecEventChannelAdmin::SupplierAdmin_ptr p
  )
{
  return RtecEventChannelAdmin::SupplierAdmin::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<RtecEventChannelAdmin::SupplierAdmin>::tao_release (
    RtecEventChannelAdmin::SupplierAdmin_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
RtecEventChannelAdmin::SupplierAdmin_ptr
TAO::Objref_Traits<RtecEventChannelAdmin::SupplierAdmin>::tao_nil (void)
{
  return RtecEventChannelAdmin::SupplierAdmin::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<RtecEventChannelAdmin::SupplierAdmin>::tao_marshal (
    RtecEventChannelAdmin::SupplierAdmin_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker * 
(*RtecEventChannelAdmin__TAO_SupplierAdmin_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  ) = 0;

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::RtecEventChannelAdmin::ProxyPushConsumer_ptr RtecEventChannelAdmin::SupplierAdmin::obtain_push_consumer (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_SupplierAdmin_Proxy_Broker_ == 0)
    {
      RtecEventChannelAdmin_SupplierAdmin_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::RtecEventChannelAdmin::ProxyPushConsumer>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "obtain_push_consumer",
      20,
      this->the_TAO_SupplierAdmin_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

RtecEventChannelAdmin::SupplierAdmin::SupplierAdmin (void)
 : the_TAO_SupplierAdmin_Proxy_Broker_ (0)
{
  this->RtecEventChannelAdmin_SupplierAdmin_setup_collocation ();
}

void
RtecEventChannelAdmin::SupplierAdmin::RtecEventChannelAdmin_SupplierAdmin_setup_collocation ()
{
  if (::RtecEventChannelAdmin__TAO_SupplierAdmin_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_SupplierAdmin_Proxy_Broker_ =
        ::RtecEventChannelAdmin__TAO_SupplierAdmin_Proxy_Broker_Factory_function_pointer (this);
    }
}

RtecEventChannelAdmin::SupplierAdmin::~SupplierAdmin (void)
{}

void 
RtecEventChannelAdmin::SupplierAdmin::_tao_any_destructor (void *_tao_void_pointer)
{
  SupplierAdmin *_tao_tmp_pointer =
    static_cast<SupplierAdmin *> (_tao_void_pointer);
  CORBA::release (_tao_tmp_pointer);
}

RtecEventChannelAdmin::SupplierAdmin_ptr
RtecEventChannelAdmin::SupplierAdmin::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<SupplierAdmin>::narrow (
        _tao_objref,
        "IDL:RtecEventChannelAdmin/SupplierAdmin:1.0",
        RtecEventChannelAdmin__TAO_SupplierAdmin_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

RtecEventChannelAdmin::SupplierAdmin_ptr
RtecEventChannelAdmin::SupplierAdmin::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<SupplierAdmin>::unchecked_narrow (
        _tao_objref,
        "IDL:RtecEventChannelAdmin/SupplierAdmin:1.0",
        RtecEventChannelAdmin__TAO_SupplierAdmin_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

RtecEventChannelAdmin::SupplierAdmin_ptr
RtecEventChannelAdmin::SupplierAdmin::_duplicate (SupplierAdmin_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
RtecEventChannelAdmin::SupplierAdmin::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:RtecEventChannelAdmin/SupplierAdmin:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* RtecEventChannelAdmin::SupplierAdmin::_interface_repository_id (void) const
{
  return "IDL:RtecEventChannelAdmin/SupplierAdmin:1.0";
}

CORBA::Boolean
RtecEventChannelAdmin::SupplierAdmin::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_RtecEventChannelAdmin_SupplierAdmin[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  44,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x74436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f5375), 
  ACE_NTOHL (0x70706c69), 
  ACE_NTOHL (0x65724164), 
  ACE_NTOHL (0x6d696e3a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventChannelAdmin/SupplierAdmin:1.0
    14,
  ACE_NTOHL (0x53757070), 
  ACE_NTOHL (0x6c696572), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e000000),  // name = SupplierAdmin
  };

static CORBA::TypeCode _tc_TAO_tc_RtecEventChannelAdmin_SupplierAdmin (
    CORBA::tk_objref,
    sizeof (_oc_RtecEventChannelAdmin_SupplierAdmin),
    (char *) &_oc_RtecEventChannelAdmin_SupplierAdmin,
    0,
    sizeof (RtecEventChannelAdmin::SupplierAdmin)
  );

namespace RtecEventChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_SupplierAdmin =
    &_tc_TAO_tc_RtecEventChannelAdmin_SupplierAdmin;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60

// Traits specializations for RtecEventChannelAdmin::Observer.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
RtecEventChannelAdmin::Observer_ptr
TAO::Objref_Traits<RtecEventChannelAdmin::Observer>::tao_duplicate (
    RtecEventChannelAdmin::Observer_ptr p
  )
{
  return RtecEventChannelAdmin::Observer::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<RtecEventChannelAdmin::Observer>::tao_release (
    RtecEventChannelAdmin::Observer_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
RtecEventChannelAdmin::Observer_ptr
TAO::Objref_Traits<RtecEventChannelAdmin::Observer>::tao_nil (void)
{
  return RtecEventChannelAdmin::Observer::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<RtecEventChannelAdmin::Observer>::tao_marshal (
    RtecEventChannelAdmin::Observer_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker * 
(*RtecEventChannelAdmin__TAO_Observer_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  ) = 0;

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void RtecEventChannelAdmin::Observer::update_consumer (
    const ::RtecEventChannelAdmin::ConsumerQOS & sub
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_Observer_Proxy_Broker_ == 0)
    {
      RtecEventChannelAdmin_Observer_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::RtecEventChannelAdmin::ConsumerQOS>::in_arg_val _tao_sub (sub);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_sub
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "update_consumer",
      15,
      this->the_TAO_Observer_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK;
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void RtecEventChannelAdmin::Observer::update_supplier (
    const ::RtecEventChannelAdmin::SupplierQOS & pub
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_Observer_Proxy_Broker_ == 0)
    {
      RtecEventChannelAdmin_Observer_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< ::RtecEventChannelAdmin::SupplierQOS>::in_arg_val _tao_pub (pub);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_pub
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "update_supplier",
      15,
      this->the_TAO_Observer_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK;
}

RtecEventChannelAdmin::Observer::Observer (void)
 : the_TAO_Observer_Proxy_Broker_ (0)
{
  this->RtecEventChannelAdmin_Observer_setup_collocation ();
}

void
RtecEventChannelAdmin::Observer::RtecEventChannelAdmin_Observer_setup_collocation ()
{
  if (::RtecEventChannelAdmin__TAO_Observer_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_Observer_Proxy_Broker_ =
        ::RtecEventChannelAdmin__TAO_Observer_Proxy_Broker_Factory_function_pointer (this);
    }
}

RtecEventChannelAdmin::Observer::~Observer (void)
{}

void 
RtecEventChannelAdmin::Observer::_tao_any_destructor (void *_tao_void_pointer)
{
  Observer *_tao_tmp_pointer =
    static_cast<Observer *> (_tao_void_pointer);
  CORBA::release (_tao_tmp_pointer);
}

RtecEventChannelAdmin::Observer_ptr
RtecEventChannelAdmin::Observer::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<Observer>::narrow (
        _tao_objref,
        "IDL:RtecEventChannelAdmin/Observer:1.0",
        RtecEventChannelAdmin__TAO_Observer_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

RtecEventChannelAdmin::Observer_ptr
RtecEventChannelAdmin::Observer::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<Observer>::unchecked_narrow (
        _tao_objref,
        "IDL:RtecEventChannelAdmin/Observer:1.0",
        RtecEventChannelAdmin__TAO_Observer_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

RtecEventChannelAdmin::Observer_ptr
RtecEventChannelAdmin::Observer::_duplicate (Observer_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
RtecEventChannelAdmin::Observer::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:RtecEventChannelAdmin/Observer:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* RtecEventChannelAdmin::Observer::_interface_repository_id (void) const
{
  return "IDL:RtecEventChannelAdmin/Observer:1.0";
}

CORBA::Boolean
RtecEventChannelAdmin::Observer::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_RtecEventChannelAdmin_Observer[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  39,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x74436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f4f62), 
  ACE_NTOHL (0x73657276), 
  ACE_NTOHL (0x65723a31), 
  ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecEventChannelAdmin/Observer:1.0
    9,
  ACE_NTOHL (0x4f627365), 
  ACE_NTOHL (0x72766572), 
  ACE_NTOHL (0x0),  // name = Observer
  };

static CORBA::TypeCode _tc_TAO_tc_RtecEventChannelAdmin_Observer (
    CORBA::tk_objref,
    sizeof (_oc_RtecEventChannelAdmin_Observer),
    (char *) &_oc_RtecEventChannelAdmin_Observer,
    0,
    sizeof (RtecEventChannelAdmin::Observer)
  );

namespace RtecEventChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_Observer =
    &_tc_TAO_tc_RtecEventChannelAdmin_Observer;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_RtecEventChannelAdmin_Observer_Handle[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  46,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x74436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f4f62), 
  ACE_NTOHL (0x73657276), 
  ACE_NTOHL (0x65725f48), 
  ACE_NTOHL (0x616e646c), 
  ACE_NTOHL (0x653a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecEventChannelAdmin/Observer_Handle:1.0
    16,
  ACE_NTOHL (0x4f627365), 
  ACE_NTOHL (0x72766572), 
  ACE_NTOHL (0x5f48616e), 
  ACE_NTOHL (0x646c6500),  // name = Observer_Handle
    CORBA::tk_ulong,

};

static CORBA::TypeCode _tc_TAO_tc_RtecEventChannelAdmin_Observer_Handle (
    CORBA::tk_alias,
    sizeof (_oc_RtecEventChannelAdmin_Observer_Handle),
    (char *) &_oc_RtecEventChannelAdmin_Observer_Handle,
    0,
    sizeof (RtecEventChannelAdmin::Observer_Handle)
  );

namespace RtecEventChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_Observer_Handle =
    &_tc_TAO_tc_RtecEventChannelAdmin_Observer_Handle;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/interface_cs.cpp:60

// Traits specializations for RtecEventChannelAdmin::EventChannel.

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
RtecEventChannelAdmin::EventChannel_ptr
TAO::Objref_Traits<RtecEventChannelAdmin::EventChannel>::tao_duplicate (
    RtecEventChannelAdmin::EventChannel_ptr p
  )
{
  return RtecEventChannelAdmin::EventChannel::_duplicate (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
void
TAO::Objref_Traits<RtecEventChannelAdmin::EventChannel>::tao_release (
    RtecEventChannelAdmin::EventChannel_ptr p
  )
{
  CORBA::release (p);
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
RtecEventChannelAdmin::EventChannel_ptr
TAO::Objref_Traits<RtecEventChannelAdmin::EventChannel>::tao_nil (void)
{
  return RtecEventChannelAdmin::EventChannel::_nil ();
}

ACE_TEMPLATE_CLASS_MEMBER_SPECIALIZATION
CORBA::Boolean
TAO::Objref_Traits<RtecEventChannelAdmin::EventChannel>::tao_marshal (
    RtecEventChannelAdmin::EventChannel_ptr p,
    TAO_OutputCDR & cdr
  )
{
  return CORBA::Object::marshal (p, cdr);
}

// Function pointer for collocation factory initialization.
TAO::Collocation_Proxy_Broker * 
(*RtecEventChannelAdmin__TAO_EventChannel_Proxy_Broker_Factory_function_pointer) (
    CORBA::Object_ptr obj
  ) = 0;

// TAO_IDL - Generated from 
// be/be_visitor_exception/exception_cs.cpp:63

RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR::SYNCHRONIZATION_ERROR (void)
  : CORBA::UserException (
        "IDL:RtecEventChannelAdmin/EventChannel/SYNCHRONIZATION_ERROR:1.0",
        "SYNCHRONIZATION_ERROR"
      )
{
}

RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR::~SYNCHRONIZATION_ERROR (void)
{
}

RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR::SYNCHRONIZATION_ERROR (const ::RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR&
RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR::operator= (const ::RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR &_tao_excp)
{
  this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
  return *this;
}

void RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR::_tao_any_destructor (void *_tao_void_pointer)
{
  SYNCHRONIZATION_ERROR *_tao_tmp_pointer =
    static_cast<SYNCHRONIZATION_ERROR*> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR *
RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR::_downcast (CORBA::Exception *_tao_excp)
{
  if (!ACE_OS::strcmp ("IDL:RtecEventChannelAdmin/EventChannel/SYNCHRONIZATION_ERROR:1.0", _tao_excp->_rep_id ()))
    {
      return dynamic_cast<SYNCHRONIZATION_ERROR *> (_tao_excp);
    }
  else
    {
      return 0;
    }
}

CORBA::Exception *RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR::_alloc (void)
{
  CORBA::Exception *retval = 0;
  ACE_NEW_RETURN (retval, ::RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR, 0);
  return retval;
}

CORBA::Exception *
RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR::_tao_duplicate (void) const
{
  CORBA::Exception *result;
  ACE_NEW_RETURN (
      result,
      ::RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR (*this),
      0
    );
  return result;
}

void RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR::_raise (void) const
{
  TAO_RAISE (*this);
}

void RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR::_tao_encode (
    TAO_OutputCDR &cdr
    ACE_ENV_ARG_DECL
  ) const
{
  if (cdr << *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

void RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR::_tao_decode (
    TAO_InputCDR &cdr
    ACE_ENV_ARG_DECL
  )
{
  if (cdr >> *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

// TAO extension - the virtual _type method.
CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR::_type (void) const
{
  return ::RtecEventChannelAdmin::EventChannel::_tc_SYNCHRONIZATION_ERROR;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_RtecEventChannelAdmin_EventChannel_SYNCHRONIZATION_ERROR[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  65,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x74436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f4576), 
  ACE_NTOHL (0x656e7443), 
  ACE_NTOHL (0x68616e6e), 
  ACE_NTOHL (0x656c2f53), 
  ACE_NTOHL (0x594e4348), 
  ACE_NTOHL (0x524f4e49), 
  ACE_NTOHL (0x5a415449), 
  ACE_NTOHL (0x4f4e5f45), 
  ACE_NTOHL (0x52524f52), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:RtecEventChannelAdmin/EventChannel/SYNCHRONIZATION_ERROR:1.0
    22,
  ACE_NTOHL (0x53594e43), 
  ACE_NTOHL (0x48524f4e), 
  ACE_NTOHL (0x495a4154), 
  ACE_NTOHL (0x494f4e5f), 
  ACE_NTOHL (0x4552524f), 
  ACE_NTOHL (0x52000000),  // name = SYNCHRONIZATION_ERROR
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_RtecEventChannelAdmin_EventChannel_SYNCHRONIZATION_ERROR (
    CORBA::tk_except,
    sizeof (_oc_RtecEventChannelAdmin_EventChannel_SYNCHRONIZATION_ERROR),
    (char *) &_oc_RtecEventChannelAdmin_EventChannel_SYNCHRONIZATION_ERROR,
    0,
    sizeof (RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR)
  );

::CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::_tc_SYNCHRONIZATION_ERROR =
  &_tc_TAO_tc_RtecEventChannelAdmin_EventChannel_SYNCHRONIZATION_ERROR;

// TAO_IDL - Generated from 
// be/be_visitor_exception/exception_cs.cpp:63

RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER::CANT_APPEND_OBSERVER (void)
  : CORBA::UserException (
        "IDL:RtecEventChannelAdmin/EventChannel/CANT_APPEND_OBSERVER:1.0",
        "CANT_APPEND_OBSERVER"
      )
{
}

RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER::~CANT_APPEND_OBSERVER (void)
{
}

RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER::CANT_APPEND_OBSERVER (const ::RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER&
RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER::operator= (const ::RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER &_tao_excp)
{
  this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
  return *this;
}

void RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER::_tao_any_destructor (void *_tao_void_pointer)
{
  CANT_APPEND_OBSERVER *_tao_tmp_pointer =
    static_cast<CANT_APPEND_OBSERVER*> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER *
RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER::_downcast (CORBA::Exception *_tao_excp)
{
  if (!ACE_OS::strcmp ("IDL:RtecEventChannelAdmin/EventChannel/CANT_APPEND_OBSERVER:1.0", _tao_excp->_rep_id ()))
    {
      return dynamic_cast<CANT_APPEND_OBSERVER *> (_tao_excp);
    }
  else
    {
      return 0;
    }
}

CORBA::Exception *RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER::_alloc (void)
{
  CORBA::Exception *retval = 0;
  ACE_NEW_RETURN (retval, ::RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER, 0);
  return retval;
}

CORBA::Exception *
RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER::_tao_duplicate (void) const
{
  CORBA::Exception *result;
  ACE_NEW_RETURN (
      result,
      ::RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER (*this),
      0
    );
  return result;
}

void RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER::_raise (void) const
{
  TAO_RAISE (*this);
}

void RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER::_tao_encode (
    TAO_OutputCDR &cdr
    ACE_ENV_ARG_DECL
  ) const
{
  if (cdr << *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

void RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER::_tao_decode (
    TAO_InputCDR &cdr
    ACE_ENV_ARG_DECL
  )
{
  if (cdr >> *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

// TAO extension - the virtual _type method.
CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER::_type (void) const
{
  return ::RtecEventChannelAdmin::EventChannel::_tc_CANT_APPEND_OBSERVER;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_RtecEventChannelAdmin_EventChannel_CANT_APPEND_OBSERVER[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  64,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x74436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f4576), 
  ACE_NTOHL (0x656e7443), 
  ACE_NTOHL (0x68616e6e), 
  ACE_NTOHL (0x656c2f43), 
  ACE_NTOHL (0x414e545f), 
  ACE_NTOHL (0x41505045), 
  ACE_NTOHL (0x4e445f4f), 
  ACE_NTOHL (0x42534552), 
  ACE_NTOHL (0x5645523a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventChannelAdmin/EventChannel/CANT_APPEND_OBSERVER:1.0
    21,
  ACE_NTOHL (0x43414e54), 
  ACE_NTOHL (0x5f415050), 
  ACE_NTOHL (0x454e445f), 
  ACE_NTOHL (0x4f425345), 
  ACE_NTOHL (0x52564552), 
  ACE_NTOHL (0x0),  // name = CANT_APPEND_OBSERVER
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_RtecEventChannelAdmin_EventChannel_CANT_APPEND_OBSERVER (
    CORBA::tk_except,
    sizeof (_oc_RtecEventChannelAdmin_EventChannel_CANT_APPEND_OBSERVER),
    (char *) &_oc_RtecEventChannelAdmin_EventChannel_CANT_APPEND_OBSERVER,
    0,
    sizeof (RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER)
  );

::CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::_tc_CANT_APPEND_OBSERVER =
  &_tc_TAO_tc_RtecEventChannelAdmin_EventChannel_CANT_APPEND_OBSERVER;

// TAO_IDL - Generated from 
// be/be_visitor_exception/exception_cs.cpp:63

RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER::CANT_REMOVE_OBSERVER (void)
  : CORBA::UserException (
        "IDL:RtecEventChannelAdmin/EventChannel/CANT_REMOVE_OBSERVER:1.0",
        "CANT_REMOVE_OBSERVER"
      )
{
}

RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER::~CANT_REMOVE_OBSERVER (void)
{
}

RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER::CANT_REMOVE_OBSERVER (const ::RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER&
RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER::operator= (const ::RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER &_tao_excp)
{
  this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
  return *this;
}

void RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER::_tao_any_destructor (void *_tao_void_pointer)
{
  CANT_REMOVE_OBSERVER *_tao_tmp_pointer =
    static_cast<CANT_REMOVE_OBSERVER*> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER *
RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER::_downcast (CORBA::Exception *_tao_excp)
{
  if (!ACE_OS::strcmp ("IDL:RtecEventChannelAdmin/EventChannel/CANT_REMOVE_OBSERVER:1.0", _tao_excp->_rep_id ()))
    {
      return dynamic_cast<CANT_REMOVE_OBSERVER *> (_tao_excp);
    }
  else
    {
      return 0;
    }
}

CORBA::Exception *RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER::_alloc (void)
{
  CORBA::Exception *retval = 0;
  ACE_NEW_RETURN (retval, ::RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER, 0);
  return retval;
}

CORBA::Exception *
RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER::_tao_duplicate (void) const
{
  CORBA::Exception *result;
  ACE_NEW_RETURN (
      result,
      ::RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER (*this),
      0
    );
  return result;
}

void RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER::_raise (void) const
{
  TAO_RAISE (*this);
}

void RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER::_tao_encode (
    TAO_OutputCDR &cdr
    ACE_ENV_ARG_DECL
  ) const
{
  if (cdr << *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

void RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER::_tao_decode (
    TAO_InputCDR &cdr
    ACE_ENV_ARG_DECL
  )
{
  if (cdr >> *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

// TAO extension - the virtual _type method.
CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER::_type (void) const
{
  return ::RtecEventChannelAdmin::EventChannel::_tc_CANT_REMOVE_OBSERVER;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_RtecEventChannelAdmin_EventChannel_CANT_REMOVE_OBSERVER[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  64,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x74436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f4576), 
  ACE_NTOHL (0x656e7443), 
  ACE_NTOHL (0x68616e6e), 
  ACE_NTOHL (0x656c2f43), 
  ACE_NTOHL (0x414e545f), 
  ACE_NTOHL (0x52454d4f), 
  ACE_NTOHL (0x56455f4f), 
  ACE_NTOHL (0x42534552), 
  ACE_NTOHL (0x5645523a), 
  ACE_NTOHL (0x312e3000),  // repository ID = IDL:RtecEventChannelAdmin/EventChannel/CANT_REMOVE_OBSERVER:1.0
    21,
  ACE_NTOHL (0x43414e54), 
  ACE_NTOHL (0x5f52454d), 
  ACE_NTOHL (0x4f56455f), 
  ACE_NTOHL (0x4f425345), 
  ACE_NTOHL (0x52564552), 
  ACE_NTOHL (0x0),  // name = CANT_REMOVE_OBSERVER
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_RtecEventChannelAdmin_EventChannel_CANT_REMOVE_OBSERVER (
    CORBA::tk_except,
    sizeof (_oc_RtecEventChannelAdmin_EventChannel_CANT_REMOVE_OBSERVER),
    (char *) &_oc_RtecEventChannelAdmin_EventChannel_CANT_REMOVE_OBSERVER,
    0,
    sizeof (RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER)
  );

::CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::_tc_CANT_REMOVE_OBSERVER =
  &_tc_TAO_tc_RtecEventChannelAdmin_EventChannel_CANT_REMOVE_OBSERVER;

// TAO_IDL - Generated from 
// be/be_visitor_exception/exception_cs.cpp:63

RtecEventChannelAdmin::EventChannel::QOS_ERROR::QOS_ERROR (void)
  : CORBA::UserException (
        "IDL:RtecEventChannelAdmin/EventChannel/QOS_ERROR:1.0",
        "QOS_ERROR"
      )
{
}

RtecEventChannelAdmin::EventChannel::QOS_ERROR::~QOS_ERROR (void)
{
}

RtecEventChannelAdmin::EventChannel::QOS_ERROR::QOS_ERROR (const ::RtecEventChannelAdmin::EventChannel::QOS_ERROR &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

RtecEventChannelAdmin::EventChannel::QOS_ERROR&
RtecEventChannelAdmin::EventChannel::QOS_ERROR::operator= (const ::RtecEventChannelAdmin::EventChannel::QOS_ERROR &_tao_excp)
{
  this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
  return *this;
}

void RtecEventChannelAdmin::EventChannel::QOS_ERROR::_tao_any_destructor (void *_tao_void_pointer)
{
  QOS_ERROR *_tao_tmp_pointer =
    static_cast<QOS_ERROR*> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

RtecEventChannelAdmin::EventChannel::QOS_ERROR *
RtecEventChannelAdmin::EventChannel::QOS_ERROR::_downcast (CORBA::Exception *_tao_excp)
{
  if (!ACE_OS::strcmp ("IDL:RtecEventChannelAdmin/EventChannel/QOS_ERROR:1.0", _tao_excp->_rep_id ()))
    {
      return dynamic_cast<QOS_ERROR *> (_tao_excp);
    }
  else
    {
      return 0;
    }
}

CORBA::Exception *RtecEventChannelAdmin::EventChannel::QOS_ERROR::_alloc (void)
{
  CORBA::Exception *retval = 0;
  ACE_NEW_RETURN (retval, ::RtecEventChannelAdmin::EventChannel::QOS_ERROR, 0);
  return retval;
}

CORBA::Exception *
RtecEventChannelAdmin::EventChannel::QOS_ERROR::_tao_duplicate (void) const
{
  CORBA::Exception *result;
  ACE_NEW_RETURN (
      result,
      ::RtecEventChannelAdmin::EventChannel::QOS_ERROR (*this),
      0
    );
  return result;
}

void RtecEventChannelAdmin::EventChannel::QOS_ERROR::_raise (void) const
{
  TAO_RAISE (*this);
}

void RtecEventChannelAdmin::EventChannel::QOS_ERROR::_tao_encode (
    TAO_OutputCDR &cdr
    ACE_ENV_ARG_DECL
  ) const
{
  if (cdr << *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

void RtecEventChannelAdmin::EventChannel::QOS_ERROR::_tao_decode (
    TAO_InputCDR &cdr
    ACE_ENV_ARG_DECL
  )
{
  if (cdr >> *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

// TAO extension - the virtual _type method.
CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::QOS_ERROR::_type (void) const
{
  return ::RtecEventChannelAdmin::EventChannel::_tc_QOS_ERROR;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_RtecEventChannelAdmin_EventChannel_QOS_ERROR[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  53,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x74436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f4576), 
  ACE_NTOHL (0x656e7443), 
  ACE_NTOHL (0x68616e6e), 
  ACE_NTOHL (0x656c2f51), 
  ACE_NTOHL (0x4f535f45), 
  ACE_NTOHL (0x52524f52), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:RtecEventChannelAdmin/EventChannel/QOS_ERROR:1.0
    10,
  ACE_NTOHL (0x514f535f), 
  ACE_NTOHL (0x4552524f), 
  ACE_NTOHL (0x52000000),  // name = QOS_ERROR
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_RtecEventChannelAdmin_EventChannel_QOS_ERROR (
    CORBA::tk_except,
    sizeof (_oc_RtecEventChannelAdmin_EventChannel_QOS_ERROR),
    (char *) &_oc_RtecEventChannelAdmin_EventChannel_QOS_ERROR,
    0,
    sizeof (RtecEventChannelAdmin::EventChannel::QOS_ERROR)
  );

::CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::_tc_QOS_ERROR =
  &_tc_TAO_tc_RtecEventChannelAdmin_EventChannel_QOS_ERROR;

// TAO_IDL - Generated from 
// be/be_visitor_exception/exception_cs.cpp:63

RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR::SUBSCRIPTION_ERROR (void)
  : CORBA::UserException (
        "IDL:RtecEventChannelAdmin/EventChannel/SUBSCRIPTION_ERROR:1.0",
        "SUBSCRIPTION_ERROR"
      )
{
}

RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR::~SUBSCRIPTION_ERROR (void)
{
}

RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR::SUBSCRIPTION_ERROR (const ::RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR&
RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR::operator= (const ::RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR &_tao_excp)
{
  this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
  return *this;
}

void RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR::_tao_any_destructor (void *_tao_void_pointer)
{
  SUBSCRIPTION_ERROR *_tao_tmp_pointer =
    static_cast<SUBSCRIPTION_ERROR*> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR *
RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR::_downcast (CORBA::Exception *_tao_excp)
{
  if (!ACE_OS::strcmp ("IDL:RtecEventChannelAdmin/EventChannel/SUBSCRIPTION_ERROR:1.0", _tao_excp->_rep_id ()))
    {
      return dynamic_cast<SUBSCRIPTION_ERROR *> (_tao_excp);
    }
  else
    {
      return 0;
    }
}

CORBA::Exception *RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR::_alloc (void)
{
  CORBA::Exception *retval = 0;
  ACE_NEW_RETURN (retval, ::RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR, 0);
  return retval;
}

CORBA::Exception *
RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR::_tao_duplicate (void) const
{
  CORBA::Exception *result;
  ACE_NEW_RETURN (
      result,
      ::RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR (*this),
      0
    );
  return result;
}

void RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR::_raise (void) const
{
  TAO_RAISE (*this);
}

void RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR::_tao_encode (
    TAO_OutputCDR &cdr
    ACE_ENV_ARG_DECL
  ) const
{
  if (cdr << *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

void RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR::_tao_decode (
    TAO_InputCDR &cdr
    ACE_ENV_ARG_DECL
  )
{
  if (cdr >> *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

// TAO extension - the virtual _type method.
CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR::_type (void) const
{
  return ::RtecEventChannelAdmin::EventChannel::_tc_SUBSCRIPTION_ERROR;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_RtecEventChannelAdmin_EventChannel_SUBSCRIPTION_ERROR[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  62,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x74436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f4576), 
  ACE_NTOHL (0x656e7443), 
  ACE_NTOHL (0x68616e6e), 
  ACE_NTOHL (0x656c2f53), 
  ACE_NTOHL (0x55425343), 
  ACE_NTOHL (0x52495054), 
  ACE_NTOHL (0x494f4e5f), 
  ACE_NTOHL (0x4552524f), 
  ACE_NTOHL (0x523a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecEventChannelAdmin/EventChannel/SUBSCRIPTION_ERROR:1.0
    19,
  ACE_NTOHL (0x53554253), 
  ACE_NTOHL (0x43524950), 
  ACE_NTOHL (0x54494f4e), 
  ACE_NTOHL (0x5f455252), 
  ACE_NTOHL (0x4f520000),  // name = SUBSCRIPTION_ERROR
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_RtecEventChannelAdmin_EventChannel_SUBSCRIPTION_ERROR (
    CORBA::tk_except,
    sizeof (_oc_RtecEventChannelAdmin_EventChannel_SUBSCRIPTION_ERROR),
    (char *) &_oc_RtecEventChannelAdmin_EventChannel_SUBSCRIPTION_ERROR,
    0,
    sizeof (RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR)
  );

::CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::_tc_SUBSCRIPTION_ERROR =
  &_tc_TAO_tc_RtecEventChannelAdmin_EventChannel_SUBSCRIPTION_ERROR;

// TAO_IDL - Generated from 
// be/be_visitor_exception/exception_cs.cpp:63

RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR::CORRELATION_ERROR (void)
  : CORBA::UserException (
        "IDL:RtecEventChannelAdmin/EventChannel/CORRELATION_ERROR:1.0",
        "CORRELATION_ERROR"
      )
{
}

RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR::~CORRELATION_ERROR (void)
{
}

RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR::CORRELATION_ERROR (const ::RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR&
RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR::operator= (const ::RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR &_tao_excp)
{
  this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
  return *this;
}

void RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR::_tao_any_destructor (void *_tao_void_pointer)
{
  CORRELATION_ERROR *_tao_tmp_pointer =
    static_cast<CORRELATION_ERROR*> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR *
RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR::_downcast (CORBA::Exception *_tao_excp)
{
  if (!ACE_OS::strcmp ("IDL:RtecEventChannelAdmin/EventChannel/CORRELATION_ERROR:1.0", _tao_excp->_rep_id ()))
    {
      return dynamic_cast<CORRELATION_ERROR *> (_tao_excp);
    }
  else
    {
      return 0;
    }
}

CORBA::Exception *RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR::_alloc (void)
{
  CORBA::Exception *retval = 0;
  ACE_NEW_RETURN (retval, ::RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR, 0);
  return retval;
}

CORBA::Exception *
RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR::_tao_duplicate (void) const
{
  CORBA::Exception *result;
  ACE_NEW_RETURN (
      result,
      ::RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR (*this),
      0
    );
  return result;
}

void RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR::_raise (void) const
{
  TAO_RAISE (*this);
}

void RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR::_tao_encode (
    TAO_OutputCDR &cdr
    ACE_ENV_ARG_DECL
  ) const
{
  if (cdr << *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

void RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR::_tao_decode (
    TAO_InputCDR &cdr
    ACE_ENV_ARG_DECL
  )
{
  if (cdr >> *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

// TAO extension - the virtual _type method.
CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR::_type (void) const
{
  return ::RtecEventChannelAdmin::EventChannel::_tc_CORRELATION_ERROR;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_RtecEventChannelAdmin_EventChannel_CORRELATION_ERROR[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  61,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x74436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f4576), 
  ACE_NTOHL (0x656e7443), 
  ACE_NTOHL (0x68616e6e), 
  ACE_NTOHL (0x656c2f43), 
  ACE_NTOHL (0x4f525245), 
  ACE_NTOHL (0x4c415449), 
  ACE_NTOHL (0x4f4e5f45), 
  ACE_NTOHL (0x52524f52), 
  ACE_NTOHL (0x3a312e30), 
  ACE_NTOHL (0x0),  // repository ID = IDL:RtecEventChannelAdmin/EventChannel/CORRELATION_ERROR:1.0
    18,
  ACE_NTOHL (0x434f5252), 
  ACE_NTOHL (0x454c4154), 
  ACE_NTOHL (0x494f4e5f), 
  ACE_NTOHL (0x4552524f), 
  ACE_NTOHL (0x52000000),  // name = CORRELATION_ERROR
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_RtecEventChannelAdmin_EventChannel_CORRELATION_ERROR (
    CORBA::tk_except,
    sizeof (_oc_RtecEventChannelAdmin_EventChannel_CORRELATION_ERROR),
    (char *) &_oc_RtecEventChannelAdmin_EventChannel_CORRELATION_ERROR,
    0,
    sizeof (RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR)
  );

::CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::_tc_CORRELATION_ERROR =
  &_tc_TAO_tc_RtecEventChannelAdmin_EventChannel_CORRELATION_ERROR;

// TAO_IDL - Generated from 
// be/be_visitor_exception/exception_cs.cpp:63

RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR::DISPATCH_ERROR (void)
  : CORBA::UserException (
        "IDL:RtecEventChannelAdmin/EventChannel/DISPATCH_ERROR:1.0",
        "DISPATCH_ERROR"
      )
{
}

RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR::~DISPATCH_ERROR (void)
{
}

RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR::DISPATCH_ERROR (const ::RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR &_tao_excp)
  : CORBA::UserException (
        _tao_excp._rep_id (),
        _tao_excp._name ()
      )
{
}

RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR&
RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR::operator= (const ::RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR &_tao_excp)
{
  this->ACE_NESTED_CLASS (CORBA, UserException)::operator= (_tao_excp);
  return *this;
}

void RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR::_tao_any_destructor (void *_tao_void_pointer)
{
  DISPATCH_ERROR *_tao_tmp_pointer =
    static_cast<DISPATCH_ERROR*> (_tao_void_pointer);
  delete _tao_tmp_pointer;
}

RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR *
RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR::_downcast (CORBA::Exception *_tao_excp)
{
  if (!ACE_OS::strcmp ("IDL:RtecEventChannelAdmin/EventChannel/DISPATCH_ERROR:1.0", _tao_excp->_rep_id ()))
    {
      return dynamic_cast<DISPATCH_ERROR *> (_tao_excp);
    }
  else
    {
      return 0;
    }
}

CORBA::Exception *RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR::_alloc (void)
{
  CORBA::Exception *retval = 0;
  ACE_NEW_RETURN (retval, ::RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR, 0);
  return retval;
}

CORBA::Exception *
RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR::_tao_duplicate (void) const
{
  CORBA::Exception *result;
  ACE_NEW_RETURN (
      result,
      ::RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR (*this),
      0
    );
  return result;
}

void RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR::_raise (void) const
{
  TAO_RAISE (*this);
}

void RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR::_tao_encode (
    TAO_OutputCDR &cdr
    ACE_ENV_ARG_DECL
  ) const
{
  if (cdr << *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

void RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR::_tao_decode (
    TAO_InputCDR &cdr
    ACE_ENV_ARG_DECL
  )
{
  if (cdr >> *this)
    {
      return;
    }
  
  ACE_THROW (CORBA::MARSHAL ());
}

// TAO extension - the virtual _type method.
CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR::_type (void) const
{
  return ::RtecEventChannelAdmin::EventChannel::_tc_DISPATCH_ERROR;
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_RtecEventChannelAdmin_EventChannel_DISPATCH_ERROR[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  58,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x74436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f4576), 
  ACE_NTOHL (0x656e7443), 
  ACE_NTOHL (0x68616e6e), 
  ACE_NTOHL (0x656c2f44), 
  ACE_NTOHL (0x49535041), 
  ACE_NTOHL (0x5443485f), 
  ACE_NTOHL (0x4552524f), 
  ACE_NTOHL (0x523a312e), 
  ACE_NTOHL (0x30000000),  // repository ID = IDL:RtecEventChannelAdmin/EventChannel/DISPATCH_ERROR:1.0
    15,
  ACE_NTOHL (0x44495350), 
  ACE_NTOHL (0x41544348), 
  ACE_NTOHL (0x5f455252), 
  ACE_NTOHL (0x4f520000),  // name = DISPATCH_ERROR
  0, // member count
  };

static CORBA::TypeCode _tc_TAO_tc_RtecEventChannelAdmin_EventChannel_DISPATCH_ERROR (
    CORBA::tk_except,
    sizeof (_oc_RtecEventChannelAdmin_EventChannel_DISPATCH_ERROR),
    (char *) &_oc_RtecEventChannelAdmin_EventChannel_DISPATCH_ERROR,
    0,
    sizeof (RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR)
  );

::CORBA::TypeCode_ptr RtecEventChannelAdmin::EventChannel::_tc_DISPATCH_ERROR =
  &_tc_TAO_tc_RtecEventChannelAdmin_EventChannel_DISPATCH_ERROR;

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::RtecEventChannelAdmin::ConsumerAdmin_ptr RtecEventChannelAdmin::EventChannel::for_consumers (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_EventChannel_Proxy_Broker_ == 0)
    {
      RtecEventChannelAdmin_EventChannel_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::RtecEventChannelAdmin::ConsumerAdmin>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "for_consumers",
      13,
      this->the_TAO_EventChannel_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

::RtecEventChannelAdmin::SupplierAdmin_ptr RtecEventChannelAdmin::EventChannel::for_suppliers (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_EventChannel_Proxy_Broker_ == 0)
    {
      RtecEventChannelAdmin_EventChannel_setup_collocation ();
    }
  
  TAO::Arg_Traits< ::RtecEventChannelAdmin::SupplierAdmin>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "for_suppliers",
      13,
      this->the_TAO_EventChannel_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void RtecEventChannelAdmin::EventChannel::destroy (
    ACE_ENV_SINGLE_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_EventChannel_Proxy_Broker_ == 0)
    {
      RtecEventChannelAdmin_EventChannel_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      1,
      "destroy",
      7,
      this->the_TAO_EventChannel_Proxy_Broker_
    );
  
  _tao_call.invoke (0, 0 ACE_ENV_ARG_PARAMETER);
  ACE_CHECK;
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

RtecEventChannelAdmin::Observer_Handle RtecEventChannelAdmin::EventChannel::append_observer (
    ::RtecEventChannelAdmin::Observer_ptr gw
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR,
    ::RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_EventChannel_Proxy_Broker_ == 0)
    {
      RtecEventChannelAdmin_EventChannel_setup_collocation ();
    }
  
  TAO::Arg_Traits< RtecEventChannelAdmin::Observer_Handle>::ret_val _tao_retval;
  TAO::Arg_Traits< ::RtecEventChannelAdmin::Observer>::in_arg_val _tao_gw (gw);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_gw
    };
  
  static TAO::Exception_Data
  _tao_RtecEventChannelAdmin_EventChannel_append_observer_exceptiondata [] = 
    {
      {
        "IDL:RtecEventChannelAdmin/EventChannel/SYNCHRONIZATION_ERROR:1.0",
        RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR::_alloc,
        RtecEventChannelAdmin::EventChannel::_tc_SYNCHRONIZATION_ERROR
      },
      
      {
        "IDL:RtecEventChannelAdmin/EventChannel/CANT_APPEND_OBSERVER:1.0",
        RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER::_alloc,
        RtecEventChannelAdmin::EventChannel::_tc_CANT_APPEND_OBSERVER
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "append_observer",
      15,
      this->the_TAO_EventChannel_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_RtecEventChannelAdmin_EventChannel_append_observer_exceptiondata,
      2
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK_RETURN (_tao_retval.excp ());
  
  return _tao_retval.retn ();
}

// TAO_IDL - Generated from
// be/be_visitor_operation/operation_cs.cpp:78

void RtecEventChannelAdmin::EventChannel::remove_observer (
    ::RtecEventChannelAdmin::Observer_Handle gw
    ACE_ENV_ARG_DECL
  )
  ACE_THROW_SPEC ((
    CORBA::SystemException,
    ::RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR,
    ::RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER
  ))
{
  if (!this->is_evaluated ())
    {
      ACE_NESTED_CLASS (CORBA, Object)::tao_object_initialize (this);
    }
  
  if (this->the_TAO_EventChannel_Proxy_Broker_ == 0)
    {
      RtecEventChannelAdmin_EventChannel_setup_collocation ();
    }
  
  TAO::Arg_Traits< void>::ret_val _tao_retval;
  TAO::Arg_Traits< RtecEventChannelAdmin::Observer_Handle>::in_arg_val _tao_gw (gw);
  
  TAO::Argument *_the_tao_operation_signature [] =
    {
      &_tao_retval,
      &_tao_gw
    };
  
  static TAO::Exception_Data
  _tao_RtecEventChannelAdmin_EventChannel_remove_observer_exceptiondata [] = 
    {
      {
        "IDL:RtecEventChannelAdmin/EventChannel/SYNCHRONIZATION_ERROR:1.0",
        RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR::_alloc,
        RtecEventChannelAdmin::EventChannel::_tc_SYNCHRONIZATION_ERROR
      },
      
      {
        "IDL:RtecEventChannelAdmin/EventChannel/CANT_REMOVE_OBSERVER:1.0",
        RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER::_alloc,
        RtecEventChannelAdmin::EventChannel::_tc_CANT_REMOVE_OBSERVER
      }
    };
  
  TAO::Invocation_Adapter _tao_call (
      this,
      _the_tao_operation_signature,
      2,
      "remove_observer",
      15,
      this->the_TAO_EventChannel_Proxy_Broker_
    );
  
  _tao_call.invoke (
      _tao_RtecEventChannelAdmin_EventChannel_remove_observer_exceptiondata,
      2
      ACE_ENV_ARG_PARAMETER
    );
  ACE_CHECK;
}

RtecEventChannelAdmin::EventChannel::EventChannel (void)
 : the_TAO_EventChannel_Proxy_Broker_ (0)
{
  this->RtecEventChannelAdmin_EventChannel_setup_collocation ();
}

void
RtecEventChannelAdmin::EventChannel::RtecEventChannelAdmin_EventChannel_setup_collocation ()
{
  if (::RtecEventChannelAdmin__TAO_EventChannel_Proxy_Broker_Factory_function_pointer)
    {
      this->the_TAO_EventChannel_Proxy_Broker_ =
        ::RtecEventChannelAdmin__TAO_EventChannel_Proxy_Broker_Factory_function_pointer (this);
    }
}

RtecEventChannelAdmin::EventChannel::~EventChannel (void)
{}

void 
RtecEventChannelAdmin::EventChannel::_tao_any_destructor (void *_tao_void_pointer)
{
  EventChannel *_tao_tmp_pointer =
    static_cast<EventChannel *> (_tao_void_pointer);
  CORBA::release (_tao_tmp_pointer);
}

RtecEventChannelAdmin::EventChannel_ptr
RtecEventChannelAdmin::EventChannel::_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<EventChannel>::narrow (
        _tao_objref,
        "IDL:RtecEventChannelAdmin/EventChannel:1.0",
        RtecEventChannelAdmin__TAO_EventChannel_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

RtecEventChannelAdmin::EventChannel_ptr
RtecEventChannelAdmin::EventChannel::_unchecked_narrow (
    CORBA::Object_ptr _tao_objref
    ACE_ENV_ARG_DECL
  )
{
  return
    TAO::Narrow_Utils<EventChannel>::unchecked_narrow (
        _tao_objref,
        "IDL:RtecEventChannelAdmin/EventChannel:1.0",
        RtecEventChannelAdmin__TAO_EventChannel_Proxy_Broker_Factory_function_pointer
        ACE_ENV_ARG_PARAMETER
      );
}

RtecEventChannelAdmin::EventChannel_ptr
RtecEventChannelAdmin::EventChannel::_duplicate (EventChannel_ptr obj)
{
  if (! CORBA::is_nil (obj))
    {
      obj->_add_ref ();
    }
  
  return obj;
}

CORBA::Boolean
RtecEventChannelAdmin::EventChannel::_is_a (
    const char *value
    ACE_ENV_ARG_DECL
  )
{
  if (
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:RtecEventChannelAdmin/EventChannel:1.0"
        ) ||
      !ACE_OS::strcmp (
          (char *)value,
          "IDL:omg.org/CORBA/Object:1.0"
        )
     )
    {
      return 1; // success using local knowledge
    }
  else
    {
      return this->ACE_NESTED_CLASS (CORBA, Object)::_is_a (
          value
          ACE_ENV_ARG_PARAMETER
        );
    }
}

const char* RtecEventChannelAdmin::EventChannel::_interface_repository_id (void) const
{
  return "IDL:RtecEventChannelAdmin/EventChannel:1.0";
}

CORBA::Boolean
RtecEventChannelAdmin::EventChannel::marshal (TAO_OutputCDR &cdr)
{
  return (cdr << this);
}

// TAO_IDL - Generated from
// be/be_visitor_typecode/typecode_defn.cpp:290

static const CORBA::Long _oc_RtecEventChannelAdmin_EventChannel[] =
{
    TAO_ENCAP_BYTE_ORDER, // byte order
  43,
  ACE_NTOHL (0x49444c3a), 
  ACE_NTOHL (0x52746563), 
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x74436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x41646d69), 
  ACE_NTOHL (0x6e2f4576), 
  ACE_NTOHL (0x656e7443), 
  ACE_NTOHL (0x68616e6e), 
  ACE_NTOHL (0x656c3a31), 
  ACE_NTOHL (0x2e300000),  // repository ID = IDL:RtecEventChannelAdmin/EventChannel:1.0
    13,
  ACE_NTOHL (0x4576656e), 
  ACE_NTOHL (0x74436861), 
  ACE_NTOHL (0x6e6e656c), 
  ACE_NTOHL (0x0),  // name = EventChannel
  };

static CORBA::TypeCode _tc_TAO_tc_RtecEventChannelAdmin_EventChannel (
    CORBA::tk_objref,
    sizeof (_oc_RtecEventChannelAdmin_EventChannel),
    (char *) &_oc_RtecEventChannelAdmin_EventChannel,
    0,
    sizeof (RtecEventChannelAdmin::EventChannel)
  );

namespace RtecEventChannelAdmin
{
  ::CORBA::TypeCode_ptr _tc_EventChannel =
    &_tc_TAO_tc_RtecEventChannelAdmin_EventChannel;
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::AlreadyConnected>::demarshal_value (
    TAO_InputCDR & cdr
  )
{
  CORBA::String_var id;
  
  if ((cdr >> id.out ()) == 0)
    {
      return 0;
    }
  
  ACE_TRY_NEW_ENV
    {
      this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
      ACE_TRY_CHECK;
    }
  ACE_CATCHANY
    {
      return 0;
    }
  ACE_ENDTRY;
  
  return 1;
}

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::AlreadyConnected &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::AlreadyConnected>::insert_copy (
      _tao_any,
      RtecEventChannelAdmin::AlreadyConnected::_tao_any_destructor,
      RtecEventChannelAdmin::_tc_AlreadyConnected,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::AlreadyConnected *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::AlreadyConnected>::insert (
      _tao_any,
      RtecEventChannelAdmin::AlreadyConnected::_tao_any_destructor,
      RtecEventChannelAdmin::_tc_AlreadyConnected,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    RtecEventChannelAdmin::AlreadyConnected *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const RtecEventChannelAdmin::AlreadyConnected *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::AlreadyConnected *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::AlreadyConnected>::extract (
        _tao_any,
        RtecEventChannelAdmin::AlreadyConnected::_tao_any_destructor,
        RtecEventChannelAdmin::_tc_AlreadyConnected,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_structure/any_op_cs.cpp:54

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::Dependency &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::Dependency>::insert_copy (
      _tao_any,
      RtecEventChannelAdmin::Dependency::_tao_any_destructor,
      RtecEventChannelAdmin::_tc_Dependency,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::Dependency *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::Dependency>::insert (
      _tao_any,
      RtecEventChannelAdmin::Dependency::_tao_any_destructor,
      RtecEventChannelAdmin::_tc_Dependency,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    RtecEventChannelAdmin::Dependency *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const RtecEventChannelAdmin::Dependency *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::Dependency *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::Dependency>::extract (
        _tao_any,
        RtecEventChannelAdmin::Dependency::_tao_any_destructor,
        RtecEventChannelAdmin::_tc_Dependency,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/any_op_cs.cpp:54

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::DependencySet &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::DependencySet>::insert_copy (
      _tao_any,
      RtecEventChannelAdmin::DependencySet::_tao_any_destructor,
      RtecEventChannelAdmin::_tc_DependencySet,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::DependencySet *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::DependencySet>::insert (
      _tao_any,
      RtecEventChannelAdmin::DependencySet::_tao_any_destructor,
      RtecEventChannelAdmin::_tc_DependencySet,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    RtecEventChannelAdmin::DependencySet *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const RtecEventChannelAdmin::DependencySet *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::DependencySet *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::DependencySet>::extract (
        _tao_any,
        RtecEventChannelAdmin::DependencySet::_tao_any_destructor,
        RtecEventChannelAdmin::_tc_DependencySet,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_structure/any_op_cs.cpp:54

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::ConsumerQOS &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::ConsumerQOS>::insert_copy (
      _tao_any,
      RtecEventChannelAdmin::ConsumerQOS::_tao_any_destructor,
      RtecEventChannelAdmin::_tc_ConsumerQOS,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::ConsumerQOS *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::ConsumerQOS>::insert (
      _tao_any,
      RtecEventChannelAdmin::ConsumerQOS::_tao_any_destructor,
      RtecEventChannelAdmin::_tc_ConsumerQOS,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    RtecEventChannelAdmin::ConsumerQOS *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const RtecEventChannelAdmin::ConsumerQOS *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::ConsumerQOS *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::ConsumerQOS>::extract (
        _tao_any,
        RtecEventChannelAdmin::ConsumerQOS::_tao_any_destructor,
        RtecEventChannelAdmin::_tc_ConsumerQOS,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_structure/any_op_cs.cpp:54

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::Publication &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::Publication>::insert_copy (
      _tao_any,
      RtecEventChannelAdmin::Publication::_tao_any_destructor,
      RtecEventChannelAdmin::_tc_Publication,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::Publication *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::Publication>::insert (
      _tao_any,
      RtecEventChannelAdmin::Publication::_tao_any_destructor,
      RtecEventChannelAdmin::_tc_Publication,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    RtecEventChannelAdmin::Publication *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const RtecEventChannelAdmin::Publication *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::Publication *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::Publication>::extract (
        _tao_any,
        RtecEventChannelAdmin::Publication::_tao_any_destructor,
        RtecEventChannelAdmin::_tc_Publication,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_sequence/any_op_cs.cpp:54

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::PublicationSet &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::PublicationSet>::insert_copy (
      _tao_any,
      RtecEventChannelAdmin::PublicationSet::_tao_any_destructor,
      RtecEventChannelAdmin::_tc_PublicationSet,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::PublicationSet *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::PublicationSet>::insert (
      _tao_any,
      RtecEventChannelAdmin::PublicationSet::_tao_any_destructor,
      RtecEventChannelAdmin::_tc_PublicationSet,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    RtecEventChannelAdmin::PublicationSet *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const RtecEventChannelAdmin::PublicationSet *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::PublicationSet *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::PublicationSet>::extract (
        _tao_any,
        RtecEventChannelAdmin::PublicationSet::_tao_any_destructor,
        RtecEventChannelAdmin::_tc_PublicationSet,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_structure/any_op_cs.cpp:54

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::SupplierQOS &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::SupplierQOS>::insert_copy (
      _tao_any,
      RtecEventChannelAdmin::SupplierQOS::_tao_any_destructor,
      RtecEventChannelAdmin::_tc_SupplierQOS,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::SupplierQOS *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::SupplierQOS>::insert (
      _tao_any,
      RtecEventChannelAdmin::SupplierQOS::_tao_any_destructor,
      RtecEventChannelAdmin::_tc_SupplierQOS,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    RtecEventChannelAdmin::SupplierQOS *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const RtecEventChannelAdmin::SupplierQOS *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::SupplierQOS *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::SupplierQOS>::extract (
        _tao_any,
        RtecEventChannelAdmin::SupplierQOS::_tao_any_destructor,
        RtecEventChannelAdmin::_tc_SupplierQOS,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::TypeError>::demarshal_value (
    TAO_InputCDR & cdr
  )
{
  CORBA::String_var id;
  
  if ((cdr >> id.out ()) == 0)
    {
      return 0;
    }
  
  ACE_TRY_NEW_ENV
    {
      this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
      ACE_TRY_CHECK;
    }
  ACE_CATCHANY
    {
      return 0;
    }
  ACE_ENDTRY;
  
  return 1;
}

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::TypeError &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::TypeError>::insert_copy (
      _tao_any,
      RtecEventChannelAdmin::TypeError::_tao_any_destructor,
      RtecEventChannelAdmin::_tc_TypeError,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::TypeError *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::TypeError>::insert (
      _tao_any,
      RtecEventChannelAdmin::TypeError::_tao_any_destructor,
      RtecEventChannelAdmin::_tc_TypeError,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    RtecEventChannelAdmin::TypeError *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const RtecEventChannelAdmin::TypeError *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::TypeError *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::TypeError>::extract (
        _tao_any,
        RtecEventChannelAdmin::TypeError::_tao_any_destructor,
        RtecEventChannelAdmin::_tc_TypeError,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<RtecEventChannelAdmin::ProxyPushSupplier>::to_object (
    CORBA::Object_ptr &_tao_elem
  ) const
{
  _tao_elem = CORBA::Object::_duplicate (this->value_);
  return 1;
}

// Copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::ProxyPushSupplier_ptr _tao_elem
  )
{
  RtecEventChannelAdmin::ProxyPushSupplier_ptr _tao_objptr =
    RtecEventChannelAdmin::ProxyPushSupplier::_duplicate (_tao_elem);
  _tao_any <<= &_tao_objptr;
}

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::ProxyPushSupplier_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<RtecEventChannelAdmin::ProxyPushSupplier>::insert (
      _tao_any,
      RtecEventChannelAdmin::ProxyPushSupplier::_tao_any_destructor,
      RtecEventChannelAdmin::_tc_ProxyPushSupplier,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    RtecEventChannelAdmin::ProxyPushSupplier_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<RtecEventChannelAdmin::ProxyPushSupplier>::extract (
        _tao_any,
        RtecEventChannelAdmin::ProxyPushSupplier::_tao_any_destructor,
        RtecEventChannelAdmin::_tc_ProxyPushSupplier,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<RtecEventChannelAdmin::ProxyPushConsumer>::to_object (
    CORBA::Object_ptr &_tao_elem
  ) const
{
  _tao_elem = CORBA::Object::_duplicate (this->value_);
  return 1;
}

// Copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::ProxyPushConsumer_ptr _tao_elem
  )
{
  RtecEventChannelAdmin::ProxyPushConsumer_ptr _tao_objptr =
    RtecEventChannelAdmin::ProxyPushConsumer::_duplicate (_tao_elem);
  _tao_any <<= &_tao_objptr;
}

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::ProxyPushConsumer_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<RtecEventChannelAdmin::ProxyPushConsumer>::insert (
      _tao_any,
      RtecEventChannelAdmin::ProxyPushConsumer::_tao_any_destructor,
      RtecEventChannelAdmin::_tc_ProxyPushConsumer,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    RtecEventChannelAdmin::ProxyPushConsumer_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<RtecEventChannelAdmin::ProxyPushConsumer>::extract (
        _tao_any,
        RtecEventChannelAdmin::ProxyPushConsumer::_tao_any_destructor,
        RtecEventChannelAdmin::_tc_ProxyPushConsumer,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<RtecEventChannelAdmin::ConsumerAdmin>::to_object (
    CORBA::Object_ptr &_tao_elem
  ) const
{
  _tao_elem = CORBA::Object::_duplicate (this->value_);
  return 1;
}

// Copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::ConsumerAdmin_ptr _tao_elem
  )
{
  RtecEventChannelAdmin::ConsumerAdmin_ptr _tao_objptr =
    RtecEventChannelAdmin::ConsumerAdmin::_duplicate (_tao_elem);
  _tao_any <<= &_tao_objptr;
}

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::ConsumerAdmin_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<RtecEventChannelAdmin::ConsumerAdmin>::insert (
      _tao_any,
      RtecEventChannelAdmin::ConsumerAdmin::_tao_any_destructor,
      RtecEventChannelAdmin::_tc_ConsumerAdmin,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    RtecEventChannelAdmin::ConsumerAdmin_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<RtecEventChannelAdmin::ConsumerAdmin>::extract (
        _tao_any,
        RtecEventChannelAdmin::ConsumerAdmin::_tao_any_destructor,
        RtecEventChannelAdmin::_tc_ConsumerAdmin,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<RtecEventChannelAdmin::SupplierAdmin>::to_object (
    CORBA::Object_ptr &_tao_elem
  ) const
{
  _tao_elem = CORBA::Object::_duplicate (this->value_);
  return 1;
}

// Copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::SupplierAdmin_ptr _tao_elem
  )
{
  RtecEventChannelAdmin::SupplierAdmin_ptr _tao_objptr =
    RtecEventChannelAdmin::SupplierAdmin::_duplicate (_tao_elem);
  _tao_any <<= &_tao_objptr;
}

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::SupplierAdmin_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<RtecEventChannelAdmin::SupplierAdmin>::insert (
      _tao_any,
      RtecEventChannelAdmin::SupplierAdmin::_tao_any_destructor,
      RtecEventChannelAdmin::_tc_SupplierAdmin,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    RtecEventChannelAdmin::SupplierAdmin_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<RtecEventChannelAdmin::SupplierAdmin>::extract (
        _tao_any,
        RtecEventChannelAdmin::SupplierAdmin::_tao_any_destructor,
        RtecEventChannelAdmin::_tc_SupplierAdmin,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<RtecEventChannelAdmin::Observer>::to_object (
    CORBA::Object_ptr &_tao_elem
  ) const
{
  _tao_elem = CORBA::Object::_duplicate (this->value_);
  return 1;
}

// Copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::Observer_ptr _tao_elem
  )
{
  RtecEventChannelAdmin::Observer_ptr _tao_objptr =
    RtecEventChannelAdmin::Observer::_duplicate (_tao_elem);
  _tao_any <<= &_tao_objptr;
}

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::Observer_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<RtecEventChannelAdmin::Observer>::insert (
      _tao_any,
      RtecEventChannelAdmin::Observer::_tao_any_destructor,
      RtecEventChannelAdmin::_tc_Observer,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    RtecEventChannelAdmin::Observer_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<RtecEventChannelAdmin::Observer>::extract (
        _tao_any,
        RtecEventChannelAdmin::Observer::_tao_any_destructor,
        RtecEventChannelAdmin::_tc_Observer,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_interface/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Impl_T<RtecEventChannelAdmin::EventChannel>::to_object (
    CORBA::Object_ptr &_tao_elem
  ) const
{
  _tao_elem = CORBA::Object::_duplicate (this->value_);
  return 1;
}

// Copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::EventChannel_ptr _tao_elem
  )
{
  RtecEventChannelAdmin::EventChannel_ptr _tao_objptr =
    RtecEventChannelAdmin::EventChannel::_duplicate (_tao_elem);
  _tao_any <<= &_tao_objptr;
}

// Non-copying insertion.
void
operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::EventChannel_ptr *_tao_elem
  )
{
  TAO::Any_Impl_T<RtecEventChannelAdmin::EventChannel>::insert (
      _tao_any,
      RtecEventChannelAdmin::EventChannel::_tao_any_destructor,
      RtecEventChannelAdmin::_tc_EventChannel,
      *_tao_elem
    );
}

CORBA::Boolean
operator>>= (
    const CORBA::Any &_tao_any,
    RtecEventChannelAdmin::EventChannel_ptr &_tao_elem
  )
{
  return
    TAO::Any_Impl_T<RtecEventChannelAdmin::EventChannel>::extract (
        _tao_any,
        RtecEventChannelAdmin::EventChannel::_tao_any_destructor,
        RtecEventChannelAdmin::_tc_EventChannel,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR>::demarshal_value (
    TAO_InputCDR & cdr
  )
{
  CORBA::String_var id;
  
  if ((cdr >> id.out ()) == 0)
    {
      return 0;
    }
  
  ACE_TRY_NEW_ENV
    {
      this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
      ACE_TRY_CHECK;
    }
  ACE_CATCHANY
    {
      return 0;
    }
  ACE_ENDTRY;
  
  return 1;
}

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR>::insert_copy (
      _tao_any,
      RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR::_tao_any_destructor,
      RtecEventChannelAdmin::EventChannel::_tc_SYNCHRONIZATION_ERROR,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR>::insert (
      _tao_any,
      RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR::_tao_any_destructor,
      RtecEventChannelAdmin::EventChannel::_tc_SYNCHRONIZATION_ERROR,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR>::extract (
        _tao_any,
        RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR::_tao_any_destructor,
        RtecEventChannelAdmin::EventChannel::_tc_SYNCHRONIZATION_ERROR,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER>::demarshal_value (
    TAO_InputCDR & cdr
  )
{
  CORBA::String_var id;
  
  if ((cdr >> id.out ()) == 0)
    {
      return 0;
    }
  
  ACE_TRY_NEW_ENV
    {
      this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
      ACE_TRY_CHECK;
    }
  ACE_CATCHANY
    {
      return 0;
    }
  ACE_ENDTRY;
  
  return 1;
}

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER>::insert_copy (
      _tao_any,
      RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER::_tao_any_destructor,
      RtecEventChannelAdmin::EventChannel::_tc_CANT_APPEND_OBSERVER,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER>::insert (
      _tao_any,
      RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER::_tao_any_destructor,
      RtecEventChannelAdmin::EventChannel::_tc_CANT_APPEND_OBSERVER,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER>::extract (
        _tao_any,
        RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER::_tao_any_destructor,
        RtecEventChannelAdmin::EventChannel::_tc_CANT_APPEND_OBSERVER,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER>::demarshal_value (
    TAO_InputCDR & cdr
  )
{
  CORBA::String_var id;
  
  if ((cdr >> id.out ()) == 0)
    {
      return 0;
    }
  
  ACE_TRY_NEW_ENV
    {
      this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
      ACE_TRY_CHECK;
    }
  ACE_CATCHANY
    {
      return 0;
    }
  ACE_ENDTRY;
  
  return 1;
}

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER>::insert_copy (
      _tao_any,
      RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER::_tao_any_destructor,
      RtecEventChannelAdmin::EventChannel::_tc_CANT_REMOVE_OBSERVER,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER>::insert (
      _tao_any,
      RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER::_tao_any_destructor,
      RtecEventChannelAdmin::EventChannel::_tc_CANT_REMOVE_OBSERVER,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER>::extract (
        _tao_any,
        RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER::_tao_any_destructor,
        RtecEventChannelAdmin::EventChannel::_tc_CANT_REMOVE_OBSERVER,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::QOS_ERROR>::demarshal_value (
    TAO_InputCDR & cdr
  )
{
  CORBA::String_var id;
  
  if ((cdr >> id.out ()) == 0)
    {
      return 0;
    }
  
  ACE_TRY_NEW_ENV
    {
      this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
      ACE_TRY_CHECK;
    }
  ACE_CATCHANY
    {
      return 0;
    }
  ACE_ENDTRY;
  
  return 1;
}

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::EventChannel::QOS_ERROR &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::QOS_ERROR>::insert_copy (
      _tao_any,
      RtecEventChannelAdmin::EventChannel::QOS_ERROR::_tao_any_destructor,
      RtecEventChannelAdmin::EventChannel::_tc_QOS_ERROR,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::EventChannel::QOS_ERROR *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::QOS_ERROR>::insert (
      _tao_any,
      RtecEventChannelAdmin::EventChannel::QOS_ERROR::_tao_any_destructor,
      RtecEventChannelAdmin::EventChannel::_tc_QOS_ERROR,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    RtecEventChannelAdmin::EventChannel::QOS_ERROR *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const RtecEventChannelAdmin::EventChannel::QOS_ERROR *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::EventChannel::QOS_ERROR *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::QOS_ERROR>::extract (
        _tao_any,
        RtecEventChannelAdmin::EventChannel::QOS_ERROR::_tao_any_destructor,
        RtecEventChannelAdmin::EventChannel::_tc_QOS_ERROR,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR>::demarshal_value (
    TAO_InputCDR & cdr
  )
{
  CORBA::String_var id;
  
  if ((cdr >> id.out ()) == 0)
    {
      return 0;
    }
  
  ACE_TRY_NEW_ENV
    {
      this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
      ACE_TRY_CHECK;
    }
  ACE_CATCHANY
    {
      return 0;
    }
  ACE_ENDTRY;
  
  return 1;
}

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR>::insert_copy (
      _tao_any,
      RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR::_tao_any_destructor,
      RtecEventChannelAdmin::EventChannel::_tc_SUBSCRIPTION_ERROR,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR>::insert (
      _tao_any,
      RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR::_tao_any_destructor,
      RtecEventChannelAdmin::EventChannel::_tc_SUBSCRIPTION_ERROR,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR>::extract (
        _tao_any,
        RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR::_tao_any_destructor,
        RtecEventChannelAdmin::EventChannel::_tc_SUBSCRIPTION_ERROR,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR>::demarshal_value (
    TAO_InputCDR & cdr
  )
{
  CORBA::String_var id;
  
  if ((cdr >> id.out ()) == 0)
    {
      return 0;
    }
  
  ACE_TRY_NEW_ENV
    {
      this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
      ACE_TRY_CHECK;
    }
  ACE_CATCHANY
    {
      return 0;
    }
  ACE_ENDTRY;
  
  return 1;
}

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR>::insert_copy (
      _tao_any,
      RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR::_tao_any_destructor,
      RtecEventChannelAdmin::EventChannel::_tc_CORRELATION_ERROR,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR>::insert (
      _tao_any,
      RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR::_tao_any_destructor,
      RtecEventChannelAdmin::EventChannel::_tc_CORRELATION_ERROR,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR>::extract (
        _tao_any,
        RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR::_tao_any_destructor,
        RtecEventChannelAdmin::EventChannel::_tc_CORRELATION_ERROR,
        _tao_elem
      );
}

// TAO_IDL - Generated from 
// be/be_visitor_exception/any_op_cs.cpp:50

ACE_TEMPLATE_SPECIALIZATION
CORBA::Boolean
TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR>::demarshal_value (
    TAO_InputCDR & cdr
  )
{
  CORBA::String_var id;
  
  if ((cdr >> id.out ()) == 0)
    {
      return 0;
    }
  
  ACE_TRY_NEW_ENV
    {
      this->value_->_tao_decode (cdr ACE_ENV_ARG_PARAMETER);
      ACE_TRY_CHECK;
    }
  ACE_CATCHANY
    {
      return 0;
    }
  ACE_ENDTRY;
  
  return 1;
}

// Copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR &_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR>::insert_copy (
      _tao_any,
      RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR::_tao_any_destructor,
      RtecEventChannelAdmin::EventChannel::_tc_DISPATCH_ERROR,
      _tao_elem
    );
}

// Non-copying insertion.
void operator<<= (
    CORBA::Any &_tao_any,
    RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR *_tao_elem
  )
{
  TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR>::insert (
      _tao_any,
      RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR::_tao_any_destructor,
      RtecEventChannelAdmin::EventChannel::_tc_DISPATCH_ERROR,
      _tao_elem
    );
}

// Extraction to non-const pointer (deprecated).
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR *&_tao_elem
  )
{
  return _tao_any >>= const_cast<
      const RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR *&> (
      _tao_elem
    );
}

// Extraction to const pointer.
CORBA::Boolean operator>>= (
    const CORBA::Any &_tao_any,
    const RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR *&_tao_elem
  )
{
  return
    TAO::Any_Dual_Impl_T<RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR>::extract (
        _tao_any,
        RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR::_tao_any_destructor,
        RtecEventChannelAdmin::EventChannel::_tc_DISPATCH_ERROR,
        _tao_elem
      );
}

// TAO_IDL - Generated from
// be/be_visitor_exception/cdr_op_cs.cpp:60

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const RtecEventChannelAdmin::AlreadyConnected &_tao_aggregate
  )
{
  // First marshal the repository ID.
  if (strm << _tao_aggregate._rep_id ())
    {
      return 1;
    }
  else
    {
      return 0;
    }
}

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    RtecEventChannelAdmin::AlreadyConnected&
  )
{
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_structure/cdr_op_cs.cpp:61

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const RtecEventChannelAdmin::Dependency &_tao_aggregate
  )
{
  return
    (strm << _tao_aggregate.event) &&
    (strm << _tao_aggregate.rt_info);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    RtecEventChannelAdmin::Dependency &_tao_aggregate
  )
{
  return
    (strm >> _tao_aggregate.event) &&
    (strm >> _tao_aggregate.rt_info);
}

// TAO_IDL - Generated from
// be/be_visitor_sequence/cdr_op_cs.cpp:96

#if !defined _TAO_CDR_OP_RtecEventChannelAdmin_DependencySet_CPP_
#define _TAO_CDR_OP_RtecEventChannelAdmin_DependencySet_CPP_

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const RtecEventChannelAdmin::DependencySet &_tao_sequence
  )
{
  const CORBA::ULong _tao_seq_len = _tao_sequence.length ();
  
  if (strm << _tao_seq_len)
    {
      // Encode all elements.
      CORBA::Boolean _tao_marshal_flag = 1;
      
      for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
        {
          _tao_marshal_flag = (strm << _tao_sequence[i]);
        }
      
      return _tao_marshal_flag;
    }
  
  return 0;
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    RtecEventChannelAdmin::DependencySet &_tao_sequence
  )
{
  CORBA::ULong _tao_seq_len;
  
  if (strm >> _tao_seq_len)
    {
      // Add a check to the length of the sequence
      // to make sure it does not exceed the length
      // of the stream. (See bug 58.)
      if (_tao_seq_len > strm.length ())
        {
          return 0;
        }
      
      // Set the length of the sequence.
      _tao_sequence.length (_tao_seq_len);
      
      // If length is 0 we return true.
      if (0 >= _tao_seq_len) 
        {
          return 1;
        }
      
      // Retrieve all the elements.
      CORBA::Boolean _tao_marshal_flag = 1;
      
      for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
        {
          _tao_marshal_flag = (strm >> _tao_sequence[i]);
        }
      
      return _tao_marshal_flag;
    
    }
  
  return 0;
}

#endif /* _TAO_CDR_OP_RtecEventChannelAdmin_DependencySet_CPP_ */

// TAO_IDL - Generated from
// be/be_visitor_structure/cdr_op_cs.cpp:61

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const RtecEventChannelAdmin::ConsumerQOS &_tao_aggregate
  )
{
  return
    (strm << _tao_aggregate.dependencies) &&
    (strm << CORBA::Any::from_boolean (_tao_aggregate.is_gateway));
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    RtecEventChannelAdmin::ConsumerQOS &_tao_aggregate
  )
{
  return
    (strm >> _tao_aggregate.dependencies) &&
    (strm >> CORBA::Any::to_boolean (_tao_aggregate.is_gateway));
}

// TAO_IDL - Generated from
// be/be_visitor_structure/cdr_op_cs.cpp:61

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const RtecEventChannelAdmin::Publication &_tao_aggregate
  )
{
  return
    (strm << _tao_aggregate.event) &&
    (strm << _tao_aggregate.dependency_info);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    RtecEventChannelAdmin::Publication &_tao_aggregate
  )
{
  return
    (strm >> _tao_aggregate.event) &&
    (strm >> _tao_aggregate.dependency_info);
}

// TAO_IDL - Generated from
// be/be_visitor_sequence/cdr_op_cs.cpp:96

#if !defined _TAO_CDR_OP_RtecEventChannelAdmin_PublicationSet_CPP_
#define _TAO_CDR_OP_RtecEventChannelAdmin_PublicationSet_CPP_

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const RtecEventChannelAdmin::PublicationSet &_tao_sequence
  )
{
  const CORBA::ULong _tao_seq_len = _tao_sequence.length ();
  
  if (strm << _tao_seq_len)
    {
      // Encode all elements.
      CORBA::Boolean _tao_marshal_flag = 1;
      
      for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
        {
          _tao_marshal_flag = (strm << _tao_sequence[i]);
        }
      
      return _tao_marshal_flag;
    }
  
  return 0;
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    RtecEventChannelAdmin::PublicationSet &_tao_sequence
  )
{
  CORBA::ULong _tao_seq_len;
  
  if (strm >> _tao_seq_len)
    {
      // Add a check to the length of the sequence
      // to make sure it does not exceed the length
      // of the stream. (See bug 58.)
      if (_tao_seq_len > strm.length ())
        {
          return 0;
        }
      
      // Set the length of the sequence.
      _tao_sequence.length (_tao_seq_len);
      
      // If length is 0 we return true.
      if (0 >= _tao_seq_len) 
        {
          return 1;
        }
      
      // Retrieve all the elements.
      CORBA::Boolean _tao_marshal_flag = 1;
      
      for (CORBA::ULong i = 0; i < _tao_seq_len && _tao_marshal_flag; ++i)
        {
          _tao_marshal_flag = (strm >> _tao_sequence[i]);
        }
      
      return _tao_marshal_flag;
    
    }
  
  return 0;
}

#endif /* _TAO_CDR_OP_RtecEventChannelAdmin_PublicationSet_CPP_ */

// TAO_IDL - Generated from
// be/be_visitor_structure/cdr_op_cs.cpp:61

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const RtecEventChannelAdmin::SupplierQOS &_tao_aggregate
  )
{
  return
    (strm << _tao_aggregate.publications) &&
    (strm << CORBA::Any::from_boolean (_tao_aggregate.is_gateway));
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    RtecEventChannelAdmin::SupplierQOS &_tao_aggregate
  )
{
  return
    (strm >> _tao_aggregate.publications) &&
    (strm >> CORBA::Any::to_boolean (_tao_aggregate.is_gateway));
}

// TAO_IDL - Generated from
// be/be_visitor_exception/cdr_op_cs.cpp:60

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const RtecEventChannelAdmin::TypeError &_tao_aggregate
  )
{
  // First marshal the repository ID.
  if (strm << _tao_aggregate._rep_id ())
    {
      return 1;
    }
  else
    {
      return 0;
    }
}

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    RtecEventChannelAdmin::TypeError&
  )
{
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const RtecEventChannelAdmin::ProxyPushSupplier_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    RtecEventChannelAdmin::ProxyPushSupplier_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::RtecEventChannelAdmin::ProxyPushSupplier RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        RtecEventChannelAdmin__TAO_ProxyPushSupplier_Proxy_Broker_Factory_function_pointer
      );
    
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const RtecEventChannelAdmin::ProxyPushConsumer_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    RtecEventChannelAdmin::ProxyPushConsumer_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::RtecEventChannelAdmin::ProxyPushConsumer RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        RtecEventChannelAdmin__TAO_ProxyPushConsumer_Proxy_Broker_Factory_function_pointer
      );
    
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const RtecEventChannelAdmin::ConsumerAdmin_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    RtecEventChannelAdmin::ConsumerAdmin_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::RtecEventChannelAdmin::ConsumerAdmin RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        RtecEventChannelAdmin__TAO_ConsumerAdmin_Proxy_Broker_Factory_function_pointer
      );
    
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const RtecEventChannelAdmin::SupplierAdmin_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    RtecEventChannelAdmin::SupplierAdmin_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::RtecEventChannelAdmin::SupplierAdmin RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        RtecEventChannelAdmin__TAO_SupplierAdmin_Proxy_Broker_Factory_function_pointer
      );
    
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const RtecEventChannelAdmin::Observer_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    RtecEventChannelAdmin::Observer_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::RtecEventChannelAdmin::Observer RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        RtecEventChannelAdmin__TAO_Observer_Proxy_Broker_Factory_function_pointer
      );
    
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_exception/cdr_op_cs.cpp:60

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR &_tao_aggregate
  )
{
  // First marshal the repository ID.
  if (strm << _tao_aggregate._rep_id ())
    {
      return 1;
    }
  else
    {
      return 0;
    }
}

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    RtecEventChannelAdmin::EventChannel::SYNCHRONIZATION_ERROR&
  )
{
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_exception/cdr_op_cs.cpp:60

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER &_tao_aggregate
  )
{
  // First marshal the repository ID.
  if (strm << _tao_aggregate._rep_id ())
    {
      return 1;
    }
  else
    {
      return 0;
    }
}

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    RtecEventChannelAdmin::EventChannel::CANT_APPEND_OBSERVER&
  )
{
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_exception/cdr_op_cs.cpp:60

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER &_tao_aggregate
  )
{
  // First marshal the repository ID.
  if (strm << _tao_aggregate._rep_id ())
    {
      return 1;
    }
  else
    {
      return 0;
    }
}

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    RtecEventChannelAdmin::EventChannel::CANT_REMOVE_OBSERVER&
  )
{
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_exception/cdr_op_cs.cpp:60

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const RtecEventChannelAdmin::EventChannel::QOS_ERROR &_tao_aggregate
  )
{
  // First marshal the repository ID.
  if (strm << _tao_aggregate._rep_id ())
    {
      return 1;
    }
  else
    {
      return 0;
    }
}

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    RtecEventChannelAdmin::EventChannel::QOS_ERROR&
  )
{
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_exception/cdr_op_cs.cpp:60

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR &_tao_aggregate
  )
{
  // First marshal the repository ID.
  if (strm << _tao_aggregate._rep_id ())
    {
      return 1;
    }
  else
    {
      return 0;
    }
}

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    RtecEventChannelAdmin::EventChannel::SUBSCRIPTION_ERROR&
  )
{
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_exception/cdr_op_cs.cpp:60

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR &_tao_aggregate
  )
{
  // First marshal the repository ID.
  if (strm << _tao_aggregate._rep_id ())
    {
      return 1;
    }
  else
    {
      return 0;
    }
}

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    RtecEventChannelAdmin::EventChannel::CORRELATION_ERROR&
  )
{
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_exception/cdr_op_cs.cpp:60

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR &_tao_aggregate
  )
{
  // First marshal the repository ID.
  if (strm << _tao_aggregate._rep_id ())
    {
      return 1;
    }
  else
    {
      return 0;
    }
}

CORBA::Boolean operator>> (
    TAO_InputCDR &,
    RtecEventChannelAdmin::EventChannel::DISPATCH_ERROR&
  )
{
  return 1;
}

// TAO_IDL - Generated from
// be/be_visitor_interface/cdr_op_cs.cpp:63

CORBA::Boolean operator<< (
    TAO_OutputCDR &strm,
    const RtecEventChannelAdmin::EventChannel_ptr _tao_objref
  )
{
  CORBA::Object_ptr _tao_corba_obj = _tao_objref;
  return (strm << _tao_corba_obj);
}

CORBA::Boolean operator>> (
    TAO_InputCDR &strm,
    RtecEventChannelAdmin::EventChannel_ptr &_tao_objref
  )
{
  CORBA::Object_var obj;
  
  if ((strm >> obj.inout ()) == 0)
    {
      return 0;
    }
  
  typedef ::RtecEventChannelAdmin::EventChannel RHS_SCOPED_NAME;
  
  // Narrow to the right type.
  _tao_objref =
    TAO::Narrow_Utils<RHS_SCOPED_NAME>::unchecked_narrow (
        obj.in (),
        RtecEventChannelAdmin__TAO_EventChannel_Proxy_Broker_Factory_function_pointer
      );
    
  return 1;
}

