Ejemplo n.º 1
0
::CORBA::Boolean
_impl_systemCommand::_dispatch(omniCallHandle& _handle)
{
  const char* op = _handle.operation_name();

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

    _0RL_cd_0c80e0b9850984f9_00000000 _call_desc(_0RL_lcfn_0c80e0b9850984f9_10000000, "function", 9, 1);
    
    _handle.upcall(this,_call_desc);
    return 1;
  }


  return 0;
}
Ejemplo n.º 2
0
::CORBA::Boolean
OpenHRP::_impl_CommandReceiver::_dispatch(omniCallHandle& _handle)
{
  const char* op = _handle.operation_name();

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

    _0RL_cd_969E6A9BF2804FC9_00000000 _call_desc(_0RL_lcfn_969E6A9BF2804FC9_10000000, "sendMsg", 8, 1);
    
    _handle.upcall(this,_call_desc);
    return 1;
  }


  return 0;
}
Ejemplo n.º 3
0
::CORBA::Boolean
_impl_Echo::_dispatch(omniCallHandle& _handle)
{
  const char* op = _handle.operation_name();

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

    _0RL_cd_01531d3e51c81a80_00000000 _call_desc(_0RL_lcfn_01531d3e51c81a80_10000000, "echoString", 11, 1);
    
    _handle.upcall(this,_call_desc);
    return 1;
  }


  return 0;
}
Ejemplo n.º 4
0
::CORBA::Boolean
OpenHRP::_impl_Plugin::_dispatch(omniCallHandle& _handle)
{
  const char* op = _handle.operation_name();

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

    _0RL_cd_969E6A9BF2804FC9_20000000 _call_desc(_0RL_lcfn_969E6A9BF2804FC9_30000000, "start", 6, 1);
    
    _handle.upcall(this,_call_desc);
    return 1;
  }

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

    _0RL_cd_969E6A9BF2804FC9_20000000 _call_desc(_0RL_lcfn_969E6A9BF2804FC9_40000000, "stop", 5, 1);
    
    _handle.upcall(this,_call_desc);
    return 1;
  }

  
#ifndef _MSC_VER
  if( _impl_CommandReceiver::_dispatch(_handle) ) {
    return 1;
  }
#else
  // Work-around for incorrect MSVC code generation.
  if( ((_impl_CommandReceiver*)this)->
      _impl_CommandReceiver::_dispatch(_handle) ) {
    return 1;
  }
#endif


  return 0;
}