[omniORB] multiple interface inheritance

andrew.brown@bt.com andrew.brown@bt.com
Thu, 12 Aug 1999 10:23:45 +0100


Can anyone please help

When I use a class to implement two interfaces e.g.

class implementation :
	public virtual _sk_interface1,
	public virtual _sk_interface2


I get the compile time errors:
cannot allocate an object of type `implementation'
since the following virtual functions need a final overrider:
Boolean _sk_interface1::dispatch(class GIOP_S &, const char *, Boolean)
void * _sk_interface1::_widenFromTheMostDerivedIntf(const char *, Boolean)

What is the best way to achieve multiple interface inheritance with
omniORB2?

I have a way of doing it which involves looking at the operation being
dispatched but there must be a better way???

Many Thanks
__
Andy Brown 
BT Adastral Park, MLB1 PP15, Martlesham Heath, Ipswich, IP5 3RE, England
Phone: 01473 605296
Fax: 01473 623683
http://members.xoom.com/wallsend/frame.html