[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: Functions from strings?
From: Kurt Granroth <kurt_granroth () email ! mot ! com>
Date: 1999-06-17 18:21:25
[Download RAW message or body]
Steffen Hansen wrote:
> CORBA already offers this. It's called DII (Dynamic Interface Invocation).
> To get an example of this, run an .idl file through "idl --use-dii" and
> look at the implementation of the generated *_stub classes. To call a
> method void Bla::f(), it will do something like
>
> CORBA::Request_var _req = bla_var->_request( "f" );
> _req->result()->value()->type( CORBA::_tc_void );
> _req->invoke();
>
> It get's a little more complicated when you call functions with arguments,
> but any CORBA book should explain it.
Cool! I remember hearing about DII a few months back but it never really sunk
in. That sounds like it will do exactly what I need.
Do you know if there is any code in KDE right now that uses this (as an
example)?
--
Kurt Granroth | granroth@kde.org
KDE Developer/Evangelist | http://www.pobox.com/~kurt_granroth
KDE -- Putting a Friendly Face on Linux
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic