blob: 4b42f8473db9917eddce37dbe3b3945e0c90d2ad (
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
32
33
34
35
36
37
38
39
40
|
// $Id$
#include "test_i.h"
#if defined(ACE_HAS_XT)
#if !defined(__ACE_INLINE__)
#include "test_i.i"
#endif /* __ACE_INLINE__ */
ACE_RCSID(FL_Cube, test_i, "$Id$")
Stopwatch_imp::Stopwatch_imp (CORBA::ORB_ptr orb, Timer_imp *timer)
: orb_ (CORBA::ORB::_duplicate (orb)),
timer_ (timer)
{
}
void
Stopwatch_imp::start (TAO_ENV_SINGLE_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException))
{
this->timer_->start ();
}
void
Stopwatch_imp::stop (TAO_ENV_SINGLE_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException))
{
this->timer_->stop ();
}
void
Stopwatch_imp::shutdown (TAO_ENV_SINGLE_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException))
{
this->orb_->shutdown (0);
}
#endif /* ACE_HAS_XT */
|