summaryrefslogtreecommitdiff
path: root/TAO/tao/Valuetype_Adapter_Factory.h
blob: 3d90b5b580461899742faa577b9b446dd1969f55 (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
// -*- C++ -*-

//=============================================================================
/**
 *  @file    Valuetype_Adapter_Factory.h
 *
 *  @author  Kees van Marle <kvmarle@remedy.nl>
 */
//=============================================================================


#ifndef TAO_VALUETYPE_ADAPTER_FACTORY_H
#define TAO_VALUETYPE_ADAPTER_FACTORY_H

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

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

#include "tao/orbconf.h"
#include "tao/TAO_Export.h"

TAO_BEGIN_VERSIONED_NAMESPACE_DECL

class TAO_Valuetype_Adapter;

/**
 * @class TAO_Valuetype_Adapter_Factory
 *
 * @brief TAO_Valuetype_Adapter_Factory.
 *
 * Class that creates one instance of TAO_Valuetype_Adapter per
 * ORB on the ORB's first usage of its valuetype_adapter_. This is a base
 * class for the actual implementation in the TAO_Valuetype library.
 */
class TAO_Export TAO_Valuetype_Adapter_Factory
  : public ACE_Service_Object
{
public:
  virtual ~TAO_Valuetype_Adapter_Factory ();

  virtual TAO_Valuetype_Adapter * create () = 0;
};

TAO_END_VERSIONED_NAMESPACE_DECL

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

#endif /* TAO_VALUETYPE_ADAPTER_FACTORY_H */