RTC 1.0 NO IDEA Avatar
  1. OMG Issue

RTC — CORBA IDL's syntax error

  • Key: RTC-24
  • Legacy Issue Number: 10559
  • Status: closed  
  • Source: AIST ( Dr. Noriaki Ando)
  • Summary:

    n CORBA IDL does not allow interface's typedef. See CORBA specification, v3.0.3 http://www.omg.org/cgi-bin/apps/doc?formal/04-03-12.pdf Some IDL compilers complain that typedefed DistributedObject and Service are not interface but type when they are used as base interface.

    omniORB and TAO's idl compiler allow interface typedef. MICO and ORBit2 IDL compiler does not allow interface typedef.

    Proposed Resolution

    The following typedefs should be deleted.

    typedef SDOPackage::SDO DistributedObject;
    typedef SDOPackage::SDOService Service;

    and, the Port, ExecutionContextService and RTObject should be changed like this.

    interface Port : SDOPackage::SDOService

    { abbr.: }

    ;

    interface ExecutionContextService : ExecutionContext, SDOPackage::SDOService

    { abbr.: }

    ;

    interface RTObject : LightweightRTObject, SDOPackage::SDO

    { abbr.: }

    ;

  • Reported: RTC 1.0b1 — Fri, 22 Dec 2006 05:00 GMT
  • Disposition: Resolved — RTC 1.0
  • Disposition Summary:

    Remove the typedefs for SDOPackage::SDO and SDOPackage::SDOService; use the original types instead.

  • Updated: Fri, 6 Mar 2015 20:58 GMT