summaryrefslogtreecommitdiff
path: root/TAO/tests/QtTests/test_i.cpp
blob: 750d6167c1eea25d0ffe137a3fced3d08e3e6d2c (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
// $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 (void)
{
  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_DEBUG ((LM_DEBUG,
              "The value from server is <%d> \n", val));
  emit set_value (val);
}