[omniORB] VisiBroker x Omni: Modules and Tie implementations
David Riddoch
djr@uk.research.att.com
Mon, 6 Nov 2000 20:09:55 +0000 (GMT)
Hi Philippe,
On Mon, 6 Nov 2000, Philippe de M. Sevestre wrote:
> For omniORB, one can declare use the generated tie for I_B like that:
>
> POA_B::B1_tie< B1_implementation> myB1;
>
>
> Using VisiBroker, myI_B must be declared as:
>
> POA_B1_B_tie< B1_implementation> myB1;
>
>
> OmniORB's way makes more sense to me, but, reading the specs, I couldn't
> find a good reason that would support an statement saying that VB is wrong.
This is described in the c++ spec, page 142. The spec basically says that
omniORBs way is the proper way, but the other way is allowed on c++
implementations that don't support namespaces, or defining templates
inside other classes.
So strictly speaking, an ORB that runs on a compiler that has the support
for the former, should use that one.
You can use either with omniORB. Use either the -Wbtp or -Wbtf option to
omniidl.
Cheers,
David