Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / default_resource.inl
bloba4f1ff37eb8115d1c0ec5e5d6f800bbde7a338f0
1 // -*- C++ -*-
2 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
4 ACE_INLINE
5 TAO_RSF_Timer_Queue_Ptr::TAO_RSF_Timer_Queue_Ptr (TAO_Default_Resource_Factory const & rsf, ACE_Timer_Queue* tmq)
6  : resource_factory_ (rsf),
7    timer_queue_ (tmq)
11 ACE_INLINE
12 TAO_RSF_Timer_Queue_Ptr::~TAO_RSF_Timer_Queue_Ptr ()
14   if (this->timer_queue_ != 0)
15     this->resource_factory_.destroy_timer_queue (this->timer_queue_);
18 ACE_INLINE ACE_Timer_Queue*
19 TAO_RSF_Timer_Queue_Ptr::get ()
21   return this->timer_queue_;
24 ACE_INLINE void
25 TAO_RSF_Timer_Queue_Ptr::release ()
27   this->timer_queue_ = 0;
30 TAO_END_VERSIONED_NAMESPACE_DECL