Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tests / OBV / Simple / OBV_impl.cpp
blobe879bce4c513fa4d262e5828f9fb7d7250750962
1 #include "OBV_impl.h"
2 #include "ace/OS_NS_sys_time.h"
4 // Implementation of the valuetype member functions.
6 Event_impl::Event_impl ()
10 Event_impl::Event_impl (CORBA::Long value)
12 this->value_ (value);
15 Event_impl::~Event_impl ()
19 CORBA::ValueBase*
20 Event_impl::_copy_value ()
22 return new Event_impl (this->value_ ());
26 void
27 Event_impl::do_print ()
29 ACE_DEBUG((LM_DEBUG, "(value %d) \n",
30 (CORBA::ULong) this->value_()));
33 Event_factory::~Event_factory ()
37 TAO_OBV_CREATE_RETURN_TYPE (Event)
38 Event_factory::create_for_unmarshal ()
40 return new Event_impl;