Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / ACE / Kokyu / DSRT_Dispatch_Item_T.inl
blob2eb498ca11d0d4c0f696bca4ae62ef71fc09f7d6
1 /* -*- C++ -*- */
2 /**
3  *  @file  DSRT_Dispatch_Item_T.inl
4  *
5  *  @author Venkita Subramonian (venkita@cs.wustl.edu)
6  */
8 namespace Kokyu
11 template <class DSRT_Scheduler_Traits>
12 ACE_INLINE
13 DSRT_Dispatch_Item<DSRT_Scheduler_Traits>::
14 DSRT_Dispatch_Item (Guid_t guid, const DSRT_QoSDescriptor& qos)
15   :guid_ (guid), qos_ (qos)
19 template <class DSRT_Scheduler_Traits>
20 ACE_INLINE typename DSRT_Dispatch_Item<DSRT_Scheduler_Traits>::Guid_t
21 DSRT_Dispatch_Item<DSRT_Scheduler_Traits>::
22 guid ()
24   return guid_;
27 template <class DSRT_Scheduler_Traits>
28 ACE_INLINE typename DSRT_Dispatch_Item<DSRT_Scheduler_Traits>::DSRT_QoSDescriptor
29 DSRT_Dispatch_Item<DSRT_Scheduler_Traits>::
30 qos ()
32   return qos_;
35 template <class DSRT_Scheduler_Traits>
36 ACE_INLINE ACE_hthread_t
37 DSRT_Dispatch_Item<DSRT_Scheduler_Traits>::
38 thread_handle ()
40   return thr_handle_;
43 template <class DSRT_Scheduler_Traits>
44 ACE_INLINE void
45 DSRT_Dispatch_Item<DSRT_Scheduler_Traits>::
46 thread_handle (ACE_hthread_t &handle)
48   thr_handle_ = handle;
51 template <class DSRT_Scheduler_Traits>
52 ACE_INLINE void
53 DSRT_Dispatch_Item<DSRT_Scheduler_Traits>::
54 insertion_time (const ACE_Time_Value& tv)
56   this->insertion_time_ = tv;
59 template <class DSRT_Scheduler_Traits>
60 ACE_INLINE ACE_Time_Value
61 DSRT_Dispatch_Item<DSRT_Scheduler_Traits>::
62 insertion_time ()
64   return this->insertion_time_;