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

#include "RefHardCtrlProv.hh"
#include <omniORB4/IOP_S.h>
#include <omniORB4/IOP_C.h>
#include <omniORB4/callDescriptor.h>
#include <omniORB4/callHandle.h>
#include <omniORB4/objTracker.h>


OMNI_USING_NAMESPACE(omni)

static const char* _0RL_library_version = omniORB_4_1;



void
Frame::operator>>= (cdrStream &_n) const
{
  
#ifndef OMNI_MIXED_ENDIAN_DOUBLE
  if (! _n.marshal_byte_swap()) {
    _n.put_octet_array((_CORBA_Octet*)(mat),72,omni::ALIGN_8);
  }
  else 
#endif
  {
    _n.declareArrayLength(omni::ALIGN_8, 72);
    for (_CORBA_ULong _0i0 = 0; _0i0 < 3; _0i0++){
      for (_CORBA_ULong _0i1 = 0; _0i1 < 3; _0i1++){
        mat[_0i0][_0i1] >>= _n;
      }
    }
  }
  
#ifndef OMNI_MIXED_ENDIAN_DOUBLE
  if (! _n.marshal_byte_swap()) {
    _n.put_octet_array((_CORBA_Octet*)(pos),24,omni::ALIGN_8);
  }
  else 
#endif
  {
    _n.declareArrayLength(omni::ALIGN_8, 24);
    for (_CORBA_ULong _0i0 = 0; _0i0 < 3; _0i0++){
      pos[_0i0] >>= _n;
    }
  }

}

void
Frame::operator<<= (cdrStream &_n)
{
  _n.unmarshalArrayDouble((_CORBA_Double*)(mat), 9);
  _n.unmarshalArrayDouble((_CORBA_Double*)(pos), 3);

}

void
Position2D::operator>>= (cdrStream &_n) const
{
  x >>= _n;
  y >>= _n;
  theta >>= _n;

}

void
Position2D::operator<<= (cdrStream &_n)
{
  (::CORBA::Double&)x <<= _n;
  (::CORBA::Double&)y <<= _n;
  (::CORBA::Double&)theta <<= _n;

}

void
Position3D::operator>>= (cdrStream &_n) const
{
  x >>= _n;
  y >>= _n;
  z >>= _n;
  a >>= _n;
  b >>= _n;
  c >>= _n;

}

void
Position3D::operator<<= (cdrStream &_n)
{
  (::CORBA::Double&)x <<= _n;
  (::CORBA::Double&)y <<= _n;
  (::CORBA::Double&)z <<= _n;
  (::CORBA::Double&)a <<= _n;
  (::CORBA::Double&)b <<= _n;
  (::CORBA::Double&)c <<= _n;

}

RefHardCtrl_ptr RefHardCtrl_Helper::_nil() {
  return ::RefHardCtrl::_nil();
}

::CORBA::Boolean RefHardCtrl_Helper::is_nil(::RefHardCtrl_ptr p) {
  return ::CORBA::is_nil(p);

}

void RefHardCtrl_Helper::release(::RefHardCtrl_ptr p) {
  ::CORBA::release(p);
}

void RefHardCtrl_Helper::marshalObjRef(::RefHardCtrl_ptr obj, cdrStream& s) {
  ::RefHardCtrl::_marshalObjRef(obj, s);
}

RefHardCtrl_ptr RefHardCtrl_Helper::unmarshalObjRef(cdrStream& s) {
  return ::RefHardCtrl::_unmarshalObjRef(s);
}

void RefHardCtrl_Helper::duplicate(::RefHardCtrl_ptr obj) {
  if( obj && !obj->_NP_is_nil() )  omni::duplicateObjRef(obj);
}

RefHardCtrl_ptr
RefHardCtrl::_duplicate(::RefHardCtrl_ptr obj)
{
  if( obj && !obj->_NP_is_nil() )  omni::duplicateObjRef(obj);
  return obj;
}

RefHardCtrl_ptr
RefHardCtrl::_narrow(::CORBA::Object_ptr obj)
{
  if( !obj || obj->_NP_is_nil() || obj->_NP_is_pseudo() ) return _nil();
  _ptr_type e = (_ptr_type) obj->_PR_getobj()->_realNarrow(_PD_repoId);
  return e ? e : _nil();
}


RefHardCtrl_ptr
RefHardCtrl::_unchecked_narrow(::CORBA::Object_ptr obj)
{
  if( !obj || obj->_NP_is_nil() || obj->_NP_is_pseudo() ) return _nil();
  _ptr_type e = (_ptr_type) obj->_PR_getobj()->_uncheckedNarrow(_PD_repoId);
  return e ? e : _nil();
}

RefHardCtrl_ptr
RefHardCtrl::_nil()
{
#ifdef OMNI_UNLOADABLE_STUBS
  static _objref_RefHardCtrl _the_nil_obj;
  return &_the_nil_obj;
#else
  static _objref_RefHardCtrl* _the_nil_ptr = 0;
  if( !_the_nil_ptr ) {
    omni::nilRefLock().lock();
    if( !_the_nil_ptr ) {
      _the_nil_ptr = new _objref_RefHardCtrl;
      registerNilCorbaObject(_the_nil_ptr);
    }
    omni::nilRefLock().unlock();
  }
  return _the_nil_ptr;
#endif
}

const char* RefHardCtrl::_PD_repoId = "IDL:RefHardCtrl:1.0";


_objref_RefHardCtrl::~_objref_RefHardCtrl() {
  
}


_objref_RefHardCtrl::_objref_RefHardCtrl(omniIOR* ior, omniIdentity* id) :
   omniObjRef(::RefHardCtrl::_PD_repoId, ior, id, 1)
   
   
{
  _PR_setobj(this);
}

void*
_objref_RefHardCtrl::_ptrToObjRef(const char* id)
{
  if( id == ::RefHardCtrl::_PD_repoId )
    return (::RefHardCtrl_ptr) this;
  
  if( id == ::CORBA::Object::_PD_repoId )
    return (::CORBA::Object_ptr) this;

  if( omni::strMatch(id, ::RefHardCtrl::_PD_repoId) )
    return (::RefHardCtrl_ptr) this;
  
  if( omni::strMatch(id, ::CORBA::Object::_PD_repoId) )
    return (::CORBA::Object_ptr) this;

  return 0;
}

// Proxy call descriptor class. Mangled signature:
//  void_i_cPosition2D_i_cshort
class _0RL_cd_cf7c4c949fd1291e_00000000
  : public omniCallDescriptor
{
public:
  inline _0RL_cd_cf7c4c949fd1291e_00000000(LocalCallFn lcfn,const char* op_,size_t oplen,_CORBA_Boolean upcall=0):
     omniCallDescriptor(lcfn, op_, oplen, 0, 0, 0, upcall)
  {
    
  }
  
  void marshalArguments(cdrStream&);
  void unmarshalArguments(cdrStream&);

    
  
  Position2D arg_0_;
  const Position2D* arg_0;
  ::CORBA::Short arg_1;
};

void _0RL_cd_cf7c4c949fd1291e_00000000::marshalArguments(cdrStream& _n)
{
  (const Position2D&) *arg_0 >>= _n;
  arg_1 >>= _n;

}

void _0RL_cd_cf7c4c949fd1291e_00000000::unmarshalArguments(cdrStream& _n)
{
  (Position2D&)arg_0_ <<= _n;
  arg_0 = &arg_0_;
  (::CORBA::Short&)arg_1 <<= _n;

}

// Local call call-back function.
static void
_0RL_lcfn_cf7c4c949fd1291e_10000000(omniCallDescriptor* cd, omniServant* svnt)
{
  _0RL_cd_cf7c4c949fd1291e_00000000* tcd = (_0RL_cd_cf7c4c949fd1291e_00000000*)cd;
  _impl_RefHardCtrl* impl = (_impl_RefHardCtrl*) svnt->_ptrToInterface(RefHardCtrl::_PD_repoId);
  impl->RHMoveTo(*tcd->arg_0, tcd->arg_1);


}

void _objref_RefHardCtrl::RHMoveTo(const Position2D& pos, ::CORBA::Short direction)
{
  _0RL_cd_cf7c4c949fd1291e_00000000 _call_desc(_0RL_lcfn_cf7c4c949fd1291e_10000000, "RHMoveTo", 9);
  _call_desc.arg_0 = &(Position2D&) pos;
  _call_desc.arg_1 = direction;

  _invoke(_call_desc);



}
// Proxy call descriptor class. Mangled signature:
//  void
class _0RL_cd_cf7c4c949fd1291e_20000000
  : public omniCallDescriptor
{
public:
  inline _0RL_cd_cf7c4c949fd1291e_20000000(LocalCallFn lcfn,const char* op_,size_t oplen,_CORBA_Boolean upcall=0):
     omniCallDescriptor(lcfn, op_, oplen, 0, 0, 0, upcall)
  {
    
  }
  
  
    
  
  
};

// Local call call-back function.
static void
_0RL_lcfn_cf7c4c949fd1291e_30000000(omniCallDescriptor*, omniServant* svnt)
{
  
  _impl_RefHardCtrl* impl = (_impl_RefHardCtrl*) svnt->_ptrToInterface(RefHardCtrl::_PD_repoId);
  impl->RHStop();


}

void _objref_RefHardCtrl::RHStop()
{
  _0RL_cd_cf7c4c949fd1291e_20000000 _call_desc(_0RL_lcfn_cf7c4c949fd1291e_30000000, "RHStop", 7);


  _invoke(_call_desc);



}
// Proxy call descriptor class. Mangled signature:
//  void_i_cPosition2D
class _0RL_cd_cf7c4c949fd1291e_40000000
  : public omniCallDescriptor
{
public:
  inline _0RL_cd_cf7c4c949fd1291e_40000000(LocalCallFn lcfn,const char* op_,size_t oplen,_CORBA_Boolean upcall=0):
     omniCallDescriptor(lcfn, op_, oplen, 0, 0, 0, upcall)
  {
    
  }
  
  void marshalArguments(cdrStream&);
  void unmarshalArguments(cdrStream&);

    
  
  Position2D arg_0_;
  const Position2D* arg_0;
};

void _0RL_cd_cf7c4c949fd1291e_40000000::marshalArguments(cdrStream& _n)
{
  (const Position2D&) *arg_0 >>= _n;

}

void _0RL_cd_cf7c4c949fd1291e_40000000::unmarshalArguments(cdrStream& _n)
{
  (Position2D&)arg_0_ <<= _n;
  arg_0 = &arg_0_;

}

// Local call call-back function.
static void
_0RL_lcfn_cf7c4c949fd1291e_50000000(omniCallDescriptor* cd, omniServant* svnt)
{
  _0RL_cd_cf7c4c949fd1291e_40000000* tcd = (_0RL_cd_cf7c4c949fd1291e_40000000*)cd;
  _impl_RefHardCtrl* impl = (_impl_RefHardCtrl*) svnt->_ptrToInterface(RefHardCtrl::_PD_repoId);
  impl->RHReturn(*tcd->arg_0);


}

void _objref_RefHardCtrl::RHReturn(const Position2D& base)
{
  _0RL_cd_cf7c4c949fd1291e_40000000 _call_desc(_0RL_lcfn_cf7c4c949fd1291e_50000000, "RHReturn", 9);
  _call_desc.arg_0 = &(Position2D&) base;

  _invoke(_call_desc);



}
// Proxy call descriptor class. Mangled signature:
//  _clong
class _0RL_cd_cf7c4c949fd1291e_60000000
  : public omniCallDescriptor
{
public:
  inline _0RL_cd_cf7c4c949fd1291e_60000000(LocalCallFn lcfn,const char* op_,size_t oplen,_CORBA_Boolean upcall=0):
     omniCallDescriptor(lcfn, op_, oplen, 0, 0, 0, upcall)
  {
    
  }
  
  
  void unmarshalReturnedValues(cdrStream&);
  void marshalReturnedValues(cdrStream&);
  
  
  ::CORBA::Long result;
};

void _0RL_cd_cf7c4c949fd1291e_60000000::marshalReturnedValues(cdrStream& _n)
{
  result >>= _n;

}

void _0RL_cd_cf7c4c949fd1291e_60000000::unmarshalReturnedValues(cdrStream& _n)
{
  (::CORBA::Long&)result <<= _n;

}

// Local call call-back function.
static void
_0RL_lcfn_cf7c4c949fd1291e_70000000(omniCallDescriptor* cd, omniServant* svnt)
{
  _0RL_cd_cf7c4c949fd1291e_60000000* tcd = (_0RL_cd_cf7c4c949fd1291e_60000000*)cd;
  _impl_RefHardCtrl* impl = (_impl_RefHardCtrl*) svnt->_ptrToInterface(RefHardCtrl::_PD_repoId);
  tcd->result = impl->RHGetStatus();


}

::CORBA::Long _objref_RefHardCtrl::RHGetStatus()
{
  _0RL_cd_cf7c4c949fd1291e_60000000 _call_desc(_0RL_lcfn_cf7c4c949fd1291e_70000000, "RHGetStatus", 12);


  _invoke(_call_desc);
  return _call_desc.result;


}
// Proxy call descriptor class. Mangled signature:
//  _cPosition3D
class _0RL_cd_cf7c4c949fd1291e_80000000
  : public omniCallDescriptor
{
public:
  inline _0RL_cd_cf7c4c949fd1291e_80000000(LocalCallFn lcfn,const char* op_,size_t oplen,_CORBA_Boolean upcall=0):
     omniCallDescriptor(lcfn, op_, oplen, 0, 0, 0, upcall)
  {
    
  }
  
  
  void unmarshalReturnedValues(cdrStream&);
  void marshalReturnedValues(cdrStream&);
  
  
  Position3D result;
};

void _0RL_cd_cf7c4c949fd1291e_80000000::marshalReturnedValues(cdrStream& _n)
{
  (const Position3D&) result >>= _n;

}

void _0RL_cd_cf7c4c949fd1291e_80000000::unmarshalReturnedValues(cdrStream& _n)
{
  (Position3D&)result <<= _n;

}

// Local call call-back function.
static void
_0RL_lcfn_cf7c4c949fd1291e_90000000(omniCallDescriptor* cd, omniServant* svnt)
{
  _0RL_cd_cf7c4c949fd1291e_80000000* tcd = (_0RL_cd_cf7c4c949fd1291e_80000000*)cd;
  _impl_RefHardCtrl* impl = (_impl_RefHardCtrl*) svnt->_ptrToInterface(RefHardCtrl::_PD_repoId);
  tcd->result = impl->RHGetArmPosition();


}

Position3D _objref_RefHardCtrl::RHGetArmPosition()
{
  _0RL_cd_cf7c4c949fd1291e_80000000 _call_desc(_0RL_lcfn_cf7c4c949fd1291e_90000000, "RHGetArmPosition", 17);


  _invoke(_call_desc);
  return _call_desc.result;


}
// Proxy call descriptor class. Mangled signature:
//  _cPosition2D
class _0RL_cd_cf7c4c949fd1291e_a0000000
  : public omniCallDescriptor
{
public:
  inline _0RL_cd_cf7c4c949fd1291e_a0000000(LocalCallFn lcfn,const char* op_,size_t oplen,_CORBA_Boolean upcall=0):
     omniCallDescriptor(lcfn, op_, oplen, 0, 0, 0, upcall)
  {
    
  }
  
  
  void unmarshalReturnedValues(cdrStream&);
  void marshalReturnedValues(cdrStream&);
  
  
  Position2D result;
};

void _0RL_cd_cf7c4c949fd1291e_a0000000::marshalReturnedValues(cdrStream& _n)
{
  (const Position2D&) result >>= _n;

}

void _0RL_cd_cf7c4c949fd1291e_a0000000::unmarshalReturnedValues(cdrStream& _n)
{
  (Position2D&)result <<= _n;

}

// Local call call-back function.
static void
_0RL_lcfn_cf7c4c949fd1291e_b0000000(omniCallDescriptor* cd, omniServant* svnt)
{
  _0RL_cd_cf7c4c949fd1291e_a0000000* tcd = (_0RL_cd_cf7c4c949fd1291e_a0000000*)cd;
  _impl_RefHardCtrl* impl = (_impl_RefHardCtrl*) svnt->_ptrToInterface(RefHardCtrl::_PD_repoId);
  tcd->result = impl->RHGetLocalizePosition();


}

Position2D _objref_RefHardCtrl::RHGetLocalizePosition()
{
  _0RL_cd_cf7c4c949fd1291e_a0000000 _call_desc(_0RL_lcfn_cf7c4c949fd1291e_b0000000, "RHGetLocalizePosition", 22);


  _invoke(_call_desc);
  return _call_desc.result;


}
// Proxy call descriptor class. Mangled signature:
//  void_i_cPosition2D_i_cPosition2D_i_cstring
class _0RL_cd_cf7c4c949fd1291e_c0000000
  : public omniCallDescriptor
{
public:
  inline _0RL_cd_cf7c4c949fd1291e_c0000000(LocalCallFn lcfn,const char* op_,size_t oplen,_CORBA_Boolean upcall=0):
     omniCallDescriptor(lcfn, op_, oplen, 0, 0, 0, upcall)
  {
    
  }
  
  void marshalArguments(cdrStream&);
  void unmarshalArguments(cdrStream&);

    
  
  Position2D arg_0_;
  const Position2D* arg_0;
  Position2D arg_1_;
  const Position2D* arg_1;
  ::CORBA::String_var arg_2_;
  const char* arg_2;
};

void _0RL_cd_cf7c4c949fd1291e_c0000000::marshalArguments(cdrStream& _n)
{
  (const Position2D&) *arg_0 >>= _n;
  (const Position2D&) *arg_1 >>= _n;
  _n.marshalString(arg_2,0);

}

void _0RL_cd_cf7c4c949fd1291e_c0000000::unmarshalArguments(cdrStream& _n)
{
  (Position2D&)arg_0_ <<= _n;
  arg_0 = &arg_0_;
  (Position2D&)arg_1_ <<= _n;
  arg_1 = &arg_1_;
  arg_2_ = _n.unmarshalString(0);
  arg_2 = arg_2_.in();

}

// Local call call-back function.
static void
_0RL_lcfn_cf7c4c949fd1291e_d0000000(omniCallDescriptor* cd, omniServant* svnt)
{
  _0RL_cd_cf7c4c949fd1291e_c0000000* tcd = (_0RL_cd_cf7c4c949fd1291e_c0000000*)cd;
  _impl_RefHardCtrl* impl = (_impl_RefHardCtrl*) svnt->_ptrToInterface(RefHardCtrl::_PD_repoId);
  impl->RHGuideReq(*tcd->arg_0, *tcd->arg_1, tcd->arg_2);


}

void _objref_RefHardCtrl::RHGuideReq(const Position2D& entrance, const Position2D& room, const char* name)
{
  _0RL_cd_cf7c4c949fd1291e_c0000000 _call_desc(_0RL_lcfn_cf7c4c949fd1291e_d0000000, "RHGuideReq", 11);
  _call_desc.arg_0 = &(Position2D&) entrance;
  _call_desc.arg_1 = &(Position2D&) room;
  _call_desc.arg_2 = name;

  _invoke(_call_desc);



}
// Local call call-back function.
static void
_0RL_lcfn_cf7c4c949fd1291e_e0000000(omniCallDescriptor* cd, omniServant* svnt)
{
  _0RL_cd_cf7c4c949fd1291e_c0000000* tcd = (_0RL_cd_cf7c4c949fd1291e_c0000000*)cd;
  _impl_RefHardCtrl* impl = (_impl_RefHardCtrl*) svnt->_ptrToInterface(RefHardCtrl::_PD_repoId);
  impl->RHDrinkServeReq(*tcd->arg_0, *tcd->arg_1, tcd->arg_2);


}

void _objref_RefHardCtrl::RHDrinkServeReq(const Position2D& visitor, const Position2D& warehouse, const char* name)
{
  _0RL_cd_cf7c4c949fd1291e_c0000000 _call_desc(_0RL_lcfn_cf7c4c949fd1291e_e0000000, "RHDrinkServeReq", 16);
  _call_desc.arg_0 = &(Position2D&) visitor;
  _call_desc.arg_1 = &(Position2D&) warehouse;
  _call_desc.arg_2 = name;

  _invoke(_call_desc);



}
// Proxy call descriptor class. Mangled signature:
//  void_i_cPosition2D_i_cstring
class _0RL_cd_cf7c4c949fd1291e_f0000000
  : public omniCallDescriptor
{
public:
  inline _0RL_cd_cf7c4c949fd1291e_f0000000(LocalCallFn lcfn,const char* op_,size_t oplen,_CORBA_Boolean upcall=0):
     omniCallDescriptor(lcfn, op_, oplen, 0, 0, 0, upcall)
  {
    
  }
  
  void marshalArguments(cdrStream&);
  void unmarshalArguments(cdrStream&);

    
  
  Position2D arg_0_;
  const Position2D* arg_0;
  ::CORBA::String_var arg_1_;
  const char* arg_1;
};

void _0RL_cd_cf7c4c949fd1291e_f0000000::marshalArguments(cdrStream& _n)
{
  (const Position2D&) *arg_0 >>= _n;
  _n.marshalString(arg_1,0);

}

void _0RL_cd_cf7c4c949fd1291e_f0000000::unmarshalArguments(cdrStream& _n)
{
  (Position2D&)arg_0_ <<= _n;
  arg_0 = &arg_0_;
  arg_1_ = _n.unmarshalString(0);
  arg_1 = arg_1_.in();

}

// Local call call-back function.
static void
_0RL_lcfn_cf7c4c949fd1291e_01000000(omniCallDescriptor* cd, omniServant* svnt)
{
  _0RL_cd_cf7c4c949fd1291e_f0000000* tcd = (_0RL_cd_cf7c4c949fd1291e_f0000000*)cd;
  _impl_RefHardCtrl* impl = (_impl_RefHardCtrl*) svnt->_ptrToInterface(RefHardCtrl::_PD_repoId);
  impl->RHDrinkTransportReq(*tcd->arg_0, tcd->arg_1);


}

void _objref_RefHardCtrl::RHDrinkTransportReq(const Position2D& dist, const char* name)
{
  _0RL_cd_cf7c4c949fd1291e_f0000000 _call_desc(_0RL_lcfn_cf7c4c949fd1291e_01000000, "RHDrinkTransportReq", 20);
  _call_desc.arg_0 = &(Position2D&) dist;
  _call_desc.arg_1 = name;

  _invoke(_call_desc);



}
// Local call call-back function.
static void
_0RL_lcfn_cf7c4c949fd1291e_11000000(omniCallDescriptor* cd, omniServant* svnt)
{
  _0RL_cd_cf7c4c949fd1291e_f0000000* tcd = (_0RL_cd_cf7c4c949fd1291e_f0000000*)cd;
  _impl_RefHardCtrl* impl = (_impl_RefHardCtrl*) svnt->_ptrToInterface(RefHardCtrl::_PD_repoId);
  impl->RHGarbageCollectReq(*tcd->arg_0, tcd->arg_1);


}

void _objref_RefHardCtrl::RHGarbageCollectReq(const Position2D& dist, const char* name)
{
  _0RL_cd_cf7c4c949fd1291e_f0000000 _call_desc(_0RL_lcfn_cf7c4c949fd1291e_11000000, "RHGarbageCollectReq", 20);
  _call_desc.arg_0 = &(Position2D&) dist;
  _call_desc.arg_1 = name;

  _invoke(_call_desc);



}
// Local call call-back function.
static void
_0RL_lcfn_cf7c4c949fd1291e_21000000(omniCallDescriptor* cd, omniServant* svnt)
{
  _0RL_cd_cf7c4c949fd1291e_f0000000* tcd = (_0RL_cd_cf7c4c949fd1291e_f0000000*)cd;
  _impl_RefHardCtrl* impl = (_impl_RefHardCtrl*) svnt->_ptrToInterface(RefHardCtrl::_PD_repoId);
  impl->RHGarbageDumpReq(*tcd->arg_0, tcd->arg_1);


}

void _objref_RefHardCtrl::RHGarbageDumpReq(const Position2D& dumpsite, const char* name)
{
  _0RL_cd_cf7c4c949fd1291e_f0000000 _call_desc(_0RL_lcfn_cf7c4c949fd1291e_21000000, "RHGarbageDumpReq", 17);
  _call_desc.arg_0 = &(Position2D&) dumpsite;
  _call_desc.arg_1 = name;

  _invoke(_call_desc);



}
_pof_RefHardCtrl::~_pof_RefHardCtrl() {}


omniObjRef*
_pof_RefHardCtrl::newObjRef(omniIOR* ior, omniIdentity* id)
{
  return new ::_objref_RefHardCtrl(ior, id);
}


::CORBA::Boolean
_pof_RefHardCtrl::is_a(const char* id) const
{
  if( omni::ptrStrMatch(id, ::RefHardCtrl::_PD_repoId) )
    return 1;
  
  return 0;
}

const _pof_RefHardCtrl _the_pof_RefHardCtrl;

_impl_RefHardCtrl::~_impl_RefHardCtrl() {}


::CORBA::Boolean
_impl_RefHardCtrl::_dispatch(omniCallHandle& _handle)
{
  const char* op = _handle.operation_name();

  if( omni::strMatch(op, "RHMoveTo") ) {

    _0RL_cd_cf7c4c949fd1291e_00000000 _call_desc(_0RL_lcfn_cf7c4c949fd1291e_10000000, "RHMoveTo", 9, 1);
    
    _handle.upcall(this,_call_desc);
    return 1;
  }

  if( omni::strMatch(op, "RHStop") ) {

    _0RL_cd_cf7c4c949fd1291e_20000000 _call_desc(_0RL_lcfn_cf7c4c949fd1291e_30000000, "RHStop", 7, 1);
    
    _handle.upcall(this,_call_desc);
    return 1;
  }

  if( omni::strMatch(op, "RHReturn") ) {

    _0RL_cd_cf7c4c949fd1291e_40000000 _call_desc(_0RL_lcfn_cf7c4c949fd1291e_50000000, "RHReturn", 9, 1);
    
    _handle.upcall(this,_call_desc);
    return 1;
  }

  if( omni::strMatch(op, "RHGetStatus") ) {

    _0RL_cd_cf7c4c949fd1291e_60000000 _call_desc(_0RL_lcfn_cf7c4c949fd1291e_70000000, "RHGetStatus", 12, 1);
    
    _handle.upcall(this,_call_desc);
    return 1;
  }

  if( omni::strMatch(op, "RHGetArmPosition") ) {

    _0RL_cd_cf7c4c949fd1291e_80000000 _call_desc(_0RL_lcfn_cf7c4c949fd1291e_90000000, "RHGetArmPosition", 17, 1);
    
    _handle.upcall(this,_call_desc);
    return 1;
  }

  if( omni::strMatch(op, "RHGetLocalizePosition") ) {

    _0RL_cd_cf7c4c949fd1291e_a0000000 _call_desc(_0RL_lcfn_cf7c4c949fd1291e_b0000000, "RHGetLocalizePosition", 22, 1);
    
    _handle.upcall(this,_call_desc);
    return 1;
  }

  if( omni::strMatch(op, "RHGuideReq") ) {

    _0RL_cd_cf7c4c949fd1291e_c0000000 _call_desc(_0RL_lcfn_cf7c4c949fd1291e_d0000000, "RHGuideReq", 11, 1);
    
    _handle.upcall(this,_call_desc);
    return 1;
  }

  if( omni::strMatch(op, "RHDrinkServeReq") ) {

    _0RL_cd_cf7c4c949fd1291e_c0000000 _call_desc(_0RL_lcfn_cf7c4c949fd1291e_e0000000, "RHDrinkServeReq", 16, 1);
    
    _handle.upcall(this,_call_desc);
    return 1;
  }

  if( omni::strMatch(op, "RHDrinkTransportReq") ) {

    _0RL_cd_cf7c4c949fd1291e_f0000000 _call_desc(_0RL_lcfn_cf7c4c949fd1291e_01000000, "RHDrinkTransportReq", 20, 1);
    
    _handle.upcall(this,_call_desc);
    return 1;
  }

  if( omni::strMatch(op, "RHGarbageCollectReq") ) {

    _0RL_cd_cf7c4c949fd1291e_f0000000 _call_desc(_0RL_lcfn_cf7c4c949fd1291e_11000000, "RHGarbageCollectReq", 20, 1);
    
    _handle.upcall(this,_call_desc);
    return 1;
  }

  if( omni::strMatch(op, "RHGarbageDumpReq") ) {

    _0RL_cd_cf7c4c949fd1291e_f0000000 _call_desc(_0RL_lcfn_cf7c4c949fd1291e_21000000, "RHGarbageDumpReq", 17, 1);
    
    _handle.upcall(this,_call_desc);
    return 1;
  }


  return 0;
}

void*
_impl_RefHardCtrl::_ptrToInterface(const char* id)
{
  if( id == ::RefHardCtrl::_PD_repoId )
    return (::_impl_RefHardCtrl*) this;
  
  if( id == ::CORBA::Object::_PD_repoId )
    return (void*) 1;

  if( omni::strMatch(id, ::RefHardCtrl::_PD_repoId) )
    return (::_impl_RefHardCtrl*) this;
  
  if( omni::strMatch(id, ::CORBA::Object::_PD_repoId) )
    return (void*) 1;
  return 0;
}

const char*
_impl_RefHardCtrl::_mostDerivedRepoId()
{
  return ::RefHardCtrl::_PD_repoId;
}

POA_RefHardCtrl::~POA_RefHardCtrl() {}

