AW: Re: [omniORB] Tie mechanism and python

Luke Deller ldeller at xplantechnology.com
Tue Feb 14 12:59:58 GMT 2006


On Tue, 2006-02-14 at 02:27 +0100, andreas at roedl.ch wrote:
> Why do you say that the tie mechanism isn't needed for python?

I would imagine that Duncan says this because python supports multiple
inheritance.  The tie mechanism is used to avoid multiple inheritance,
and is only really needed in languages like Java which do not support
multiple inheritance.

> I want to tie my python classes - actually pyqt classes - to the
> skeleton classes of the interface. Every class in a pure pyqt
> application is inherited from a qt class, mainly from qobject or
> qwidget classes. I just started to use python for gui (qt)
> applications, but I'm almost certain, that I need tie classes to glue
> omniorb and pyqt together in a sane and elegant way.

How about making a servant class which inherits from both a pyqt class
and the omniorb skeleton class?

Luke.

**********************************************************************************************

Important Note
This email (including any attachments) contains information which is
confidential and may be subject to legal privilege.  If you are not
the intended recipient you must not use, distribute or copy this
email.  If you have received this email in error please notify the
sender immediately and delete this email. Any views expressed in this
email are not necessarily the views of XPlan Technology.

It is the duty of the recipient to virus scan and otherwise test the
information provided before loading onto any computer system.
Xplan Technology does not warrant that the
information is free of a virus or any other defect or error.
**********************************************************************************************




More information about the omniORB-list mailing list