// This file is generated by omniidl (C++ backend) - omniORB_4_1. Do not edit.

#include "Obstacle.hh"

OMNI_USING_NAMESPACE(omni)

static const char* _0RL_dyn_library_version = omniORB_4_1_dyn;

static ::CORBA::TypeCode::_Tracker _0RL_tcTrack(__FILE__);

static CORBA::PR_structMember _0RL_structmember_RTC_mTime[] = {
  {"sec", CORBA::TypeCode::PR_ulong_tc()},
  {"nsec", CORBA::TypeCode::PR_ulong_tc()}
};

#ifdef _0RL_tc_RTC_mTime
#  undef _0RL_tc_RTC_mTime
#endif
static CORBA::TypeCode_ptr _0RL_tc_RTC_mTime = CORBA::TypeCode::PR_struct_tc("IDL:RTC/Time:1.0", "Time", _0RL_structmember_RTC_mTime, 2, &_0RL_tcTrack);

static CORBA::PR_structMember _0RL_structmember_RTC_mTimedObstacle[] = {
  {"x", CORBA::TypeCode::PR_double_tc()},
  {"y", CORBA::TypeCode::PR_double_tc()},
  {"r", CORBA::TypeCode::PR_double_tc()},
  {"tm", _0RL_tc_RTC_mTime}
};

#ifdef _0RL_tc_RTC_mTimedObstacle
#  undef _0RL_tc_RTC_mTimedObstacle
#endif
static CORBA::TypeCode_ptr _0RL_tc_RTC_mTimedObstacle = CORBA::TypeCode::PR_struct_tc("IDL:RTC/TimedObstacle:1.0", "TimedObstacle", _0RL_structmember_RTC_mTimedObstacle, 4, &_0RL_tcTrack);


#if defined(HAS_Cplusplus_Namespace) && defined(_MSC_VER)
// MSVC++ does not give the constant external linkage otherwise.
namespace RTC { 
  const ::CORBA::TypeCode_ptr _tc_TimedObstacle = _0RL_tc_RTC_mTimedObstacle;
} 
#else
const ::CORBA::TypeCode_ptr RTC::_tc_TimedObstacle = _0RL_tc_RTC_mTimedObstacle;
#endif



static CORBA::PR_structMember _0RL_structmember_RTC_mTimedMovingObstacle[] = {
  {"x", CORBA::TypeCode::PR_double_tc()},
  {"y", CORBA::TypeCode::PR_double_tc()},
  {"r", CORBA::TypeCode::PR_double_tc()},
  {"theta", CORBA::TypeCode::PR_double_tc()},
  {"vel", CORBA::TypeCode::PR_double_tc()},
  {"tm", _0RL_tc_RTC_mTime}
};

#ifdef _0RL_tc_RTC_mTimedMovingObstacle
#  undef _0RL_tc_RTC_mTimedMovingObstacle
#endif
static CORBA::TypeCode_ptr _0RL_tc_RTC_mTimedMovingObstacle = CORBA::TypeCode::PR_struct_tc("IDL:RTC/TimedMovingObstacle:1.0", "TimedMovingObstacle", _0RL_structmember_RTC_mTimedMovingObstacle, 6, &_0RL_tcTrack);


#if defined(HAS_Cplusplus_Namespace) && defined(_MSC_VER)
// MSVC++ does not give the constant external linkage otherwise.
namespace RTC { 
  const ::CORBA::TypeCode_ptr _tc_TimedMovingObstacle = _0RL_tc_RTC_mTimedMovingObstacle;
} 
#else
const ::CORBA::TypeCode_ptr RTC::_tc_TimedMovingObstacle = _0RL_tc_RTC_mTimedMovingObstacle;
#endif





static CORBA::PR_structMember _0RL_structmember_RTC_mTimedObstacles[] = {
  {"tm", _0RL_tc_RTC_mTime},
  {"obstacles", CORBA::TypeCode::PR_sequence_tc(0, _0RL_tc_RTC_mTimedObstacle, &_0RL_tcTrack)}
};

#ifdef _0RL_tc_RTC_mTimedObstacles
#  undef _0RL_tc_RTC_mTimedObstacles
#endif
static CORBA::TypeCode_ptr _0RL_tc_RTC_mTimedObstacles = CORBA::TypeCode::PR_struct_tc("IDL:RTC/TimedObstacles:1.0", "TimedObstacles", _0RL_structmember_RTC_mTimedObstacles, 2, &_0RL_tcTrack);




#if defined(HAS_Cplusplus_Namespace) && defined(_MSC_VER)
// MSVC++ does not give the constant external linkage otherwise.
namespace RTC { 
  const ::CORBA::TypeCode_ptr _tc_TimedObstacles = _0RL_tc_RTC_mTimedObstacles;
} 
#else
const ::CORBA::TypeCode_ptr RTC::_tc_TimedObstacles = _0RL_tc_RTC_mTimedObstacles;
#endif





static CORBA::PR_structMember _0RL_structmember_RTC_mTimedMovingObstacles[] = {
  {"tm", _0RL_tc_RTC_mTime},
  {"obstacles", CORBA::TypeCode::PR_sequence_tc(0, _0RL_tc_RTC_mTimedMovingObstacle, &_0RL_tcTrack)}
};

#ifdef _0RL_tc_RTC_mTimedMovingObstacles
#  undef _0RL_tc_RTC_mTimedMovingObstacles
#endif
static CORBA::TypeCode_ptr _0RL_tc_RTC_mTimedMovingObstacles = CORBA::TypeCode::PR_struct_tc("IDL:RTC/TimedMovingObstacles:1.0", "TimedMovingObstacles", _0RL_structmember_RTC_mTimedMovingObstacles, 2, &_0RL_tcTrack);




#if defined(HAS_Cplusplus_Namespace) && defined(_MSC_VER)
// MSVC++ does not give the constant external linkage otherwise.
namespace RTC { 
  const ::CORBA::TypeCode_ptr _tc_TimedMovingObstacles = _0RL_tc_RTC_mTimedMovingObstacles;
} 
#else
const ::CORBA::TypeCode_ptr RTC::_tc_TimedMovingObstacles = _0RL_tc_RTC_mTimedMovingObstacles;
#endif


static void _0RL_RTC_mTimedObstacle_marshal_fn(cdrStream& _s, void* _v)
{
  RTC::TimedObstacle* _p = (RTC::TimedObstacle*)_v;
  *_p >>= _s;
}
static void _0RL_RTC_mTimedObstacle_unmarshal_fn(cdrStream& _s, void*& _v)
{
  RTC::TimedObstacle* _p = new RTC::TimedObstacle;
  *_p <<= _s;
  _v = _p;
}
static void _0RL_RTC_mTimedObstacle_destructor_fn(void* _v)
{
  RTC::TimedObstacle* _p = (RTC::TimedObstacle*)_v;
  delete _p;
}

void operator<<=(::CORBA::Any& _a, const RTC::TimedObstacle& _s)
{
  RTC::TimedObstacle* _p = new RTC::TimedObstacle(_s);
  _a.PR_insert(_0RL_tc_RTC_mTimedObstacle,
               _0RL_RTC_mTimedObstacle_marshal_fn,
               _0RL_RTC_mTimedObstacle_destructor_fn,
               _p);
}
void operator<<=(::CORBA::Any& _a, RTC::TimedObstacle* _sp)
{
  _a.PR_insert(_0RL_tc_RTC_mTimedObstacle,
               _0RL_RTC_mTimedObstacle_marshal_fn,
               _0RL_RTC_mTimedObstacle_destructor_fn,
               _sp);
}

::CORBA::Boolean operator>>=(const ::CORBA::Any& _a, RTC::TimedObstacle*& _sp)
{
  return _a >>= (const RTC::TimedObstacle*&) _sp;
}
::CORBA::Boolean operator>>=(const ::CORBA::Any& _a, const RTC::TimedObstacle*& _sp)
{
  void* _v;
  if (_a.PR_extract(_0RL_tc_RTC_mTimedObstacle,
                    _0RL_RTC_mTimedObstacle_unmarshal_fn,
                    _0RL_RTC_mTimedObstacle_marshal_fn,
                    _0RL_RTC_mTimedObstacle_destructor_fn,
                    _v)) {
    _sp = (const RTC::TimedObstacle*)_v;
    return 1;
  }
  return 0;
}

static void _0RL_RTC_mTimedMovingObstacle_marshal_fn(cdrStream& _s, void* _v)
{
  RTC::TimedMovingObstacle* _p = (RTC::TimedMovingObstacle*)_v;
  *_p >>= _s;
}
static void _0RL_RTC_mTimedMovingObstacle_unmarshal_fn(cdrStream& _s, void*& _v)
{
  RTC::TimedMovingObstacle* _p = new RTC::TimedMovingObstacle;
  *_p <<= _s;
  _v = _p;
}
static void _0RL_RTC_mTimedMovingObstacle_destructor_fn(void* _v)
{
  RTC::TimedMovingObstacle* _p = (RTC::TimedMovingObstacle*)_v;
  delete _p;
}

void operator<<=(::CORBA::Any& _a, const RTC::TimedMovingObstacle& _s)
{
  RTC::TimedMovingObstacle* _p = new RTC::TimedMovingObstacle(_s);
  _a.PR_insert(_0RL_tc_RTC_mTimedMovingObstacle,
               _0RL_RTC_mTimedMovingObstacle_marshal_fn,
               _0RL_RTC_mTimedMovingObstacle_destructor_fn,
               _p);
}
void operator<<=(::CORBA::Any& _a, RTC::TimedMovingObstacle* _sp)
{
  _a.PR_insert(_0RL_tc_RTC_mTimedMovingObstacle,
               _0RL_RTC_mTimedMovingObstacle_marshal_fn,
               _0RL_RTC_mTimedMovingObstacle_destructor_fn,
               _sp);
}

::CORBA::Boolean operator>>=(const ::CORBA::Any& _a, RTC::TimedMovingObstacle*& _sp)
{
  return _a >>= (const RTC::TimedMovingObstacle*&) _sp;
}
::CORBA::Boolean operator>>=(const ::CORBA::Any& _a, const RTC::TimedMovingObstacle*& _sp)
{
  void* _v;
  if (_a.PR_extract(_0RL_tc_RTC_mTimedMovingObstacle,
                    _0RL_RTC_mTimedMovingObstacle_unmarshal_fn,
                    _0RL_RTC_mTimedMovingObstacle_marshal_fn,
                    _0RL_RTC_mTimedMovingObstacle_destructor_fn,
                    _v)) {
    _sp = (const RTC::TimedMovingObstacle*)_v;
    return 1;
  }
  return 0;
}

static void _0RL_RTC_mTimedObstacles_marshal_fn(cdrStream& _s, void* _v)
{
  RTC::TimedObstacles* _p = (RTC::TimedObstacles*)_v;
  *_p >>= _s;
}
static void _0RL_RTC_mTimedObstacles_unmarshal_fn(cdrStream& _s, void*& _v)
{
  RTC::TimedObstacles* _p = new RTC::TimedObstacles;
  *_p <<= _s;
  _v = _p;
}
static void _0RL_RTC_mTimedObstacles_destructor_fn(void* _v)
{
  RTC::TimedObstacles* _p = (RTC::TimedObstacles*)_v;
  delete _p;
}

void operator<<=(::CORBA::Any& _a, const RTC::TimedObstacles& _s)
{
  RTC::TimedObstacles* _p = new RTC::TimedObstacles(_s);
  _a.PR_insert(_0RL_tc_RTC_mTimedObstacles,
               _0RL_RTC_mTimedObstacles_marshal_fn,
               _0RL_RTC_mTimedObstacles_destructor_fn,
               _p);
}
void operator<<=(::CORBA::Any& _a, RTC::TimedObstacles* _sp)
{
  _a.PR_insert(_0RL_tc_RTC_mTimedObstacles,
               _0RL_RTC_mTimedObstacles_marshal_fn,
               _0RL_RTC_mTimedObstacles_destructor_fn,
               _sp);
}

::CORBA::Boolean operator>>=(const ::CORBA::Any& _a, RTC::TimedObstacles*& _sp)
{
  return _a >>= (const RTC::TimedObstacles*&) _sp;
}
::CORBA::Boolean operator>>=(const ::CORBA::Any& _a, const RTC::TimedObstacles*& _sp)
{
  void* _v;
  if (_a.PR_extract(_0RL_tc_RTC_mTimedObstacles,
                    _0RL_RTC_mTimedObstacles_unmarshal_fn,
                    _0RL_RTC_mTimedObstacles_marshal_fn,
                    _0RL_RTC_mTimedObstacles_destructor_fn,
                    _v)) {
    _sp = (const RTC::TimedObstacles*)_v;
    return 1;
  }
  return 0;
}

static void _0RL_RTC_mTimedMovingObstacles_marshal_fn(cdrStream& _s, void* _v)
{
  RTC::TimedMovingObstacles* _p = (RTC::TimedMovingObstacles*)_v;
  *_p >>= _s;
}
static void _0RL_RTC_mTimedMovingObstacles_unmarshal_fn(cdrStream& _s, void*& _v)
{
  RTC::TimedMovingObstacles* _p = new RTC::TimedMovingObstacles;
  *_p <<= _s;
  _v = _p;
}
static void _0RL_RTC_mTimedMovingObstacles_destructor_fn(void* _v)
{
  RTC::TimedMovingObstacles* _p = (RTC::TimedMovingObstacles*)_v;
  delete _p;
}

void operator<<=(::CORBA::Any& _a, const RTC::TimedMovingObstacles& _s)
{
  RTC::TimedMovingObstacles* _p = new RTC::TimedMovingObstacles(_s);
  _a.PR_insert(_0RL_tc_RTC_mTimedMovingObstacles,
               _0RL_RTC_mTimedMovingObstacles_marshal_fn,
               _0RL_RTC_mTimedMovingObstacles_destructor_fn,
               _p);
}
void operator<<=(::CORBA::Any& _a, RTC::TimedMovingObstacles* _sp)
{
  _a.PR_insert(_0RL_tc_RTC_mTimedMovingObstacles,
               _0RL_RTC_mTimedMovingObstacles_marshal_fn,
               _0RL_RTC_mTimedMovingObstacles_destructor_fn,
               _sp);
}

::CORBA::Boolean operator>>=(const ::CORBA::Any& _a, RTC::TimedMovingObstacles*& _sp)
{
  return _a >>= (const RTC::TimedMovingObstacles*&) _sp;
}
::CORBA::Boolean operator>>=(const ::CORBA::Any& _a, const RTC::TimedMovingObstacles*& _sp)
{
  void* _v;
  if (_a.PR_extract(_0RL_tc_RTC_mTimedMovingObstacles,
                    _0RL_RTC_mTimedMovingObstacles_unmarshal_fn,
                    _0RL_RTC_mTimedMovingObstacles_marshal_fn,
                    _0RL_RTC_mTimedMovingObstacles_destructor_fn,
                    _v)) {
    _sp = (const RTC::TimedMovingObstacles*)_v;
    return 1;
  }
  return 0;
}

