summaryrefslogtreecommitdiff
path: root/TAO/tests/OBV/Simple/OBV_impl.h
blob: 4164a6ff96be41959615aca8410d13975e8ccf1b (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
// -*- C++ -*-
// $Id$

#if !defined (OBV_IMPL_H)
#define OBV_IMPL_H

#include "OBVC.h"
#include "tao/Valuetype/ValueFactory.h"

class Event_impl : public virtual OBV_Event,
                   public virtual CORBA::DefaultValueRefCountBase
{
 public:
  Event_impl ();
  Event_impl (CORBA::Long value);
  virtual ~Event_impl ();
  virtual CORBA::ValueBase* _copy_value (void);
  virtual void do_print (void);
};

class Event_factory : public CORBA::ValueFactoryBase
{
public:
  // create (...) would go here

protected:
  virtual ~Event_factory ();

private:
  TAO_OBV_CREATE_RETURN_TYPE (Event) create_for_unmarshal (void);
};

#endif /* OBV_IMPL_H */