blob: 0d961989108a1f966da3ea3a40b25ad6f72b633f (
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
34
|
// $Id$
#include "test_i.h"
ACE_RCSID( QtTests,
test_i,
"$Id$")
LCD_Display_imp::LCD_Display_imp (CORBA::ORB_ptr orb)
: orb_ (CORBA::ORB::_duplicate (orb))
{
}
void
LCD_Display_imp::shutdown (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException))
{
ACE_DEBUG ((LM_DEBUG,
"The ORB has been shutdown, Close the windows to exit \n"));
this->orb_->shutdown (0);
this->orb_->destroy ();
}
void
LCD_Display_imp::send_val (CORBA::Long val
ACE_ENV_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException))
{
ACE_DEBUG ((LM_DEBUG,
"The value from server is <%d> \n", val));
emit set_value (val);
}
|