[omniORB] Inheritance of interface implementation classes?

Martin Trappel 0xCDCDCDCD at gmx.at
Thu Jan 10 17:00:48 GMT 2008


Hi all.

When I have two interfaces:
- - -
interface A {
   void hello();
}

interface B : A {
   void world();
}
- - -

Is it a good idea with omniORB to also inherit the implementation 
classes, i.e.:
- - -
class A_i: public POA::A {
...
};

class B_i: public POA::B, public A_i {
...
};
- - -

Does this work without problems?
Any pointers where such things are discussed?

thanks!
Martin






More information about the omniORB-list mailing list