[Ace-users] Tie Appraoch using TAO

anirudhlohia at gmail.com anirudhlohia at gmail.com
Mon Mar 3 09:26:14 CST 2008


On Mar 3, 3:17 pm, schm... at dre.vanderbilt.edu (Douglas C. Schmidt)
wrote:
> Hi Anirudh,
>
> To ensure that we have proper version/platform/compiler information,
> please make sure you fill out the appropriate problem report form
> (PRF), which is in
>
> $ACE_ROOT/PROBLEM-REPORT-FORM
> $TAO_ROOT/PROBLEM-REPORT-FORM
>
> or in
>
> $ACE_ROOT/BUG-REPORT-FORM
> $TAO_ROOT/BUG-REPORT-FORM
>
> in older versions of ACE+TAO.  Make sure to include this information
> when asking any questions about ACE+TAO since otherwise we have to
> "guess" what version/platform/compiler/options you've using, which is
> very error-prone and slows down our responsiveness.  If you don't use
> the PRF, therefore, it is less likely that someone from the core
> ACE+TAO developer team will be able to answer your question.
> Naturally, we encourage and appreciate other members of the ACE+TAO
> user community who can respond to questions that they have the answers
> to.
>
> > I am trying to write code using TAO for a inhertied idl (in C++)
> > resulting in making mulitple a inherited Impl file (from POA_Derived,
> > BaseImpl).
>
> > When I compile I get errors like _is_a(), _downcast() etc. has two
> > overriders.
>
> > I hear in such a case Tie approach is better.
>
> > I wish to know two things
>
> > 1. Where can I find an example of Code using Tie approach.
>
> TAO_ROOT/tests/POA/TIE/
>
> >2. Is there a way (compiler option etc.) in which I write a code for
> >multiple inherited Impl file without changing my design.
>
> Not as far as I know.
>
> Doug
> --
> Dr. Douglas C. Schmidt                       Professor and Associate Chair
> Electrical Engineering and Computer Science  TEL: (615) 343-8197
> Vanderbilt University                        WEB:www.dre.vanderbilt.edu/~schmidt
> Nashville, TN 37203                          NET: d.schm... at vanderbilt.edu

Hi

Thank you for the reply and the pth to TIE implementation ...

The reason I did not send PRF is cause I think the problem has nothing
to do with platform/compiler

Does your reply effectively mean, that I cannot use TAO using multiple
inheritance and the only approach is using TIE methodology?

Also I am integrating a CORBA component into an old existing project.
It already has a make file and I have to modify it for idl
dependencies. So I shall not be using mpc to create a make file. Is
there a sample for writing make by simply using ACE macro files
include directly and not using MPC?

Please find PRF below. I am aware it is a comercial license but prefer
to use this channel as it is more for my curosity.
8<----------8<----------8<----------8<----------8<----------8<----------8<----
    TAO VERSION: 1.3a_p10

    HOST MACHINE and OPERATING SYSTEM:
        If on Windows based OS's, which version of WINSOCK do you
        use?: SunOS szur0747dap 5.8 Generic_117350-35 sun4u sparc
SUNW,Netra-T12


    TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
    COMPILER NAME AND VERSION (AND PATCHLEVEL):

    AREA/CLASS/EXAMPLE AFFECTED:
[What example failed?  What module failed to compile?]

    DOES THE PROBLEM AFFECT:
        COMPILATION? Yes
            If so, what do your $ACE_ROOT/ace/config.h and
            $ACE_ROOT/include/makeinclude/platform_macros.GNU contain?
        LINKING?
            On Unix systems, did you run make realclean first?
        EXECUTION?
        OTHER (please specify)?
[Please indicate whether ACE/TAO, your application, or both are
affected.]

    SYNOPSIS:
1.  Do I have option to use multiple inheritance using TAO? If yes,
how do I compile a Impl file derived from BaseImpl and POA_Derived*
2.  How to create a makefile manually without having to use mpc

    DESCRIPTION:
[Detailed description of problem.  Don't just say "<blah>
doesn't work, here's a fix," explain what your program does
to get to the <blah> state. ]

    REPEAT BY:
[What you did to get the error; include test program or session
transcript if at all possible.  ]

    SAMPLE FIX/WORKAROUND:
[If available ]


More information about the Ace-users mailing list