Initial Patch of Auction House bot rev. 135
[auctionmangos.git] / dep / ACE_wrappers / ace / Timer_Queue_Adapters.inl
blob77011eacf8b330012448174f293a9367b3cf02a9
1 // -*- C++ -*-
2 //
3 // $Id: Timer_Queue_Adapters.inl 80826 2008-03-04 14:51:23Z wotte $
5 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
7 template<class TQ> ACE_INLINE TQ *
8 ACE_Thread_Timer_Queue_Adapter<TQ>::timer_queue (void) const
10   return this->timer_queue_;
13 template<class TQ> ACE_INLINE int
14 ACE_Thread_Timer_Queue_Adapter<TQ>::timer_queue (TQ *tq)
16   if (this->delete_timer_queue_)
17     delete this->timer_queue_;
18   this->timer_queue_ = tq;
19   this->delete_timer_queue_ = false;
20   return 0;
23 template<class TQ> ACE_INLINE ACE_thread_t
24 ACE_Thread_Timer_Queue_Adapter<TQ>::thr_id (void) const
26   return this->thr_id_;
29 ACE_END_VERSIONED_NAMESPACE_DECL