3 Visual_i::Visual_i (CORBA::ORB_ptr orb
)
4 : orb_ (CORBA::ORB::_duplicate (orb
))
9 Visual_i::normal (CORBA::Long arg
,
10 CORBA::String_out msg
)
12 ACE_DEBUG ((LM_DEBUG
, "Visual::normal called with %d\n", arg
));
13 msg
= CORBA::string_dup ("DO_NOT_INSULT_MY_INTELLIGENCE");
17 Visual_i::calculate (CORBA::Long one
,
20 ACE_DEBUG ((LM_DEBUG
, "Visual::calculate\n"));
24 Test_Interceptors::Visual::VarLenStruct
*
25 Visual_i::the_structure ()
27 Test_Interceptors::Visual::VarLenStruct
* s
= nullptr;
30 Test_Interceptors::Visual::VarLenStruct
,
33 Test_Interceptors::Visual::VarLenStruct_var safe_s
= s
;
36 s
->message
= CORBA::string_dup ("Oh Captain, my Captain!");
38 return safe_s
._retn ();
44 ACE_DEBUG ((LM_DEBUG
, "Visual::user, throwing Silly\n"));
45 throw Test_Interceptors::Silly ();
51 ACE_DEBUG ((LM_DEBUG
, "Visual::user, throwing INV_OBJREF\n"));
52 throw CORBA::INV_OBJREF ();
58 this->orb_
->shutdown ();