1 #ifndef guard_fwd_mock_reference_hpp
2 #define guard_fwd_mock_reference_hpp
6 * @brief Mock an forward declared object reference so we can test the sequences
9 * @author Johnny Willemsen <jwillemsen@remedy.nl>
11 #include "ace/config-all.h"
13 #include "testing_counters.hpp"
15 #include "tao/Objref_VarOut_T.h"
17 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
19 class fwd_mock_reference
;
20 typedef fwd_mock_reference
* fwd_mock_reference_ptr
;
21 typedef TAO_Objref_Var_T
<fwd_mock_reference
> fwd_mock_reference_var
;
22 typedef TAO_Objref_Out_T
<fwd_mock_reference
> fwd_mock_reference_out
;
27 struct Objref_Traits
< fwd_mock_reference
>
29 static fwd_mock_reference_ptr
duplicate (fwd_mock_reference_ptr
);
30 static void release (fwd_mock_reference_ptr
);
31 static fwd_mock_reference_ptr
nil (void);
32 static CORBA::Boolean
marshal (const fwd_mock_reference_ptr p
, TAO_OutputCDR
& cdr
);
36 TAO_END_VERSIONED_NAMESPACE_DECL
37 #endif // guard_fwd_mock_reference_hpp