summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/DII_Arguments_Converter.h
blob: 2849d7fc42a9ad35bd73f44b5d5211bbe3164bc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
// -*- C++ -*-

//=============================================================================
/**
 *  @file    DII_Arguments_Converter.h
 *
 *  $Id$
 *
 *  @author  Yan Dai <dai_y@ociweb.com>
 */
//=============================================================================


#ifndef TAO_DII_ARGUMENTS_CONVERTER_H
#define TAO_DII_ARGUMENTS_CONVERTER_H

#include /**/ "ace/pre.h"

#include "portableserver_export.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

#include "tao/TAO_Server_Request.h"
#include "ace/Service_Object.h"


TAO_BEGIN_VERSIONED_NAMESPACE_DECL

/**
 * @class TAO_DII_Arguments_Converter
 *
 * @brief TAO_DII_Arguments_Converter.
 *
 * Abstract class that convert the DII arguments in NVList to the
 * list of arguments. This is a base class for the actual implementation 
 * in the DynamicInterface library.
 */
class TAO_PortableServer_Export TAO_DII_Arguments_Converter : public ACE_Service_Object
{
public:
  
  virtual ~TAO_DII_Arguments_Converter (void);
  
  virtual void convert ( TAO_ServerRequest & server_request,
                         TAO::Argument * const args[],
                         size_t nargs
                         ACE_ENV_ARG_DECL) = 0;

};


TAO_END_VERSIONED_NAMESPACE_DECL


#include /**/ "ace/post.h"
#endif /* TAO_DII_ARGUMENTS_CONVERTER_H */