summaryrefslogtreecommitdiff
path: root/TAO/tests/LongDouble/LongDoubleTest.cpp
blob: 5961552c532e0f5b9468d017afcd370b971e2ecd (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
//
// $Id$
//
#include "LongDoubleTest.h"
#include "Global.h"

ACE_RCSID (LongDoubleTest, LongDoubleTest, "$Id$")

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

CORBA::LongDouble
LongDoubleTest::get_long_double ()
  ACE_THROW_SPEC ((CORBA::SystemException))
{
  CORBA::LongDouble ld;
  ACE_CDR_LONG_DOUBLE_ASSIGNMENT (ld, Global::get_long_double ());
  return ld;
}

void
LongDoubleTest::shutdown ()
  ACE_THROW_SPEC ((CORBA::SystemException))
{
  this->orb_->shutdown (0);
}