[Ace-users] [ciao-users] Use C++ class as parameter of a facet method

Sowayan, Abdullah (N-DUA) abdullah.sowayan at lmco.com
Wed Feb 20 17:37:11 CST 2008


Hi,

> > valuetype Command
> > {
> >     void start ();
> >     private string name;
> > };

If you're just transferring state, use eventtypes, they have the added
benefit that the CIAO framework automagically registers them with the
ORB. 

I find valuetypes annoying, especially the ones with methods. You have
to manually register them with the ORB, and you also have to provide an
implementation for the method for each programming language that you use
in your system. 

Thanks,
Abdul



More information about the Ace-users mailing list