test_i.cpp
来自「这是广泛使用的通信开源项目,对于大容量,高并发的通讯要求完全能够胜任,他广泛可用」· C++ 代码 · 共 41 行
CPP
41 行
// test_i.cpp,v 1.6 2002/01/29 20:21:11 okellogg Exp
#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, "test_i.cpp,v 1.6 2002/01/29 20:21:11 okellogg Exp")
Stopwatch_imp::Stopwatch_imp (CORBA::ORB_ptr orb, Timer_imp *timer)
: orb_ (CORBA::ORB::_duplicate (orb)),
timer_ (timer)
{
}
void
Stopwatch_imp::start (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException))
{
this->timer_->start ();
}
void
Stopwatch_imp::stop (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException))
{
this->timer_->stop ();
}
void
Stopwatch_imp::shutdown (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
ACE_THROW_SPEC ((CORBA::SystemException))
{
this->orb_->shutdown (0);
}
#endif /* ACE_HAS_XT */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?