[cosmic-users] Usage questions on IDL generator

Balachandran Natarajan bala at dre.vanderbilt.edu
Mon Sep 12 01:27:57 CDT 2005


Hi

CoSMIC VERSION: 0.4.5

   HOST MACHINE and OPERATING SYSTEM:
      i.e., which version of Windows are you using.

        Win XP SP2

    TOOL/AREA/CLASS/EXAMPLE AFFECTED:

        None affected. Usage question. Please see below. 

    DOES THE PROBLEM AFFECT:
        COMPILATION?
        LINKING?
        EXECUTION?
        OTHER (please specify)?

        None of the above. 

    SYNOPSIS:

        Usage question in IDL Generator

    DESCRIPTION:

(1) How do I trigger forward declarations with generated IDLs? For
    example, I am looking for something like this


        interface bar;
        
        interface foo 
        {
          bar bar_factory ();
        };

    in a file called foo.idl. When I specify the return type bar in a
    different IDL (bar.idl) and specify the reference of bar in the
    return type of bar_factory, the generated IDL takes this form 

    #include "bar.idl"
        
        interface foo 
        {
          bar bar_factory ();
        };

        
    which is not something I need. Can someone please point to the
    right clicks to achieve this?

(2) How do I specify local policies? For example a policy like this

    local interface MyPOlicy : CORBA::Policy
    {};

    through PICML/IDLML?

(3) How do I add documentation in the model which can be spit out as
    doxygen or javadoc style documentation in the generated  IDL?  

(4) How do I constraint check the model for documentation?

(5) How do I create an XMI file or a UML model from the model we
    create for IDL generation? 

(6) Is there a way to plug in an activity digram along with the IDL
    model? Looks like this may be an useful feature if someone wants
    to understand the interaction model between objects represented by
    the IDLML. 

Any help would be much appreciated. If the above are all in the works,
please let me know when will they be available?

Thanks
Bala





More information about the cosmic-users mailing list