4 * @author Carlos O'Ryan <coryan@atdesk.com>
6 #include "mock_reference.hpp"
8 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
10 call_counter
mock_reference::duplicate_calls
;
11 call_counter
mock_reference::release_calls
;
12 call_counter
mock_reference::serialize_calls
;
13 call_counter
mock_reference::deserialize_calls
;
14 call_counter
mock_reference::marshal_calls
;
21 mock_reference
* mock_reference::
24 return new mock_reference(id
);
27 mock_reference
* mock_reference::
33 mock_reference
* mock_reference::
34 _duplicate(mock_reference
* rhs
)
41 return new mock_reference(*rhs
);
45 _tao_release(mock_reference
* rhs
)
51 void CORBA::release(mock_reference
* r
)
53 mock_reference::_tao_release(r
);
57 TAO::Objref_Traits
<mock_reference
>::duplicate (
61 return mock_reference::_duplicate (p
);
65 TAO::Objref_Traits
<mock_reference
>::release (
73 TAO::Objref_Traits
<mock_reference
>::nil ()
75 return mock_reference::_nil ();
79 TAO::Objref_Traits
<mock_reference
>::marshal (
80 const mock_reference_ptr
,
84 mock_reference::marshal_calls ();
88 CORBA::Boolean
operator<< (TAO_OutputCDR
&, const mock_reference
*)
90 mock_reference::serialize_calls ();
93 CORBA::Boolean
operator>> (TAO_InputCDR
&, mock_reference
*&)
95 mock_reference::deserialize_calls ();
99 TAO_END_VERSIONED_NAMESPACE_DECL