Bug 4119 - Param_Test should declare all non-primitive client-side args as _vars
Summary: Param_Test should declare all non-primitive client-side args as _vars
Status: NEW
Alias: None
Product: TAO
Classification: Unclassified
Component: Test (show other bugs)
Version: 2.2.0
Hardware: All All
: P3 minor
Assignee: DOC Center Support List (internal)
URL:
Depends on:
Blocks:
 
Reported: 2013-08-01 09:08 CDT by Jeff Parsons
Modified: 2013-08-01 09:08 CDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Parsons 2013-08-01 09:08:53 CDT
It should be possible for an application developer to declare any client-side non-primitive arguments as _vars, assign values or not as appropriate, and pass them by calling *.in(), *.inout() or *.out() on the _vars, depending on the 'direction' of the IDL operation parameter declaration. The OMG's motivation for this mechanism was to provide a consistent interface for argument passing regardless of the size type of the argument. For fixed size structs and arrays, it is possible to optimize by using an arg declared on the stack, but the canonical way should also work.

Param_Test uses the optimized approach for fixed size structs, unions and arrays. It should be changed to use _vars for these client-side args.