Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / DynamicInterface / DII_Arguments_Converter_Impl.h
blob8031c022a0a1209d8c4a3f80ec00bcd00c84f648
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file DII_Arguments_Converter_Impl.h
7 * @author Yan Dai <dai_y@ociweb.com>
8 */
9 //=============================================================================
12 #ifndef TAO_DII_ARGUMENTS_CONVERTER_IMPL_H
13 #define TAO_DII_ARGUMENTS_CONVERTER_IMPL_H
15 #include /**/ "ace/pre.h"
17 #include "tao/DynamicInterface/dynamicinterface_export.h"
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 # pragma once
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 #include "tao/PortableServer/Collocated_Arguments_Converter.h"
25 #include "ace/Service_Config.h"
27 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
30 /**
31 * @class TAO_DII_Arguments_Converter_Impl
33 * @brief TAO_DII_Arguments_Converter_Impl.
35 * This class provides the implementation to expand the DII arguments in NVList
36 * to the list of arguments.
38 class TAO_DynamicInterface_Export TAO_DII_Arguments_Converter_Impl
39 : public TAO::Collocated_Arguments_Converter
41 public:
42 virtual void convert_request (TAO_ServerRequest & server_request,
43 TAO::Argument * const args[],
44 size_t nargs);
46 virtual void dsi_convert_request (TAO_ServerRequest & server_request,
47 TAO_OutputCDR & output);
49 virtual void convert_reply (TAO_ServerRequest & server_request,
50 TAO::Argument * const args[],
51 size_t nargs);
53 virtual void dsi_convert_reply (TAO_ServerRequest & server_request,
54 TAO_InputCDR & input);
56 virtual void handle_corba_exception (TAO_ServerRequest & server_request,
57 CORBA::Exception *exception);
59 // Used to force the initialization of the ORB code.
60 static int Initializer ();
63 static int
64 TAO_Requires_DII_Arguments_Converter_Impl_Initializer =
65 TAO_DII_Arguments_Converter_Impl::Initializer ();
67 TAO_END_VERSIONED_NAMESPACE_DECL
69 ACE_STATIC_SVC_DECLARE (TAO_DII_Arguments_Converter_Impl)
70 ACE_FACTORY_DECLARE (TAO_DynamicInterface, TAO_DII_Arguments_Converter_Impl)
73 #include /**/ "ace/post.h"
75 #endif /* TAO_DII_ARGUMENTS_CONVERTER_IMPL_H */