get_arg.h File Reference

#include "tao/operation_details.h"

Include dependency graph for get_arg.h:


namespace  TAO
namespace  TAO::Portable_Server


template<typename T, typename RET_ARG_TYPE>
RET_ARG_TYPE TAO::Portable_Server::get_ret_arg (TAO_Operation_Details const *details, TAO::Argument *const *skel_args)
 Get return value/argument.
template<typename T, typename IN_ARG_TYPE>
IN_ARG_TYPE TAO::Portable_Server::get_in_arg (TAO_Operation_Details const *details, TAO::Argument *const *skel_args, size_t i)
 Get "in" argument.
template<typename T, typename INOUT_ARG_TYPE>
INOUT_ARG_TYPE TAO::Portable_Server::get_inout_arg (TAO_Operation_Details const *details, TAO::Argument *const *skel_args, size_t i)
 Get "inout" argument.
template<typename T, typename OUT_ARG_TYPE>
OUT_ARG_TYPE TAO::Portable_Server::get_out_arg (TAO_Operation_Details const *details, TAO::Argument *const *skel_args, size_t i)
 Get "out" argument.

Detailed Description

get_arg.h,v 2005/09/16 23:27:07 dai_y Exp

Thru-POA/skeleton argument selection function templates.

These function templates are used to choose between arguments supplied in thru-POA collocated invocations and arguments in uncollocated invocations.
A function template approach is used to avoid complicated argument conversions between stub supplied arguments and skeleton supplied ones. For example, it is possible to make argument selection more transparent by taking advantage of run-time polymorphism. However, that approach would incur additional footprint overhead on the client side due to the introduction of virtual tables, etc.
Ossama Othman

Generated on Wed Nov 23 16:08:53 2005 for TAO_PortableServer by  doxygen 1.4.5