diff options
Diffstat (limited to 'TAO/tests/ORB_shutdown/Foo_Bar.cpp')
-rw-r--r-- | TAO/tests/ORB_shutdown/Foo_Bar.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/TAO/tests/ORB_shutdown/Foo_Bar.cpp b/TAO/tests/ORB_shutdown/Foo_Bar.cpp new file mode 100644 index 00000000000..6f5abfb1e81 --- /dev/null +++ b/TAO/tests/ORB_shutdown/Foo_Bar.cpp @@ -0,0 +1,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); +} |