~ubuntu-branches/ubuntu/breezy/ace/breezy

« back to all changes in this revision

Viewing changes to TAO/tests/ORB_shutdown/Foo_Bar.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad, Benjamin Montgomery, Adam Conrad
  • Date: 2005-09-18 22:51:38 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge) (0.1.2 woody)
  • Revision ID: james.westby@ubuntu.com-20050918225138-seav22q6fyylb536
Tags: 5.4.7-3ubuntu1
[ Benjamin Montgomery ]
* Added a patch for amd64 and powerpc that disables the compiler
  option -fvisibility-inlines-hidden

[ Adam Conrad ]
* Added DPATCH_OPTION_CPP=1 to debian/patches/00options to make
  Benjamin's above changes work correctly with dpatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
//
2
 
// Foo_Bar.cpp,v 1.1 2002/08/27 15:08:41 bala Exp
3
 
//
4
 
#include "Foo_Bar.h"
5
 
 
6
 
ACE_RCSID(Foo_Bar, Foo_Bar, "Foo_Bar.cpp,v 1.1 2002/08/27 15:08:41 bala Exp")
7
 
 
8
 
Foo_Bar::Foo_Bar (CORBA::ORB_ptr orb)
9
 
  : orb_ (CORBA::ORB::_duplicate (orb))
10
 
{
11
 
}
12
 
 
13
 
Foo_Bar::~Foo_Bar (void)
14
 
{
15
 
  ACE_DEBUG ((LM_DEBUG,
16
 
              "(%P|%t) Shutting down the ORB again \n"));
17
 
 
18
 
  this->orb_->shutdown (1);
19
 
}