diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-11-20 17:29:33 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-11-20 17:29:33 +0000 |
commit | 4a78a70adc3cc4bb36c32d9f9d20c8f5515078a9 (patch) | |
tree | 3e6f16f1ef3900c0e63b6c65468346212aa29cee /ace/Timer_List_T.cpp | |
parent | 85748639bbf3180b09872febdb783cfa2f41d812 (diff) | |
download | ATCD-4a78a70adc3cc4bb36c32d9f9d20c8f5515078a9.tar.gz |
added Timer_{Heap,List}::get_first accessors
Diffstat (limited to 'ace/Timer_List_T.cpp')
-rw-r--r-- | ace/Timer_List_T.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ace/Timer_List_T.cpp b/ace/Timer_List_T.cpp index e64e13ee4e2..94ad0679d9e 100644 --- a/ace/Timer_List_T.cpp +++ b/ace/Timer_List_T.cpp @@ -275,6 +275,15 @@ ACE_Timer_List_T<TYPE, FUNCTOR, ACE_LOCK>::cancel (const TYPE &type, return number_of_cancellations; } +// Reads the first node on the list and returns it. + +template <class TYPE, class FUNCTOR, class LOCK> ACE_Timer_Node_T<TYPE> * +ACE_Timer_List_T<TYPE, FUNCTOR, LOCK>::get_first (void) +{ + ACE_TRACE ("ACE_Timer_List_T::get_first"); + + return this->head_->get_next (); +} // Removes the first node on the list and returns it. |