[omniORB] How avoid copying "in" parameters?

Duncan Grisby duncan at grisby.org
Fri Feb 8 17:28:21 GMT 2008


On Thursday 7 February, DA SILVA Antonio wrote:

> When I declare a parameter as "in" inside an IDL,
> it is then implemented as a reference in C++.
> How can I store the parameter/data I receive in this
> reference without copying it?

As others have said, in general you can't unless you escape the C++
mapping and use omniORB internal interfaces.

Before beginning to contemplate that, have you profiled your application
and found that the copying is actually an issue?

Cheers,

Duncan.

-- 
 -- Duncan Grisby         --
  -- duncan at grisby.org     --
   -- http://www.grisby.org --



More information about the omniORB-list mailing list