summaryrefslogtreecommitdiff
path: root/TAO/tests/OBV/Factory/FactoryC_impl.h
blob: 61423429da91e082d970eba978b3822860eb8549 (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
60
// $Id$

// ============================================================================
//
// = LIBRARY
//   TAO/tests/OBV/Factory
//
// = FILENAME
//   FactoryC_impl.h
//
// = AUTHOR
//   Boris Kolpackov <bosk@ipmce.ru>
//
// ============================================================================

#ifndef TAO_FACTORY_FACTORY_C_IMPL_H
#define TAO_FACTORY_FACTORY_C_IMPL_H

#include "FactoryC.h"

// Just need to mix-in RefCounter
class Value2_impl : public virtual OBV_OBV_FactoryTest::Value2,
                    public virtual CORBA_DefaultValueRefCountBase
{
  // = TITLE
  //   Value2 implementation
  //
  // = DESCRIPTION
  //   Implements the Value2 valuetype
  //

};

// Factory implementation
class Value2_init_impl : public OBV_FactoryTest::Value2_init
{
  // = TITLE
  //   OBV factory implementation
  //
  // = DESCRIPTION
  //   Implements the Value2 factory implementation
  //
public:

  virtual OBV_FactoryTest::Value2* create_default (
      CORBA::ULong id
      );

  virtual OBV_FactoryTest::Value2* create (
      CORBA::ULong id,
      const OBV_FactoryTest::BaseValue::BV_Data & data
      );

public:

  virtual CORBA_ValueBase* create_for_unmarshal (void);

};

#endif /* TAO_FACTORY_FACTORY_C_IMPL_H */