TAO_PortableServer  2.0.8
Namespaces | Functions
get_arg.h File Reference
#include "tao/PortableServer/SArg_Traits_T.h"
#include "tao/operation_details.h"

Namespaces

namespace  TAO
namespace  TAO::Portable_Server

Functions

template<typename T >
TAO::SArg_Traits< T >::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 >
TAO::SArg_Traits< T >::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 >
TAO::SArg_Traits< T >
::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 >
TAO::SArg_Traits< T >::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

Id:
get_arg.h 88803 2010-02-02 11:13:27Z vzykov

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.
Note:
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.
Author:
Ossama Othman
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines