summaryrefslogtreecommitdiff
path: root/TAO/tests/ORB_shutdown/Foo_Bar.cpp
blob: 27cb46e1a4291bac2f14bc77055de90eb0d6c124 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
//
// $Id$
//
#include "Foo_Bar.h"

ACE_RCSID(Foo_Bar, Foo_Bar, "$Id$")

Foo_Bar::Foo_Bar (CORBA::ORB_ptr orb)
  : orb_ (CORBA::ORB::_duplicate (orb))
{
}

Foo_Bar::~Foo_Bar (void)
{
  ACE_DEBUG ((LM_DEBUG,
              "(%P|%t) Shutting down the ORB again\n"));

  this->orb_->shutdown (1);
}