Developing Component Software with CORBA > 7 The LispWorks ORB

NextPrevUpTopContentsIndex

7.2 Parsing IDL into stubs and skeletons

The interface to the IDL parser is currently via defsystem. Once the
corba-support module has been loaded, defsystem will have been extended with the following extra types:

:idl-file 
:idl-client-definition 
:idl-server-definition 

The :idl-file type instructs the IDL parser to generate code for both the client-side stubs and the server-side skeletons. The :idl-client-definition type instructs the IDL parser to generate code only for the client-side stubs. The :idl-server-definition type instructs the IDL parser to generate code only for the server-side skeletons.

For example, a typical use would be something like:

(defsystem server-side ()
  :members (            
            ("grid" :type :idl-file)
            "grid-impl"		
            )
  :rules
  ((:in-order-to :compile :all
    (:requires (:load :previous)))))
(defsystem client-side ()
  :members (
            ("grid" :type :idl-client-definition)))

Developing Component Software with CORBA - 22 Dec 2009

NextPrevUpTopContentsIndex