server/dep/ACE_wrappers/ace/Timer_Queue_Adapters.inl
Neo2003 23c920ca4b [10643] Update the ACE part we use to 5.8.2
Signed-off-by: Neo2003 <Neo.2003@Hotmail.fr>
2010-10-25 20:36:51 +02:00

29 lines
706 B
C++

// -*- C++ -*-
//
// $Id: Timer_Queue_Adapters.inl 89482 2010-03-15 07:58:50Z johnnyw $
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
template<class TQ, class TYPE> ACE_INLINE TQ *
ACE_Thread_Timer_Queue_Adapter<TQ, TYPE>::timer_queue (void) const
{
return this->timer_queue_;
}
template<class TQ, class TYPE> ACE_INLINE int
ACE_Thread_Timer_Queue_Adapter<TQ, TYPE>::timer_queue (TQ *tq)
{
if (this->delete_timer_queue_)
delete this->timer_queue_;
this->timer_queue_ = tq;
this->delete_timer_queue_ = false;
return 0;
}
template<class TQ, class TYPE> ACE_INLINE ACE_thread_t
ACE_Thread_Timer_Queue_Adapter<TQ, TYPE>::thr_id (void) const
{
return this->thr_id_;
}
ACE_END_VERSIONED_NAMESPACE_DECL